@font-face {
  font-family: 'Montserrat-Regular';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/Montserrat-Regular/Montserrat-Regular.woff') format('woff'),
    url('../fonts/Montserrat-Regular/Montserrat-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat-Medium';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/Montserrat-Medium/Montserrat-Medium.woff') format('woff'),
    url('../fonts/Montserrat-Medium/Montserrat-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat-Bold';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/Montserrat-Bold/Montserrat-Bold.woff') format('woff'),
    url('../fonts/Montserrat-Bold/Montserrat-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat-ExtraBold';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/Montserrat-ExtraBold/Montserrat-ExtraBold.woff')
      format('woff'),
    url('../fonts/Montserrat-ExtraBold/Montserrat-ExtraBold.woff2')
      format('woff2');
}
@font-face {
  font-family: 'Montserrat-Black';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/Montserrat-Black/Montserrat-Black.woff') format('woff'),
    url('../fonts/Montserrat-Black/Montserrat-Black.woff2') format('woff2');
}
::-webkit-input-placeholder {
  color: #666;
}
::-moz-placeholder {
  color: #666;
}
:-ms-input-placeholder {
  color: #666;
}
::-ms-input-placeholder {
  color: #666;
}
::placeholder {
  color: #666;
}
::-moz-selection {
  background-color: orange;
  color: #fff;
}
::selection {
  background-color: orange;
  color: #fff;
}
input,
textarea {
  outline: 0;
}
input:focus:required:invalid,
textarea:focus:required:invalid {
  border-color: red;
}
input:required:valid,
textarea:required:valid {
  border-color: green;
}
body {
  font-family: 'Montserrat-Regular', sans-serif;
  font-size: 16px;
  color: #fff;
  min-width: 320px;
  position: relative;
  overflow-x: hidden;
  background-color: #000;
}
body::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}
body {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.main {
  display: flex;
  align-items: center;
  min-height: 100vh;
  /*padding: 6.25% 5.21% 1.4%;*/
  background: url(../images/bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 0%;
  position: relative;
  padding-top: 30vh;
}
.bg__art {
  display: flex;
  position: absolute;
  inset: 0;
  z-index: 0;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.bg__art img {
  width: 67%;
  animation: dogs 2.2s alternate infinite;
}
@keyframes dogs {
  0% {
    transform: matrix(1, 0, 0, 1, 0, 0);
  }
  100% {
    transform: matrix(0.9, 0, 0, 0.9, 0, 0);
  }
}
.logo__block {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 3;
  flex-direction: column;
  align-items: center;
}
.logo__flag {
  width: 9.577vw;
  height: 6.19vw;
  background: url(../images/flag.svg);
  background-size: contain;
  background-repeat: no-repeat;
}
.logo__flag2 {
	background: url(../images/flag2.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 50%;
	margin-bottom: -12px;
	width: 8.06vw;
    height: 7.39vw;
}
.shadow__overlay {
  position: absolute;
  inset: 0;
  background: url(../images/bg_overlay.png) 50% / cover no-repeat;
  z-index: 1;
}
.main__wrapper {
  display: flex;
  align-items: start;
  justify-content: space-between;
  width: 100%;
  position: relative;
  z-index: 2;
}
.main__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 5.208vw;
}
.main__content:nth-child(2) {
  margin-right: 5.208vw;
  margin-left: 0;
}
.main__logo {
  width: 10.677vw;
  height: 2.865vw;
  background: url(../images/src/logo.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 9px;
}
.main__heading {
  height: 8.35vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.main__head {
  font-family: 'Montserrat-Black';
  font-size: 3.4vw;
  line-height: 1;
  text-align: center;
}
.main__head span {
  display: block;
  margin: 0 auto;
  font-size: 5.729vw;
}
.main__head-smaller {
  margin-bottom: 1.883vw;
}
.main__description {
  font-family: 'Montserrat-ExtraBold';
  font-size: 1.875vw;
  line-height: 1;
  text-align: center;
  margin-bottom: 2.083vw;
}
.main__general {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 33.333vw;
  height: 5.729vw;
  border-radius: 100px;
  margin-bottom: 2.604vw;
  background-color: #fff;
}
.main__code {
  font-family: 'Montserrat-Medium';
  font-size: 1.042vw;
  line-height: 1;
  color: #000;
  -ms-grid-row-align: center;
  padding-left: 10px;
  margin: 0 auto;
  width: 50%;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}
.main__code:hover {
  color: #e61a01;
}
.main__code.change {
  display: none;
}
.main__replace {
  color: #000;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  -ms-grid-row-align: center;
  align-self: center;
  margin: 0 auto;
  width: 50%;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}
.main__replace.disable {
  display: none;
}
.main__button {
  width: 60%;
  height: 100%;
  background: #ed1b24;
  border-radius: 100px;
  display: flex;
  justify-content: center;
  -ms-grid-row-align: center;
  align-self: center;
}
.main__button a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-family: 'Montserrat-ExtraBold';
  font-size: 1.25vw;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  border-radius: 100px;
}
.main__button a:hover {
  text-decoration: none;
  color: #f0c137;
}
.main__terms {
  font-size: 0.729vw;
  line-height: 1.354vw;
  font-weight: 400;
  text-align: center;
  width: 39.063vw;
}
.main__terms span {
  font-family: 'Montserrat-Bold';
}
.main__footer {
  display: none;
}

@media (max-width: 1024px) and (orientation: portrait), (max-width: 1023px) {
  .main {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-image: url(../images/bg_tab.jpg);
    padding-top: 55vh;
  }
  .bg__art img {
    width: 100%;
  }

  .main__content {
    min-height: 40vh;
    margin: 0;
    width: calc(50% - 2vw);
  }
  .main__content:nth-child(2) {
    margin: 0;
  }
  .main__logo {
    width: 91px;
    height: 24px;
    order: 1;
    margin-top: 30px;
  }
  .main__head {
    font-size: 3.125vw;
    line-height: 1.1;
    margin-bottom: 10px;
  }
  .logo__flag {
    order: 2;
    width: 18.2vw;
    height: 11.7vw;
  }
  .logo__flag2 {
    width: 15.2vw;
    height: 13.9vw;
	}
  .main__head span {
    font-size: 4.688vw;
    line-height: 1;
  }
  .main__description {
    font-size: 20px;
    line-height: 24px;
    flex: 1 1 auto;
    max-width: 290px;
    margin: 0 auto 30px;
  }
  .main__general {
    width: 360px;
    height: 70px;
    margin-bottom: 20px;
  }
  .main__code {
    font-size: 16px;
  }
  .main__button a {
    font-size: 16px;
    line-height: 70px;
  }
  .main__terms {
    display: none;
  }
  .main__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .main__btnTerm {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    right: 5px;
    text-transform: uppercase;
    z-index: 1;
  }
  .main__btnTerm::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    right: -17px;
    transform: translateY(-50%);
    background: url(../images/src/arrow.png) center no-repeat;
    transition: 0.5s ease-in-out;
  }
  .main__btnTerm.rotate::after {
    transform: translateY(-50%) rotate(180deg);
  }
  .main__termUp {
    width: 340px;
    text-align: center;
    font-size: 12px;
    line-height: 22px;
    opacity: 0;
    transition: 0.5s all ease-in-out;
    text-indent: 15px;
    margin: -20px auto 0;
  }
  .main__termUp.open {
    opacity: 1;
    min-height: 110px;
    margin-top: 0;
  }
  .main__head-smaller {
    margin-bottom: 30px;
  }
  .bg__art {
    align-items: flex-start;
    padding-top: 15vh;
  }
  .main__content {
    margin-left: 2vw;
  }
  .main__content:nth-child(2) {
    margin-right: 2vw;
  }
}

@media (max-width: 600px) and (orientation: portrait), (max-width: 767px) {
  .main {
    background: #000 url(../images/bg_mob.jpg) no-repeat 50% 0 / 100%;
    padding-top: 44vh;
  }

  .main__logo {
    width: 92px;
    height: 24px;
  }
  .main__wrapper {
    flex-direction: column;
    align-items: center;
  }
  .shadow__overlay {
    inset: initial;
    left: 0;
    top: 0;
    width: 100%;
    height: 65%;
  }
  .bg__art {
    padding-top: 10vh;
  }
  .main__head {
    font-size: 6.4vmin;
    line-height: 1.1;
    margin-bottom: 10px;
  }
  .main__head span {
    font-size: 9.6vmin;
    line-height: 1;
  }
  .main__description {
    font-size: 16px;
    line-height: 20px;
    max-width: 250px;
    margin: 0 auto 20px;
  }
  .main__general {
    width: 290px;
    height: 50px;
  }
  .main__code {
    font-size: 14px;
    line-height: 17px;
    padding-left: 5px;
  }
  .main__replace {
    font-size: 14px;
    line-height: 17px;
  }
  .main__heading {
    height: auto;
  }
  .main__button {
    width: 152px;
  }
  .main__button a {
    font-size: 14px;
    line-height: 50px;
  }
  .main__btnTerm {
    margin-bottom: 10px;
  }
  .main__termUp {
    font-size: 10px;
    line-height: 15px;
    width: 300px;
    max-height: 40px;
  }
  .main__termUp.open {
    min-height: initial;
    max-height: 120px;
    margin-bottom: 30px;
  }
  .main__content {
    min-height: initial;
    margin: 0;
    width: auto;
  }
}

@media (orientation: landscape) {
  .main {
    background-position: 50% 0%;
  }
}

@media (orientation: landscape) and (max-height: 602px) and (max-width: 1000px) {
  .main {
    background-image: url(../images/bg.jpg);
    background-position: 50% 0%;
    align-items: flex-start;
    background-size: 103%;
  }

  .main__termUp {
    margin-bottom: 25px;
  }

  .main__logo {
    width: 91px;
    height: 24px;
  }
  .bg__art img {
    width: 60%;
  }
}

@media (min-height: 600px) and (max-height: 1300px) and (min-width: 1000px) {
  .main {
    background-position: 50% 0%;
    background-size: 100%;
  }
}

@media (orientation: landscape) and (max-height: 450px) and (max-width: 900px) {
  .bg__art img {
    width: 60%;
  }
  .main {
    padding-top: 80vh;
  }
  .main__general {
    width: 315px;
  }
  .main__termUp {
    width: 300px;
  }
}
