:root {
  --f1: 'Montserrat', sans-serif;
  --f2: 'Manrope', sans-serif;

  --white: #fff;
  --white-rgb: 255, 255, 255;
  --black: #000;
  --black-rgb: 0, 0, 0;
  --red: #E30613;
  --red-rgb: 227, 6, 19;
}

.checkbox-hidden,
.visually-hidden:not(:focus),
input[type="file"].visually-hidden:focus,
.main input[type="radio"],
.main input[type="checkbox"],
input[type="radio"].hide,
input[type="checkbox"].hide {
  position: absolute;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
}

button {
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  overflow: visible;

  background: transparent;

  /* inherit font & color from ancestor */
  color: inherit;
  font: inherit;

  /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
  line-height: normal;

  /* Corrects font smoothing for webkit */
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;

  /* Corrects inability to style clickable `input` types in iOS */
  -webkit-appearance: none;
}

/* Remove excess padding and border in Firefox 4+ */
button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.hidden {
  display: none;
}


.dlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

body,
html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  font-feature-settings: 'pnum' on, 'lnum' on;
  font-family: var(--f1);
  background-color: var(--black);
  color: var(--white);
}

.main-wrap {
  min-height: 100%;
}

.video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.video-js .vjs-tech {
  object-fit: cover;
}

.lang-list {
  --bottom: 40px;

  position: fixed;
  display: flex;
  grid-gap: 16px;
  bottom: var(--bottom);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  transition: all 0.3s;
}

.lang-list--transform {
  transform: translate(-50%, calc(100% + var(--bottom)));
}

.lang-list--play-video {
  --top: 68px;

  bottom: auto;
  top: var(--top);
  left: 120px;
  transform: translate(0, calc(-100% - var(--top)));
}

.lang-list--play-video-active {
  transform: translate(0, 0);
}

.lang-list.lang-list--play-video > li > span {
  display: none;
}

.lang-list > li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  width: 150px;
}

.lang-list > li > span {
  display: inline-block;
  margin-bottom: 16px;
}

.lang-list__button {
  border: none;
  color: var(--white);
  height: 56px;
  width: 100%;
  background: rgba(var(--white-rgb), 0.16);
  backdrop-filter: blur(2px);

  font-weight: 500;
  font-size: 18px;
  line-height: 1.33;
  cursor: pointer;
  /* identical to box height, or 133% */
  transition: all 0.2s;

  border-radius: 8px;
}

.lang-list__button:active {
  transform: scale(0.8);
}

.lang-list__button:not(.lang-list__button--active):hover {
  background: rgba(var(--red-rgb), 0.6);
}

.lang-list__button--active {
  background: rgba(var(--red-rgb), 1);
}

.fade-enter-active, .fade-leave-active {
  transition: opacity .5s;
}

.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */
{
  opacity: 0;
}

.play-button {
  position: fixed;
  top: calc(50% - 38px);
  left: calc(50% - 38px);
  width: 90px;
  height: 90px;
  border-radius: 100px;
  padding-left: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border: none;
  background-color: var(--red);
  animation: pulse 1s infinite forwards;
  filter: drop-shadow(0 0 10px rgba(var(--red-rgb), 0.8));
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

.play-button:hover {
  animation: pulse 1s infinite reverse;
  filter: drop-shadow(0 0 15px rgba(var(--red-rgb), 1));
}

.play-button:active {
  transform: scale(0.8);
}

.play-button--show {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.4s;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(var(--red-rgb), 0.8);
  }
  70% {
    -webkit-box-shadow: 0 0 0 20px rgba(var(--red-rgb), 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(var(--red-rgb), 0);
  }
}

@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(var(--red-rgb), 0.8);
    box-shadow: 0 0 0 0 rgba(var(--red-rgb), 0.8);
  }
  70% {
    -moz-box-shadow: 0 0 0 20px rgba(var(--red-rgb), 0);
    box-shadow: 0 0 0 20px rgba(var(--red-rgb), 0);
  }
  100% {
    -moz-box-shadow: 0 0 0 0 rgba(var(--red-rgb), 0);
    box-shadow: 0 0 0 0 rgba(var(--red-rgb), 0);
  }
}

.close-video-button {
  position: fixed;
  width: 64px;
  height: 64px;
  right: 64px;
  top: 64px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border: none;
  z-index: 25;

  background-color: rgba(var(--white-rgb), 0.24);
  backdrop-filter: blur(2px);
  transition: all 0.2s;
  cursor: pointer;
}

.close-video-button:active {
  transform: scale(0.8);
}

.close-video-button:hover {
  background-color: rgba(var(--red-rgb), 0.6);
}

.overlay-video {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(var(--black-rgb), 1);
  z-index: 15;
}

.logo {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.2s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

.logo--show {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.4s;
}

@media (max-width: 1150px) and (min-width: 960px) {

  .lang-list > li {

    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    width: 150px;
  }
}

@media (max-width: 960px) {
  .lang-list {
    --bottom: 16px;
    grid-gap: 8px;
  }

  .lang-list > li {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.5;
    width: 110px;
    white-space: nowrap;
  }

  .lang-list--play-video {
    --top: 50px;
    bottom: auto;
    left: 16px;
  }

  .lang-list--play-video > li {
    width: 80px;
  }

  .lang-list--play-video .lang-list__button {
    height: 48px;
    font-size: 14px;
  }

  .close-video-button {
    width: 44px;
    height: 44px;
    right: 16px;
    top: 51px;
  }
}

