@import url("./navigation.css");
@import url(reset.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 {
   margin: 0;
   padding: 0;
 }


/* Плавная прокрутка */
html {
  scroll-behavior: smooth;
}

.about-section {
  scroll-margin-top: 50px;
}
/* .container {
  max-width: 360px;
  width: 100%;
  padding: 0px 15px;
} */
h1,
h2,
h3 {
  margin: 0;
  padding: 0;
}

.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/IceHard.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);
  align-items: center;
  display: flex;
  justify-content: center;
  padding-top: 6vh;
}

.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: 28px;
  font-weight: 400;
  text-transform: uppercase;
  margin: -5px 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); /* Улучшил тень */
}

/*  */
.container-indentation{
  margin: 0 auto 10vh;
  max-width: 1440px;
  padding: 0 15px;
  font-family: "Accidental_Presidency";
  overflow: hidden;

}

.slogan{
  width: 100%;
  position: relative;
  margin-top: 10vh;
  margin-bottom: 15vh;
  display: flex;
flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;

}
.slogan div{
  position: absolute;
  display: flex;
  align-items: center;
justify-content: center;
  z-index: -1;

}
.slogan img{
  width: 150%;
}
.about-team{
  font-size: 23px;
}
.services{
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 5vh 0 10vh 0;

}
.services-header{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: end;
  position: relative;
  color: #38D9DD;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 18px;
  z-index: 1;
  margin-right: 15px;


}
.services-header h2:nth-child(1){
  padding-right: 15px;
  color: white;


}
.services img{
  width: 140%;
  position: absolute;
  margin: -18% 38% 0;
}
.services-text{
  margin-top: 8vh;
  display: flex;
  justify-content: start;
  max-width: 70%;
  margin-left: 30%;
  font-size: 18px;
}
.services-elder h2{
  font-size: 28px;

}
.services-elder h2:first-child{
  margin-top: 5%;
}
.services-elder h2:last-child{
  color: #38D9DD;
  padding-left: 10%;
  margin-bottom: 5%;
}
.services-elder p{
  font-size: 17px;
}
.information{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 20%;
  position: relative;

}
.information-header{
  z-index: 1;
  color: white;
  font-size: 20px;
  text-transform: uppercase;


}
.information-header h2:last-child{
  color: #38D9DD;

  padding-left: 80%;
}
.information img{
  width: 150%;
  position: absolute;
  z-index: -1;
}
.information-text-left{
  max-width: 80%;
  margin: 0 auto;
  margin-bottom: 7%;
}
.information-text-left h3{
  margin-bottom: 5%;
  font-size: 25px;
  text-transform: uppercase;
}
.information-text-left p{
  font-size: 18px;
}
.information-text-right{
  max-width: 80%;
  margin: 0 auto;
  margin-bottom: 7%;
  display: flex;
  flex-direction: column;
  text-align: end;
  align-items: end;
}
.information-text-right h3{
  margin-bottom: 5%;
  font-size: 25px;
  text-transform: uppercase;
}
.information-text-right p{
  font-size: 18px;
}
.information-poster{
  margin: 30% 0 10% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  text-transform: uppercase;
  font-size: 26px;
}
.information-poster p:last-child{
  color: #38D9DD;
  border: 1cm;
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.78);
}
.poster{
  margin-bottom: 15%;
}

.information-poster button{
    background-color: #38D9DD;
    border-radius: 50px;
    border: none;
    padding: 3px 5px;
    width: 260px;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 28px;
    text-align: center;
    color: white;
    cursor: pointer;
    font-family: "Accidental_Presidency";
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 80px; /* Фиксированная высота */
    box-shadow: 0 15px 30px rgba(14, 157, 159, 0.36); /* Улучшил тень */

}
.information-poster button:hover {
  background-color: black;
  color: white;
  font-size: 30px;
  box-shadow: 0 15px 30px rgb(14, 157, 159); /* Улучшил тень */
  transform: translateY(-6px); /* Увеличил подъем для эффекта */
}

/*  */

/*  */
/*  */
@media screen and (min-width: 428px) {
  body {
    width: auto;
  }
  .container-indentation{
    padding: 0 18px;
  }
  .Background-header {
    height: 310px;
  }
  .main-page h1 {
    font-size: 36px;
    text-align: center;
    margin-right: 10vh;
  }

  .background-image-container {
    height: auto;
    align-items: center;
    width: 100%;
    margin-bottom: -5vh;
  }
  .background-main-pags {
    width: 70vh;
    height: 30vh;
  }
  .second-section button{
    font-size: 27px;
    width: 120px;
    height: 40px;
  }
  .second-section a:nth-child(1) button:hover{
    font-size: 20px;
  }
  .second-section a:nth-child(2) button:hover{
    font-size: 29px;
  }
  .second-section a:nth-child(3) button:hover{
    font-size: 29px;
  }

  .slogan{
    margin-top: 10vh;
  }
  .slogan h2{
    font-size: 27px;
  }
  .about-team {
    font-size: 24px;
    margin-bottom: 10vh;
  }
  .services{
    margin-bottom: 15vh;
  }
  .services-header h2{
    font-size: 34px;
  }
  .services img {
    margin: -18% 35% 0;
  }
  .services-text{
    font-size: 24px;
    text-align: end;
    margin-top: 13vh;
  }
  .services-elder h2{
    font-size: 55px;
  }
  .services-elder p{
    font-size: 24px;
  }
  .information-header{
    font-size: 34px;

  }
  .information img{
    width: 170%;
    scale: 1.2;
  }
  .information-list h3{
    font-size: 36px;
  }
  .information-list p{
    font-size: 23px;
  }
  .information-poster{
    font-size: 38px;
  }
  .information-poster button{
    width: 300px;
    font-size: 40px;
    height: 90px;
  }
  .information-poster button:hover{
    font-size: 46px;
  }
}
@media screen and (min-width: 568px) {
  body {
    width: auto;
  }
  .container-indentation{
    padding: 0 20px;
  }
  .Background-header {
    height: 340px;
  }
  .main-page h1 {
    font-size: 40px;
    text-align: center;
    margin-right: 10vh;
  }

  .background-image-container {
    height: auto;
    align-items: center;
    width: 100%;
    margin-bottom: -5vh;
  }
  .background-main-pags {
    width: 70vh;
    height: 30vh;
  }
  .second-section button{
    font-size: 32px;
    width: 150px;
    height: 50px;
  }
  .second-section a:nth-child(1) button:hover{
    font-size: 26px;
  }
  .second-section a:nth-child(2) button:hover{
    font-size: 34px;
  }
  .second-section a:nth-child(3) button:hover{
    font-size: 34px;
  }

  .slogan{
    margin-top: 15vh;
  }
  .slogan h2{
    font-size: 35px;
  }
  .about-team {
     font-size: 26px;
    margin-bottom: 10vh;
   }
  .services{
    margin-bottom: 15vh;
  }
  .services-header h2{
    font-size: 45px;
  }
  .services img {
    margin: -18% 35% 0;
  }
  .services-text{
    font-size: 26px;
    text-align: end;
    margin-top: 13vh;
  }
  .services-elder h2{
    font-size: 55px;
  }
  .services-elder p{
    font-size: 26px;
  }
  .information-header{
    font-size: 45px;

  }
  .information img{
    width: 170%;
    scale: 1.2;
  }
  .information-list h3{
    font-size: 40px;
  }
  .information-list p{
    font-size: 26px;
  }
  .information-poster{
    font-size: 42px;
  }
  .information-poster button{
    width: 320px;
    font-size: 42px;
    height: 96px;
  }
  .information-poster button:hover{
    font-size: 46px;
  }
}

@media screen and (min-width: 768px){
  body {
    width: auto;
  }
  .container-indentation{
    padding: 0 30px;
  }
  .Background-header {
    height: 460px;
  }
  .main-page h1 {
    font-size: 56px;
    text-align: center;
    margin-right: 10vh;
  }

  .background-image-container {
    height: auto;
    align-items: center;
    width: 100%;
    margin-bottom: -2vh;
  }
  .background-main-pags {
    width: 120vh;
    height: 30vh;
  }
  .second-section button{
    padding: 30px 20px;
    font-size: 46px;
    height: 9vh;
    width: 25vh;
    border-radius: 40px;
  }
  .second-section a:nth-child(1) button:hover{
    font-size: 36px;
  }
  .second-section a:nth-child(2) button:hover{
    font-size: 48px;
  }
  .second-section a:nth-child(3) button:hover{
    font-size: 48px;
  }

  .slogan{
    margin-top: 17vh;
  }
  .slogan-img{
    width: 100%;
  }
  .slogan h2{
    font-size: 40px;
  }
  .about-team {
    font-size: 36px;
    margin-bottom: 15vh;
  }
  .services{
    margin-bottom: 20vh;
  }
  .services-header h2{
    font-size: 68px;
  }
  .services img {
    margin: -17% 35% 0;
  }
  .services-text{
    font-size: 36px;
    text-align: end;
    margin-top: 20vh;
  }
  .services-elder h2{
    font-size: 76px;
  }
  .services-elder p{
    font-size: 36px;
  }
  .information-header{
    font-size: 65px;

  }
  .information img{
    width: 165%;
    scale: 1.3;
  }
  .information-list h3{
    font-size: 64px;
  }
  .information-list p{
    font-size: 36px;
  }
  .information-poster{
    font-size: 64px;
  }
  .information-poster button{
    width: 460px;
    font-size: 64px;
    height: 126px;
    border-radius: 90px;
  }
  .information-poster button:hover{
    font-size: 78px;
  }
}
@media screen and (min-width: 1024px){
  body {
    width: auto;
  }
  .container-indentation{
    padding: 0 50px;
  }
  .Background-header {
    height: 630px;
  }
  .main-page h1 {
    font-size: 68px;
    text-align: center;
    margin-right: 10vh;
  }

  .background-image-container {
    height: auto;
    align-items: center;
    width: 100%;
    margin-bottom: -7vh;
  }
  .background-main-pags {
    width: 150vh;
    height: 41vh;
  }
  .second-section button{
    padding: 30px 20px;
    font-size: 58px;
    height: 12vh;
    width: 32vh;
    border-radius: 80px;
  }
  .second-section a:nth-child(1) button:hover{
    font-size: 48px;
  }
  .second-section a:nth-child(2) button:hover{
    font-size: 60px;
  }
  .second-section a:nth-child(3) button:hover{
    font-size: 60px;
  }

  .slogan{
    margin-top: 20vh;
  }
  .slogan-img{
    width: 115%;
  }
  .slogan h2{
    font-size: 56px;
  }
  .about-team {
    font-size: 46px;
    margin-bottom: 15vh;
  }
  .services{
    margin-bottom: 30vh;
  }
  .services-header h2{
    font-size: 84px;
  }
  .services img {
    margin: -17% 38% 0;
  }
  .services-text{
    font-size: 46px;
    text-align: end;
    margin-top: 20vh;
  }
  .services-elder h2{
    font-size: 110px;
  }
  .services-elder p{
    font-size: 46px;
  }
  .information-header{
    font-size: 65px;

  }
  .information img{
    width: 150%;
    scale: 1.2;
  }
  .information-list h3{
    font-size: 94px;
  }
  .information-list p{
    font-size: 48px;
  }
  .information-poster{
    font-size: 84px;
  }
  .information-poster button{
    width: 640px;
    font-size: 84px;
    height: 160px;
    border-radius: 100px;
  }
  .information-poster button:hover{
    font-size: 98px;
  }
}

@media screen and (min-width: 1200px){
  body {
    width: auto;
  }
  .container-indentation{
    padding: 0 60px;
  }
  .Background-header {
    height: 780px;
  }
  .main-page h1 {
    font-size: 82px;
    text-align: center;
    margin-right: 10vh;
  }

  .background-image-container {
    height: auto;
    align-items: center;
    width: 100%;
    margin-bottom: -9vh;
  }
  .background-main-pags {
    width: 150vh;
    height: 44vh;
  }
  .second-section button{
    padding: 30px 20px;
    font-size: 66px;
    height: 12vh;
    width: 36vh;
    border-radius: 80px;
  }
  .second-section a:nth-child(1) button:hover{
    font-size: 50px;
  }
  .second-section a:nth-child(2) button:hover{
    font-size: 68px;
  }
  .second-section a:nth-child(3) button:hover{
    font-size: 68px;
  }

  .slogan{
    margin-top: 25vh;
  }
  .slogan-img{
    width: 115%;
  }
  .slogan h2{
    font-size: 62px;
  }
  .about-team {
    font-size: 52px;
    margin-bottom: 15vh;
  }
  .services{
    margin-bottom: 35vh;
  }
  .services-header h2{
    font-size: 94px;
  }
  .services img {
    margin: -17% 38% 0;
  }
  .services-text{
    font-size: 58px;
    text-align: end;
    margin-top: 25vh;
  }
  .services-elder h2{
    font-size: 126px;
  }
  .services-elder p{
    font-size: 46px;
  }
  .information-header{
    font-size: 74px;

  }
  .information img{
    width: 150%;
    scale: 1.2;
  }
  .information-list h3{
    font-size: 104px;
  }
  .information-list p{
    font-size: 58px;
  }
  .information-poster{
    font-size: 84px;
  }
  .information-poster button{
    width: 640px;
    font-size: 84px;
    height: 160px;
    border-radius: 100px;
  }
  .information-poster button:hover{
    font-size: 98px;
  }
}
@media screen and (min-width: 1400px){
  body {
    width: auto;
  }
  .container-indentation{
    padding: 0 80px;
    max-width: 100%;
  }
  .Background-header {
    height: 980px;
  }
  .main-page h1 {
    font-size: 82px;
    text-align: center;
    margin-right: 10vh;
  }

  .background-image-container {
    height: auto;
    align-items: center;
    width: 100%;
    margin-bottom: -20vh;
  }
  .background-main-pags {
    width: 96%;
    height: 62vh;
  }
  .second-section button{
    padding: 30px 20px;
    font-size: 66px;
    height: 12vh;
    width: 36vh;
    border-radius: 80px;
  }
  .second-section a:nth-child(1) button:hover{
    font-size: 50px;
  }
  .second-section a:nth-child(2) button:hover{
    font-size: 68px;
  }
  .second-section a:nth-child(3) button:hover{
    font-size: 68px;
  }

  .slogan{
    margin-top: 25vh;
  }
  .slogan-img{
    width: 100%;
  }
  .slogan h2{
    font-size: 62px;
  }
  .about-team {
    margin-top: 25vh;
    font-size: 52px;
    margin-bottom: 25vh;
  }
  .services{
    margin-bottom: 35vh;
  }
  .services-header h2{
    font-size: 94px;
  }
  .services img {
    width: 120%;
    margin: -16% 42% 0;
  }
  .services-text{
    font-size: 58px;
    text-align: end;
    margin-top: 25vh;
  }
  .services-elder h2{
    font-size: 126px;
  }
  .services-elder p{
    font-size: 46px;
  }
  .information-header{
    font-size: 74px;

  }
  .information img{
    width: 110%;
    scale: 1.2;
  }
  .information-list h3{
    font-size: 104px;
  }
  .information-list p{
    font-size: 58px;
  }
  .information-poster{
    font-size: 84px;
  }
  .information-poster button{
    width: 640px;
    font-size: 84px;
    height: 160px;
    border-radius: 100px;
  }
  .information-poster button:hover{
    font-size: 98px;
  }
}
