html {
  height: 100%;
  font-size: 100%;
}
body {
  font-family: sans-serif;
  height: 100%;
  margin: 0;
}

.form-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.form {
  border: 1px solid #3b82f6;
  border-radius: 8px;
  padding: 0 16px 16px 16px;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  justify-content: center;
  gap: 8px;
}
.error {
  color: red;
  font-size: 12px;
}
.text-center {
  text-align: center;
}
.fit-content {
  width: fit-content;
}
.hide {
  display: none;
}
.flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}
.justify-between {
  justify-content: space-between;
}
.justify-start {
  justify-content: flex-start;
}
.gap-8 {
  gap: 8px;
}
.flex-wrap {
  flex-wrap: wrap;
}
.save,
.back-btn {
  background: #3b82f6;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 8px;
}
.back-btn {
  background-color: #737373;
}
.up,
.down {
  background: #334155;
  font-size: 1rem;
  color: #ffffff;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 8px;
}
.lifts-container {
  margin: 16px;
}
.liftsAndFloors {
  border: 1px solid black;
  margin-top: 8px;
  box-shadow: 0 0 6px 0px;
}
.lifts,
.floors {
  width: 100%;
  margin-top: 8px;
  box-sizing: border-box;
}
.lift {
  box-sizing: border-box;
  width: 6.25rem;
  height: 120px;
  background: #db5161;
  position: relative;
  padding: 0.625rem;
  display: flex;
}
.door-left {
  position: absolute;
  background-color: #1e293b;
  width: 2.5rem;
  height: calc(100% - 1.25rem);
  left: 0.625rem;
}
.door-right {
  position: absolute;
  background-color: #1e293b;
  width: 2.5rem;
  height: calc(100% - 1.25rem);
  right: 0.625rem;
  border-left: 1px solid white;
}
.leftDoorAnimate {
  animation-name: leftDoor;
  animation-duration: 5s;
}
.rightDoorAnimate {
  animation-name: rightDoor;
  animation-duration: 5s;
}
@keyframes leftDoor {
  0% {
    width: 2.5rem;
  }
  50% {
    width: 0;
  }
  100% {
    width: 2.5rem;
  }
}
@keyframes rightDoor {
  0% {
    width: 2.5rem;
  }
  50% {
    width: 0;
  }
  100% {
    width: 2.5rem;
  }
}
/* .closeAndOpenLeft {
  transform: translateX(-50%);
  transition-duration: 2s;
} */
.floor {
  height: 120px;
  width: 6.25rem;
  background-color: #f3f4f6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  /* padding: 5px 10px; */
  /* margin-bottom: 10px; */
}
.floor-container {
  border-bottom: 1px solid grey;
}

@media screen and (max-width: 1280px) {
  html {
    font-size: 80%;
  }
}
@media screen and (max-width: 768px) {
  html {
    font-size: 60%;
  }
}
@media screen and (max-width: 425px) {
  html {
    font-size: 50%;
  }
}
