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;
    min-width: 100vw;
    overflow-x: hidden;
}

.main-content-list-big-images-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    background: #f5fcc4;
    padding: 10px;
    border-radius: 15px;

}

.list-big-images-row {
    display: flex;
    padding-left: 10px;
    /*padding: 20px 10px;*/
   /*border: 1px solid #344e41;*/
   /* border-radius: 40px 20px 20px 40px;*/
    height: 60px;
    align-items: center;
    /*background: rgba(252, 252, 248, 0.82);*/
    /*margin-bottom: 10px;*/
    /*box-sizing: border-box;*/

}

/*.list-big-images-row:first-child {
    border-top: none;
}*/



.list-big-images-row-white .list-big-images-icon-container {
    background-color: transparent;
}



.list-big-images-row-white {
    display: flex;
    /*background-color: white;*/
    padding: 20px 10px;
    align-items: center;
    border-top: 1px solid #344e41;
}


.list-big-images-row-white:first-child {
    border-top: none;
   /* background-color: #344e41;*/
}

.list-big-images-text {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    /*text-align: center;*/
}

.list-big-images-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    height: 50px;
    min-width: 50px;
    width: 50px;
    background: rgba(124, 192, 36, 0.19);
    border-radius: 50%;
    /*border: 2.5px solid rgba(21, 75, 41, 0.4);*/

}

.list-big-images-img {
    height: 30px;
}



.main-photo-container {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-photo-container-name-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 20px;
    left: 0;
    right: 0;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    /*color: #154b29;*/
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}



.main-photo-container-name-header {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    line-height: 36px;
    font-family: 'Montserrat', sans-serif;
}

.main-photo-container-name-subheader {
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 0 0;
    font-family: 'Inter', sans-serif;
}

.main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.main-photo-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));*/
    /*border-radius: 15px 15px 0 0;*/
}

.main-block {

}

.main-content {
    padding: 20px;
}

.main-header {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin: 10px 0 10px 0;
    font-family: 'Montserrat', sans-serif;
}

.main-subheader {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    margin: 10px 0 30px 0;
    font-family: 'Inter', sans-serif;
}

.main-content-text {
    font-size: 1rem;
    line-height: 1.2;
    /*text-align: center;*/
    margin: 10px 0;
    /*font-family: 'Inter', sans-serif;*/
}

.main-content-button.btn-buy {
    margin: 20px 0 0 0;
}

.main-content-list-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    width: 30px;
    min-width: 30px;
}

.main-content-list-container {
    display: flex;
    flex-direction: column;
    /*gap: 10px;*/
    margin-top: 10px;

}

.main-content-list-container.top {
    font-weight: 600;
}

.main-content-list-img {
    /*width: 25px;*/
    height: 25px;
    /*border-radius: 10px;*/
    object-fit: cover;
    margin: 0 auto;
}

.main-content-list-container.small .main-content-list-img{
    height: 20px;
}

.main-content-list-container.small .main-content-list-icon-container{
    min-width: 20px;
    width: 20px;
}
.main-content-list-row {
    display: flex;
}

.standard-block {
    background-color: #f5fcc4;
    border-radius: 15px;
}

.standard-block-text {
    background-color: #faf8ef;
    border-radius: 15px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 10px 0 10px;
    display: flex;
    flex-direction: column;

}

.container.reviews {
    position: relative;
}

.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;
}

.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;
}

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

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

.btn-buy {
    background-color: #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: center;
    gap: 10px;
    flex-direction: column;
    margin-top: 10px;
}

.price-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-direction: row;
    margin-top: 20px;
    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;
    max-width: 500px;
    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;
}

.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: #6fad05 !important;
}

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

}