/* Указываем box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

*{

  padding: 0;
  margin: 0;
}
html{
   scroll-behavior: smooth;
}

@font-face{

  font-family: 'Etudenoireregular';
  src:url('./fonts/etudenoireregular.ttf') format('truetype') ;
   font-display: swap;
}
@font-face{

  font-family: 'Etudenoirelight';
  src:url('./fonts/etudenoirelight.ttf') format('truetype') ;
   font-display: swap;
}
@font-face{

  font-family: 'Etudenoiremedium';
  src:url('./fonts/etudenoiremedium.ttf') format('truetype') ;
   font-display: swap;
}
@font-face{

  font-family: 'Etudenoirebold';
  src:url('fonts/etudenoirebold.ttf') format('truetype') ;
   font-display: swap;
}

body{
  font-family: 'Etudenoiremedium', sans-serif;
  font-weight: 700;
  font-style: normal;
  display: flex;
  flex-direction: column;
  max-width: 1920px;
  margin: 0 auto; background: #7a79798c;
  /* overflow: hidden; */
  
}

a {
  text-decoration: none; /* Убирает подчёркивание */
  color: inherit; /* Делает цвет текста таким же, как у окружающего текста */
  font: inherit; /* Унаследует шрифт от родительского элемента */
  background: none; /* Убирает любые фоны (если есть) */
  padding: 0; /* Убирает внутренние отступы */
  margin: 0; /* Убирает внешние отступы */
  border: none; /* Убирает рамки */
}

ul, li {
  margin: 0; /* Убирает отступы */
  padding: 0; /* Убирает внутренние отступы */
  list-style: none; /* Убирает маркеры */
}

main{
  background-color: white;
}
footer{
  color: white;
  background-color: black;
}
section{
  /* max-height: 100vh; */
  overflow: hidden;
  transition: background 1.5s ease;
  /* min-height: 100vh; */
}
.btn{
  background-color: #fff;
  width: max-content !important;
  font-family: 'Etudenoiremedium', sans-serif;
  font-weight: 400;
  font-style: normal;
  color: black;
  border-style: none;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 25px 30px 25px 30px;
  border-radius: 999px;
  position: relative;
  
}

.amazon{
  /* padding-top: 10px; */
  margin-top: auto; /* Сдвигаем второй объект вниз */
  transform: translateY(5px);
}

.btn:hover{
  transition: all 0.3s ease; /* Плавный переход */
background-color: #818181;


}
.main-steam{  
  padding-top: 40px; 
  width: 100%; 
  background-size: cover;
  background-color: black  ;
  /* background-image: url(/image/mainsteam.svg); */
  /* background-repeat: no-repeat; */
  background-repeat: round no-repeat; 
  background-size: contain;
  
   
}
.header-nav{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 78px;
  
}

.sds{
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.btn-st{
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  
}
.steamerf{
 min-height: 640px;
  width: 100%; /* Ширина изображения не превышает ширину родителя */
  height: auto; /* Сохраняется пропорция изображения */
  display: block; /* Избавляемся от дополнительных отступов */
  max-height: 750px ;
}

.image-container {
 position: relative;
}
.gradient-overlay {
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 90%, black 100%);
 pointer-events: none; /* Чтобы градиент не мешал взаимодействию с изображением */
}

/*  */



.st-ir{
  display: flex;
  flex-direction: row;
  
  }
  .st-ir img{
      position: relative;
      max-width: 100%; /* Ширина изображения не превышает ширину родителя */
      height: auto; /* Сохраняется пропорция изображения */
      display: block; /* Избавляемся от дополнительных отступов */
      z-index: 1;
  }
  .st,.ir{
      position: relative;
      cursor: pointer;
  }
  
  .st-hover{
      position: absolute;
      /* max-width: 959px; */
      /* height: auto; */
      /* background-color: black; */
      z-index: 999;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgb(43, 43, 43); /* Черный фон */
      opacity: 0.9; /* Полупрозрачность */
      transition: opacity 0.6s ease, transform 0.3s ease; /* Плавный эффект */
      color: white;
  }
  .st-hover:hover{
      opacity: 0;
  }
  .hover-active {
  opacity: 0;
  }
  
  .st-hover p{
      font-size: 96px;
      position: absolute;
      left: 50%;
      transform: translate(-50%, -50%);
      top: 50%;
  }
  
  /* s2 */
  
  
  .thre{
   font-family: 'Etudenoiremedium';
  font-size: 500px;
  font-weight: 700;
  line-height: 315px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  
  
  }
  
  .three-tw{
      
      
      font-size: 126px;
      font-weight: 700;
      line-height: 132.34px;
      text-align: left;
      text-underline-position: from-font;
      text-decoration-skip-ink: none;
      
  }
  
  
  
  .btn-s2{
      width: max-content;
  }
  .s-2{
      color: white;
      padding-top: 80px;
      padding-left: 120px;
      background-color: black;
  }
  .st-color{
      background-color: black;
      display: flex;
      gap: 120px;
  }
  .st-colot-img{
      max-width: 100%; /* Ширина изображения не превышает ширину родителя */
      height: auto; /* Сохраняется пропорция изображения */
      display: block;
      max-height: 860px;
  }
  .st-colot-img-media{
      max-width: 100%; /* Ширина изображения не превышает ширину родителя */
      height: auto; /* Сохраняется пропорция изображения */
      display: none;
  }
  .c-i{
      width: 50%;
      height: auto;
  }
  .c-t{
      display: flex;
      flex-direction: column;
      gap: 10px;
      width: 50%;
      /* padding-top: 160px; */
      justify-content: center;
      font-size: 90px;
      /* margin: 0 auto; */
  
  }
  
  /* s3 */
  .sss{
      position: relative;
  }
  .btn-pow{
      position: absolute; 
      z-index: 999;
      bottom: 50px;
      left: 40px;
  }
  .st-r{
      position: relative;
      /* display: flex;
      flex-direction: row;
      justify-content: space-between;
      min-width: fit-content; */
      display: grid;
      grid-template-columns: 1fr 1fr;
  }
  .st-r img{
      height: auto; /* Сохраняется пропорция изображения */
      display: block;
  }
  .st-r img{
      max-width: 100%; /* Ширина изображения не превышает ширину родителя */
      height: auto; /* Сохраняется пропорция изображения */
      display: block; /* Избавляемся от дополнительных отступов */
  }
  /* s4 */
  .s-4{
      background-color: black;
  }
  /* s5 */
  
  
  /* s6 */
  .s-6{
      padding-top: 100px;
      padding-bottom: 100px;
      background-color: black;
      color: white;
  }
  .choose{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  }
  .choose-h{
      /* font-size: 75px; */
      text-align: center;
  
  }
  .choose-one{
  font-size: 180px;
  line-height:189.05px;
  }
  .choose-two{
      font-size: 98px;
      line-height:100.83px;
  
  
  }
  
  .choose-comp{
      display: flex;
      flex-direction: row;
      gap: 20px;
  }
  .comp{
      width: 590px;
      border: 1px solid #252525;
  }
  .comp-name{
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      height: 70px;
      font-size: 32px;
      padding:  20px ;
      border-bottom: 1px solid #252525; ;
  }
  .comp-atr{
      font-family: sans-serif;
      display: flex;
      flex-direction: column;
      gap: 20px;
      padding: 20px;
  
  }
  .comp-atr li {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 10px;
  }
  
  /* s7 */
  .s-7 article{
      max-height: 100vh;
    }
    
  
  iframe{
      max-width: 100%; 
      height: auto; 
      display: block;
      width: 1920px; 
      height: 900px;
  }
  
  
  /* s8 */
  .rew-btn-mob{
      display: none;
  }
  .s-8{
      background-color: black;
      color: white;
      padding: 50px;
      display: flex;
      flex-direction: column;
      gap: 50px;
  }
  .rewiews{
      font-size: 96px;
  }
  
  .rew-tit{
      display: flex;
      justify-content: space-between;
      align-items: center;
  }
  .rew-tit-st{
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 30px;
  }
  .rew-tit-st1{
      display: flex;
      align-items: center;
      font-size: 96px;
  }
  .rew-tit-st1 img{
      width: 50px;
  }
  .rew-list{
      display: grid;
      grid-template-columns: repeat(3, 1fr); 
      gap: 20px;
      margin: 0 auto;
  }
  .rew{
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 20px;
      max-width: 592px;
      min-width: 500px;
      padding: 20px;
      border: 1px solid #252525;
  }
  .rew-name{
      display: flex;
      justify-content: space-between;
      align-items: center ;
  
  }
  .rew-name p {
      font-size: 32px;
  }
  .rew-ph{
      display: flex;
      gap: 20px;
  }
  .rew-ph img{
      width: 123px;
      height: 77px;
  }
  
  .rew-t{
      font-family: sans-serif;
      font-size: 20px;
  }
  
  
  .rew-ph .thumbnail {
      cursor: pointer;
      transition: transform 0.3s ease;
    }
    .rew-ph .thumbnail:hover {
      transform: scale(1.1);
    }


    
  .modal {
    display: none;
    position: fixed;
    margin: 0 auto;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
  }
  
  .modal-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: inline-block;
    max-width: 90%;
    max-height: 80%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
  }
  
  .prev, .next {
    position: absolute;
    top: 50%;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
    transform: translateY(-50%);
  }
  
  .prev {
    left: -30px;
  }
  
  .next {
    right: -30px;
  }
  
  .prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .modal-content {
    
    display: block;
    margin: auto;
    width: 500px;
    max-height: 600px;
    object-fit: contain; /* Подгоняет изображение внутри модального окна */
  }
  
  .close {
    pointer-events: none;
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
  


    
.footer-li{
  font-family: sans-serif;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-between;
  padding:  50px;
  align-items: center;
}
.footer-logo{
  text-align: center;
}
.footer-priv{
  justify-content: end;
  display: flex;
  gap: 20px;
}

  


  
  @media (max-width: 1600px){
     .thre{
      font-size: 420px;
      line-height: 270px;
     }
     .three-tw{
      font-size: 100px ;
      line-height: 90px;
  
  
      /* font-size: 75px;
      line-height: 69px; */
  
     } 
     /* S8 */
     .s-8{
      padding: 30px;
     }
     .rewiews{
      font-size: 66PX;
     }
     .btn-rew{
      padding: 20px 25px 20px 25px;
      font-size: 20px;
     }
     /* .btn-rew img{
      padding-top: 6px;
     } */
     .amazon-rew{
      transform: translateY(3px);
  
     }
     .rew-tit-st1 {
      font-size: 66px;
     }
  
     .rew-list{
      grid-template-columns: repeat(2, 1fr); 
      
  }
  
  }
  @media (max-width: 1300px){
      .thre{
          font-size: 340px;
          line-height: 240px;
      }
      .three-tw{
       font-size: 75px;
       line-height: 69px;
   
   
      } 
      .c-t{
          gap: 12px;
      }
      .st-color{
          gap: 50px;
      }
      .s-2{
          padding-left: 30px;
      }  
        .st-hover p {
  font-size: 50px;
      }
   }
   
  
  
  
  
      @media (max-width: 1260px){
          .comp{
              max-width: 400px;
          }
  
          .thre{
              
  font-size: 200px;
          line-height: 150px;
          }
  
          .three-tw{
              font-size: 56px;
              line-height: 50px;
          }
  
          .btn-s2{
              padding: 20px 25px 20px 25px;
              font-size: 20px;
          }
          /* .amazon {
              padding-top: 6px;
          } */
  
          /* s6 */
          .choose-one{
              font-size: 130px;
              line-height: 130.05px;
          
          }
          .choose-two{
              font-size: 80px;
              line-height: 80.83px;
          
          }
          /* s8 */
          .rew-btn-mob{
              margin: 0 auto;
              display: block;
          }
          .btn-rew{
              display: none;
          }
      }
  @media (max-width: 1100px){
      .s-8{
          padding: 30px 20px 30px 20px;
      }
      .rew{
          min-width: 420px;
      }
      .rew-name p{
          font-size: 24px;
      }
      .rew-t{
          font-size: 16px;
      }
  }
  
  
  @media (max-width: 1044px){
  
          .choose-one{
              font-size: 100px;
              line-height: 100.05px;
          
          }
          .choose-two{
              font-size: 60px;
              line-height: 60.83px;
          
          }
  
  }
  
  
      
  
  
  @media (max-width: 900px){
      .comp{
          max-width: 320px;
      }
      /* s6 */
      .comp-name{
  width: 320px;
      }
      .choose-h{
          font-size: 48px;
      }
      /* s7 */
      iframe{
          height: 400px;
      }
      /* s8 */
      .rew-list {
          grid-template-columns: repeat(1, 1fr);
      }
  }
  
  
  @media (max-width: 780px){
      .choose-one{
          font-size: 75px;
          line-height: 80.05px;
      }
      .choose-two{
          font-size: 40px;
          line-height: 40.83px;
      }
  }
  @media (max-width: 700px){
      .comp{
          max-width: 400px;
      }
      .comp-name{
  
          width: 400px;
              }
      .amazon{
          transform: translateY(3px);
      }
    
     
  
      .st-ir{
        flex-direction: column;
      } 
       .st-hover p {
          font-size: 96px;
              }
  
      /* s2 */ 
      .s-2{
        height: 760px;
        padding:  30px 20px 30px 20px;
        
    }       
    .st-color{
          position: relative;
          flex-direction: column;
          gap: 0;
          align-items: center;
      }
  
      .st-colot-img{
          display: none;
      }
      .st-colot-img-media{
  display: block;
      }
  
    
     .c-i{
          width: 300px;
          height: 380px;
          position: absolute;
          top: 20px;
      }
      .c-t{
          z-index: 999;
          padding-top: 340px !important;
          width: 295px;
          gap: 30px;
          padding: 0;
          font-size: 48px;
      }
      .btn-s2{
          align-items: center;
          width: 295px;
      }
      /* s3/4/5 */
      .st-r{
          display: flex;
          flex-direction: column;
      }
      .st-r-rev{
          flex-direction: column-reverse;
      }
      /* s6 */
      .choose-comp{
          flex-direction: column;
      }
      .comp-name{
          width: 400px;
              }
              /* s8 */
              .rewiews{
                  font-size: 32px;
              }
              .rew-tit-st1{
                  font-size: 32px;
              }
  
              .rew-tit-st1 img{
                  width: 30px;
              }
  
    }
    
  @media (max-width: 600px){

    .rew-btn-mob a{
        font-size: 18px;
        padding: 15px 20px 15px 20px;
    }
      .st-hover p{
          font-size: 50px;
      }
      /* s6 */
      .choose{
          gap: 30px;
      }
      .choose-one{
  font-size: 40px;
  line-height: 42px;
      }
      .choose-two{
  font-size: 20px;
  line-height: 21px;
      }
  
      .logo-ch{
          width: 140px;
          height: 30px;
      }
  

      .modal-content {
    
        display: block;
        margin: auto;
        width: 280px;
        max-height: 350px;
        object-fit: contain; /* Подгоняет изображение внутри модального окна */
      }
      



  }
  @media (max-width: 500px){
      .rew{
          min-width: 320px;
      }
      .rew-name{
          flex-direction: column;
          align-items: start;
          gap: 5px;
      }
      .rew-ph img{
          min-width: 55px;
      }
  }
  
  
  
  @media (max-width: 440px){
      .comp{
          max-width: 320px;
      }
      .comp-name{
          width: 320px;
              } 
      .logo-ch{
          width: 140px;
          height: 30px;
      }
      .btn-mob-rewd{
          font-size: 16px;
          padding: 15px 20px 15px 20px;
  }
  }
  
  



/*  */


@media (max-width: 1440px){
 .steamerf{
    width: 1440px;
    height: auto;
    overflow: hidden;
 }

}


@media (max-width: 700px){
 
 .h-l img{
    width: 140px;
    height: auto;
 }
 .header-nav{
    gap: 40px;
 }

}
@media (max-width: 600px){
.main-steam{
 padding-top: 30px;
}
.gradient-overlay {
 background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 90%, black 100%);
}

 .steamerf{
 width: 1200px;
 height: auto;
 overflow: hidden;
}
}


@media (max-width: 480px){
 
 .header-nav{
    gap: 0;
 }
 .steamerf{
    pointer-events: none;
    width: 1000px ;
    margin-top: 40px;
    margin-left: 40px;
    min-height: 510px;
 }
.btn-st{
 bottom: 20px;
}
 .gradient-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 83%, black 100%);
  }
 }

 @media (max-width: 390px){
 
    .header-nav{
       gap: 0;
    }
    .steamerf{
       pointer-events: none;
       width: 1000px ;
       margin-top: 40px;
       margin-left: 65px;
       min-height: 510px;
    }
 }

/*  */


@media (max-width: 1600px){

.footer-priv{
  gap: 5px;
  margin: 0 auto;
  flex-direction: column;
  /* align-items: center; */
  justify-content: left;
}

}


@media (max-width: 900px){
  .footer-li{
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .footer-logo{
   order: -1; 
  }
  .footer-priv{
    margin: 0;
    gap: 20px;
    text-align: center;
  }



}


@media (max-width: 700px){
  .btn{
    font-size: 20px;
  padding: 20px 30px 20px 30px;
min-width: 286px;
  }
  .amazon{
    width: 76px;
  }
  
}
@media (max-width: 460px){
  .footer-li{
    align-items: start;
    padding: 30px 20px;
  }
  .footer-priv{
  text-align: left;
  }
}

