@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* animation: none !important; */
}

a,
a:focus,
a:active,
a:hover {
  outline: 0;
  text-decoration: none;
}

.banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1vmax;
  text-transform: uppercase;
  color: #fff;
  background: #001544;
  overflow: hidden;
}

.global-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.img-wrap {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50vw;
  height: 100vh;
}

.img-wrap .maini {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-54.56%, -47.3%);
  width: 74.0625em;
  height: 60.520833em;
  background: url(../images/main.png) center no-repeat;
  background-size: contain;
  animation: i1-an 3s linear;
}

.container {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 61vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-wrap {
  position: relative;
  width: 100%;
  height: 26%;
}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -53%);
  width: 23.5em;
  height: 6.2em;
  max-width: 727px;
  background: url(../images/logo.svg) center no-repeat;
  background-size: contain;
}

.btn-wrap {
  position: relative;
  width: 100%;
  height: 21%;
}

.btn-border {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-49.5%, -56%);
  width: 18.334em;
  height: 4.73em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-size: 1em;
  line-height: 1;
  font-weight: 900;
  color: #00102c;
  border: 0.3em solid #9ce601;
  border-radius: 300px;
}

.btn {
  font-size: 1.875em;
  width: calc(100% - 0.5em);
  height: calc(100% - 0.5em);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #9de607;
  border-radius: 300px;
  box-shadow: 0px 0px 0.8em 0px #9de505,
    inset 0px 0.09em 0px 0px #c5ff8d;
}

.btn-flare {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 102%;
  border-radius: 300px;
  overflow: hidden;
}

.btn-an {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(112deg, transparent 20%, 
    rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.8) 47%, 
    rgba(255, 255, 255, 0.8) 53%, rgba(255, 255, 255, 0) 65%, 
    transparent 80%);
  animation: btn-an 3s infinite linear;
}

.btn-txt {
  z-index: 10;
}

.txt-wrap {
  position: relative;
  width: 100%;
  height: 43%;
}

.block-txt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-49.8%, -50.5%);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1em;
  letter-spacing: 0.1em;
  animation: txt1-an 3s linear;
}

.block-txt .clr {
  color: #efff21;
  font-weight: 900;
}

.block-txt .line-zero {
  font-size: 2.604167em;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.block-txt .line-one {
  font-size: 3.333333em;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.block-txt .line-two {
  padding-top: 0.55em;
  font-size: 3.645833em;
  line-height: 1;
  font-weight: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}



/* MEDIA QUERIES ============================================================================================================*/



/* 1366x1024 */
@media screen and (max-aspect-ratio: 1.4) and (orientation: landscape) {
  .banner {
    font-size: 1.13vmax;
  }

  .container {
    width: 54vw;
    z-index: 10;
  }

  .img-wrap .maini {
    transform: translate(-47.6%, -43.75%) scale(1.05);
  }

  .logo {
    transform: translate(36.5%, -63%) scale(1.174);
    z-index: 10;
  }

  .banner::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -104%);
    width: 88.495575em;
    height: 39.583306em;
    background: url(../images/logo-bcg.png) center no-repeat;
    background-size: contain;
    z-index: 1;
  }

  .block-txt {
    transform: translate(-49.8%, -45.5%);
  }

  .btn-border {
    transform: translate(-49.5%, -89%);
    height: 4.76em;
  }
}

/* 653x280 */
@media screen and (min-aspect-ratio: 2.2) and (orientation: landscape) {
  .banner {
    font-size: 2.23vmin;
  }

  .img-wrap .maini {
    transform: translate(-49.56%, -48.0%) scale(1.01);
  }

  .container {
    width: 56.5vw;
  }

  .logo {
    transform: translate(-42%, -70%);
  }

  .btn-border {
    font-size: 1.14em;
    transform: translate(-49.0%, -34%);
  }

  .block-txt {
    transform: translate(-49.8%, -52.5%);
  }

  .block-txt .line-two {
    font-size: 3.8645833em;
  }
}



/* 1024x1366 */
@media screen and (orientation: portrait) {
  .banner {
    font-size: 1.76vw;
  }

  .img-wrap {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
  }

  .container {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
  }

  .logo-wrap {
    height: 12%;
  }

  .txt-wrap {
    height: 28%;
  }

  .btn-wrap {
    height: 53%;
  }

  .logo {
    transform: translate(-50%, -48%) scale(1.08);
  }

  .block-txt {
    transform: translate(-49.8%, -46.5%);
    text-shadow: 
      0px 0px 0.5em #001544,
      0px 0px 1em #001544,
      0px 0px 1.5em #001544,
      0px 0px 2em #001544,
      0px 0px 2.5em #001544,
      0px 0px 3em #001544;
  }

  .block-txt .line-two {
    padding-top: 0.3em;
  }

  .btn-border {
    transform: translate(-50%, 172%);
    font-size: 1.38em;
  }

  .img-wrap .maini {
    transform: translate(-47.56%, -31.3%) scale(1.07);
  }
}

/* 320x568 */
@media screen and (max-aspect-ratio: 0.6) and (min-aspect-ratio: 0.45) {
  .banner {
    font-size: 2.33vw;
  }
}

/* 280x653 */
@media screen and (max-aspect-ratio: 0.45) {
  .banner {
    font-size: 2.37vw;
  }

  .logo {
    transform: translate(-50%, -45%) scale(1.14);
  }

  .btn-border {
    transform: translate(-50%, 243%);
    font-size: 1.43em;
  }

  .block-txt {
    transform: translate(-49.8%, -49.5%);
  }

  .img-wrap .maini {
    transform: translate(-47.56%, -30.3%) scale(1.122);
  }
}

/* from square to 0.751 AR*/
@media screen and (max-aspect-ratio: 1/1) and (min-aspect-ratio: 770/1024) { 
  .banner {
    font-size: 1.2vw;
  }
}



/* ANIMATIONS ===============================================================================================================*/



@keyframes btn-an {
  0%, 36.67% {
    transform: translateX(-100%);
  }

  53.33%, 100% {
    transform: translateX(100%);
  }
}

@keyframes txt1-an {
  0%, 16.67% {
    opacity: 0;
  }

  33.33%, 100% {
    opacity: 1;
  }
}

@keyframes i1-an {
  0%, 16.67% {
    opacity: 0;
  }

  33.33%, 100% {
    opacity: 1;
  }
}
