* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Radio Canada", sans-serif;
}

.main {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("/img/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.flare {
  position: absolute;
  top: 0;
  height: 100%;
  width: 40px;
  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 3s infinite linear;
}

@keyframes flareAnimation {
  0% {
    left: 10%;
  }
  100% {
    left: 75%;
  }
}
.hero__button {
  display: block;
  width: 270px;
  padding: 16px 0;
  background: #f54456;
  border-radius: 12px;
  margin: 0 auto;
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 120%;
  text-align: center;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: scale 0.3s ease-in-out;
  z-index: 2;
  &:hover {
    scale: 1.03;
  }
}
.blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  height: 100dvh;
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero__button {
    font-size: 25px;
    padding: 16px 16px;
  }
}
@media (max-width: 685px) {
  .hero__button {
    font-size: 20px;
  }
}
@media (min-width: 400px) {
  .hero__button {
    width: 300px;
  }
}
@media (min-width: 600px) {
  .hero__button {
    width: 400px;
  }
}
@media (min-width: 744px) {
  .hero__button {
    width: 500px;
    font-size: 28px;
  }
}
@media (min-width: 1440px) {
  .hero__button {
    width: 800px;
    font-size: 30px;
  }
}

.wrapper {
  z-index: 2;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.wrapper .text {
  max-width: 450px;
  font-size: 26px;
  color: #fff;
  text-align: center;
  font-weight: 700;
  z-index: 2;
  margin-bottom: 26px;
}
.links {
  position: absolute;
  z-index: 1;
  color: #fff;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 10px;
}
.links a {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.link {
  background-color: #f54456;
  padding: 16px 24px;
  max-width: 350px;
  width: 100%;
  border-radius: 16px;
  color: #000;
  text-decoration: none;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  transform: scale(1);
  transition: transform 0.4s ease;
  transition: scale 0.3s ease-in-out;
  z-index: 2;
  &:hover {
    scale: 1.03;
  }
}
