@import url(reset.css);

@import url("./navigation.css");
@font-face {
  font-family: "Accidental_Presidency";
  src: url("../fonts/accid___(Ru)_0.ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABeeZee";
  src: url("../fonts/ABeeZee-Regular.ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Beast Impacted";
  src: url("../fonts/beastimpacted.ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
body:before {
  content: "";
  position: fixed;
  inset: -50px;
  background:
          repeating-radial-gradient(rgb(0, 0, 0) 0 0.0001%, #ffffff 0 0.0002%)
          60% 60%/3000px 3000px,
          repeating-conic-gradient(#000000 0 0.0001%, rgba(255, 255, 255, 0.66) 0 0.0002%)
          40% 40%/4000px 3000px;
  background-blend-mode: multiply;
  filter: blur(2px) contrast(100) brightness(40);
  mix-blend-mode: lighten;
  z-index: -1;
  filter: blur(0.8px);
}

body {
  background: rgba(204, 204, 204, 0.81);
  margin: 0;
  min-height: 100vh;
}body,
 ul,
 p,h2 {
   margin: 0;
   padding: 0;
 }


/* Плавная прокрутка */
html {
  scroll-behavior: smooth;
}

.about-section {
  scroll-margin-top: 50px;
}

.Background-header {
  position: relative;
  height: 250px;
  display: flex;
  flex-direction: column;
  padding: 5px 0;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.4) 30%,
      transparent 70%
    ),
    url("../images/card-imgs/IMG_2747.JPG");

  background-repeat: no-repeat;
  background-size: cover;
}

/* Контейнер для фоновой картинки */
.background-image-container {
  position: absolute;
  bottom: -70px; /* Прижимаем к низу Background-header */
  left: 0;
  width: 100%;
  height: 170px; /* Высота картинки */
  z-index: 1; /* Behind текста но above фона */
  overflow: hidden;
  filter: blur(0.37px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.background-main-pags {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2); /* Зум вместо zoom */
  transform-origin: center bottom;
}

/* Основной текст */
.main-page {
  position: relative; /* Чтобы был выше картинки */
  z-index: 2;
  margin-top: auto; /* Прижимаем к низу */
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: end; /* Распределяет пространство между элементами */
  padding: 0 15px;
}

.main-page h1 {
  font-family: "Accidental_Presidency";
  font-size: 40px;
  font-weight: 400;
  text-transform: uppercase;
  margin: -8px 0;
  position: relative;
  z-index: 2;
}

.main-page h1:nth-child(1) {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 1) 10%,
    rgba(153, 153, 153, 1) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-page h1:nth-child(2) {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 1) 60%,
    rgba(153, 153, 153, 1) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: end;
  width: 50%;
}

.first-letter {
  color: rgba(56, 217, 221, 1);
  -webkit-text-fill-color: aqua !important;
}

/*  */

.second-section {
  margin-top: 40px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-around;
  align-items: center; /* Выравниваем кнопки по центру */
}

.second-section button {
  background-color: rgba(56, 217, 221, 1);
  border-radius: 25px;
  border: none;
  padding: 3px 5px;

  font-family: "Accidental_Presidency";
  font-size: 18px; /* Немного уменьшил размер */
  font-weight: 400;
  text-align: center;
  width: 93px;
  cursor: pointer;

  /* Добавляем плавный переход для ВСЕХ состояний */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Фиксируем высоту чтобы избежать дергания */
  height: 35px; /* Фиксированная высота */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hover только для первой кнопки */
.second-section a:nth-child(1) button:hover {
  font-family: "Beast Impacted";
  background-color: rgba(92, 12, 12, 1);
  color: rgba(217, 217, 217, 1);
  font-size: 15px;
  transform: translateY(-6px); /* Увеличил подъем для эффекта */
  box-shadow: 0 15px 30px rgba(92, 12, 12, 0.6); /* Улучшил тень */
}
.second-section a:nth-child(2) button:hover {
  font-family: "Accidental_Presidency";
  background-color: rgba(152, 84, 212, 1);
  color: rgba(217, 217, 217, 1);
  font-size: 20px;
  transform: translateY(-6px); /* Увеличил подъем для эффекта */
  box-shadow: 0 15px 30px rgba(152, 84, 212, 0.6); /* Улучшил тень */
}
.second-section a:nth-child(3) button:hover {
  font-family: "Accidental_Presidency";
  background-color: black;
  color: rgba(217, 217, 217, 1);
  font-size: 20px;
  transform: translateY(-6px); /* Увеличил подъем для эффекта */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6); /* Улучшил тень */
}

/*  */
.quest {
  padding: 0 15px;
}

.card-type {
  text-align: center;
  font-family: "Accidental_Presidency";
  text-transform: uppercase;
  color: black;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 2.5px;
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
}
.card-type img {
  position: absolute;
  z-index: -1;
  transform: scale(2);
  width: 45%;
  rotate: -7deg;
}
.card-type {
  position: relative;
  z-index: 1;
}
.card {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}
/*  */
.quest-img {
  min-width: 170px;
  min-height: 170px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
}
.quest-img {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3),
    /* Верхняя мягкая тень */ 0 8px 16px rgba(0, 0, 0, 0.5),
    /* Средняя тень */ 0 16px 32px rgba(0, 0, 0, 0.5),
    /* Нижняя тень */ 0 32px 64px rgba(0, 0, 0, 0.4),
    /* Фоновая тень */ inset 0 8px 16px rgba(0, 0, 0, 0.5),
    inset 0 -16px 16px rgba(0, 0, 0, 0.7), inset 0 16px 32px rgba(0, 0, 0, 0.5),
    inset 0 32px 64px rgba(0, 0, 0, 0.2);
  margin: 10px; /* Компенсируем тень */
}
.quest-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 10px;
}
.quest-img {
  z-index: 1;
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.quest-img p {
  margin-top: 0.5px;
  height: min-content;
  color: rgba(152, 84, 212, 1);
  overflow-wrap: break-word;
  font-family: "Accidental_Presidency";
  font-size: 15px;
  text-transform: uppercase;
  padding: 4px 8px;
  -webkit-text-stroke: 0.5px black; /* Для WebKit браузеров */
}
.quest-img p:last-child {
  text-align: end;
}
.quest-img p:nth-child(2) {
  font-size: 24px;
}
.quest-text {
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
}
.quest-text h3 {
  font-family: "Accidental_Presidency";
  text-transform: uppercase;
  color: black;
  font-size: 32px;
  font-weight: 400;
}
.quest-text p {
  overflow-wrap: break-word;
  font-size: 11px;
  font-family: "Accidental_Presidency";
  text-transform: uppercase;
  color: black;
  text-align: center;
}
.quest-text button {
  background-color: rgba(152, 84, 212, 0.5);
  border-radius: 25px;
  border: none;
  padding: 3px 5px;
  text-transform: uppercase;
  font-family: "Accidental_Presidency";
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  width: 93px;
  color: black;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.quest-text button:hover {
  font-family: "Accidental_Presidency";
  background-color: rgba(152, 84, 212, 1);
  color: rgba(217, 217, 217, 1);
  transform: translateY(-6px); /* Увеличил подъем для эффекта */
  box-shadow: 0 15px 30px rgba(152, 84, 212, 0.6); /* Улучшил тень */
}

/*  */
.button {
  padding: 0 15px;
  display: flex;
  justify-content: center;
  margin-bottom: 80px;
}
.button button {
  background-color: rgba(152, 84, 212, 0.5);
  border-radius: 35px;
  border: none;
  padding: 20px 18px;
  text-transform: uppercase;
  font-family: "Accidental_Presidency";
  font-size: 40px;
  font-weight: 400;
  text-align: center;
  color: black;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border-radius: 50px;
}
.button button:hover {
  font-family: "Accidental_Presidency";
  background-color: rgba(152, 84, 212, 1);
  color: rgba(217, 217, 217, 1);
  transform: translateY(-6px); /* Увеличил подъем для эффекта */
  box-shadow: 0 15px 30px rgba(152, 84, 212, 0.6); /* Улучшил тень */
}

/*  */
@media screen and (min-width: 368px) {
  body {
    width: auto;
  }
  .Background-header {
    height: 340px;
  }
  .main-page h1 {
    font-size: 50px;
    text-align: center;
    margin-right: 10vh;
  }

  .background-image-container {
    height: auto;
    align-items: center;
    width: 100%;
    margin-bottom: -7vh;
  }
  .background-main-pags {
    width: 70vh;
    height: 30vh;
  }
}

@media screen and (min-width: 400px) {
  body {
    width: auto;
  }
  .Background-header {
    height: 340px;
  }
  .main-page h1 {
    font-size: 50px;
    text-align: center;
    margin-right: 10vh;
  }

  .background-image-container {
    height: auto;
    align-items: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: -9vh;
  }
  .background-main-pags {
    width: 80vh;
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /*  */
  .second-section {
    margin-top: 5vh;
    margin-bottom: 5vh;
  }
  .quest-img {
    min-width: 190px;
    min-height: 210px;
  }
  .quest-img p {
    font-size: 22px;
    padding: 5px 10px;
  }
  .quest-img p:nth-child(2) {
    font-size: 28px;
  }

  .quest-text {
  }
  .quest-text h3 {
    font-size: 28px;
  }
  .quest-text p {
    font-size: 16px;
  }
  .quest-text button {
    font-size: 20px;
    width: 15vh;
    height: 4.5vh;
    border-radius: 50px;
  }
  .quest-text button:hover {
    font-size: 24px;
  }
  .card-type img {
    width: 16.5vh;
  }
  .button button {
    border-radius: 60px;
  }
}
/* Медиазапросы для адаптивности */
/* Планшеты (568px и выше) */
@media screen and (min-width: 568px) {
  body {
    width: auto;
  }
  .Background-header {
    height: 560px;
  }
  .main-page h1 {
    font-size: 72px;
    text-align: center;
    margin-right: 10vh;
  }

  .background-image-container {
    height: auto;
    align-items: center;
    width: 100%;
    margin-bottom: -12vh;
  }
  .background-main-pags {
    width: 80vh;
    height: 45vh;
  }

  /*  */

  .second-section {
    margin-top: 10vh;
    margin-bottom: 10vh;
  }
  .second-section button {
    /* padding: 25px 10px; */
    font-size: 36px;
    height: 7.5vh;
    width: 18vh;
    border-radius: 50px;
  }
  .second-section a:nth-child(1) button:hover {
    font-size: 20px;
  }
  .second-section a:nth-child(2) button:hover {
    font-size: 40px;
  }
  .second-section a:nth-child(3) button:hover {
    font-size: 40px;
  }
  .quest {
    padding: 0 40px;
  }
  .card-type {
    font-size: 52px;
    margin-bottom: 6vh;
  }
  .card {
    margin-bottom: 12vh;
  }
  .quest-img {
    min-width: 300px;
    min-height: 340px;
  }
  .quest-img p {
    font-size: 28px;
    padding: 5px 10px;
  }
  .quest-img p:nth-child(2) {
    font-size: 38px;
  }

  .quest-text {
    margin: 4vh 0;
  }
  .quest-text h3 {
    font-size: 48px;
  }
  .quest-text p {
    font-size: 24px;
  }
  .quest-text button {
    font-size: 30px;
    width: 23vh;
    height: 7.5vh;
    border-radius: 50px;
  }
  .quest-text button:hover {
    font-size: 32px;
  }
  .button {
    margin-bottom: 10vh;
  }
  .button button {
    padding: 30px 20px;
    font-size: 53px;
    border-radius: 60px;
  }
}

/*  */
/* Медиазапросы для адаптивности */
/* Планшеты (768px и выше) */
@media screen and (min-width: 768px) {
  body {
    width: auto;
  }
  .Background-header {
    height: 680px;
  }
  .main-page h1 {
    font-size: 92px;
    text-align: center;
    margin-right: 10vh;
  }

  .background-image-container {
    height: auto;
    align-items: center;
    width: 100%;
    margin-bottom: -12vh;
  }
  .background-main-pags {
    width: 90vh;
    height: 50vh;
  }
  /*  */

  /*  */

  .second-section {
    margin-top: 10vh;
    margin-bottom: 10vh;
  }
  .second-section button {
    padding: 30px 20px;
    font-size: 46px;
    height: 9vh;
    width: 20vh;
    border-radius: 50px;
  }
  .second-section a:nth-child(1) button:hover {
    font-size: 30px;
  }
  .second-section a:nth-child(2) button:hover {
    font-size: 50px;
  }
  .second-section a:nth-child(3) button:hover {
    font-size: 50px;
  }
  .quest {
    padding: 0 40px;
  }
  .card-type {
    font-size: 65px;
    margin-bottom: 6vh;
  }
  .card-type img {
    width: 26vh;
  }
  .card {
    margin-bottom: 12vh;
  }
  .quest-img {
    min-width: 380px;
    min-height: 410px;
  }
  .quest-img p {
    font-size: 38px;
    padding: 5px 10px;
  }
  .quest-img p:nth-child(2) {
    font-size: 52px;
  }

  .quest-text {
    margin: 0vh 0;
  }
  .quest-text h3 {
    font-size: 54px;
  }
  .quest-text p {
    font-size: 30px;
  }
  .quest-text button {
    font-size: 42px;
    width: 26vh;
    height: 8vh;
    border-radius: 50px;
  }
  .quest-text button:hover {
    font-size: 44px;
  }
  .button {
    margin-bottom: 10vh;
  }
  .button button {
    padding: 30px 20px;
    font-size: 58px;
    border-radius: 100px;
  }
}

/* Десктопы (1024px и выше) */
@media screen and (min-width: 1024px) {
  body {
    width: auto;
  }
  .Background-header {
    height: 880px;
  }
  .main-page h1 {
    font-size: 106px;
    text-align: center;
    margin-right: 10%;
  }

  .background-image-container {
    height: auto;
    align-items: center;
    width: 100%;
    margin-bottom: -15vh;
  }
  .background-main-pags {
    width: 130vh;
    height: 55vh;
    margin-left: -10vh;
  }
  .second-section {
    margin-top: 150px;
  }
  .second-section-left-img {
    min-width: 370px;
    height: 370px;
    margin: 30px;
  }

  /*  */

  .second-section {
    margin-top: 10vh;
    margin-bottom: 10vh;
  }
  .second-section button {
    padding: 0px 24px;
    font-size: 56px;
    height: 10vh;
    width: 30vh;
    border-radius: 50px;
  }
  .second-section a:nth-child(1) button:hover {
    font-size: 40px;
  }
  .second-section a:nth-child(2) button:hover {
    font-size: 60px;
  }
  .second-section a:nth-child(3) button:hover {
    font-size: 60px;
  }
  .quest {
    padding: 0 40px;
  }
  .card-type img {
    width: 33vh;
  }
  .card-type {
    font-size: 80px;
    margin-bottom: 6vh;
  }
  .card {
    margin-bottom: 12vh;
  }
  .quest-img {
    min-width: 420px;
    min-height: 450px;
  }
  .quest-img p {
    font-size: 38px;
    padding: 5px 10px;
  }
  .quest-img p:nth-child(2) {
    font-size: 56px;
  }

  .quest-text {
    margin: 4vh 0;
  }
  .quest-text h3 {
    font-size: 64px;
  }
  .quest-text p {
    font-size: 44px;
  }
  .quest-text button {
    font-size: 52px;
    width: 38vh;
    height: 10vh;
    border-radius: 50px;
  }
  .quest-text button:hover {
    font-size: 54px;
  }
  .button {
    margin-bottom: 10vh;
  }
  .button button {
    padding: 40px 30px;
    font-size: 68px;
    border-radius: 110px;
  }
}

/* Большие экраны (1200px и выше) */
@media screen and (min-width: 1200px) {
  body {
    width: auto;
  }
  .Background-header {
    height: 880px;
  }
  .main-page h1 {
    font-size: 96px;
    text-align: center;
    margin-right: 10%;
  }

  .background-image-container {
    height: auto;
    align-items: center;
    width: 100%;
    margin-bottom: -15vh;
  }
  .background-main-pags {
    width: 130vh;
    height: 57vh;
    margin-left: -10vh;
  }

  /*  */

  .second-section {
    margin-top: 10vh;
    margin-bottom: 10vh;
  }
  .second-section button {
    padding: 40px 34px;
    font-size: 66px;
    height: 12vh;
    width: 40vh;
  }
  .second-section a:nth-child(1) button:hover {
    font-size: 50px;
  }
  .second-section a:nth-child(2) button:hover {
    font-size: 70px;
  }
  .second-section a:nth-child(3) button:hover {
    font-size: 70px;
  }
  .quest {
    padding: 0 40px;
  }
  .card-type {
    font-size: 80px;
    margin-bottom: 6vh;
  }
  .card {
    margin-bottom: 12vh;
  }
  .quest-img {
    min-width: 470px;
    min-height: 500px;
  }
  .quest-img p {
    font-size: 44px;
    padding: 5px 10px;
  }
  .quest-img p:nth-child(2) {
    font-size: 64px;
  }

  .quest-text {
    margin: 4vh 0;
  }
  .quest-text h3 {
    font-size: 74px;
  }
  .quest-text p {
    font-size: 48px;
  }
  .quest-text button {
    font-size: 64px;
    width: 50vh;
    height: 12vh;
  }
  .quest-text button:hover {
    font-size: 66px;
  }
  .button {
    margin-bottom: 10vh;
  }
  .button button {
    padding: 45px 35px;
    font-size: 80px;
    border-radius: 100px;
  }
}

/* Большие экраны (1400px и выше) */
@media screen and (min-width: 1400px) {
  body {
    width: auto;
  }
  .Background-header {
    height: 1180px;
  }

  .main-page h1 {
    font-size: 146px;
    text-align: center;
    margin-right: 20%;
  }
  .background-image-container {
    height: auto;
    margin-bottom: -30vh;
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
  }
  .background-main-pags {
    width: 180vh;
    height: 90vh;
    margin-left: -10vh;
  }

  /*  */
  .second-section {
    margin-top: 10vh;
    margin-bottom: 10vh;
  }
  .second-section button {
    padding: 50px 44px;
    font-size: 85px;
    height: 15vh;
    width: 50vh;
    border-radius: 110px;
  }
  .second-section a:nth-child(1) button:hover {
    font-size: 65px;
  }
  .second-section a:nth-child(2) button:hover {
    font-size: 90px;
  }
  .second-section a:nth-child(3) button:hover {
    font-size: 90px;
  }
  .quest {
    padding: 0 80px;
  }
  .card-type img {
    width: 45vh;
  }
  .card-type{
    font-size: 115px;
    margin-bottom: 15vh;
  }
  .card {
    margin-bottom: 18vh;
  }
  .quest-img img{
    min-width: 415px;
    min-height: 445px;
  }
  .quest-img p {
    font-size: 54px;
    padding: 5px 10px;
  }
  .quest-img p:nth-child(2) {
    font-size: 84px;
  }


  .quest-text {
    margin: 4vh 0;
  }
  .quest-text h3 {
    font-size: 94px;
  }
  .quest-text p {
    font-size: 42px;
  }
  .quest-text button {
    font-size: 68px;
    width: 55vh;
    height: 14vh;
    border-radius: 110px;
  }
  .quest-text button:hover {
    font-size: 70px;
  }
  .button {
    margin-bottom: 20vh;
  }
  .button button {
    padding: 60px 50px;
    font-size: 100px;
    border-radius: 120px;
  }
}
