body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
}
main {
  /* padding: 80px 0px; */
  background-image: url("img/stadiu-res.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100%;
  display: block;
  max-width: 100%;

  display: flex;
  height: 100vh;
  overflow: hidden;
}
main .language {
  position: fixed;
  top: 30%;
  left: 0;
  display: flex;
  flex-direction: column;
}

main .language a {
  padding: 2px;
  border: 2px solid #92e305;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  border-radius: 0px 50px 50px 0px;
  background: #000;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}
main .language a::before {
  animation: blick-70d9be25 3s cubic-bezier(0.19, 1, 0.22, 1) infinite;
  background-image: linear-gradient(
    -50deg,
    #fff0 30%,
    #fff9 45%,
    #fff9 50%,
    #fff0 65%
  );
  content: "";
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: absolute;
  transform: translate(-100%);
  width: 100%;
  z-index: 1;
}
main .language a:hover {
  animation: ripple-glow 1s infinite ease-out;
}
main .language a span {
  display: inline-block;
  padding: 10px 5px;
  font-family: "Arial", sans-serif;
  font-weight: bold;
  font-style: italic;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 16px;
  color: #1a1a1a;
  background: #a6ff00;
  border: 3px solid #1a1a1a;
  border-radius: 0px 50px 50px 0px;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.3), 4px 7px 22px #66ff00;
  transition: all 0.3s ease;
  width: 30px;
  text-align: center;
  position: relative;
}
main .container {
  width: 80%;
  display: flex;
  margin: 0 auto;
}
.md-6 {
  width: 50%;
}

main .container .md-6:nth-child(1) {
  margin-top: 60px;
}
main .container .md-6:nth-child(1) .text-area {
  padding: 30px 0;
}
main .container .md-6:nth-child(1) h2 span {
  color: #fff;
  font-weight: 700;
  text-shadow: rgba(255, 0, 68, 0.75) 0px 0px 0.5em,
    rgba(255, 0, 68, 0.75) 0px 0px 0.5em, rgba(255, 0, 68, 0.75) 0px 0px 0.5em;
  font-style: italic;
  font-size: 85px;
  line-height: 90px;
  margin: 0;
  /* margin-bottom: 15px; */
  font-family: "Poppins", sans-serif;
  animation: glow 2s infinite ease-out;
  display: block;
}
@keyframes glow {
  0% {
    text-shadow: rgba(255, 0, 68, 0.75) 0px 0px 0.12em,
      rgba(255, 0, 68, 0.75) 0px 0px 0.12em,
      rgba(255, 0, 68, 0.75) 0px 0px 0.12em;
  }
  50% {
    text-shadow: rgba(255, 0, 68, 0.75) 0px 0px 0.5em,
      rgba(255, 0, 68, 0.75) 0px 0px 0.5em, rgba(255, 0, 68, 0.75) 0px 0px 0.5em;
  }
  100% {
    text-shadow: rgba(255, 0, 68, 0.75) 0px 0px 0.12em,
      rgba(255, 0, 68, 0.75) 0px 0px 0.12em,
      rgba(255, 0, 68, 0.75) 0px 0px 0.12em;
  }
}
main .container .md-6:nth-child(1) h2 {
  font-style: italic;
  color: #fff;
  font-size: 40px;
  margin: 0;
  font-weight: 400;
  text-transform: uppercase;
  /* margin-bottom: 15px; */
  font-family: "Poppins", sans-serif;
}

main .container .md-6:nth-child(1) a.btn-classic {
  padding: 4px;
  border: 2px solid #92e305;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  border-radius: 50px;
  background: #000;
  position: relative;
  overflow: hidden;
}
main .container .md-6:nth-child(1) a.btn-classic:hover {
  animation: ripple-glow 1s infinite ease-out;
}

@keyframes ripple-glow {
  0% {
    box-shadow: rgb(0, 0, 0) 0px 0px 0px;
  }
  50% {
    box-shadow: rgba(146, 227, 5, 0.26) 0px 0px 0px 8px;
  }
  100% {
    box-shadow: rgb(0, 0, 0) 0px 0px 0px;
  }
}

main .container .md-6:nth-child(1) a.btn-classic span {
  display: inline-block;
  padding: 15px;
  font-family: "Arial", sans-serif;
  font-weight: bold;
  font-style: italic;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 22px;
  color: #1a1a1a;
  background: #a6ff00; /* bright green */
  border: 3px solid #1a1a1a;
  border-radius: 50px;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.3), 4px 7px 22px #66ff00;
  transition: all 0.3s ease;
  width: 200px;
  text-align: center;
  position: relative;
}

main .container .md-6:nth-child(1) a.btn-classic::before {
  animation: blick-70d9be25 3s cubic-bezier(0.19, 1, 0.22, 1) infinite;
  background-image: linear-gradient(
    -50deg,
    #fff0 30%,
    #fff9 45%,
    #fff9 50%,
    #fff0 65%
  );
  content: "";
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: absolute;
  transform: translate(-100%);
  width: 100%;
  z-index: 1;
}
@keyframes blick-70d9be25 {
  0% {
    transform: translate(-100%);
  }
  100% {
    transform: translate(100%);
  }
}

main .container .md-6:nth-child(1) img[alt="Cards"] {
  padding: 25px 0px 0px 0px;
  width: 280px;
}
main .container .md-6:nth-child(2) {
  position: relative;
}
main .container .md-6:nth-child(2) img[alt="mobile"] {
  display: block;
  margin: 0 auto;
  width: 300px;
  position: absolute;
  top: 10px;
  right: 160px;
  transform-origin: center;
  animation: tiltLoop 4s infinite ease-in-out;
  transition: all 0.25s ease-in-out;
  transform-style: preserve-3d;
}
@media (min-width: 1366px) and (max-width: 1600px) {
  main .container .md-6:nth-child(2) img[alt="mobile"] {
    right: 60px;
    width: 250px;
  }
  main .container .md-6:nth-child(2) img[alt="Player"] {
    top: 120px !important;
    width: 320px !important;
  }
}

/* Real 3D tilt */
@keyframes tiltLoop {
  0%,
  100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(20deg);
  }
}

main .container .md-6:nth-child(2) img[alt="Player"] {
  display: block;
  margin: 0 auto;
  width: 350px;
  position: absolute;
  top: 220px;
}
main .container .md-6:nth-child(2) img[alt="frame"] {
  display: block;
  margin: 0 auto;
  width: 100%;
  position: relative;
  transform-origin: center;
  animation: grow 4s infinite ease-in-out;
  transition: all 0.25s ease-in-out;
  transform-style: preserve-3d;
}

@keyframes grow {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.mobile {
  display: none;
}

@media screen and (max-width: 520px) {
  main {
    /* padding: 50px 0px; */
  }
  main .container {
    width: 90%;
    display: block;
  }
  .ms-12 {
    width: 100% !important;
  }
  main .container .ms-12:nth-child(1) img[alt="Logo"] {
    display: block;
    width: 130px;
    margin: 0 auto;
  }
  main .container .ms-12:nth-child(1) h2 {
    font-size: 16px;
    text-align: center;
  }
  main .container .ms-12:nth-child(1) h2 span {
    font-size: 24px;
    display: inline-block;
    line-height: 28px;
  }
  main .container .md-6:nth-child(1) a.btn-classic {
    padding: 2px;
  }
  main .container .md-6:nth-child(1) a.btn-classic span {
    font-size: 16px;
    padding: 9px;
    width: 170px;
  }
  main .container .ms-12:nth-child(1) {
    text-align: center;
    margin-top: 80px;
  }
  main .container .ms-12:nth-child(2) {
    padding-top: 0px;
    overflow: hidden;
    position: relative;
    /* padding-bottom: 40px; */
  }
  main .container .ms-12:nth-child(2) img[alt="frame"] {
    width: 420px;
    position: absolute;
  }
  main .container .ms-12:nth-child(2) img[alt="mobile"] {
    width: 170px;
    top: 0px;
    right: -70px;
    position: relative;
  }
  main .container .ms-12:nth-child(2) img[alt="Player"] {
    top: 80px;
    width: 200px;
  }
  main .container .ms-12:nth-child(1) .text-area {
    padding: 10px 0px;
  }
  main .container .ms-12:nth-child(1) img[alt="Cards"] {
    padding: 25px 0px 0px 0px;
    width: 250px;
  }
  .desktopk {
    display: none;
  }
  .mobile {
    display: block;
    width: 200px;
    margin: 0 auto;
    margin-top: 15px;
  }
  main .language {
    width: 100%;
    top: 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  main .language a {
    border-radius: 0px 0px 50px 50px;
    margin: 0px 3px;
  }
  main .language a span {
    border-radius: 0px 0px 50px 50px;
    padding: 5px 5px;
  }
}
