*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  font-family: 'Roboto', sans-serif;
}

.main {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-image: url('/img/bg-desk.png');
  background-size: cover;
  background-position: center -100px;
  background-repeat: no-repeat;

  @media screen and (min-width: 500px) and (max-width: 660px) {
    background-position: center -190px;
  }

  @media screen and (min-width: 661px) and (max-width: 1439px) {
    background-position: center -150px;
  }

  @media screen and (max-width: 767px) {
    background-image: url('/img/bg-mob.png');
  }

  @media screen and (min-width: 768px) and (max-width: 1439px) {
    background-image: url('/img/bg-tab.png');
  }

  @media screen and (min-width: 1440px) {
    background-position: center -120px;
  }
}

.overlay {
  position: fixed;
  width: 100%;
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  backdrop-filter: blur(10px) brightness(70%);
}

.main-btn {
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;

  max-width: 70%;
  width: 100%;
  padding: 20px;

  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: rgb(255, 255, 255);

  background: #000;
  border-radius: 7px;
  cursor: pointer;

  animation: pulseGlow 1.5s infinite;

  @media screen and (min-width: 1200px) {
    max-width: 40%;
  }
}

.flare {
  position: absolute;
  top: 0;
  height: 100%;
  width: 25px;
  transform: skewX(-45deg);
  animation: flareAnimation;
  left: 80%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4));
  animation: flareAnimation 2s infinite linear;
}

@keyframes flareAnimation {
  0% {
    left: 10%;
  }
  100% {
    left: 80%;
  }
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

.img {
  width: 100%;
}
