html {
    font-size: 16px;
}
:root {
    --padding-page: 80px;
    --font-size-h2: 36px;
    --font-size-p: 14px;
    --dark-background-color: #121212;
    --padding-beteen-sections: 60px;
}

.logo-text a {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
    font-family: 'Oswald';
    text-decoration: none;
    color: #fff;
}

h1 {
    color: #fff;
    font-size: 3.5rem;
    font-family: 'Roboto-Condensed';
    text-align: center;
    padding: 40px 0;
}


.trainer-quote  {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 45vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat';
    padding: 0 30vw;
}


.trainer-quote p {
    font-size: 18px;
    text-align: center;
    color: #e2e2e2;
    margin-bottom: 25px;
}

.trainer-quote cite {
    font-size: 14px;
    text-align: center;
    color: #ffffff;
}

.trainer-image-container{
    display: flex;
    flex-direction: column;
    position: relative;
    background: #fff;
}
.trainer-image-container img{
    position: absolute;
    bottom: 0;
    height: 55vh;
}

/*  ------------------- Секция тренер Ярослав --------------------- */

.trainer-content {
    display: flex;
    flex-direction: row;
    height: 45vh;
    background: #fff;
}

.trainer-yaroslav-image-container {
    width: 110vw;
}

.trainer-yaroslav-image-container img {
    right: 10vw;
}

.trainer-text-container {
    background: #9C1E1E;
    display: flex;
    flex-direction: column;
    padding: 0 120px;
    justify-content: center;
    width: 150vw;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}



.trainer-text-container h2 {
    font-family: 'Roboto-Condensed';
    font-size: 2rem;
    margin-bottom: 15px;
}

.trainer-text-container p {
    font-family: 'Montserrat';
    font-size: 1rem;
    font-weight: lighter;
    letter-spacing: 1px;
    line-height: 18px;
}

.trainer-quote-yaroslav{
    background: url('../src/img/coaching-staff/yaroslav-quote-background.png') no-repeat;
}


/* ----------------- Адаптивность Ярослав секция -----------------*/
@media (max-width: 475px) {

    .trainer-text-container p {
        font-size: 0.8rem;
    }
    .trainer-image-container{
        background: none;
    }


    .section-trainer-yaroslav {
        padding: 0 1.5rem;
        margin: 0 1rem;
        background: #9C1E1E;
        height: 40vh;
    }

    .trainer-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: 100%;
        background: none;
    }

    .trainer-yaroslav-image-container {
        width: 40vw;
        background: none;
    }

    .trainer-text-container {
        padding: 0;
        width: 100%;
        background: none;
        clip-path: none;
    }
    .trainer-yaroslav-image-container img {
        right: -15%;
        height: 36vh;
    }
    .trainer-text-container p {
         letter-spacing: normal;
    }

    .section-trainer-quote{
        padding: 0 1rem;
    }

    .trainer-quote  {
        height: 30vh;
        padding: 0;
        background-size: cover;
        background-position: center;
    }
    .trainer-quote p {
        font-size: 1rem;
    }
    .trainer-quote cite {
        font-size: 0.9rem;
    }
}

@media (max-width: 380px) {
    .trainer-text-container h2 {
        font-size: 1.2rem;
    }
    .trainer-text-container p {
        font-size: 0.7rem;
        line-height: normal;
    }
    .trainer-yaroslav-image-container img {
        right: 10%;
    }
}


/* ------------------------- Ирина секция ------------------------- */



.trainer-text-container-irina {
    padding: 0 110px;
    position: relative;
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 0% 100%);
}
.trainer-irina-image-container {
    width: 200vw;
}
.trainer-irina-image-container img {
    left: 15vw;
}





.irina-quote-section {
    padding-bottom: var(--padding-beteen-sections);
}

.trainer-quote-irina {
    background: url('../src/img/coaching-staff/irina-quote-background.png') no-repeat;
}


/* ----------------------- Адаптивность Ирина секция ----------------------- */

@media (max-width: 475px) {
    .section-trainer-irina{
        padding: 0 1.5rem;
        margin: 0 1rem;
        background: #9C1E1E;
        height: 40vh;
    }
    .trainer-text-container-irina {
        padding: 0;
        position: relative;
    }
    .trainer-irina-image-container {
        left: 0;
        width: auto;
    }
    .trainer-irina-image-container img {
        height: 32vh;
        left: -12vw;
    }
    .trainer-quote-irina{
        background-size: cover;
        background-position: center;
    }
}

/* ----------------------- Елена Ковалёва ------------------------- */
.trainer-quote-elena{
    background: url('../src/img/coaching-staff/elena_kovaleva_background_quote.jpg') no-repeat;
}

@media (max-width: 475px) {
    .trainer-elena-image-container img {
        right: 0;
        height: 28vh;
    }
    .section-trainer-elena{
        height: 35vh;
    }
    .trainer-quote-elena, .trainer-quote-maxim, .trainer-quote-savely{
        background-size: cover;
        background-position: center;
    }
}


/* ------------------------ Тренеры-инструкторы ----------------*/


.horizontal-instructors{
    border: 0;
    margin: 7rem auto;
    border-bottom: 2px solid rgba(255, 255, 255, 0.404);
    width: 70vw;
    border-radius: 12px;
    align-self: center;
}

.section-trainers-instructors > header{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    margin: 0 auto;
}
.section-trainers-instructors > header img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section-trainers-instructors > header h2{
    font-size: 2.25rem;
    margin: 0;
    font-family: 'Roboto-Condensed';
}
.section-trainers-instructors > header p{
    font-size: 1.25rem;
    margin: 0;
    font-family: 'Montserrat';
}
.trainers-instructors-left{
    height: 100%;
}
.trainers-instructors-right{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.trainers-instructors-bottom-img{
    width: 100%;
    height: auto;
    margin-top: 1rem;
}



@media (max-width: 475px) {
    .horizontal-instructors{
        margin: 3rem auto;
    }
    .section-trainers-instructors{
        padding: 0 1rem;
    }
    .section-trainers-instructors > header{
        display: flex;
        flex-direction: column-reverse;
        position: relative;
        gap: 1rem;
        margin-bottom: 4.5rem;
    }
    .section-trainers-instructors > header h2{
        font-size: 2.25rem;
    }
    .section-trainers-instructors > header p{
        font-size: 1rem;
    }
    .trainers-instructors-left img{
    max-height: 40vh;
        border-radius: 2rem;
    }
    .trainers-instructors-bottom-img {
        position: absolute;
        width: 80%;
        right: 0;
        top: 75%;
        border-radius: 0 32px 32px 32px;
    }

    .trainers-instructors-bottom-img img{
        border-radius: 0 2rem 2rem 2rem;
    }
}


/* --------------------------- тренеры-инструкторы --------------------------*/

.article-trainers-instructors-maksim{
    padding-top: 10rem;
}
.article-trainers-instructors-savely{
    padding-bottom: 10rem;
}

.article-trainers-instructors header{
    background: #fff;
    align-content: end;
}
.header-text-trainers-instructors, .header-text-trainers-instructors-maxim{
    display: grid;
    grid-template-columns: 1fr 2fr;
    background: #ffffff;
    height: 45vh;
    /*max-width: 1000px;*/
    margin: 0 auto;
    position: relative;
    overflow: visible;
}
.image-trainer-instructor{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;

    position: relative;
    /*margin-top: -60px;*/
    z-index: 2;
}
.image-trainer-instructor img{
    height: 55vh;
    position: absolute;
    bottom: 0;
}

.trainers-instructors-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #9C1E1E;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -50px;
    z-index: 1;
    height: inherit;
    padding: 0 20%;
    gap: 1rem;
}
.trainers-instructors-info-savely{
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 0% 100%);
    margin-left: 0;
}
.trainers-instructors-info p{
    font-size: 1rem;
    margin: 0;
    font-family: 'Montserrat';
}
.trainers-instructors-info h3{
    font-size: 2rem;
    margin: 0;
    font-family: 'Roboto-Condensed';
}

.trainer-quote-maxim{
    background: url('../src/img/coaching-staff/trainers-instructors-quote-maksim.jpg') no-repeat;
}
.trainer-quote-savely{
    background: url('../src/img/coaching-staff/trainers-instructors-quote-savely.jpg') no-repeat;
}
.header-text-trainers-instructors-savely{
grid-template-columns: 1fr 1fr;
}

@media (max-width: 475px) {
    .image-trainer-instructor img {
        height: 36vh;
        right: 15%;
    }
    .header-text-trainers-instructors-maxim {
        grid-template-columns: 1fr 1fr;
        height: 40vh;
    }

    .trainers-instructors-info p{
        font-size: 0.7rem;
    }
    .trainers-instructors-info h3{
        font-size: 1rem;
    }
    .trainers-instructors-info {
        padding: 0;
        padding-left: 15%;
    }
    .trainers-instructors-info-savely {
        padding-left: 5%;
    }
    .article-trainers-instructors header {
        background: #9C1E1E;
    }
    .article-trainers-instructors-savely{
        padding-bottom: 1rem;
    }
    .trainer-quote-savely{
        background-size: cover;
        background-position: center;
    }
    .trainer-quote-maxim{
        background-size: cover;
        background-position: block-start;
    }
    .article-trainers-instructors header {
        height: 40vh;
    }
}

@media (max-width: 380px) {
    .trainers-instructors-info p{
        font-size: 0.55rem;
    }
    .trainers-instructors-info h3{
        font-size: 0.8rem;
    }
}











