﻿body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    font-size: 1em !important;
}

section {
    margin-top: 50px;
}

a {
    color: #fff !important;
    text-decoration: none !important;
}

.top_menu {
    position: fixed;
    top: -1px;
    left: 0;
    width: 100%;
    height: 134px;
    background: url("/assets/img/menu.svg") repeat-x left top;
    z-index: 10;
}

.logo {
    float: left;
    margin-left: 80px;
    width: 109px;
    height: 94px;
    background: url("/assets/img/logo.svg");
}

.play {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 94px;
    height: 92px;
    background: url("/assets/img/play.svg");
}

.line_menu {
    float: left;
    color: #7C7C7C;
    list-style: none;
    margin: 35px 0 0 0;
    padding-left: 20px;
}

.menu_left {
    float: right;
    padding-right: 80px;
    padding-top: 25px;
}

.btn1 {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-warning1 {
    color: #fff !important;
    border-radius: 20px !important;
    background: linear-gradient(180deg, #FED13C 0%, #FE9D3A 65.1%) !important;
    float: right;
    margin-top: 25px;
    margin-right: 20px;
    padding-left: 30px;
    padding-right: 30px;
    height: 42px;
    padding-top: 8px;
}

.btn-warning2 {
    color: #fff !important;
    border-radius: 20px !important;
    background: linear-gradient(180deg, #FED13C 0%, #FE9D3A 65.1%) !important;
    float: left;
    margin-right: 20px;
    padding-left: 30px;
    padding-right: 30px;
    height: 42px;
    padding-top: 8px;
}

.btn-orang {
    color: #DE4300 !important;
    border-radius: 25px !important;
    background: #FED13C !important;
    border: 1px solid #FFD450;
    padding-left: 30px;
    padding-right: 30px;
    height: 48px;
    padding-top: 11px;
    padding-bottom: 11px;
}

.btn-orang-border {
    color: #FF9931 !important;
    border-radius: 25px !important;
    border: 1px solid #FFD450;
    background: #fff !important;
    padding-left: 30px;
    padding-right: 30px;
    height: 48px;
    padding-top: 11px;
    padding-bottom: 11px;
}

.line_menu > li {
    float: left;
    margin-left: 20px;
}

.line_menu > li > a {
    color: #7C7C7C !important;
    text-decoration: none;
    font-family: Roboto, serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 19px;
    letter-spacing: 0;
    text-align: center;
}

.line_menu > li > a:hover {
    color: #666565 !important;
    text-decoration: underline;
}


.head_slide {
    padding-left: 0;
    padding-top: 0;
    width: 100%;
    height: auto;
    padding-bottom: 80px;
    background: url("/assets/img/slide1.svg") no-repeat;
    background-size: cover;
}

.nav_site {
    height: 48px;
    width: 131px;
    border-radius: 20px;
    background: url("/assets/img/nav.svg") no-repeat;
    float: right;
    margin-top: -4px;
}

.nav_site_link {
    float: left;
    width: 60px;
    height: 50px;
}

.slide_text {
    color: #fff;
    padding-top: 210px;
}

.slide_text_header {
    font-family: Roboto, serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 0;
    text-align: left;
    margin-bottom: 20px;
}

.slide_text_description {
    font-family: Roboto, serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    text-align: left;
    min-height: 135px;
}

.slide_text_info {
    margin-top: 25px;
    width: 100%;
    float: left;
}

.slide_text_nav {
    width: 100%;
    float: left;
    margin-top: 35px;
}

.left_arrow {
    background: url("/assets/img/left_arrow.svg") no-repeat;
    width: 49px;
    height: 49px;
    float: left;
    cursor: pointer;
}

.right_arrow {
    background: url("/assets/img/right_arrow.svg") no-repeat;
    width: 49px;
    height: 49px;
    float: left;
    margin-left: 20px;
    cursor: pointer;
}

.left_arrow:hover {
    opacity: 0.5;
}

.right_arrow:hover {
    opacity: 0.5;
}

.header_block {
    font-family: Roboto, serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0;
    text-align: center;
    color: #FF8100;
}

.header_block_w {
    font-family: Roboto, serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0;
    text-align: center;
    color: #fff;
}

.header_block_fff {
    margin-left: -15px;
    font-family: Roboto, serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0;
    text-align: center;
    color: #fff;
}

.content_about_block {
    margin-top: 30px;
}

.text_nav {
    margin-top: 30px;
}

.boy {
    float: right;
    background: url("/assets/img/boy.svg") no-repeat;
    width: 132px;
    height: 234px;
    margin-top: 64px;
    margin-right: 20px;
}

.girl {
    float: left;
    background: url("/assets/img/girl.svg") no-repeat;
    width: 171px;
    height: 234px;
    margin-top: 75px;
}

.star_section {
    background: url("/assets/img/star_cover.svg") no-repeat;
    width: 100%;
    height: auto;
    padding-bottom: 180px;
    background-size: cover;
    padding-top: 170px;
    margin-top: -170px;
}

.notes {
    background: url("/assets/img/notes.svg") no-repeat;
    width: 100%;
    height: auto;
    padding-top: 70px;
    padding-bottom: 200px;
    background-size: cover;
}

.notes_timeline {
    width: 1020px;
    padding-top: 30px;
    margin: auto;
    position: relative;
    overflow: hidden;
    padding-bottom: 50px;
    cursor: grab;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

.notes_timeline.is-dragging {
    cursor: grabbing;
}

/* позиція стрічки розкладу: --day-off задає центрування з медіазапиту,
   --day-x змінює JS під час гортання/перетягування */
#day_line {
    transform: translateX(calc(var(--day-off, 0px) + var(--day-x, 0px)));
    transition: transform .5s cubic-bezier(.25, .8, .25, 1);
    will-change: transform;
}

/* під час перетягування стрічка має йти строго за пальцем/мишею, без анімації */
.notes_timeline.is-dragging #day_line {
    transition: none;
}

.arrov_note_left.is-disabled,
.arrov_note_right.is-disabled {
    opacity: .35;
    cursor: default;
}

.line_note {
    position: absolute;
    top: 30px;
    left: 100px;
    width: calc(100% - 190px);
    height: 2px;
}

.arrov_note_right {
    position: absolute;
    margin-top: -30px;
    right: 25px;
    cursor: pointer;
}

.arrov_note_left {
    position: absolute;
    margin-top: -30px;
    left: 35px;
    transform: rotate(180deg);
    cursor: pointer;
}

.top_video {
    position: relative;
    height: 432px;
    border-radius: 20px;
}

.star_text {
    margin-top: 60px;
}

.star_text_item {
    color: #fff;
    font-family: Roboto, serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 27px;
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 30px;

}

.star_text_item_img {
    background: url("/assets/img/star.png") no-repeat;
    background-size: cover;
    width: 50px;
    height: 49px;
    margin-left: calc(50% - 25px);
    margin-bottom: 20px;
}

.about_content {
    margin-top: 50px;
}

.about_smoll_title {
    font-family: Roboto, serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    text-align: center;
    color: #7C7C7C;
    width: 270px;
    margin: auto;
    position: absolute;
    top: 200px;
    left: calc(50% - 135px);
}

.image {
    position: relative;
}

.mobile_menu {
    float: right;
    margin-left: 20px;
    width: 44px;
    height: 44px;
    background: url("/assets/img/m_menu.svg");
    display: none;
}

.menu_left_btn {
    width: 220px;
    float: right;
    display: none;
}


.menu_left_btn1 {
    width: 220px;
    float: right;
    color: #7C7C7C;
    margin-right: 20px;
    display: block;
    margin-top: 32px;
}

.menu_left_btn1 a {
    color: #7C7C7C !important;
}

.slide_img {
    border-radius: 25px !important;
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}


.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) / -0) !important;
    margin-left: calc(var(--bs-gutter-x) / -2);
    width: 100%;
}


.slide_time_item {
    position: relative;
    display: inline;
    width: 252px;
    height: 315px;
    margin-top: -7px;
    margin-left: 40px;
    margin-right: 40px;
    z-index: 2;
}

/* херо-карусель: слайди накладені в одній комірці сітки, тому висота секції
   стабільна (за найвищим слайдом) і перемикання йде плавним крос-фейдом */
.hero_slides {
    display: grid;
}

.hero_slides > .slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility 0s linear .6s;
}

.hero_slides > .slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transition: opacity .6s ease, visibility 0s;
}

/* галерея «Екскурсія садочком»: фото накладені одне на одне в одній комірці сітки,
   тому перемикання йде плавним крос-фейдом, а висота блоку не стрибає */
.excursion_slides {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

/* біла підкладка під фото з тонкою світло-сірою рамкою: рамка лежить на сталій
   підкладці, тому під час перемикання вона не блимає разом із фото */
.excursion_slides::before {
    content: "";
    box-sizing: border-box;
    grid-area: 1 / 1;
    align-self: start;
    justify-self: center;
    width: calc(80% + 6px);
    height: calc(100% + 6px);
    margin-top: -3px;
    background: #fff;
    border: 3px solid #E0E0E0;
    border-radius: 13px;
}

/* visibility приховується лише ПІСЛЯ того, як фото досягло прозорості,
   інакше попереднє фото зникає миттєво і видно порожній кадр */
.excursion_slides .slideCH {
    grid-area: 1 / 1;
    align-self: start;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility 0s linear .6s;
}

.excursion_slides .slideCH.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
    transition: opacity .6s ease, visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
    .excursion_slides .slideCH,
    .excursion_slides .slideCH.is-active {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero_slides > .slide,
    .hero_slides > .slide.is-active {
        transition: none;
    }
}

/* текст і картинка слайда вирівняні по центру своєї вертикальної зони,
   тому заголовок, опис, кнопка та стрілки стоять навпроти середини фото */
.hero_slides .slide_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero_slides .top_video {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cost {
    background: url("/assets/img/cost.svg") no-repeat;
    width: 100%;
    min-height: 800px;
    padding-top: 70px;
    padding-bottom: 200px;
    background-size: cover;
}

.cost_bg {
    background: url("/assets/img/cost_bg.svg") no-repeat;
    background-size: cover;
}

.cost_div {
    width: 457px;
    height: 432px;
    margin-left: 30px;
    background: linear-gradient(180deg, #9CDCDC 0%, #44ACAD 100%);
    border-radius: 20px;

}

.cost_title {
    font-family: Roboto, serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    text-align: center;
    color: #409F9F;
    margin: auto;
    position: absolute;
    top: 10%;
    left: calc(50% - 94px);
    padding-top: 60px;
    background: url("/assets/img/cost_bg_t.svg") no-repeat;
    background-size: cover;
    width: 189px;
    height: 139px;
}

.cost_text {
    font-family: Roboto, serif;
    font-size: 0.9em;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    width: 94%;
    margin: auto;
    position: absolute;
    top: 250px;
    text-align: center;
}

.cost_text_btn {
    font-family: Roboto, serif;
    font-size: 0.9em;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    width: 94%;
    margin: auto;
    position: absolute;
    top: 350px;
    background-color: #409F9F;
    padding: 10px 10px 10px 45px;
    border-radius: 10px;
    text-align: center;
}

.first_cost {
    max-width: 470px;
    height: 710px;
    margin: auto;
}

.about_smoll_title_num {
    font-family: Roboto, serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    text-align: left;
    color: #7C7C7C;
    width: 270px;
    padding-left: 19%;
    margin: auto;
    position: absolute;
    top: 150px;
    left: calc(50% - 135px);
}

.absolute_intop {
    margin-top: -30px;
}

.absolute_intop_double {
    margin-top: -100px;
}

.left_img {
    float: left;
}

.right_img {
    float: right;
    margin-right: -40px;
}

.star_text_item_h {
    color: #fff;
    font-family: Roboto, serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 27px;
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 30px;

}

.image_h {
    position: relative;

}

.fill_content {
    width: 100%;
}

.image_h > img {
    width: 100%;
}

.footer {
    background: url("/assets/img/footer.svg") repeat-y;
    background-size: cover;
    height: 360px;
    padding-top: 50px;
    padding-bottom: 50px;
    color: #ffffff;
}

.SlideAfretVideo{
    width: 80%;
    margin: 0 auto;
    border-radius: 10px;
}

.mobMenu{
    position: fixed;
    padding: 10px;
    width: 90%;
    left: 5%;
    z-index: 999;
    background-color: #fff;
    top:85px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.mobitem>a{
    color: #666565 !important;
    width: 100%;
    cursor: pointer;
}
.mobitem{
    width: 100%;
    padding: 10px;
}

@media (max-width: 1399px) {
    .about_smoll_title_num {
        margin-left: 9%;
        margin-top: -30px;
    }
}

/* lg */
@media (max-width: 1199px) {
    .about_smoll_title_num {
        margin-left: 14%;
        margin-top: -40px;
    }

    .header_block_fff {
        margin-left: 0;
    }

    .sun_image {
        display: none;
    }

    .logo {
        width: 86px;
        height: 74px;
        background: url("/assets/img/logo_smol.svg");
    }

    .slide_text_header {
        text-align: center;
    }

    .slide_text_description {
        text-align: center;
        height: 120px;
    }

    .btn-warning2 {
        margin-left: calc(50% - 107px);
    }

    .left_arrow {
        margin-left: calc(50% - 53px);
    }

    .top_menu {
        height: 160px;
        background-image: none;
        background-color: #F4F4F4;

    }

    .mobile_menu {
        display: block;
    }

    .menu_left_btn {
        width: 100%;
        display: block;
    }

    .menu_left_btn1 {
        display: none;
    }

    .btn-warning1 {
        margin-top: 20px;
        margin-right: calc(50% - 100px);
    }

    .top_video {
        margin-left: 1%;
    }

    /* на десктопі рядки зсунуті вліво на 12px; на менших екранах вирівнюємо по центру */
    .row {
        margin-left: 0;
        margin-right: 0 !important;
    }

    /* фіксована висота обрізала довгі описи слайдів і текст налазив на кнопку */
    .slide_text_description {
        height: auto;
        min-height: 120px;
    }

    /* картка ціни була абсолютно спозиціонована і випадала з бірюзового фону */
    #cina .about_content {
        position: static !important;
        margin-top: 30px !important;
        justify-content: center;
    }

    .cost {
        min-height: 0;
    }

    .cost_div {
        margin-left: auto;
        margin-right: auto;
    }

    /* на десктопі цей відступ заповнюють картинки сонця, які на менших екранах сховані */
    .num_block > .row:first-child {
        margin-top: 30px !important;
    }

}

/* xl */
@media (max-width: 1015px) {
    .addr {
        margin-top: 30px;
        width: 100%;
    }

    .footer {
        height: 490px;
    }

    /* рівно дві картки розкладу (по 332px), щоб вони стояли по центру */
    .notes_timeline {
        width: 664px;
    }

    /* картинка картки ширша за саму картку, тому стрічку разом з лінією зсуваємо, щоб картки стояли по центру
       (--day-off центрує стрічку, --day-x змінює JS під час гортання) */
    #day_line {
        --day-off: -35px;
    }

    /* лінія теж зсувається на -35px, тому компенсуємо це значенням left,
       щоб вона не заходила за кнопки */
    .line_note {
        left: 135px;
        transform: translateX(-35px);
    }

}

/* xl */
@media (max-width: 955px) {
    /* .cost_div{
        margin-left: 40px;
        margin: auto;
    } */
    .footer {
        height: 550px;
    }
    .SlideAfretVideo{
        width: 100%;
    }
    /* підкладка мусить мати ту саму ширину, що й фото */
    .excursion_slides::before{
        width: calc(100% + 6px);
    }
    .slide_text_description{
        min-height: 180px;
    }
}

/* md */
@media (max-width: 720px) {

    .reybow {
        display: none;
    }

    .first_cost {
        max-width: 470px;
        height: 560px;
    }

    .btn-warning1 {
        margin-top: 20px;
        margin-right: calc(50% - 100px);
    }

    .footer {
        height: 550px;
    }

    /* рівно одна картка розкладу (332px), щоб вона стояла по центру і не виходила за екран */
    .notes_timeline {
        width: 332px;
    }

}

/* sm */
@media (max-width: 540px) {
    .top_menu {
        height: 160px;
        background-image: none;
        background-color: #F4F4F4;
    }

    .reybow {
        display: none;
    }

    .footer {
        height: 550px;
    }

    .top_video {
        padding-left: 20px;
    }

    .myHTMLvideo {
        height: 80%;
    }

    .play {
        margin-top: 100px;
    }
}

@media (max-width: 475px) {
    /* .nav_site{
        display: none;
    } */
    .reybow {
        display: none;
    }

    .logo {
        margin-left: 20px;
    }

    .mobile_menu {
        display: block;
        margin-right: -50px;
    }


    .cost_text {
        font-size: 0.7em;
    }


    .cost_text_btn {
        font-size: 0.7em;
    }

    .first_cost {
        max-width: 470px;
        height: 450px;
    }

    .star_text_item > img {
        width: 340px;
    }

    /* у «Коротко про нас» картинки лишаються природного розміру, інакше текст налазить на малюнок */
    .about_grid .star_text_item > img {
        width: auto;
        max-width: 100%;
    }

    .first_cost > img {
        width: 340px;
    }

    /* на вузьких телефонах картинки шириною 340px виходили за край екрана */
    .star_text_item > img,
    .first_cost > img {
        max-width: 100%;
    }

    .about_smoll_title_num {
        margin-left: 12%;
    }

    .footer {
        height: 550px;
    }

}

/* телефони: кроки «Як потрапити» в одну колонку без великих порожніх проміжків між малюнками */
@media (max-width: 575px) {
    .num_block .image_h ~ .image_h {
        margin-top: -110px;
    }
}
