body {
  background-color: rgb(160, 160, 160);
}

button {
  margin: 0.5rem;
  cursor: pointer;
}

.main-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper,
.button-wrapper {
  margin: 1rem;
}

.floor-container {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  margin: 30px auto;
  width: 90%;
  height: max-content;
}

.floor {
  width: 100%;
  background-color: rgb(253, 236, 143);
  display: flex;
  flex-direction: row;
  height: 90px;
  border-bottom: 1px solid rgb(199, 196, 196);
}

.floor-label {
  padding: 0.4rem;
}

.lift-labels {
  min-width: 15%;
  width: 100px;
  display: flex;
  flex-direction: column;
  background-color: antiquewhite;
  padding: 5px auto;
}

.buttons-container {
  width: fit-content;
  padding: 5px;
  margin: 5px auto;
  justify-content: center;
  display: flex;
  flex-direction: row;
  column-gap: 10px;
}

.lift-labels > span {
  width: 100%;
  display: flex;
}

.up-btn,
.down-btn {
  padding: 1rem;
  margin: 3px auto;
  width: 30px;
  height: 30px;
  font-weight: bolder;
}

button:hover {
  cursor: pointer;
  transform: scale(1.1);
}

.lift {
  height: 100%;
  width: 60px;
  background-color: black;
  margin: 0 20px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}
.left-door,
.right-door {
  height: 100%;
  width: 50%;
  background-color: silver;
  overflow: hidden;
  border: 1px solid black;
}

.left-door-open {
  transform: translateX(-100%);
  transition: transform 2000ms linear;
}

.right-door-open {
  transform: translateX(100%);
  transition: transform 2000ms linear;
}

.left-door-close {
  transform: translateX(0%);
  transition: transform 2000ms linear;
}

.right-door-close {
  transform: translateX(0%);
  transition: transform 2000ms linear;
}
