@font-face {
  font-family: "lcd";
  src: url(../pixel-lcd-machine/Pixel-lcd-machine.ttf);
}

@keyframes up {
  from {
    transform: translate3d(0, 150%, 0);
  }
  to {
    transform: translate3d(0, -150%, 0);
  }
}

@keyframes smooth {
  from{
    opacity: 0%;
  }

  to {
    opacity: 100%;
  }
}

@keyframes down {
  from {
    transform: translate3d(0, -150%, 0);
  }
  to {
    transform: translate3d(0, 150%, 0);
  }
}

@keyframes leftside {
  from {
    right: 0px;

  }

  to {
    right: 100px;

  }
}

@keyframes rightside {
  from {
    left: 0px;

  }

  to {
    left: 100px;

  }
}

body {
  text-align: center;
  /* background-color:  rgb(255, 249, 230); */
  font-family: 'Orbit', sans-serif;
  margin: 0;
}

main {
  background-color: rgba(244, 214, 167, 0.566);
  padding-bottom: 10px;
  padding-left: 3%;
  padding-right: 3%;
  padding-top: 3%;
  height: 100vh
}

 /* div {
   border: 1px rgb(87, 87, 87) solid;
}  */

button:hover {
  scale: 1.1  
}

.again, #ready, #gamestart {
  margin-top: 10px;
  padding: 5px;
  border-radius: 10px;
  border: 1px solid black;
  font-family: 'Orbit', sans-serif;
  width: 200px;
  height: 75px;
  font-size: 2rem;
}

#ready {
  margin-bottom: 10vh;
}

.again {
  font-size: 1.5rem;
}
#screen {
  background-color: rgba(0, 0, 0, 0.717);
  position: fixed;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 10;
}

.content {
height: auto;
}

#window,#wrong, #correct {
  width: 80%;
  height: 70%;
  background-color: rgb(229, 202, 172);
  margin: 5% auto;
  color: rgba(0, 0, 0, 0.943);
  padding: 2rem;
  border-radius: 10px;
  display: none;

}

#window span {
  font-family: "lcd";
}

#now, #direction {
  color: rgb(255, 42, 81);
}

#queList {
  list-style: none;
  column-width: 40%;
  padding: 0;
  color: rgb(66, 66, 66);
  font-weight: 600;
}

#queList li {
  margin-top: 10px;
}

 /* {
  display: none;
  width: 80%;
  height: 70%;
  background-color: rgb(0, 0, 0);
  padding: 2rem;
  border-radius: 5%;
  margin: 5% auto;
  color: rgb(255, 190, 116);
} */
header {
  text-align: left;
  border-bottom: 1px solid black;
}

header h1 {
  padding-left: 5%;
  font-size: 1em;
}

#top {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    height: 5vh;
    margin-bottom: 2rem;
    padding: 10px;
}

#top p {
  margin: auto 10px;
}

#we {
  font-size: 5rem;
  font-family: "lcd";
  text-shadow: 2px 2px black;
  color: goldenrod;
}

#elevator-num-control, #totalfloor-num-control {
  display: flex;
  flex-direction: row;
  font-size: 10px;
  width: 40%;
  text-align: center;
  justify-content: center;
  background-color: rgba(205, 205, 205, 0.484);
  border-radius: 10px;
  /* box-shadow: 1px 1px rgb(90, 90, 90); */
}

#elevator-num, #floor-num {
  font-weight: 800;
}

.setting-btn {
  display:flex;
  flex-direction: column;
  border-radius: 2px;
}

.floor {
  width: 10%;
  max-width: 3rem;
  aspect-ratio: 3/1;
  padding: 1rem 1rem;
  background-color: rgb(20, 20, 20);
  color: rgba(255, 121, 26, 0.943);
  text-shadow: 1px black;
  font-family: "lcd";
  font-size: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  border: 2px solid grey;
  margin: 5px;
  
}

.floor p {
  line-height: 2rem;
  margin: 0;
}
.arrow {
  border: none;
}

#elevator {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.elevator {
  width: 100%;
  max-height: 50vh;
  min-width: 10%;
  max-width: 30vw; 
  background-color: rgb(211, 211, 211);
  display: flex;
  flex-direction: row;
  margin: 5px;
  margin-top: 0;
  aspect-ratio: 1 / 1;
}

.userPicked {
  background-color: rgb(224, 190, 0);
}

.answer {
  background-color: rgb(0, 157, 0);
}

.wrong {
  background-color: rgb(203, 0, 0);
}

.left-door,
.right-door {
  height: 100%;
  width: 100%;
  border: 1px solid black;
  position: relative;
  background-color: inherit;
}




#elev {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: 1rem 0;
}

.setting-btn {
  width: 3rem;
}
.setting-btn button{
  height: 50%;
  width: 100%;
}



@media (min-width: 800px) {
    #elev,
  #elevator {
    padding: 2rem 0;
  }
  #elevator {
    padding-top: 0;
  }
  .floor {
    font-size: 3rem;
  }
  
  main {
    padding-left: 15%;
    padding-right: 15%;
  }
}

@media (min-width : 700px) {
  #elevator-num-control, #totalfloor-num-control {
    font-size: 20px;
  }

  header h1 {
    font-size: 2em;
  }

}