/* styles.css */
body {
  display: flex;
  background-color: #f0f0f0;
  flex-direction: column;
  align-items:  center;
  margin: 0;
  padding: 20px;
  font-family: Arial, sans-serif;
}

header {
  text-align: center;
  margin-bottom: 20px;
}

#info {
  color: #666;
  font-size: .9em;
}

#building-container {
  display: flex;
  gap: 20px;
}

#floors {
  display: flex;
  flex-direction: column;
}

.floor {
  display: flex;
  border-bottom: 1px solid #ccc;
  align-items:  center;
  gap: 10px;
  height: 60px;
}

.floor-num {
  width: 60px;
  font-weight: bold;
}

.floor-btns {
  display: flex;
  gap: 5px;
}

.floor-btn {
  cursor: pointer;
  padding: 5px 10px;
}

#elevators-shaft {
  position: relative;
  background-color: #ddd;
  border: 2px solid #333;
  width: 400px;
  height: 600px;
}

#elevators {
  display: flex;
  gap: 10px;
  padding: 0 10px;
}

.elevator {
  position: absolute;
  color: #fff;
  display: flex;
  background-color: #555;
  justify-content: center;
  align-items:  center;
  width: 80px;
  height: 50px;
  transition: bottom 1s linear;
  bottom: 0;
}

.inner-btns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.inner-btn {
  cursor: pointer;
  padding: 2px;
  font-size: 8px;
}

.inner-btn.active {
  color: #000;
  background-color: #ff0;
}
