@import 'https://fonts.googleapis.com/css?family=Raleway';
@import url('https://fonts.googleapis.com/css2?family=Mali:wght@200');

.chooseOperation {
  list-style-type: none;
  margin: 0;
  float: center;
  margin-left: 250px;
  /* margin-right: 100px; */
  padding: 10px;
  overflow: hidden;
  /* background: #ffde4de0; */
  box-shadow: 12px 12px 12px 12px #2494aac0 , 1px 1px 5px 5px black ;
  /* box-shadow:0 10px 40px 12px #0093b1c0 , 0 5px 10px 10px white ; */
  position: -webkit-sticky;
  position: sticky;
  top: 20px;
  font-size: 12pt;
  font-weight: bold;
  width: 60%;
  z-index: 1;
  text-transform: capitalize;
  /* background-color: rgba(253, 254, 204, 0.854); */
  background-color:   #b0e0e6d1;


  border-radius: 60%;
  border: 2px #006473;
  
}

#presenter{
  float: right;
  font-family: monospace;
  margin-top: 2%;
  margin-right: 2%;
  font-size: larger;
  border: #000000 2px;
}

#modelAbout{
  background-color:  rgba(152, 152, 152, 0.308);
  text-align: center; 
  padding-bottom: 2%;
  border-radius: 15px;
  border: 2px solid rgb(123, 123, 123);
  font-family: 'Dancing Script', cursive;
  background-color: #fefefe;
  margin: auto;
  margin-top: 5%;
  padding: 20px;
  border: 1px solid #888;
  width: 60%;
  box-shadow: 0 0 15px 5px #b0e0e6d1, 0 0 5px 5px white ;
}

.titleA{
  text-decoration: underline;
  text-align: center;
}

.operation{
    display: none;
}
#menu a{
  /* padding: 30px; */
  padding-left: 85px;
  color: black;
  text-decoration:none;
  font: 20px Raleway;
  font-weight: bold;
  float: center;
 
}
#menu a:hover {
  /* background-color: rgba(253, 254, 204, 0.642); */
  color:#2494aac0;
  font: bolder;
}

#welcome {
  position: relative;
  /* margin-top:460px;
  margin-bottom: 80px; */
}
#welcome img {
  width: 100%;
}
#welcome .btn {
  position: absolute;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  /* background-color: rgb(207, 207, 207); */
  color:white;
  width:200px;
  height:200px;
  font-size: 50px;
  border: none;
  cursor: pointer;
  /* box-shadow: 0 2px 50px 5px #7fff4da7 , 0 2px 50px 5px white ; */
  box-shadow: 2px 5px 12px 12px #2494aac0 , 1px 2px 5px 5px  rgba(253, 254, 204, 0.847) ;
  border-radius: 100%;
  background-color:  #006473b7;;
  text-align: center;
  font: 30px Raleway;
  font-weight: bold;
}
#welcome .btn:hover {
  /* background-color: rgba(253, 254, 204, 0.543); */
  background-color:   #b0e0e6ae;
  color:black;
}

#fullname,#email,#password,#username,#usernamelogin,#passwordlogin{
  width: 95%;  height: 100%; box-sizing: border-box;
}
#register{
    text-align: left;
    font-size: 20px;
    font-weight: bold ;
    font-family: monospace;
    background-color: #f2f2f2;
    padding-right: 40px;
    padding-left: 40px;
    padding-top: 20px;
    padding-bottom: 18px;
    margin-top:20px;
    margin-left: 280px;
    margin-right: 280px;
    border: 2px solid rgb(123, 123, 123);;
    border-radius: 8px;  
    box-shadow: 0 0 5px 5px #b0e0e6d1, 0 0 5px 5px white ;
    

}
#login{
  text-align: left;
  font-size: 20px;
  font-weight: bold ;
  font-family: monospace;
  background-color: #f2f2f2;
  padding-right: 40px;
  padding-left: 40px;
  padding-top: 10px;
  padding-bottom: 20px;
  margin-top:68px;
  margin-left: 280px;
  margin-bottom: 40px;
  margin-right: 280px;
  border: 2px solid rgb(123, 123, 123);;
  border-radius: 8px; 
  box-shadow: 0 0 5px 5px #b0e0e6d1, 0 0 5px 5px white ;}

#randomDef,#btnDefinition{
  color: rgb(7, 7, 7);
  border-radius: 8px;
  background-color: rgb(207, 207, 207);
  width: 250px;
  height: 50px;
  font-size: 20px;
  font-family: monospace;
  transition: 0.3s;

}
#submit,#log{
  color: rgb(14, 12, 12);
  border-radius: 8px;
  background-color: rgb(207, 207, 207);
  width: 180px;
  height: 50px;
  margin-left: 30%;;
  font-size: 20px;
  font-family: monospace;
  transition: 0.3s;
}
#submit:hover,#log:hover,#randomDef:hover,#btnDefinition:hover{
  letter-spacing: 2px;
  font-weight: bold;
  background-color: rgba(253, 254, 204, 0.833);
  color: #000;
}

#definition{
  text-align: left ;
  font-size: 16px;  
  font-family: monospace;
  background-color: #f2f2f2;
  color: black;
  border: 2px solid rgb(123, 123, 123);;
  border-radius: 8px;  
  background-size: 100%;
  padding-top: 18px;
  padding-bottom: 40px;
  padding-left: 50px;
  margin-top:10px;
  margin-left: 20%;
  margin-right: 20%;
  box-shadow: 0 0 5px 5px #b0e0e6d1, 0 0 5px 5px white ;
}


.imgGhosts{
    display: none;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px black;
  margin-left: -20px;
 }
  
.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #555;
  color: #fff;
  text-align: center;
  position: absolute;
  z-index: 1;
  margin-left: -380px;
  opacity: 0;
  transition: opacity 0.3s;
  left: 80%;
  width: 250px;
  border-radius: 10px;
  font-size:15px;
}
  
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}



#about{
  z-index: 1;
  position: fixed;
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4);
}

.closeAbout {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.closeAbout:hover,
.closeAbout:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}

#pressKey{
  display: none;
  z-index: 1;
  position: fixed;
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4);
}

#myModal{
  background-color: rgba(253, 254, 204, 0.632);
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 70%;
  height: 65%; 
} 

#textKey{
  padding-top: 100px;
  text-align: center;
  font-size: 50px;
  font-weight: bold;
}

#up,#down,#left,#right{
  width: 55px;
  height: 30px;
  background-color: #b0e0e6d1;

}
#up:hover,#down:hover,#left:hover,#right:hover{
  background-color: rgba(253, 254, 204, 0.833);
}

#mail{
  width: 20px;
  height: 15px;
  text-decoration: none;
}

footer{
  display: flex;
  flex-direction: row;
  text-align: center;
  font-size: 20px;
  font-family: 'Mali', cursive;
  color: white;
  background-color: #006473;
}

.space {
  width: 38px;
  height: auto;
  display: inline-block;
}

.foodNum{
  display: inline-block;
}
.foodAns,.timeAns{
  background-color: #006473;
  font-weight: bold;
  color: white;
  border-radius: 50%;
}

.operstions{
  background-color: #006473;
  padding-bottom: 0.5%;;


}

#details{
  color: white;
  font-size: 16px;
  font-weight: bold ;
  font-family: monospace;
}

#over {
  background: #b0e0e6d1;
  display: none;
  z-index: 1;
  position: fixed;
  left: 15%;
  top: 20%;
  width: 60%; 
  height: 75%; 
}

#winner {
  background: #b0e0e6d1;
  display: none;
  z-index: 1;
  position: fixed;
  left: 15%;
  top: 20%;
  width: 60%; 
  height: 60%; 
}

#better {
  background: #b0e0e6d1;
  display: none;
  z-index: 1;
  position: fixed;
  left: 15%;
  top: 20%;
  width: 60%; 
  height: 70%; 
}


.gameover_b {
  width:100%;
  padding:10px;
	height: 100%;
	background: none;
  text-align: center;
}

.gameover_b p {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 63px;
  font-family: 'Black Ops One', cursive;
  line-height: 120px;
  text-align: center;
  text-shadow: 5px 5px #000000;
  color: #ffffff;
}

.gameover_o {
  width:100%;
  padding:10px;
  height: 100%;
  background: none;
}

.gameover_o p {
  margin-top: 10px;
  margin-bottom: 20px;
  margin-left:50px;
  font-size: 130px;
  font-family: 'Black Ops One', cursive;
  line-height: 120px;
  text-align: center;
  text-shadow: 5px 5px #000000;
  color: #ffffff;
  text-align: left;
}

.gameover_w {
  width:100%;
  padding:10px;
  height: 100%;
  background: none;
}
  
.gameover_w p {
  margin-top: 10px;
  margin-bottom: 20px;
  margin-left:50px;
  font-size: 120px;
  font-family: 'Black Ops One', cursive;
  line-height: 120px;
  text-align: center;
  text-shadow: 5px 5px #000000;
  color: #ffffff;
  text-align: left;
}

.closeOver {
  color: #636363;
  float: left;
  font-size: 30px;
  font-weight: bold;
}

.closeOver:hover,.closeOver:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}

#newW{
  float: right;
  margin-top: 5%;
  margin-right: 40%;
  color: rgb(32, 26, 26);
  border-radius: 8px;
  background-color: rgb(207, 207, 207);
  width: 160px;
  height: 80px;
  font-size: 25px;
  font-family: monospace;
  transition: 0.3s;
  border-radius: 20px;
}
#new:hover,#newW:hover,#newB:hover ,#myNew:hover{
  letter-spacing: 2px;
  font-weight: bold;
  background-color: rgba(253, 254, 204, 0.833);
  color: #000;
}

#myNew{
  float: right;
  margin-top: 50px;
  margin-right: 45px;;
  color: rgb(32, 26, 26);
  border-radius: 8px;
  background-color: rgb(207, 207, 207);
  width: 120px;
  height: 60px;
  font-size: 20px;
  font-family: monospace;
  transition: 0.3s;
  border-radius: 20px;;
}

#new{
  float: right;
  margin-top: 25%;
  margin-right: 10%;
  color: rgb(32, 26, 26);
  border-radius: 8px;
  background-color: rgb(207, 207, 207);
  width: 150px;
  height: 80px;
  font-size: 25px;
  font-family: monospace;
  transition: 0.3s;
  border-radius: 20px;
}

#newB{
  margin-bottom: 50px;
  color: rgb(32, 26, 26);
  border-radius: 8px;
  background-color: rgb(207, 207, 207);
  width: 150px;
  height: 80px;
  font-size: 25px;
  font-family: monospace;
  transition: 0.3s;
  border-radius: 20px;
}

.gameT{
  display: flex;
  flex-direction: row;
  margin-top: 20px;
  margin-left: 40px;
}

#myDefinition{
  text-align: left;
  font-size: 16px;
  font-family: monospace;
  /* background-color: #f2f2f2; */
  background-color:   #b0e0e6d1;
  margin-top:50px;
  margin-right:180px;
  margin-left: 20px;
  padding-left: 10px;
  height: 400px;
  /* border: 2px solid rgb(123, 123, 123);; */
  /* border:  2px rgba(253, 254, 204, 0.854);; */
  box-shadow: 0 0 5px 5px #b0e0e6d1, 0 0 5px 5px white ;
 
}

.mySpace {
  width: 4px;
  height: auto;
  display: inline-block;
}

#mySmall{
  margin-left: 10px;
}

#myName{
  margin-left: 55px;
  font-size: 20px;
  text-decoration: underline;
  font-weight: bold;
}