* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --body-color: #242333;
  --seat-color: #444451;
  --seat-selected-color: #6feaf6;
  --seat-occupied-color: #fff;
}
html {
  font-size: 62.5%;
}
body {
  background: var(--body-color);
  color: #fff;
  font-family: "Lato", sans-serif;
  height: 100vh;
  width: 100%;
  font-size: 1.8rem;
  line-height: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
header {
  display: block;
  position: absolute;
  margin-top: -7rem;
  margin-left: 10rem;
}
.movie-container {
  margin: 2rem 0;
}

.movie-container select {
  background-color: white;
  border: none;
  outline: none;
  border-radius: 4px;
  margin-left: 1rem;
  font-family: inherit;
  padding: 0.5rem 1rem;
  font-size: inherit;
}

.showcase {
  background-color: rgba(0, 0, 0, 0.1);
  display: flex;
  list-style-type: none;
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  justify-content: space-between;
}
.showcase li {
  display: flex;
}
.showcase li:not(:last-child) {
  margin-right: 2rem;
}

.showcase li small {
  margin-left: 2px;
}

.container .screen {
  background-color: white;
  width: 23rem;
  height: 13rem;
  margin: 2rem 0;
  transform: rotateX(-45deg);
  box-shadow: 0 3px 7px rgba(255, 255, 255, 0.5);
}
.container {
  perspective: 1000px;
  margin-bottom: 5rem;
}
.seat {
  background-color: var(--seat-color);
  width: 1.5rem;
  height: 1.2rem;
  margin: 5px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.seat.selected {
  background-color: var(--seat-selected-color);
}
.seat.occupied {
  background-color: var(--seat-occupied-color);
}

.seat:nth-of-type(2) {
  margin-right: 2rem;
}
.seat:nth-last-of-type(2) {
  margin-left: 2rem;
}

.seat:not(.occupied):hover {
  transform: scale(1.3);
  cursor: pointer;
}
.showcase .seat:not(.occupied):hover {
  cursor: default;
  transform: scale(1);
}

.row {
  display: flex;
}

p.text span {
  color: var(--seat-selected-color);
  margin: 0 4px;
}

small {
  margin-left: 4px;
  font-size: 1.7rem;
  margin-right: -4px;
  font-weight: 400;
}

@media (max-width: 500px) {
  p.text {
    font-size: 1.6rem;
  }
}
