/* CustomHeader styles start */
.s-header {
    position: absolute;
    z-index: 100;
    width: 100%;
}

.s-header .s-container {
    padding: 0 15px;
    max-width: 100%;
}

.s-header_contacts a {
    color: var(--c-two);
}

.s-header_sub-menu {
    border-color: var(--bg-two);
}

.s-header_burger-menu span {
    background-color: var(--bg-three);
}

.s-header_dropdown_button {
    color: var(--c-two);
}

.s-header_link-became-student {
    background-color: var(--bg-two);
}

.navbar-nav .dropdown-menu {
    background-color: var(--bg-five);
}

.s-header_link {
    color: var(--c-two);
} 

.s-header_sub-menu_account a {
    background-color: var(--bg-two);
}

.s-header_dropdown_item::before {
    color: var(--c-two);
}
/* CustomHeader styles end */

/* Intro styles start */
.s-summer-intro {
    color: var(--c-two);
    background: url(../image/summer/intro.png) center/cover no-repeat;
    text-align: center;
    padding-top: 210px;
    padding-bottom: 170px;
}

h1,
h2 {
    font-family: 'Rostov', sans-serif;
    font-weight: 400;
}

.ytp-impression-link {
    display: none !important;
}

.s-summer-intro_subtitle {
    font-size: var(--fz-five);
    margin-bottom: 50px;
}

.s-summer-intro_container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.s-summer-intro_title {
    font-size: var(--fz-seven);
    max-width: 900px;
    position: relative;
    padding: 50px 0 110px;
    margin: 0 auto;
    line-height: 100%;
}


.s-summer-intro_title::before,
.s-summer-intro_title::after {
    font-family: 'Rostov', sans-serif;
    font-size: var(--fz-six);
    color: var(--c-seven);
    transform: rotate(-15deg);
    line-height: 100%;
    position: absolute;
    width: max-content;
}

.s-summer-intro_title::before {
    content: '2024';
    top: 0;
    left: 0;
}

.s-summer-intro_title::after {
    content: '13-16 лет';
    transform: rotate(15deg);
    bottom: 0;
    right: 0;

}

.s-summer-intro_title span {
    font-size: var(--fz-seven);
}

.s-summer-intro_subtitle span {
    color: var(--c-seven);
    font-weight: 400;
}

/* Intro styles end */

/* Video styles start */

.s-summer-video_container {
    display: flex;
    justify-content: center;
}

.s-summer-video_wrapper {
    width: 50%;
    height: 300px;
}

.s-summer-video_container {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-basis: 50%;
}

.s-summer-tagline_text {
    max-width: 50%;
}

.s-summer-video_wrapper iframe {
    width: 100%;
    height: 100%;
}

.s-summer-tagline_text {
    font-size: var(--fz-three);
    display: flex;
    flex-direction: column;
    line-height: 150%;
    text-align: center;
}


.s-summer-tagline_text::before,
.s-summer-tagline_text::after {
    content: '';
    align-self: flex-start;
    font-size: 100px;
    display: block;
    width: 50px;
    height: 50px;
    background: url(../image/svg/summer-tagline-icon.svg) center / cover no-repeat;
}

.s-summer-tagline_text::after {
    transform: rotate(180deg);
    align-self: flex-end;
}

.s-summer-fun-btn {
    padding: 10px 25px;
    background: var(--bg-eight);
    color: var(--c-one);
    width: fit-content;
}

.s-summer-video_video-wrapper {
    width: 40%;
    height: 270px;
}

.s-summer-video {
    background-color: var(--bg-three);
}

/* Video styles end */

/* Targets styles start */

.s-summer-targets_title {
    margin-bottom: 100px;
}

.s-summer-targets_container {
    overflow: hidden;
}


.s-summer-targets_cards {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto 40px;

}

.s-summer-targets_card {
    text-align: center;
    max-width: 400px;
    transform: rotate(-10deg);
    position: relative;
}

.s-summer-targets_card::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 200px;
    width: 150%;
}

.s-summer-targets_card:nth-child(even) {
    transform: rotate(10deg);
    align-self: flex-end;
}


.s-summer-targets_card-title {
    font-family: 'Rostov', sans-serif;
    font-size: var(--fz-three);
    padding: 0 10px;
    border-radius: 15px;
    line-height: 150%;
    background-color: var(--bg-eight);
    width: fit-content;
    color: var(--c-two);
    font-weight: 400;
    margin: 0 auto;
    margin-bottom: 10px;
}

.s-summer-targets_card:nth-child(2) h4 {
    background-color: var(--bg-nine);
}

.s-summer-targets_card:nth-child(3) h4 {
    background-color: var(--bg-ten);
}

.s-summer-targets_card:nth-child(4) h4 {
    background-color: var(--bg-eleven);
}

.s-summer-targets_card:first-child::after {
    transform: translate(30%, -30%) rotate(15deg);
    background: url(../image/summer/yellow-dotted-line.png) center/contain no-repeat;
}

.s-summer-targets_card:nth-child(2) {
    margin-bottom: 200px;
}


.s-summer-targets_card:nth-child(2)::after {
    width: 120%;
    transform: translate(-55%, 90%) rotate(-15deg);
    background: url(../image/summer/blue-dotted-line.png) center/contain no-repeat;
}

.s-summer-targets_card:nth-child(3) {
    margin-bottom: 150px;
}

.s-summer-targets_card:nth-child(3)::after {
    height: 250px;
    transform: translate(30%, 30%) rotate(10deg);
    background: url(../image/summer/green-dotted-line.png) center/contain no-repeat;
}

.s-summer-targets_card:nth-child(4)::before {
    height: 170px;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    transform: translate(-70%, 55%) rotate(-15deg);
    background: url(../image/summer/blue-line.png) center/contain no-repeat;
}


/* Targets styles end */


/* Development styles start */

.s-summer-development {
    background: url(../image/summer/development-fon.jpg) center/cover no-repeat;
}

.s-summer-development_card {
    flex-basis: 350px;
}

.s-team-our_card-wrap {
    height: auto;
    width: 80%;
}

.s-home-faq_title {
    margin-bottom: 50px;
    color: var(--c-two);
}

/* Development styles end */

/* Schedule styles start */

.s-summer-schedule_container {
    display: flex;
    flex-direction: column;
}

.s-summer-schedule_title {
    max-width: 550px;
}

.s-summer-schedule_text {
    max-width: 650px;
}

.s-summer-schedule_img {
    width: 100%;
}

.s-summer-schedule_schedule-wrap {
    z-index: -1;
    max-width: 500px;
    position: relative;
    margin: 0 0 0 auto;
    position: relative;
}

.s-summer-schedule_schedule::after {
    position: absolute;
    top: 50%;
    left: -150px;
    transform: translate(-50%, -100%);
    content: '';
    display: block;
    width: 150px;
    height: 150px;
    background: url(../image/summer/yellow-arrow.png) center/contain no-repeat;
}

.s-summer-schedule_schedule {
    background-color: var(--bg-three);
    border: 50px solid var(--bg-twelve);
    border-width: 70px 70px 50px 50px;
    transform: rotate(2deg);
    padding: 5px 25px;
    border-radius: 50px;
    position: relative;
    z-index: 1;
}

.s-summer-schedule_schedule-wrap::before {
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    z-index: -2;
    position: absolute;
    border-radius: 50px;
    background-color: var(--bg-four);
    top: 0;
    box-sizing: border-box;
    left: 0;
}

/* Schedule styles end */


/* Info-menu styles start */
h3.s-info-menu_item-title {
    font-family: 'Rostov', sans-serif;
    font-size: var(--fz-five);
    font-weight: 400;
}

.s-info-menu_right h5 {
    font-weight: 400;
}

.s-home-info_schedule {
    background-color: var(--bg-three);
    padding: 20px 15px 20px 30px;
}

.s-info-menu .s-gallery_large-wrap {
    max-width: 80%;
}

ol.s-info-menu_list,
ul.s-info-menu_list {
    margin-bottom: 10px;
    list-style: disc;
    padding-left: 30px;
}

.hide {
    display: none;
}

ol.s-info-menu_list {
    list-style-type: decimal;
}

ol.s-info-menu_list li {
    /* margin-left: 20px; */
}

ul.s-info-menu_list li {
    position: relative;
}

.s-info-menu_title {
    font-size: var(--fz-six);
    margin-bottom: 50px;
}

.s-info-menu_title span {
    color: var(--c-seven);
}

.s-info-menu_links {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
}


.s-info-menu_links a {
    display: inline-block;
    border-radius: 19px;
}


/* Info-menu styles end */

/* Media start */
@media screen and (max-width: 1200px) {}

@media screen and (max-width: 1000px) {

    /* Video styles start */
    .s-summer-video_container {
        flex-direction: column-reverse;
    }

    .s-summer-video_wrapper {
        width: 100%;
        height: 450px;
    }


    .s-summer-tagline_text {
        max-width: 100%;
    }

    .s-summer-video_video-wrapper {
        width: 100%;
        height: 450px;
    }

    /* Video styles end */

    .s-info-menu .s-gallery_large-wrap {
        height: 350px;
    }


    /* Targets styles start */

    .s-summer-targets_cards {
        max-width: 800px;
    }

    .s-summer-targets_card::after {
        height: 150px;
        width: 70%;
    }


    .s-summer-targets_card:first-child::after {
        transform: translate(120%, -0%) rotate(35deg);
    }

    .s-summer-targets_card:nth-child(2) {
        margin-bottom: 100px;
    }

    .s-summer-targets_card:nth-child(2)::after {
        width: 80%;
        transform: translate(-40%, 90%) rotate(-10deg);
    }

    .s-summer-targets_card:nth-child(3) {
        margin-bottom: 100px;
    }

    .s-summer-targets_card:nth-child(3)::after {
        height: 120px;
        transform: translate(100%, 100%) rotate(20deg);
        background: url(../image/summer/green-dotted-line.png) center/contain no-repeat;
    }


    .s-summer-targets_card:nth-child(4)::before {
        height: 100px;
        width: 100%;
        transform: translate(-70%, 120%) rotate(-15deg);
    }

    /* Targets styles end */

    /* Schedule styles start */
    .s-summer-schedule_schedule-wrap {
        margin: 0 0 0 auto;
    }

    .s-summer-schedule_schedule-wrap::after {
        transform: translate(0, -50%);
    }

    /* Schedule styles end */

}

@media screen and (max-width: 991px) {

    .navbar-collapse  {
        background-color: var(--bg-five);
    }

    .s-header_dropdown_item::before {
        content: none;
    }
    
}


@media screen and (max-width: 768px) {

    /* Intro start */

    /* Intro end */

    /* Video styles start */
    .s-summer-video_wrapper {
        max-width: 100%;
        height: 300px;
    }

    .s-summer-video_video-wrapper {
        height: 300px;
    }

    /* Video styles end */

    .s-info-menu .s-gallery_large-wrap {
        height: 250px;
    }


    /* Targets styles start */
    .s-summer-targets_card:nth-child(4)::before {
        content: none;
    }

    .s-summer-targets_card::after {
        content: none;
    }

    .s-summer-targets_card:nth-child(2) {
        margin-bottom: 0;
    }

    .s-summer-targets_card:nth-child(3) {
        margin-bottom: 0;
    }

    .s-summer-targets_cards {
        gap: 70px;
    }


    /* Targets styles end */

    /* Schedule styles start */
    .s-summer-schedule_schedule-wrap {
        width: 100%;
        margin-top: 40px;
    }

    .s-summer-schedule_schedule-wrap::after {
        height: 100px;
        width: 100px;
        /* top: -100px;
        left: 25%; */
        z-index: 100;
        transform: scale(-1, 1) translate(-50%, 0) rotate(90deg);
    }

    /* Schedule styles end */

}

@media screen and (max-width: 480px) {

    /* Info start */
    .s-programm-info_title {
        padding: 16px 24px;
    }

    .s-programm-info_right {
        padding: 20px 10px;
        text-align: center;
    }

    .s-programm-info .s-container {
        padding: 0;
    }

    .s-programm-info_title {
        max-width: 100%;
        width: 100%;
        text-align: center;
    }

    .s-programm-info_left {
        width: 100%;
    }

    .s-programm-info_link {
        width: 100%;
    }

    .s-summer-intro_title span {
        color: var(--c-two);
        font-size: var(--fz-six);
    }

    /* Info end */

    /* Video styles start */
    .s-summer-video_wrapper {
        max-width: 100%;
        height: 170px;
    }

    .s-summer-video_video-wrapper {
        height: 170px;
    }

    /* Video styles end */


    /* Comments start */
    .s-programm-comments_title {
        margin-bottom: 30px;
    }

    /* Comments end */

    /* Tagline start */
    .s-summer-tagline_text::before,
    .s-summer-tagline_text::after {
        width: 50px;
        height: 50px;
    }

    /* Tagline end */

    .s-info-menu .s-gallery_large-wrap {
        max-width: 95%;
        height: 200px;
    }


    /* Targets styles start */

    .s-summer-targets_cards {
        gap: 40px;
    }

    .s-summer-targets_card:nth-child(even) {
        transform: rotate(5deg);
    }

    .s-summer-targets_card:nth-child(odd) {
        transform: rotate(-5deg);
    }


    /* Targets styles end */

    .s-summer-schedule_schedule {
        border-width: 20px;
    }
}

/* Media end */


/* lv start */
.s-lv .s-programm-reg {
    background-image: none;
}

/* lv end */