body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f4fdb2 0%, #7cc024 50%, #f4fdb2 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    color: #154b29;
    min-height: 100vh;
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    overflow-x: hidden;
}

.course-container-details-text {

}

.course-container-details-text-remark {
    font-weight: 600;
    margin-top: 10px;
}

.course-container-image {
    width: 100%;
    height: 200px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.course-container-image-photo {
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    width: 100%;
}

.why-box-container {
    display: flex;
    flex-direction: column;

    margin: 20px 0;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.77);
    padding: 20px 10px;
    max-width: 100%;
}

.why-box {
    display: flex;
    height: 60px;
    max-width: 100%;
    align-items: center;
}

.why-box-img {
    width: 40px;
}

.why-box-icon {
    width: 40px;
    height: 40px;
}

.why-box-text {
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 20px;
    align-items: center;
    display: flex;
}

.header-container {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 100%;

}

.header-photo {
    position: absolute;
    width: 250px;
    right: -40px;
    top: -15px;
}


.menu-dropdown-content {
    display: none;
    margin-top: 10px;
}

.menu-dropdown.open .menu-dropdown-content {
    display: block;
}

.menu-dropdown-toggle {
    cursor: pointer;
    /*font-weight: bold;*/
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background-color: #afafaf;*/
    height: 20px;
    margin-top: 20px;

}

.menu-dropdown-content-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #154b29;
    padding: 10px;
    /*text-align: center;*/
    /*background-color: rgba(255, 255, 255, 0.77);*/
    /*border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
}

.menu-dropdown-toggle .arrow {
    margin-right: 10px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.menu-dropdown.open .arrow {
    transform: rotate(180deg); /* Поворачивает стрелку вверх */
}

.menu-card {
    background-color: #ddf1e2;
    border-radius: 15px;
    margin-right: 10px;
    padding: 10px;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.menu-card-header {
    display: flex;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    justify-content: center;
}
.menu-card-btns-block {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    margin-top: 20px;
}

.menu-card-btns-price {
    font-size: 1.3rem;
    font-weight: 600;
}

.menu-card-btns-btn {
    text-decoration: none;
    color: #344e41;
    font-weight: 600;
    background-color: white;
    border-radius: 10px;
    padding: 10px 20px;
}




.container {
    width: 700px;
    max-width: 100vw;
    margin: 0 auto;
    padding: 20px 10px 0 10px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}

.container #reviews {
    position: relative;
    max-width: 100%;
    /*height: 200px;*/
}

.headline-container {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin: 0 auto 0 10px;
}

.headline-main {
    font-size: 2.2em;
    font-weight: 900;
    line-height: 1.6rem;
    letter-spacing: 2px;
}

.headline-light {
    font-size: 1.1em;
    margin-top: 10px;
}

.headline-energy {
    margin-top: 8px;
}

.headline-sub {
    font-size:  1.14em;
    font-weight: 500;
    margin-top: 5px;

}

.subtext {
    font-size: 0.8em;
    line-height: 1.5;
    max-width: 600px;
    margin: 25px 190px 10px 10px;
}

.cta-button {
    background-color: #ffe600;
    color: #154b29;
    font-weight: bold;
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    display: flex;
    width: fit-content;
    border-radius: 8px;
    margin-left: 10px;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
}

.cta-button:hover {
    background-color: #ffdb00;
}

.content-container-first {
    background-color: #f5fcc4;
    border-radius: 15px;
    border: none;
    padding: 10px;
    margin-top: 20px;
}

.content-header {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0;
}

.avatar-container-img-photo {
    width: 80px;
}

.avatar-container-img {
    background: linear-gradient(to right, transparent 0%, transparent 50%, white 50%, white 100%);
}



.avatar-container {
    display: flex;
    margin: 10px 0;
}

.avatar-container-text-container-first {
    font-size: 1.1rem;
    margin-left: 10px;
    display: flex;
    align-items: center;

    font-weight: 600;
    justify-content: center;
    text-align: center;
}

.avatar-container-text-container {
    align-items: center;
    display: flex;
    background: white;
    border-radius: 0 25px 25px 0;
}

.content-text-list {
    margin-left: 0;
    padding-inline-start: 15px;
    font-size: 0.9rem;
    gap: 5px;
    display: flex;
    flex-direction: column;
}

.course-container-header {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.course-container-header-top {
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 0;
}

.price-details {
    text-decoration: none;
    color: #344e41;
}

.content-container-first.border {
    border: 1px solid rgba(52, 78, 65, 0.61);
    background-color: rgba(255, 255, 255, 0.77);
}

.content-container-first.border.yellow {
    background-color: #ffe600;
}

.content-container-first.border.yellow .btn-buy {
    background-color: rgba(245, 252, 196, 1);
}

.course-container-header-text {
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.course-container-header-subheader {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.btn-details {
    color: #154b29;
    margin: 10px auto 20px auto;
    font-size: 0.9rem;
    text-decoration: underline;
    display: flex;
    justify-content: center;
}

.price-details.no-price {
    text-decoration: none;
    color: #344e41;
    padding: 10px 20px;
    box-sizing: border-box;
}

.course-container-details {
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.btn-buy {
    background-color: #ffe600;
    border: 1px solid #ffe600;
    color: #154b29;
    font-weight: bold;
    padding: 10px 20px;
    font-size: 1em;
    /*border: none;*/
    display: flex;
    flex-direction: column;
    /*width: fit-content;*/
    border-radius: 8px;
    margin: auto;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    justify-content: center;
    text-align: center;
    transition: background 0.3s;
    text-decoration: none;
}

.btn-buy.details {
    background: none;
    border: 1px solid #154b29;
}

.btn-buy-start {
    font-size: 0.8rem;
}

.courses-background {
    margin: 10px -10px;
    padding: 0 10px 10px 10px;
    background-color: #f5fcc4;
}

.querry-background {
    margin: 10px -10px;
    padding: 0 10px 10px 10px;
    background-color: rgba(245, 252, 196, 0.8);
}

.content-container-first.course {
    background-color: #c8f331;
    color: white;
}

.querry-header {
    font-size: 1rem;
    font-weight: 700;
    display: flex;

    margin: 10px auto;
    justify-content: center;
    text-align: center;

}

.querry-box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-around;
}

.querry-box {
    border-radius: 10px;
    width: calc(100vw/2 - 20px);
}

.querry-box.one { background-color: #f6c941;}
.querry-box.two { background-color: #97c54e;}
.querry-box.three { background-color: #97c54e;}
.querry-box.four { background-color: #f6c941;}
.querry-box.five { background-color: #f6c941;}
.querry-box.six { background-color: #97c54e;}

.querry-box-header {
    display: flex;
}

.querry-box-header-icon {
    max-width: 40px;
    min-width: 40px;
    width: 40px;
    height: 40px;
    margin: 5px;
    background-color: rgba(255, 255, 255, 0.49);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.querry-box-header-text {
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 10px;
    align-items: center;
    display: flex;
}



.querry-box-text {
    font-size: 0.8rem;
    margin: 0 10px 10px 10px;
}

.querry-box-header-icon-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.btns-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-direction: row;
    margin-top: 10px;
    width: 100%;

}

.price-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-direction: row;
    margin-top: 10px;
    padding: 5px 0 5px 10px;
    align-items: center;

}

.price-amount {
    font-weight: 800;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}

.price-details {
    border-radius: 8px;
    padding: 5px 20px;
    border: 1px solid #344e41;
}

.footer {
    background: #f5fcc4;
    border-radius: 15px 15px 0 0;
    margin-top: 20px;
    padding: 30px 10px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;


}

.footer a{
    text-decoration: none;
    color: #154b29;
    text-align: center;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    right: 0; bottom: 0;
    width: 100vw;
    /*width: 100vw;
    height: 100vh;*/
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center; /* Центрирование по вертикали */

}

.modal-container {
    background: #fff;
    color: #154b29;
    width: 600px;
    max-width: 100vw;
    margin: 100px auto;
    /*max-height: calc(100vh - 50px);*/
    padding: 10px 10px 30px 10px;
    border-radius: 10px;
    position: relative;
    box-sizing: border-box;
    height: fit-content;


    max-height: 90vh;
    /*padding: 20px 20px 30px 20px;*/



    /*overflow-y: auto;*/
}

.modal-content {
    overflow-y: scroll;
    /*max-height: calc(100% - 20px);*/
    max-height: 80vh;
}



.modal-close {
    position: relative;
    z-index: 1000;
    font-size: 24px;
    cursor: pointer;
    background: white;
    padding: 5px 10px 10px 10px;
    border-bottom: 1px solid #154b29;
    display: flex;
    justify-content: space-between;
}

.modal-content b{
    font-weight: 900;
}

.modal-header-text {
    font-size: 1rem;
    font-weight: 700;
}

.content-header {
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 10px;
    text-align: center;
}

.swiper-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    /*width: 100%;
    max-width: 100%;*/
}

.swiper-container {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 40px;
    overflow: hidden; /* Ensure no overflow */
    max-width: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    /*background: #fff;*/
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
}

.swiper-slide img {
    height: auto;
    max-width: 250px; /* Ensure images do not exceed 250px width */
    width: 250px;
    border-radius: 10px;
}

.swiper-button-next, .swiper-button-prev {
    color: #323f1d !important;
    /*background-color: rgba(0, 0, 0, 0.27);*/
    /*padding: 10px;
    border-radius: 50%;
    width: 80px;
    height: 80px;*/
}

@media (min-width: 768px){
    .header-photo {
        width: 300px;
        right: 0;
    }

    .headline-main {
        font-size: 3em;
    }

    .headline-light {
        font-size: 1.1em;
        margin-top: 20px;
    }

    .headline-energy {
        margin-top: 20px;
    }

    .headline-sub {
        font-size: 1.5em;
        margin-top: 10px;
    }

    .subtext {
        font-size: 1.1em;
        margin: 25px 300px 10px 10px;
    }

    .content-container-first {
        padding: 30px;
    }

    .querry-box {
        max-width: 300px;
    }

    .querry-background {
        border-radius: 15px;
    }

    .why-box-container {
        padding: 20px 60px;
    }

    .content-container-first {
        /*max-width: 250px;*/
        min-height: fit-content;
        max-height: 100%;
        height: 100%;
        display: flex;          /* если нужен flex-вёрстка контента внутри */
        flex-direction: column;
        margin-top: 30px;
        box-sizing: border-box;
    }

    .price-details.no-price {
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .content-container-first.top {
        max-width: 100%;
    }

    .content-container-first-wrapper {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        height: fit-content;


        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .querry-background {
        margin-top: 30px;
        padding-bottom: 30px;
    }

    .course-container-details {
        flex-grow: 1;
    }

    .btns-container {
        flex-direction: column;
    }

    .course-container-image {
        height: fit-content;
    }

}