:root {
    --rich-black-fogra-29_50: hsl(254, 41%, 12%, 0.5);
    --rich-black-fogra-29-1: hsl(201, 33%, 25%);
    --rich-black-fogra-29-2: hsl(210, 50%, 4%);
    --silver-metallic: hsl(240, 9%, 67%);
    --coquelicot_20: hsla(193, 50%, 36%, 0.4);
    --coquelicot_10: hsla(186, 35%, 32%, 0.3);
    --sonic-silver: hsl(0, 0%, 47%);
    --cadet-gray: hsl(214, 15%, 62%);
    --light-gray: hsl(0, 0%, 80%);
    --coquelicot: hsl(165, 32%, 48%);
    --gainsboro: hsl(0, 0%, 88%);
    --white_20: hsla(0, 0%, 100%, 0.2);
    --white_10: hsla(0, 0%, 100%, 0.1);
    --black_10: hsla(0, 0%, 0%, 0.1);
    --white: hsl(0, 0%, 100%);
    --background-color: hsl(81, 6%, 93%);
  
    /* -------- ШРИФТЫ -------- */
   
    --ff-catamaran: 'Catamaran', sans-serif;
    --ff-rubik: 'Rubik', sans-serif;
  
    --fs-1: clamp(25px, 5vw, 100px);;
    --fs-2: 3rem;
    --fs-3: 2.5rem;
    --fs-4: 2rem;
    --fs-5: 1.8rem;
    --fs-6: 1.5rem;
  
    --fw-900: 900;
    --fw-800: 800;
    --fw-700: 700;
    --fw-500: 500;
  
    /* -------- ОТСТУПЫ ВНУТРИ -------- */
  
    --section-padding: 80px;
  
    /* -------- ТЕНИ -------- */
  
    --shadow-1: 0 0 20px var(--black_10);
    --shadow-2: 0px 10px 24px var(--coquelicot_20);
  
    /* -------- СКРУГЛЕНИЕ -------- */
  
    --radius-15: 15px;
    --radius-13: 13px;
    --radius-10: 10px;
  
    /* -------- Transition -------- */
  
    --transition-1: 0.25s ease;
    --transition-2: 0.5s ease;
    --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
    --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
  
/* -------- АДАПТАЦИЯ-------- */
    --index: calc(1vw + 1vh);
  }
  
  
  
  /*-----------------------------------*\
    #ОСНОВНЫЕ СТИЛИ
  \*-----------------------------------*/
  
  *,
  *::before,
  *::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  li{
    list-style: none;
  }

  a{
    text-decoration: none;
    color: inherit;
  }
  
  a,
  img,
  span,
  input,
  button,
  strong,
  ion-icon{
    display: block;
  }

  img{
    height: auto;
  }
  
  input,button{
     background:none;
     border: none;
     font: inherit;   
  }

  input{
    width: 100px;
  }

  button{
    cursor: pointer;
  }
  
  ion-icon{
    pointer-events: none;
  }

  address{
    font-style: normal;
  }

  html{
    font-family:var(--ff-rubik);
    font-size: 10px;
    scroll-behavior: smooth;
  }

  body{
    background-color: var(--background-color);
    color: var(--sonic-silver);
    font-size: 1.6rem;
    line-height: 1.6;

}

  :focus-visible{
    outline-offset: 4px;;
  }

  ::-webkit-scrollbar {
    width: 5px;
  }
  ::-webkit-scrollbar-track {
    background-color: var(--light-gray);
  }

  ::-webkit-scrollbar-thumb {
    background-color: var(--coquelicot);
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: var(--rich-black-fogra-29-1);
    }
  /*-----------------------------------*\
    #ПОВТОРНЫЙ СТИЛЬ
  \*-----------------------------------*/
    .container {
        padding-inline: 15px;
    }
    .section{
        padding-block:var(--section-padding);
    }
  
    .bg-dark {
        background-color:var(--rich-black-fogra-29-1);
        color: var(--silver-metallic);
    }

    .has-bg-image {
        background-repeat: no-repeat;
        background-position: top left;
    }

    .has-before,
    .has-after{
        position: relative;
        z-index: 1;
    }

    .has-before::before,
    .has-after::after{
content: "";
position: absolute;
    }


    .h1,
    .h2,
    .h3 {
        font-family: var(--ff-catamaran);
        line-height: 1,25;
    }

    .h1{
        color: var(--white);
        font-size: var(--fs-1);
        font-weight: var(--fw-900);
    }

    .h2,
    .h3 {
        color: var(--rich-black-fogra-29-1);
        font-weight: var(--fw-800);
    }

    .h2{
        font-size:clamp (18px, 2vw, 45px);
    }

    .h3{font-size: var(--fs-4);
    }


    .section-text{
        font-size: var(--fs-6);
    }

    .btn{
        max-width: max-content;
        font-size: var(--fs-6);
        text-transform: uppercase;
        font-weight: var(--fw-500);
        padding: 15px 35px;
        border-radius: var(--radius-13);
        transition: var(--transition-1);
    }

    .btn-primary{
        background-color: var(--coquelicot);
        color: var(--white);
    }

    .btn-primary:is(:hover, :focus){
        background-color: var(--white);
        color: var(--coquelicot);
        box-shadow: var(--shadow-2);
    }

    .btn-secondary{
        border-color: var(--white);
        color: var(--coquelicot);
    }

    .btn-secondary:is(:hover, :focus){
       background-color: var(--rich-black-fogra-29-1);
    }

    .w-100{
        width:100%;
    }
    /*
    hero-banner{
    width: clamp( 336px, 50vw, 600px)
    position: absolute;
    }*/
    .circle,
    .abs-img{
        position: absolute;
    }

    .circle{
        top: 65%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        z-index: -1;
        animation: rotate360 180s linear infinite;
      }
       
        

    @keyframes rotate360{
        0%{
            transform: translate(-50%, -56%) rotate(0);
        }
        100%{
            transform: translate(-50%, -56%) rotate(1turn); 
        }
    }

    .circle-2{
        animation-direction: reverse;
    }

    .hero-subtitle,
    .section-subtitle {
        font-family: var(--ff-catamaran);
        font-weight: var(--fw-700);
        text-transform: uppercase;
        max-width: max-content;
    }

    .section-subtitle{
        background-color: var(--coquelicot_10);
        color: var(--coquelicot);
        padding: 8px 20px;
        border-radius: var(--radius-13);
    }

    .section-title{
        margin-block: 18px 35px;
    }

    .btn-link{
    --color:var(--white);

    color:var(--color);
    font-size: var(--fs-6);
    font-weight: var(--fw-500);
    text-transform: uppercase;
    max-width: max-content;
    transition: var(--transition-1);
}

.btn-link::before {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color);
    transition: var(--transition-1);
}

.btn-link:is(:over, :focus){
    --color:var(--coquelicot);
}

.text-center{
text-align: center;
}

.img-holder {
    aspect-ratio: var(--width)/ var(--height);
    background-color: var(--light-gray);
    overflow: hidden;
}

.img-cover{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.has-scrollbar {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding-block-end: 30px;
    scroll-snap-type: inline mandatory;
}

.scrollbar-item{
    min-height: 100%;
    scroll-snap-align: start;
}

.has-scrollbar::--webkit-scrollbar{
    height: 10px;
}
.has-scrollbar::-webkit-scrollbar-track,
.has-scrollbar::-webkit-scrollbar-thumb{
    border-radius: 50px;
}

.has-scrollbar::-webkit-scrollbar-thumb:hover{
    background-color:var(--coquelicot);
}

.has-scrollbar::-webkit-scrollbar-button {
    width: calc(25% - 25px);
}



  
  /*-----------------------------------*\
    #HEADER
  \*-----------------------------------*/
  
  .header .btn{
   display: none; 
  }

  .header {
    background-color: var(--background-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-block: 3px;
    box-shadow: var(--shadow-1);
    z-index: 4;
    border-radius: 0 0 1rem 1rem;
  }
  
  .header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo{
    color: var(--rich-black-fogra-29-1);
    font-family: var(--ff-catamaran);
    font-size: clamp(14px, 3vw, 40px);
    font-weight: var(--fw-900);
    display: flex;
    align-items: center;
    margin-inline-start: -8px;
  }
  
  .logo img{
    color: var(--coquelicot);
    width: 60px;
    height: 60px;
    padding:0 ;
    /*transform: rotate(90deg) translate(5px, -8px);*/
  }
  
  .nav-open-btn{
    background-color: var(--coquelicot);
    padding: 9px 8px;
    border-radius: var(--radius-10);
  }

  .nav-open-btn .line{
    background-color: var(--white);
    width: 20px;
    height: 3px;
  }

  .nav-open-btn .line:not(:last-child){
    margin-block-end: 6px;
  }

  .nav-open-btn .line:nth-child(2){
    width: 25px;
    margin-inline-start: auto;
  }

  .navbar {
    background-color: var(--coquelicot);
    color: var(--white);
    position: fixed;
    top: 103%;
    left: 3%;
    right: 3%;
    bottom: 3%;
    /*w100%*/
    height: 80%;
    display: grid;
    place-content: center;
    visibility: hidden;
    transition: 0.25s var(--cubic-in);
    border-radius: var(--radius-15);
  }

  .navbar.active{
    visibility: visible;
    transform: translateY(-100%);
    transition: 0.5s var(--cubic-out);
  }

.nav-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background-color: var(--rich-black-fogra-29-1);
    color: var(--white);
    font-size: clamp(16px, 3vw, 40px);
    padding: 10px;
    border-radius: var(--radius-13);
}

.nav-close-btn:hover ion-icon {
transform: rotate(180deg);
transition: all 0.4s ease-out;
}

.navbar-link{
    font-family: var(--ff-catamaran);
    font-size: clamp(20px, 2.5vw, 40px);
    text-align:center;
    padding-block: 10px;
    padding-block-end: 7px;
    transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus){
    color: var(--rich-black-fogra-29-1);
}

  /*-----------------------------------*\
    #ТРЕНЕР
  \*-----------------------------------*/
  .hero{
    color: var(--cadet-gray);
    text-align: center;
    padding-block-start: calc(--section-padding)+80px;
    padding-block-end: 0;
    overflow: hidden;
    margin: 0.8% 3%;
    border-radius: var(--radius-15);
  }

  .hero-content {
    margin-block-end: 90px;
  }

  .hero-subtitle{
    background-color: var(--white_10);
    color: var(--white);
    margin-inline: auto;
    margin-top: 50px;
    padding: 5px;
    padding-inline-end: 15px;
    border-radius: var(--radius-13);
    font-size: clamp(15px, 2.5vw, 40px);
  }
  
  .hero-subtitle .strong {
    display: inline-block;
    background-color: var(--coquelicot);
    padding: 2px 15px;
    margin-inline-end: 15px;
    border-radius: var(--radius-10);
    font-size: clamp(15px, 2.5vw, 40px);
  }

  .hero-title{
    margin-block: 30px 8px;
  }
  
  
  .hero .section-text{
    margin-block-end: 40px;
    font-size: clamp(14px, 2.5vw, 35px);
  }

  .hero .btn{
    margin-inline: auto;
    font-size: clamp(12px, 1.7vw, 20px);
  }
 
  /*

.hero-banner{
  margin-top:-68px;
}*/

  /*-----------------------------------*\
    #ИНФОРМАЦИЯ О ТРЕНЕРЕ
  \*-----------------------------------*/
  
  .about{
    overflow: hidden;
  }

  .about-banner{
    margin-block-end: 50px;
  }

  .about-banner::after{
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--coquelicot);
    border-radius: var(--radius-15);
    z-index: -2;
  }

  .about .section-text:not(:last-of-type){
margin-block-end: 15px;
  }

  .about .wrapper{
margin-block-start: 20px;
  }
  /*about-coach/coach-avatar/coach-name/coach-title*/
  .about-diplom{
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    margin-block-end:15px;
  }
  
  .diplom-image{
    overflow: hidden;
  }
  .diplom-image img{
    width: clamp(150px, 30vw,300px);
  }
  .diplom-name{
   font-weight: var(--fw-700);
   margin-block-end: 5px;
   font-size: clamp(14px, 1.5vw,24px);
  }
  .diplom-title{
    font-size: clamp(12px, 1.5vw,20px);
  }

  .about .btn-primary{
    padding: 8px 20px;
    font-size: clamp(12px, 1.5vw,20px);
    position: relative;
    margin: 0 auto;
    display: block;
    

  }
  .about .btn-primary:is(:hover, :focus){
    background-color: var(--rich-black-fogra-29-1);
    color: --white;
    box-shadow: none;
  }

 
  /*-----------------------------------*\
    #ВИДЕО_ТРЕНИРОВКИ
  \*-----------------------------------*/
  
.video{
    padding-block: 0;
    margin-block-end: -150px;
}

.video-card{
    background-color: var(--light-gray);
    background-size: cover;
    background-position: center;
    height: 500px;
    border-radius: var(--radius-15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 3%;
    box-shadow: var(--shadow-2);
}
    .video-card::before{
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background-color: var(--rich-black-fogra-29_50);
        z-index: -1;
        
    }

    .video-card .card-title{
        color: var(--white);
        font-size: var(--fs-3);
    }

    .play-btn{
        background-color: var(--coquelicot);
        color: var(--white);
        width: max-content;
        font-size: 30px;
        border-radius: 50%;
        margin-block: 25px 35px;
        padding: 15px;
        animation: pulse 4s ease infinite;
    }
  
  @keyframes pulse{
0% {
    box-shadow: 0 0 0 var(--coquelicot);}
100% {
    box-shadow: 0 0 0 20px transparent;}  
}
  /*-----------------------------------*\
    #ПРОГРАММЫ_ТРЕНИРОВОК
  \*-----------------------------------*/
  .class{
    padding-block-start: calc(--section-padding)+ 250px;
    margin: 0 3%;
    border-radius: var(--radius-15);
  }
  .class .train{
    margin-top: 100px;
  }

  .class .card-content{
    padding-left: 20px;
    padding-right: 20px;
  }
  .class .card-progress{
    padding-left: 20px;
    padding-right: 20px;
  }

  
  .class .section-subtitle{
margin-inline: auto;
  }

  .class .section-title{
    color: var(--white);
  }

  .class-card{
    background-color: var(--white);
    border-radius: var(--radius-15);
    height: 100%;
    overflow: hidden;
  }

  .class-crd .card-banner img{
    transition: var(--transition-2);
  }

  .class-card:is(:hover, :focus-within) .card-banner img{
    transform: scale(1.1);
  }

  .class-card .card-container{
    padding: 24px;
  }

  .class-card .title-wrapper {
    display: flex;
    align-items: center;
  }

  .class-card .title-icon{
    padding-inline-end: 20px;
    margin-inline-end: 20px;
    min-width: max-content;
    border-inline-end: 1px solid --gainsboro;
  }
  
  .class-card .card-title{
    transition: var(--transition-1);
  }

  
  .class-card .card-title:is(:hover, :focus){
   color: var(--coquelicot); 
  }

  .class-card .class-text{
    color: var(--sonic-silver);
    font-size: var(--fs-6);
    margin-block: 16px 12px;
  }

  .class-card .progress-wrapper{
    display: flex;
    align-items: flex-end;
    flex-wrap: nowrap;
    flex-direction: column;
    font-family: var(--ff-catamaran);
    color: var(--rich-black-fogra-29-1);
    font-size: var(--fs-6);
    font-weight: var(--fw-800);
    margin-block-end: 8px;
  }

  .class-card .progress-bg{
    background-color: var(--coquelicot);
    border-radius: 50px;
  }

  /*delete*/
  .class-card .progress-bar{
    background-color: var(--coquelicot);
    height: 10px;
    border-radius: inherit;
  }

  
  /*-----------------------------------*\
    #БЛОГ
    .blog-card
    {background-color: var(--white);
    }
  \*-----------------------------------*/
    .blog-section .section-subtitle {
        margin-bottom: 10px;
    }

   

  .blog-card{
    background-color: var(--white);
    border: 1px solid --light-gray;
    border-radius: var(--radius-15);
    height: 100%;
    overflow: hidden;
  }

  .blog-card .card-banner{
    position: relative;
  }

  .blog-card .card-banner img{
    transition: var(--transition-2);
  }

  .blog-card:is(:hover,:focus) .card-banner img{
transform: scale(1.1);
  }

  .blog-card .card-meta{
    background-color: var(--coquelicot);
    color: var(--white);
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 8px 20px;
    font-size: clamp(9px, 1vw, 12px);
    font-weight: var(--fw-500);
    text-transform: uppercase;
    border-radius: 0 --radius-10 0 0;
  }
  
   .blog-card .card-content
    {
        padding: 25px;
    }  

    .blog-card .card-title {
        transition: var(--transition-1);
        font-size: clamp(14px, 1vw, 30px);
    }

    .blog-card .card-title:is(:hover, :focus){
      color: var(--coquelicot);  
    }

    .blog-card .card-text{
        font-size: clamp(12px, 1vw, 20px);
        margin-block: 8px 12px;
    }

    .blog-card .btn-link{
        color: var(--coquelicot);
    }

    .blog-card .btn-link:is(:hover, :focus){
        --color: var(var(--rich-black-fogra-29-1));
    }
  /*-----------------------------------*\
    #FOOTER
  \*-----------------------------------*/
  
  .footer{
    font-size: clamp(12px, 2vw, 16px); 
    margin: 0 3% 1% 3%;
    border-radius: var(--radius-15);
  }
  
  .footer-top{
    border-radius: var(--radius-15);
    margin-bottom: 1%;
  }

  .footer-top .container{
    display: flex;
    gap: 20px;
  }



  .footer .logo{
    color: var(--white);
  }

  .footer-brand-text{
    margin-block: 10px;
 
  }


  .footer-top .container {
    display: flex;
    gap: 50px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;}

  .footer-brand-list .li:not(:last-child){
    margin-block-end: 15px;
  }

  .footer-brand-title,
  .footer-list-title{
    color: var(--white);
    font-family: var(--ff-catamaran);
  }

  .footer-list-title::before{
    bottom: 0;
    width: 20px;
    height: 1px;
    background-color: var(--coquelicot);
  }
  
  .footer-list>li:not(:first-child){
    margin-block-start: 12px;
  }

  .footer-link{
    transition: var(--transition-1);
  }

  .footer-link:not(.adress):is(:hover,:focus){
    color: var(--coquelicot);
  }

  .footer-list-item{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
  }

  .social-list{
    display: flex;
    gap: 15px;
  }

  .social-link{
    background-color: var(--white_20);
    color: var(--white);
    padding:7px;
    border-radius: 50%;
    font-size: clamp(16px, 2vw, 18px); 
    transition: var(--transition-1);
  }

  .social-link:is(:hover, :focus){
    background-color: var(--coquelicot);
  }

  .footer-bottom{
    
    text-align:center;
    padding-block: 15px;
    margin-bottom: 60px;
  }

  .copyright-link{
    display: inline-block;
    color: var(--coquelicot);
    margin-bottom: 0px;
  }
 
  /*-----------------------------------*\
    #НАВЕРХ-
  \*-----------------------------------*/
  
  .back-top-btn{
    position: fixed;
    bottom: 15px;
    right: 20px;
    font-size: 11px;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition-1);
    z-index: 4;
  }
  
  .back-top-btn.active{
    visibility: visible;
    opacity: 1;
    transform: translateY(-10px);
  }
  