*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  font-family: Inter;
}

* {
  margin: 0;
}

body {
  font-family: inherit;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

:root,
html,
body {
  min-height: 100vh;
}

#root {
  min-height: 100vh;
}

.parent-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.child-container {
  min-width: 375px;
}

.heading {
  text-align: center;
  margin-bottom: 1rem;
}

.input-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.number-of-floors-container,
.number-of-lifts-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.simulate-button {
  cursor: pointer;
}

.nav {
  margin-top: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.configure-button {
  cursor: pointer;
}

.floor-container {
  padding-left: 1rem;
  padding-right: 1rem;
  margin-top: 6rem;
}

.up-button {
  margin-right: 0.6rem;
}

.up-button,
.down-button {
  cursor: pointer;
}

.floor-base {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: end;
  gap: 0.5rem;
}

.floor-base-line {
  height: 0.3rem;
  background: black;
  flex-grow: 1;
}

.floor-container-1 {
  position: relative;
}

.lift-container-parent {
  position: absolute;
  bottom: 26px;
  left: 160px;
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}

.lift-element {
  height: 100px;
  width: 70px;
  background-color: #d4d4d4;
  position: relative;
  bottom: 0;
  display: flex;
  flex-direction: row;
}

.leftDoor,
.rightDoor {
  width: 50%;
  height: 100%;
  background-color: #5e5c64;
  transition: transform 2.5s linear;
}

.leftDoor {}

.rightDoor {
  position: absolute;
  top: 0;
  right: 0;
}

.rightDoorAnimation {
  animation-name: doorAnimation;
  animation-duration: 5s;
}

.leftDoorAnimation {
  animation-name: doorAnimation;
  animation-duration: 5s;
}

@keyframes doorAnimation {
  0% {
    width: 100%;
  }

  50% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}
