
/* Main */

main > header {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
}

main > header > * {
  border-color: rgba(255, 255, 255, 0.2);
}

main > header h2 .small {
  color: #ccc;
}

main > header a {
  background-image: url(../../../shared/assets/icons/chevron-left-white.svg);
}

main section {
  display: flex;
  align-items: center;
  height: 100vh;
  margin: 0;
}

main section .lock {
  width: 100%;
  max-width: 900px;
}

main section h3 {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  color: #ccc;
}

main section h3::before {
  display: inline-block;
  vertical-align: middle;
  width: 25px;
  height: 1px;
  margin-right: 10px;
  content: '';
  background-color: #fff;
}

main video {
  margin: 0;
}

main section:not(:first-of-type) p {
  max-width: 500px;
  line-height: 1.2em;
  font-family: 'Cormorant', sans-serif;
  font-weight: 600;
  font-size: 28px;
}

@media (min-width: 850px) and (min-height: 785px) {

  main section:not(:first-of-type) p {
    font-size: 48px;
  }

}

main section:first-of-type {
  justify-content: center;
  height: calc(100vh - 200px);
}

@media (min-width: 850px) and (min-height: 785px) {

  main section:first-of-type {
    height: calc(100vh - 140px);
  }

}

main section:first-of-type .lock {
  margin: 0;
}

main section:first-of-type p {
  max-width: 300px;
  margin: 30px auto;
  text-align: center;
}

main nav {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  transform: translateX(-50%);
}

/* Backgrounds */

[data-target] {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: -1;
}

/* Video Player with Audio Descriptions */

video-region {
  display: block;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

video-region > * {
  z-index: 1;
}

video-region video {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
}

video-region .descriptions-switch {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  column-gap: 8px;
  margin: 0;
  border: none;
  padding: 16px;
  font-family: "Lato", sans-serif;
  color: inherit;
  background-color: transparent;  
  filter: drop-shadow(1px 1px 1px #000);
  cursor: pointer;
  pointer-events: auto;
}

video-region .descriptions-switch svg {
  width: 36px;
  color: #fff;
}

video-region .descriptions-switch .status {
  width: 24px;
  height: 16px;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  color: #000;
  background-color: #fff;
  border-radius: 2px;
}

video-region .descriptions-switch .status::before {
  content: 'off';
}

video-region .descriptions-switch[ aria-checked ] .status::before {
  content: 'on';
}

