@font-face {
  font-family: "Radio Canada";
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 100%;
  src: url("/fonts/68877c940b3c9dd08c425a878a5f9d5159817f04.woff2")
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  font-family: "Radio Canada", sans-serif;
  font-weight: 400;
  background-image: url("/img/bg-st1.png");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 900px) {
  body {
    background-image: url("/img/bg-st2.png");
  }
}
@media screen and (max-width: 600px) {
  body {
    background-image: url("/img/bg-st3.png");
  }
}

.page-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
  width: 100%;
  height: 100%;
}
.page-overlay {
  backdrop-filter: blur(6px);
  background: rgba(15, 23, 42, 0.173);
}

/*cookie modal*/
.cookies-modal {
  position: relative;
  background: rgba(190, 184, 184, 0.5);
  color: #fff;
  padding: 2rem;
  text-align: center;

  border-radius: 16px;
  max-width: 650px;
  width: 90%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.07);
  animation: modalSlideIn 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalSlideIn {
  from {
    transform: translateY(70px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookies-title {
  margin-bottom: 12px;
  color: #55db29;
  text-shadow: 1px 1px #0000009d;
}

.cookies-close {
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  color: #000;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.35s ease;
  text-decoration: none;
  border-radius: 50%;
  line-height: 14px;
  backdrop-filter: blur(4px);
}

.cookies-close:hover {
  background: rgba(255, 255, 255, 1);
  transform: rotate(90deg);
}

.cookies-content {
  margin-bottom: 2.2rem;
  line-height: 1.75;
  font-size: 1.2rem;
  color: #fff;
}

.cookies-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.cookies-accept {
  display: inline-block;
  padding: 0.95rem 2.5rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  min-width: 200px;
  transition: all 0.3s ease;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #2caf00;
  color: white;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.cookies-accept:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(44, 175, 0, 0.7);
}

.cookies-accept::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 30%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-25deg);
  transition: 0.75s;
}
.cookies-accept:hover::after {
  left: 130%;
}

.form-wrapp {
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow: auto;
  padding: 16px;
}

.page-footer {
  position: absolute;
  bottom: 1.2rem;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #fff;
}
.page-footer a {
  color: #fff;
}
.page-footer a:hover {
  text-decoration: none;
}

@media (max-width: 767px) {
  .cookies-modal {
    padding: 1rem;
    width: 92%;
  }
  .cookies-title {
    font-size: 1.5rem;
  }
  .cookies-content {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .cookies-accept {
    width: 100%;
    padding: 0.85rem 1.8rem;
    font-size: 14px;
  }
}
@media (max-width: 600px) {
  .cookies-actions {
    flex-wrap: wrap;
  }
  .form-wrapp {
    max-width: 100%;
  }
}
