:root {
    --header-height: 50px;
}

@font-face {
    font-family: Schlange;
    font-style: normal;
    src: url(https://tentorium.ru/wp-content/themes/tentorium-main/assets/fonts/ALS_Schlange_sans_reg.otf);
    font-weight: normal;
}

@font-face {
    font-family: Schlange;
    font-style: normal;
    src: url(https://tentorium.ru/wp-content/themes/tentorium-main/assets/fonts/ALS_Schlange_sans_bld.otf);
    font-weight: 600;
}

* {
    box-sizing: border-box;
}

html,
body {
    position: relative;
    height: 100%;
}

body {
    background: #eee;
    font-family: 'Schlange', 'PT Sans', 'Helvetica', 'Arial', 'sans-serif';
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 0 10px grey;
    z-index: 100;
    min-height: var(--header-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header__logo {
    display: none;
}

.header__container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__text {
    font-weight: 600;
    font-size: clamp(1em, 2.5vw, 1.5em);
    text-transform: uppercase;
    color: #d060c6;
    bottom: 0.3em;
    width: 100%;
    text-align: center;
    padding-top: 0.5em;
}

.header__buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.header__button {
    font-size: clamp(1em, 2.5vw, 1.3em);
    margin: 0.2em;

    .button {
        border-radius: 0.3em;
        border: 2px solid #d060c6;
        padding: 0.3em 1em;
    }
}

.button {
    display: inline-block;
    padding: 0.5em 1em;
    background-color: #d060c6;
    border-radius: 0.8em;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.button--white {
    background-color: white;
    color: #d060c6;
    border: 2px solid #d060c6;
}

.logo-tentorium {
    padding: 2px;
}

.logo-tentorium path {
    fill: #8c3684;
}

.pink-block {
    max-width: 1150px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    position: relative;
}

.pink-block--2, .pink-block--3 {
    max-width: unset;
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
}

.pink-block__title {
    color: rgba(214, 122, 198, 1);
    white-space: nowrap;
}

.pink-block__text {
    background: #f8caf8;
    border-radius: 1em;
    padding: 2em;
}

.pink-block__text2 {
    background: linear-gradient(139.15deg, #EE9ADF 22.49%, #D67AC6 87.59%);
    padding: 100px 20px 90px;
    border-radius: 0;

    @media (max-width: 991px) {
        padding: 60px 20px 50px;
    }
}

.pink-block__text3 {
    background: rgba(254, 247, 255, 1);
    padding: 100px 20px 110px;
    border-radius: 0;

    @media (max-width: 991px) {
        padding: 60px 20px 60px;
    }
}

.pink-block__buttons {
    position: relative;
    margin: 1.5em auto 0;
    font-size: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
    flex-direction: column;
}

.pink-block__button-wrapper {
    flex: 0.5;
}

.pink-block__button {
    background-color: rgb(234, 161, 4);
}

.pink-block__slogan {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 65px;
    margin-bottom: 50px;

    @media (max-width: 991px) {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 40px;
        width: fit-content;
        margin: 0 auto 50px;
    }

    @media (max-width: 424px) {
        gap: 25px;
        margin-bottom: 40px;
    }
}

.pink-block__slogan-block {
    font-size: 2.8em;
    color: white;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    cursor: default;
    background-image: url("https://tentorium.ru/wp-content/themes/tentorium-main/assets/images/marafon-stroynosti/arrow.svg");
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 65px;
    background-size: contain;

    @media (max-width: 1239px) {
        font-size: 2.1em;
    }

    @media (max-width: 1023px) {
        font-size: 1.9em;
    }

    @media (max-width: 991px) {
        flex-direction: row;
        gap: 8px;
        padding: 6px 10px 6px 50px;
        font-size: 1.4em;
    }

    @media (max-width: 424px) {
        padding: 3px 3px 3px 30px;
    }

    @media (max-width: 374px) {
        font-size: 1.2em;
    }
}

.pink-block__descr {
    font-size: 1.7em;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    cursor: default;
    gap: 20px;

    @media (max-width: 1239px) {
        font-size: 1.5em;
    }

    @media (max-width: 1023px) {
        font-size: 1.3em;
    }

    @media (max-width: 991px) {
        font-size: 1.1em;
    }

    @media (max-width: 575px) {
        align-items: flex-start;
        width: fit-content;
        margin: 0 auto;
    }
}

.pink-block__descr-item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 30px;

    @media (max-width: 575px) {
        flex-direction: column;
        gap: 10px;
    }
}

.text-bold {
    font-weight: 600;
}

h1 {
    font-size: clamp(1.3em, 3.5vw, 3.5em);
    margin: 0;
    padding: 0;
}

h2 {
    font-size: clamp(1.1em, 2.5vw, 2em);
    margin: 0;
    padding: 0;
}

.slides-wrapper {
    padding-top: var(--header-height);
}

.slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    object-fit: contain;
    position: relative;
    overflow: hidden;
}

.slide--text {
    background-image: url('https://tentorium.ru/wp-content/uploads/2025/03/marafon-back-scaled.jpg');
    padding-top: 2em;
}

.slide--pink {
    background-color: rgba(254, 247, 255, 1);
    padding-top: 2em;
    padding-bottom: 4em;
}

.slide--pink2 {
    background: linear-gradient(139.15deg, #EE9ADF 22.49%, #D67AC6 87.59%);
    padding-top: 2em;
    padding-bottom: 4em;
    height: auto;

    @media (max-width: 767px) {
        padding-bottom: 2.5em;
    }
}

.slide--text-pad {
    padding-top: 3em;
}

.slide--bg {
    background-image: url('https://tentorium.ru/wp-content/uploads/2025/03/marafon-back-scaled.jpg');
    min-height: 300px;
}

.slide img {
    width: 100%;
    height: auto;
}

.img-as-background {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slide.slide--3, .slide.slide--5, .slide.slide--6, .slide.slide--7, .slide.slide--8, .slide.slide--11, .slide.slide--12 {
    @media (max-width: 767px) {
        height: auto;
        background-color: #FCF2FB;
    }

    .img-as-background--desctop {
        @media (max-width: 767px) {
            display: none;
        }
    }

    .img-as-background--mobile {
        display: none;
        position: static;

        @media (max-width: 767px) {
            display: flex;
        }
    }

    .img-responsive {
        @media (max-width: 1023px) {
            width: 120%;
        }

        @media (max-width: 991px) {
            width: 140%;
        }

        @media (max-width: 767px) {
            width: 100%;
        }
    }
}

.slide.slide--5, .slide.slide--6, .slide.slide--7, .slide.slide--8, .slide.slide--11, .slide.slide--12 {
    .img-responsive {
        @media (max-width: 1023px) {
            width: 120%;
        }

        @media (max-width: 991px) {
            width: 120%;
        }

        @media (max-width: 767px) {
            width: 100%;
        }
    }
}

.slide.slide--6 {
    background-color: rgba(254, 247, 255, 1);
}

.slide.slide--7, .slide.slide--8, .slide.slide--12 {
    background-image: url('https://tentorium.ru/wp-content/uploads/2025/03/marafon-back-scaled.jpg');
}

.slide.slide--11 {
    background-color: white;
}

.slide.slide--12 {
    height: auto;

    .img-as-background {
        position: static;
    }
}

.slide.slide--13 {
    height: auto;
    min-height: calc(100dvh - var(--header-height));

    .img-block-mob, .title-product-img {
        display: none;

    }

    @media (max-width: 767px) {
        min-height: unset;
        padding-bottom: 2em;

        .img-block-desc {
            display: none;
        }

        .img-block-mob, .title-product-img {
            display: block;

        }

        .img-block-mob {
            padding-bottom: 3em;
        }
    }
}

.ul {
    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1em;
}

.li {
    padding: 1em;
    border: 2px solid #ad4d9f;
    border-radius: 0.4em;
    width: 100%;
    min-width: 190px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0 auto;
}

.link-text:visited,
.link-text {
    text-decoration: none;
    color: #000;
}

.slide-mobile-devider {
    position: relative;
    height: 2vh;
}

.slide-mobile-devider__container {
    position: absolute;
    left: 0;
    right: 0;
    top: -5vh;
    overflow: hidden;
    z-index: 1;
    padding: 3vh 0;
}

.slide-mobile-devider__row {
    background: #f8caf8;
    padding: 1em 0;
    transform: rotate(-2deg);
}

.slide-mobile-devider__content {
    white-space: nowrap;
}

.transparent-block {
    max-width: 1300px;
    width: 90%;
    padding: 0 15px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    cursor: default;

    @media (max-width: 767px) {
        flex-direction: column-reverse;
    }
}

.transparent-block h1 {
    color: rgba(214, 122, 198, 1);
}

.transparent-block__text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    text-align: start;

    div {
        margin-bottom: 40px;

        p {
            margin-bottom: 40px;
        }
    }

    @media (max-width: 767px) {
        h1 {
            display: none;
        }

        div {
            p {
                margin-bottom: 25px;
            }
        }
    }
}

.transparent-block--title-mob {
    display: none;

    @media (max-width: 767px) {
        display: inline;
    }
}

.transparent-block2,
.transparent-block3,
.transparent-block4,
.transparent-block5 {
    max-width: fit-content;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    cursor: default;

    @media (max-width: 767px) {
        gap: 10px;
    }
}

.transparent-block4,
.transparent-block5{
    max-width: 1150px;

    @media (max-width: 1023px) {
        padding: 0 30px;
    }

    @media (max-width: 767px) {
        margin-bottom: 10px;
        padding: 0 15px;
    }
}

.transparent-block2 .title,
.transparent-block3 .title,
.transparent-block4 .title,
.transparent-block5 .title{
    margin-bottom: 30px;

    @media (max-width: 767px) {
        margin-bottom: 10px;
    }
}

.transparent-block2 h1,
.transparent-block3 h1,
.transparent-block5 h1 {
    color: rgba(214, 122, 198, 1);
    font-size: clamp(1.3em, 5vw, 3em);
}

.transparent-block4 h1 {
    margin-bottom: 40px;
    color: white;
    font-size: clamp(1.3em, 5vw, 3em);

    @media (max-width: 767px) {
        margin-bottom: 10px;
    }
}

.transparent-block2 .ul,
.transparent-block2 .buttons,
.transparent-block3 .buttons,
.transparent-block4 .buttons,
.transparent-block5 .buttons {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1em;

    .li {
        padding: 1em 1em 1em 3em;
        border-radius: 0.4em;
        width: 100%;
        height: auto;
        background: url("https://tentorium.ru/wp-content/themes/tentorium-main/assets/images/marafon-stroynosti/check_green.svg") left 25px center / auto no-repeat, white;
        box-shadow: 1px 3px 5px rgba(0,0,0,0.15);
        border: 1px solid #ffffff;
        justify-content: flex-start;
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
        font-size: 1.5em;
        text-align: start;

        @media (max-width: 767px) {
            font-size: 1em;
            padding: 0.8em 0.8em 0.8em 2.6em;
            background-size: 20px;
            background-position: left 15px center;
        }
    }
}

.transparent-block2 .buttons,
.transparent-block3 .buttons,
.transparent-block4 .buttons,
.transparent-block5 .buttons {
    margin-top: 30px;

    @media (max-width: 767px) {
        margin-top: 15px;
    }

    .button {
        display: inline-block;
        padding: 0.7em 1em;
        background-color: rgba(214, 122, 198, 1);
        border-radius: 0.4em;
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        cursor: pointer;
        font-size: 1.5em;
        letter-spacing: 6px;
        width: 100%;

        @media (max-width: 767px) {
            font-size: 1em;
        }
    }
}

.transparent-block3 .buttons {
    margin-top: 40px;
    .button {
        letter-spacing: 1px;
    }
}

.transparent-block4 .buttons {
    margin-top: 50px;

    @media (max-width: 767px) {
        margin-top: 30px;
    }

    .button {
        padding: 0.7em 5em;
        letter-spacing: 2px;
        width: auto;
        background-color: #fff;
        border-radius: 0.4em;
        color: rgba(214, 122, 198, 1);
        min-width: 400px;

        @media (max-width: 767px) {
            width: 100%;
            min-width: unset;
            padding: 0.7em;
        }
    }
}

.transparent-block5 .buttons {
    margin-top: 0;

    .button {
        padding: 0.7em 1em;
        width: 100%;
        letter-spacing: 1px;
    }
}

.title-product {
    cursor: default;
    font-size: 1.5em;
    text-align: start;
    line-height: 150%;

    @media (max-width: 1023px) {
        font-size: 1.3em;
    }

    @media (max-width: 767px) {
        font-size: 1em;
        padding-left: 1em;
    }
}

.title-product-item2 {
    text-transform: uppercase;
    white-space: nowrap;
}

.columns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    flex-wrap: nowrap;
    gap: 2em;

    @media (max-width: 1023px) {
        gap: 1.5em;
    }

    @media (max-width: 767px) {
        flex-direction: column;
        gap: 2em;
        justify-content: start;
        align-items: stretch;
    }
}

.slide--13 .columns {
    justify-content: space-around;

    @media (max-width: 767px) {
        gap: 4em;
    }
}

.column {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: stretch;
    gap: 2em;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;

    @media (max-width: 1023px) {
        gap: 1.5em;
    }

    @media (max-width: 767px) {
        gap: 1em;
    }
}

.slide--13 .column {
    gap: 1em;
    flex-grow: unset;
}

.column-title {
    padding: 0.7em;
    background-color: rgba(214, 122, 198, 1);
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    cursor: default;
    font-size: 1.5em;

    @media (max-width: 1023px) {
        font-size: 1.3em;
    }

    @media (max-width: 767px) {
        font-size: 1em;
        padding: 0.5em;
    }
}

.column-text {
    color: #fff;
    cursor: default;
    font-size: 1.5em;
    line-height: 150%;
    text-align: start;

    @media (max-width: 1023px) {
        font-size: 1.3em;
    }

    @media (max-width: 767px) {
        font-size: 1em;
    }
}

.contacts {
    .contact {
        font-size: 1.5em;
        padding-bottom: 1em;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: start;
        flex-wrap: nowrap;
        gap: 1em;

        @media (max-width: 767px) {
            font-size: 1em;
            padding-bottom: 0.8em;
        }

        a {
            color: black;

            &:hover {
                color: rgba(214, 122, 198, 1);
            }
        }
    }
}

.winner-photo {
    max-width: 70vw;

    @media (max-width: 767px) {
        max-width: unset;
    }
}

@media (min-width: 600px) {
    .li {
        flex: 0.5;
        width: unset;
    }

    .header__logo {
        display: block;
    }

    .header__container {
        justify-content: space-between;
        width: calc(100% - 2em);
    }
}

@media (min-width: 740px) {
    .pink-block__buttons {
        flex-direction: row;
    }

    .slide-mobile-devider {
        display: none;
    }

    .header {
        position: sticky;
        top: calc(0px - var(--header-height));
    }

    .img-as-background {
        position: absolute;
    }

    .slides-wrapper {
        overflow-y: scroll;
        scroll-snap-type: y mandatory;
        height: 100dvh;
        scroll-padding-top: var(--header-height);
    }

    .slide {
        height: calc(100dvh - var(--header-height));
    }

    .pink-block__button {
        font-size: 0.9em;
    }
}

@media (min-width: 1240px) {
    :root {
        --header-height: 36px;
    }

    .li {
        min-width: 220px;
    }

    .pink-block__text {
        padding: 5em 6em 3em;
    }

    .header__text {
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        width: 40ch;
    }
}