html {
  width: 100%;
  height: 100%;
}


body {
  width: 99%;
  height: 99%;
  background: #555;
  -webkit-user-select: none;  /* Safari */
  -moz-user-select: none;     /* Firefox */
  -ms-user-select: none;      /* Internet Explorer/Edge */
  user-select: none; 
}

html, body, div, p, h1, h2, h3, ul, ol, span, a, form, img, li, input, select {
  

  font-family: "Trebuchet MS", Arial, sans-serif; 
  font-size: 18px; 
  line-height: 16px;
    
}

h1{
  font-family: "Trebuchet MS", Arial, sans-serif; 
  font-size: 6.5vw;
  font-size: large;
  line-height: 6.6vw;
  color: #ffffff;
  padding: 5px;
  margin: 10px;
    
}

.content {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 90%;
  height: 90%;
  margin: auto;
  background: grey;
  padding: 10px;
  max-width:  1600px;
}

div {

  background-color: #cecece00;
  padding: 5px;
  margin: 1px;
}

.gameHeadline {
  font-family: "Trebuchet MS", Arial, sans-serif; 

}

img {
  
  cursor: pointer;
}


.grid-container {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto;
  background-color: #cecece;
  padding: 15px;
  margin: 15px;
  grid-gap: 20px 5px;
  cursor: pointer;
}

.grid-item {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.8);
  padding: 5px;
  font-size: 30px;
  text-align: center;
  margin: 15px;
  
}

#topMenu {
	display: flex;
	flex-direction: row;
	width: auto;
}
#topMenu > div {
	display: flex;
	flex-direction: row;
	width: auto;
}

#mainMenu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #cecece80;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  line-height: 10px;
  
  z-index: 2;
  cursor: pointer;

  
}


#mainMenu > div > select,
#mainMenu select {
  display: block;
  width: 120px;
  margin-left: auto;
  margin-right: auto;
}

#innerMainMenu {
  background-color: #c49e74; 
  border: 3px solid #333;    
  border-radius: 12px;       
  padding: 10px;              
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3); 
  
  display: flex;
  flex-direction: column;
  align-items: center;        
  gap: 5px; 

  overflow-y: auto;
  overflow-x: hidden;
  
  max-height: 95vh;
             
}

input[type=text] {
  padding: 1.0vw 1.0vw;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  width: 180px;
}


input[type=number] {
  padding: 1.0vw 1.0vw;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  width: 70px;
}



input[type=range] {
  width: 90px;
}

.break {
  flex-basis: 100%;
  height: 15px;
}

.innerLogo {
  
  height: 120px;
  width: 120px;
  background-color: rgba(255, 255, 255, 0.0);
}

#overlay {
  position: fixed;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items:center;
  width: 95%;
  height: 95%;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.3);
  z-index: 2;
  cursor: pointer;
  
}

#infoFrame {
  background-color: rgba(0,0,0,0.5);
  width: 300px;
  height: 200px;
  color: #cecece;
  text-align: center;
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items:center;
  padding: 10px;
  margin: 10px;
  line-height: 1.5;
}

input[type=submit] {
  background-color: rgb(59, 92, 60); 
  border: none;
  color: rgb(238, 238, 238);
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 12px;
}


.flex-header {
  display: flex;
  text-align: button;
  line-height: 75px;
  background-color: #cecece;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 15px;
  margin: 15px;
  gap: 10px;
}


.flex-header > div {
  display: flex;
  display: -webkit-flex;
  background-color: #cecece;
  width: 100px;
  margin: 3px;
  padding: 15px;
  text-align: center;
  line-height: 75px;
  font-size: 1.6vw;
  flex-direction: row;
  justify-content: center;

}


.flex-container {
  display: flex;
  background-color: #cecece;
  flex-wrap: wrap;
  justify-content: space-between;
  height: 100%;
  gap: 1px;  
}

.flex-container > div {
  display: flex;
  background-color: #f1f1f1;
  width: 100px;
  margin: 3px;
  text-align: center;
  flex-wrap: wrap;
  line-height: 75px;
  font-size: 30px;
}

.menuButton{
  width: 40px;
  height: 40px;
  padding-left: 15px;
}

#memoryCard{
  
  min-width: 10px;
  min-height: 10px;

}

#stepButtonContainer{
  text-align: center;
  display: flex;
  flex-direction: column;
  background-color: #cecece;
  justify-content: center;
  align-items:center;
}

#scoreListContainer{
	display: flex;
	flex-direction: column;
	background-color: #5d6b78;
	width: 99%;
	margin: 3px;
	flex-wrap: wrap;
	line-height: 30px;
	font-size: 20px;
	justify-content: center;
	align-items:center;
	
	border: 6px solid #cccccc;
	border-radius: 15px; 
	
}

#scoreListItem{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 80%;
	margin: 3px;
	text-align: left;
	line-height: 24px;
	font-size: 16px;
	gap: 20px; 
	background-color: #c49e74;
	
	border: 2px solid #666666;
	border-radius: 2px; 
}

#scoreListItem > div{
	display: flex;
	flex-direction: row;
	width: 80%;
	margin: 3px;
	text-align: left;
	line-height: 24px;
	font-size: 16px;
	gap: 20px; 
	background-color: #c49e74;
	
	border: 6px solid #cccccc;
	border-radius: 15px; 
}

#deleteButton{
	
	background-color: red;
	color: white;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 10px;
	cursor: pointer;
	border: 3px solid #cccccc;
	border-radius: 20px;
}

.stepButton{
  width: 20px;
  height: 20px;

}

#mesureImage{
  width: 100%;
  height: 100%;
  object-fit: fill;
}


