@import url("https://fonts.googleapis.com/css2?family=Signika+Negative:wght@300&display=swap");

html,
body,
.screen1,
.main {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: "Signika Negative", sans-serif;
}

* {
  -webkit-tap-highlight-color: transparent;
}

body {
  padding-top: 0;
}

#howMany {
  font-size: 60px;
  padding-bottom: 0px;
}

#button {
  height: 100px;
  width: 200px;
  font-size: 50px;
  border-radius: 20px;
  box-shadow: 0 9px #666;
  font-family: Lucida Sans Unicode;
}

#button span {
  display: inline-block;
  transform: rotate(90deg);
}

#button:hover {
  background-color: white;
}

#button:active {
  background-color: lightgray;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

#message {
  padding-bottom: 10px;
  font-size: 20px;
  height: 30px;
}

#bottom {
  padding-bottom: 10px;
  text-align: center;
}
#bottom span {
  font-weight: 800;
}

#navBar {
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.top-nav {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: white;
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: black;
  height: 50px;
  padding: 1em;
}
.projectName {
  font-size: 40px;
}
.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  margin: 0 1rem;
  overflow: hidden;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: black;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: "";
  margin-top: -8px;
}

.menu-button::after {
  content: "";
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(45deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-45deg);
}

@media (max-width: 2000px) {
  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 80px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
  }
  #menu-toggle:checked ~ .menu li {
    border-bottom: 1px solid black;
    justify-content: center;
    padding-top: 0.3em;
    height: 1.6em;
    padding: 0.1em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 80%;
    color: black;
    background-color: rgb(0, 0, 0, 0);
    font-size: 20px;
    border-radius: 20px;
  }

  .menu > li:active {
    background-color: lightgrey;
    border-radius: 20px;
  }
  .menu > li:not(:last-child) {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    border-bottom: 1px solid black;
  }
}

/* screen2 */

.screen2 {
  display: none;
  height: 100%;
  justify-content: center;
  flex-direction: column;
}
.elevatorName {
  font-size: 30px;
  padding: 20px 0;
}

.container {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 20px;
}

.container div {
  padding: 5px 0;
}

.elvtrStts {
  color: green;
}

/* loader */

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: black;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

/* for Galaxy Fold */
@media only screen and (max-width: 280px) {
  .projectName {
    font-size: 30px;
  }
  .main h1 {
    font-size: 20px;
  }

  #bottom {
    font-size: 15px;
  }
}
