@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@400;700&display=swap");
* {
  padding: 0;
  margin: 0;
  border: 0;
}

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

:focus, :active {
  outline: none;
}

a:focus, a:active {
  outline: none;
}

html, body {
  font-family: "Quicksand", sans-serif;
  height: 100%;
  width: 100%;
  line-height: 1;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input, button, textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a, a:visited, a:hover {
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

body.lock{
  overflow: hidden;
}

.header {
  background-color: #111111;
}
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container {
  max-width: 90vw;
  margin: auto;
  padding: 20px 0;
}

.logo {
  flex: 0 0 100px;
  color: #65b6e9;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.3em;
}
.navigation {
  flex: 1 1 auto;
}
.navigation__list {
  display: flex;
  justify-content: flex-end;
}
.navigation__item {
  margin: 0 20px 0 0;
}
@media (max-width: 500px) {
  .navigation__item {
    margin: 0 10px 0 0;
  }
}
.navigation__link {
  color: #c2c2c2;
  font-size: 18px;
  transition: 0.2s linear;
}
.navigation__link:focus, .navigation__link:hover {
  color: #ffffff;
}

.main {
  background-color: #191919;
}
.main__message {
  line-height: 60px;
  font-size: 20px;
  color: #c2c2c2;
}

.movie {
  margin: 50px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  .movie {
    align-items: flex-start;
  }
}
.movie__column {
  flex: 0 0 50%;
}
@media (max-width: 767px) {
  .movie__column {
    flex: 1 1 auto;
  }
  .movie__column:nth-of-type(1) {
    margin: 0 30px 0 0;
  }
}
.movie__title {
  margin: 0 0 30px;
  padding: 0 0 0 60px;
  position: relative;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #6073ca;
}
.movie__title::before {
  content: "8.1 IMDb";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  width: 48px;
  height: 48px;
  border: 3px solid #6073ca;
  border-radius: 50%;
  display: flex;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0em;
  text-align: center;
}
@media (max-width: 767px) {
  .movie__poster {
    width: 100%;
  }
}

.schedule {
  color: #c2c2c2;
}
.schedule__title {
  margin: 0 0 50px;
  font-size: 24px;
}
.schedule__date {
  display: flex;
}
@media (max-width: 500px) {
  .schedule__date {
    flex-wrap: wrap;
  }
}
.schedule__item {
  margin: 0 3vw 20px 0;
  cursor: pointer;
}
.schedule__input:checked + .schedule__circle {
  background-color: #65b6e9;
}
.schedule__input:checked + .schedule__clock {
  color: #65b6e9;
  text-decoration: underline;
}
.schedule__input:focus + .schedule__circle {
  border: 1px solid #6073ca;
}
.schedule__input:focus + .schedule__clock {
  text-decoration: none;
}
.schedule__circle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #c2c2c2;
  color: #191919;
  transition: 0.3s ease;
}
.schedule__time {
  margin: 50px 0 70px;
  display: flex;
  flex-wrap: wrap;
  max-width: 75%;
}
@media (max-width: 930px) {
  .schedule__time {
    max-width: 90%;
  }
}
@media (max-width: 767px) {
  .schedule__time {
    margin: 40px 0;
  }
}
.schedule__clock {
  padding: 5px;
  display: block;
  box-sizing: border-box;
}

.input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.button {
  padding: 10px 15px;
  border-radius: 20px;
  transition: 0.2s ease-in-out;
  background-color: #65b6e9;
  font-size: 18px;
  color: #191919;
}
.button:hover, .button:focus {
  background-color: #437a9c;
}

.hall {
  margin: 30px 0 0;
  text-align: center;
  position: relative;
}
.hall__title {
  color: #c2c2c2;
  font-size: 24px;
}
.hall__screen {
  position: relative;
  margin: 80px 0;
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.3em;
  color: #747474;
}
.hall__screen::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 80vw;
  height: 0px;
  border-top: 2px solid #c2c2c2;
  border-radius: 50%;
  z-index: 0;
}

.seats {
  max-width: 70vw;
  margin: 120px auto 0;
}
.seats__row {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.seats__column {
  display: flex;
  margin: 0 5vw 0 0;
}
.seats__column:nth-of-type(3) {
  margin: 0;
}
@media (max-width: 500px) {
  .seats__column {
    margin: 0 4vw 0 0;
  }
}
.seats__item {
  margin: 0 10px 0 0;
}
@media (max-width: 500px) {
  .seats__item {
    margin: 0 7px 0 0;
  }
}
.seats__input:checked + .seats__square {
  background-color: #65b6e9;
  color: #191919;
}
.seats__input:focus + .seats__square {
  border: 2px solid #6073ca;
}
.seats__input:disabled + .seats__square {
  background-color: #353535;
  color: #353535;
  cursor: default;
}
.seats__square {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 30px;
  border-radius: 50% 50% 0 0;
  background-color: #747474;
  color: #747474;
  cursor: pointer;
}
@media (max-width: 500px) {
  .seats__square {
    width: 20px;
    height: 25px;
    border-radius: 40% 40% 0 0;
  }
}
.seats__button {
  margin: 20px 0;
}

.footer {
  background-color: #111111;
  padding: 12px 0;
}
.footer__text {
  color: #c2c2c2;
  font-size: 20px;
}
.footer__link {
  color: #65b6e9;
}

.booked {
  margin: 60px auto 20px;
  max-width: 80vw;
}
.booked__title {
  font-size: 28px;
  margin: 0 0 10px;
  color: #65b6e9;
}
.booked__container {
  display: none;
  padding: 20px;
  background-color: #353535;
  border: 2px solid #747474;
  border-radius: 20px;
  color: #c2c2c2;
}
.booked__container.show{
  display: block;
}

.booked__time {
  margin: 10px 0;
}
.booked__item {
  margin: 20px auto;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  max-width: 50%;
  min-width: 250px;
  border: 1px solid #65b6e9;
  border-radius: 20px;
}
.highlight-text {
  color: #6073ca;
  font-weight: 700;
}

.checkout {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #191919;
  color: #ffffff;
  overflow: auto;
}
.checkout.show {
  display: block;
}

.checkout__container {
  max-width: 70vw;
  margin: 8% auto;
  font-size: 20px;
  text-align: center;
}
.checkout__title {
  font-size: 32px;
  position: relative;
  padding: 0 0 20px;
  margin: 0 0 30px;
}
.checkout__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 80%;
  height: 1px;
  background-color: #c2c2c2;
}
.checkout__item {
  margin: 20px auto;
  display: flex;
  justify-content: space-between;
  padding: 15px;
  max-width: 70%;
  min-width: 300px;
  border: 1px solid #747474;
  border-radius: 20px;
}
.checkout__details {
  margin: 20px 0;
}
.checkout__price {
  position: relative;
  padding: 0 0 20px;
  margin: 0 0 30px;
  font-size: 28px;
}
.checkout__price::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 80%;
  height: 1px;
  background-color: #c2c2c2;
}
.checkout__buttons {
  margin: 20px 0 0;
}
.checkout__button {
  margin: 0 20px 0;
}