@font-face {
  font-family: 'PFDinCondensedMedium';
  src:
    local('PFDinCondensedMedium'),
    url(../fonts/PFDinCondensedMedium.ttf),
    url(../fonts/PFDinCondensedMedium.woff) format('woff'),
    url(../fonts/PFDinCondensedMedium.eot) format('truetype');
}
html {
  height: auto;
  box-sizing: border-box;
  background-color: #020619;
}
body {
  min-height: calc(100vh + 153px) !important;
  margin: 0;
  background: #020619 url('img/background.jpg') no-repeat top center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  overflow: auto !important;
  color: white;
  font-family: Manrope,Helvetica,Arial,sans-serif;
}

button {
  color: inherit;
  border: none;
}

.overlay-enabled {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.container {
  flex: 1 0 auto;
  max-width: 960px;
  margin: 50px auto 0 auto;
  padding: 0 20px 20px 20px;
}

h2 {
  font-family: 'RobotoBold', Helvetica, Arial, sans-serif;
  color: #ffffff;
  text-align: center;
  font-size: 15px;
}

h3 {
  color: #5f5f5f;
  font-weight: 300;
  font-size: 12px;
  text-align: right;
}

textarea:focus,
input:focus {
  outline: none;
}

.header {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: -10px 0 20px;
  align-items: center;
  padding: 0;
}

.header--online {
  background: none;
}

.placeholder {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 30px;
  background: radial-gradient(35.81% 35.81% at 49.96% 56.27%, rgba(8, 6, 11, 0.17) 0%, rgba(49, 0, 72, 0.40) 100%), url(/2024/img/header_background.jpg?1) lightgray 50% / cover no-repeat;
}

.placeholder.hide-placeholder {
  display: none;
}

.placeholder__title {
  height: 60px;
  display: flex;
  align-items: center;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.50);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
}

.placeholder__text {
  text-shadow: 0 0 5px #000;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
}

.hide {
  display: none !important;
}

.server-error {
  margin-top: 30%;
  text-align: center;
}

.show-modal {
  top: 50% !important;
}

.modal-error {
  display: none;
}

.modal-error.show-error {
  display: block;
  color: #e2534f !important;
  position: absolute;
  top: 51px;
  left: 21px;
  font-family: 'RobotoRegular', Helvetica, Arial, sans-serif;
  letter-spacing: 0.9px;
  word-spacing: -1px;
  line-height: 1.4;
}

.video-player__container {
  --aspect-ratio: 16 / 9;

  width: 960px;
  position: relative;
  margin-bottom: 40px;
}

.video-player__container-inner  {
  aspect-ratio: var(--aspect-ratio);
  width: 100%;
}

.video-player {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  box-shadow: 0 25px 80px 0 #4C2186;
}

@supports not (aspect-ratio: 16/9) {
  .video-player__container-inner  {
    height: 0;
    padding-top: calc(100% / (var(--aspect-ratio)));
  }
}

#modal {
  width: 440px;
  border: 1px solid black;
  background-color: #001b5f;
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.5s;
  z-index: 3;
  border-radius: 3px;
  padding: 25px 61px 36px 61px;
  box-sizing: border-box;
}

.modal__pass-subtitle {
  opacity: 0.6;
  letter-spacing: 0.9px;
  word-spacing: -1px;
  line-height: 1.4;
  font-family: 'RobotoRegular', Helvetica, Arial, sans-serif;
  font-size: 16px;
}

#modal label {
  margin: 10px 0 23px 0;
  color: #ffffff;
  display: block;
  width: 339px;
  letter-spacing: 0.9px;
  word-spacing: -1px;
  line-height: 1.4;
  font-family: 'RobotoRegular', Helvetica, Arial, sans-serif;
}

.fancybox-close-small {
  display: none;
}

.close-button-server {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 30px;
  right: 28px;
  cursor: pointer;
}

.close-button-server:before {
  content: '';
  top: 50%;
  display: block;
  background-color: #828ca6;
  opacity: 1;
  position: absolute;
  transform: rotate(-45deg);
  width: 30px;
  height: 2px;
}

.close-button-server:after {
  content: '';
  top: 50%;
  display: block;
  width: 30px;
  height: 2px;
  background-color: #828ca6;
  opacity: 1;
  position: absolute;
  transform: rotate(45deg);
}

.overlay {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2;
}

.overlay.show-overlay {
  display: block;
}

.message {
  display: flex;
  align-items: center;
  text-align: center;
  width: 400px;
  height: 200px;
  border: 1px solid black;
  background-color: #001b5f;
  position: absolute;
  transition: 0.5s;
  top: -100%;
  left: 33%;
  color: #ffffff;
}

.message.message-show {
  top: 33% !important;
}

.amoconf-logo {
  position: relative;
  top: -5px;
  right: -3px;
}


#server-modal-error {
  background-color: black;
}

.modal_phone {
  box-sizing: border-box !important;
  padding: 27px 32px 40px !important;
  display: flex !important;
  position: absolute !important;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  max-width: 544px;
  width: 100%;
  font-size: 18px;

  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 9px;
  background: linear-gradient(230deg, #6c3b97 16.76%, #260077 104.82%);
}

.verify_first {
  font-family: MontserratBold, Helvetica, Arial, sans-serif;
  text-align: center;
  text-transform: none;
  line-height: 25px;
  margin-bottom: 22px;
  font-size: 19px;
}

.form__error_phone {
  color: #fff500 !important;
  align-self: flex-start;
  margin-left: 20px;
  padding-top: 4px;
  font-size: 14px;
}
.form__error_sms_code {
  color: #fff500 !important;
  font-size: 14px;
}

.fancy__loading-form {
  z-index: 99995;
}

/* секция с кастомизация инпута телефона */
.intl-tel-input .selected-flag .iti-arrow {
  border-top: 4px solid #fff;
  right: -3px;
  left: 46px;
}

.selected-flag {
  padding-left: 20px !important;
}

.intl-tel-input {
  width: 100%;
}

.flag-container {
  width: 100% !important;
  right: unset !important;
}

.form__input_phone {
  padding-left: 63px;
  width: 100%;
}

.form__input_sms-code {
  margin-bottom: unset !important;
  width: 100%;
  max-width: 268px;
}

.iti-mobile-select {
  position: absolute;
  display: block;
  top: 0;
  height: 100%;
  z-index: 1000;
  width: 50px;
  opacity: 0;
}

.confirm_phone {
  margin-top: 40px;
}

.hide {
  display: none !important;
}

.server-error {
  margin-top: 30%;
  text-align: center;
}

.show-modal {
  top: 50% !important;
}

.modal-error {
  display: none;
}

.modal-error.show-error {
  display: block;
  color: #e2534f !important;
  position: absolute;
  top: 51px;
  left: 21px;
  font-family: 'RobotoRegular', Helvetica, Arial, sans-serif;
  letter-spacing: 0.9px;
  word-spacing: -1px;
  line-height: 1.4;
}

#modal {
  width: 440px;
  border: 1px solid black;
  background-color: #001b5f;
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.5s;
  z-index: 3;
  border-radius: 3px;
  padding: 25px 61px 36px 61px;
  box-sizing: border-box;
}

#modal label {
  margin: 10px 0 23px 0;
  color: #ffffff;
  display: block;
  width: 339px;
  letter-spacing: 0.9px;
  word-spacing: -1px;
  line-height: 1.4;
  font-family: 'RobotoRegular', Helvetica, Arial, sans-serif;
}

.fancybox-close-small {
  display: none;
}

.fancybox-bg {
  background: #000000 !important;
}

.fancybox-is-open .fancybox-bg {
  opacity: 1;
}

.close-button-server {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 30px;
  right: 28px;
  cursor: pointer;
}

.close-button-server:before {
  content: '';
  top: 50%;
  display: block;
  background-color: #828ca6;
  opacity: 1;
  position: absolute;
  transform: rotate(-45deg);
  width: 30px;
  height: 2px;
}

.close-button-server:after {
  content: '';
  top: 50%;
  display: block;
  width: 30px;
  height: 2px;
  background-color: #828ca6;
  opacity: 1;
  position: absolute;
  transform: rotate(45deg);
}

/*.overlay {*/
/*    display: none;*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    background-color: rgba(0, 0, 0, 0.9);*/
/*    z-index: 2;*/
/*} */

.overlay.show-overlay {
  display: block;
}

/*TODO: потестить на портретном режиме*/
@media screen and (max-width: 1024px) {
  #modal {
    height: 100%;
    width: 100%;
    top: 0 !important;
    right: 0;
    bottom: 0;
    left: 0;
    transform: none;
    padding: 0;
    margin: 0;
    position: fixed;
    display: none;
  }

  #modal.show-modal {
    display: block;
  }

  #modal label {
    width: 100%;
    margin: 0 0 23px 0;
  }

  .modal-container {
    width: 85%;
    margin: 37px auto;
  }

  .video-player__container {
    width: 100%;
  }
}

@media screen and (max-width: 639px) {
  .modal-error.show-error {
    line-height: 1.2;
    position: absolute;
    font-size: 4vw;
    left: 19px;
    top: 46px;
    letter-spacing: 0.6px;
  }

  .video-player__container {
    width: 100%;
    --aspect-ratio: 4 / 3;
  }

  .placeholder {
    --url-to-img: '/2024/img/header_background.jpg?1';
    background-size: contain;
  }

  .verify_first {
    font-size: 16px;
  }

  .placeholder__title {
    height: auto;
    font-size: 20px;
  }

  .placeholder__text {
    font-size: 18px;
  }
}

@media screen and (min-width: 640px) and (max-width: 1024px) {
  .modal-error.show-error {
    font-size: 20px;
    left: 19px;
    top: 60px;
  }

  .modal-container {
    width: 60%;
  }

  .video-player__container {
    width: 79vw;
    margin: 0 auto 40px;
  }

  .placeholder {
    background-size: cover;
    height: 40vh;
    width: 100vw;
  }
}

@media screen and (min-width: 1025px) {
  .placeholder {
    background-size: contain;
  }
}

@media (max-width: 840px) and (max-width: 760px) {
  .container {
    margin: 50px 0 auto;
  }
  .placeholder {
    background-size: cover;
    background-position: center;
  }
  .amoconf-logo {
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 767px) {
  .confirm_phone {
    padding: 16px 70px;
  }
}

@media screen and (max-width: 640px) {
  .form__input_sms-code {
    width: 100%;
    max-width: unset;
  }

  #modal_phone {
    top: 40%;
    width: calc(100% - 34px);
  }
}

@media screen and (max-width: 425px) {
  .placeholder__title {
    height: auto;
    font-size: 18px;
    line-height: 1.2em;
  }

  .placeholder__text {
    font-size: 16px;
  }
}