@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

html {
  box-sizing: border-box; /* https://css-tricks.com/box-sizing/ */
  font-size: 62.5%; /*10px */
}

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

body {
  margin: 0;
}

.container {
  align-items: center;
  background-color: #242333;
  color: #fff;
  display: flex;
  flex-direction: column;
  font-family: 'Lato', sans-serif;
  font-size: 1.6rem;
  justify-content: center;
  height: 100vh;
  margin: 0;
}

.movie-container {
  margin: 20px 0;
}

.movie-container select {
  appearance: none; /* remove the dropdown arrow in the select tag */
  -moz-appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.4rem;
  margin-left: 1em;
  padding: 0.5em 1em;
}

.showcase {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  color: #777;
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  padding: 5px 10px;
}

.showcase li {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 10px;
}

.showcase li small {
  margin-left: 2px;
}

.theater-container {
  margin-bottom: 30px;
  perspective: 1000px;
}

.screen {
  background-color: #fff;
  box-shadow: 0 3px 10px rgba(255, 255, 255, 0.7);
  height: 7rem;
  margin: 15px 0;
  transform: rotateX(-45deg);
  width: 100%;
}

.row {
  display: flex;
}

.seat {
  background-color: #444451;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  height: 1.2rem;
  margin: 3px;
  width: 1.5rem;
}

.seat.selected {
  background-color: #6feaf6;
}

.seat.occupied {
  background-color: #fff;
}

.seat:nth-of-type(2) {
  margin-right: 1.8rem;
}

.seat:nth-last-of-type(2) {
  margin-left: 1.8rem;
}

.showcase .seat:not(.occupied):hover {
  cursor: default;
  transform: scale(1);
}
.seat:not(.occupied):hover {
  cursor: pointer;
  transform: scale(1.2);
}

p.text {
  margin: 5px;
}

p.text span {
  color: #6feaf6;
}
