@font-face {
    font-family: 'Roboto';
    src: url('./modules/fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

body {
    overflow-x: hidden;
}

.button-style {
    border: none;
    border-radius: 60px;
    background-color: #06acea;
    font-weight: 500;
    color: white;
    padding: 10px 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.button-style:hover {
    background-color: #0087cf;
}

.btn-custom {
    height: 100%;
    overflow-wrap: break-word;
    text-align: center; 
}

.navigation-style {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navigation-style-container {
    max-width: 1200px;
}

.change-style-block {
    background-color: #013c62;
    color: white;
}

.block-shadow {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.navbar-titles-style {
    display: flex;
    justify-content: space-between;
    list-style: none;
}

.navbar-toggler-btn {
    display: none;
}

.navigation-style-main-logo {
    transition: background-color 0.4s ease;
}

.navigation-style-main-logo:hover {
    background-color: #0099ed;
    color: white;
    transition: background-color 0.4s ease;
}

.navbar-titles-style li:hover {
    color: #0099ed;
}

.main_background_winter_fairy_tale {
    background-image: url("./images/main_image.jpg");
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
    min-height: 700px;
    width: 100%;
}

.main_background_layer_winter_fairy_tale {
    background-color: rgba(0, 0, 0, 0.5);
    min-height: 700px;
    width: 100%;
}

.navigation-style-main-logo {
    box-sizing: border-box;
    border-radius: 60px;
    padding: 0 15px;
    background: rgb(245, 245, 245);
}

.text_stile_winter_fairy_tale {
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    line-height: 30.4px;
    text-align: center;
}

.header_winter_fairy_tale_text {
    padding-top: 150px;
}

.discount {
    border: 1px solid rgb(0, 153, 237, 0.7);
    border-radius: 15px;
    background-color: rgb(0, 153, 237, 0.5);
}

main {
    background: rgb(249, 249, 249);
}

.direction_section_style {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0099ed;
    color: white;
    line-height: 30.4px;
    text-align: left;
}

.direction_section_style img {
    width:110px;
    margin-bottom: 20px;
}

.advantages-container {
    max-width: 900px;
}

.advantages {
    min-width: 280px;
    max-width: 280px;
    background-color: rgb(220, 236, 255);
    margin-bottom: 1.1rem;
    border-radius: 10px;
    padding: 10px;
    line-height: 30.4px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantages:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); 
}

.include-title-container {
    display: flex;
    justify-content: center;
    border-radius: 15px;
    overflow: hidden;
}

.include-title-container img {
    max-width: 400px;
    object-fit: cover;
}

.include-title-svg-container {
    width: 20px;
}

.include-title {
    max-width: 400px;
    padding: 5px;
    background-color: rgb(255, 255, 255);
}

.include-title-big-size {
    height: 150px;
    width: 400px;
}

.include-title-small-size {
    height: 150px;
}

.include-title-color {
    background-color: rgb(220, 236, 255);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.program-title {
    background-color: rgb(255, 255, 255);
}

.program-text-style {
    background-color: rgb(220, 236, 255);
    border-radius: 15px;
    padding: 10px;
}

.program-text-style-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    height: 80px;
    margin-right: 10px;
    padding-top: 10px;
    background-color: rgb(255, 85, 85);
    color: white;
}

.program-text-style-date span {
    margin-top: 10px;
}

.table-custom-mobile {
    display: none;
}

.btn-custom-mobile {
    display: none;
}

.accordion-body-images-container img {
    height: 150px;
    width: 225px;
    object-fit: cover;
    border-radius: 15px;
    margin: 0 5px 5px 0;
}

.image-btn {
    height: 50px;
    width: 75px;
    border-radius: 5px;
    margin-right: 5px;
}

.call-back-section {
    background-color: rgb(220, 236, 255);
}


/* отзывы */
.reviews-carousel-section {
    background-color: rgb(236, 245, 255);
}

.reviews_carousel {
    position: relative;
    max-height: 500px;
    min-width: 280px;
    max-width: 700px;
}

.reviews_carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.reviews_carousel-inner img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.reviews_carousel-item {
    display: none;
}

.reviews_carousel-item.active {
    display: block;
}

.reviews_carousel-control {
    position: absolute;
    top: 50%;
}

.prev {
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.next {
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}


/* footer */
.footer_winter_fairy_tale {
    background: url('./images/footer.png');
    background-color: #014b7a;
    background-size: auto;
    background-position: bottom center;
    background-repeat: repeat-x;
    padding-bottom: 255px;
}

.footer_winter_fairy_tale_links {
    min-width: 250px;
}

.footer_winter_fairy_tale_download_link {
    text-decoration: underline;
}

.footer_winter_fairy_tale_download_link:hover {
    border: 1px solid #0087cf;
    border-radius: 15px;
}

.footer_winter_fairy_tale_container {
    display: flex;
    justify-content: space-between;
}




/* модальное окно */
.modal-winter-fairy-tail {
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
}

.form-reviews {
    background-color: white;
}

.block_animation {
    opacity: 0; 
    transform: translateY(50px); 
    transition: opacity 0.5s ease, transform 0.5s ease; 
}

.block_animation.visible {
    opacity: 1; 
    transform: translateY(0); 
}

.block_modal_animation {
    opacity: 0; 
    transform: translateY(50px); 
    transition: opacity 0.5s ease, transform 0.5s ease; 
}

.block_modal_animation.visible {
    opacity: 1; 
    transform: translateY(0); 
}

.modal-winter-fairy-tail-success {
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
}

.modal-winter-fairy-tail-error {
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
}

.hidden {
    display: flex;
}





@media (max-width: 900px) {
    .advantages-container {
        max-width: 580px;
    }
}

@media (max-width: 860px) {
    .navbar-titles-style {
        position: absolute;
        display: none;
        width: 100%;
        background-color: white;
        top: 45px;
        left: 0;
        right: 0;
        padding: 0 0 0 15px ;
    }

    .navbar-toggler-btn {
        display: block;
        position: relative;
        border: none;
        background: none;
    }

    .footer_winter_fairy_tale_container {
        display: flex;
        justify-content: center;
    }

    .reviews_carousel-control {
        opacity: 0.5;
    }

    .content-description {
        flex-direction: column;
        align-items: center;
    }

    .program-text-style-date {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 150px;
        height: auto;
        padding-top: 0;
        padding: 5px 0;
        margin: 0;
        margin-bottom: 10px;
    }
    .program-text-style-date span {
        margin: 0;
    }

    .include-title-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hidden {
        display: block;
        border-radius: 0 0 15px 15px;
    }
}

@media (max-width: 500px) {
    .btn-custom {
        display: none;
    }
    .table-custom-mobile {
        display:table-row;
    }
    .btn-custom-mobile {
        display: block;
    }

    .include-title {
        min-width: 250px;
        max-width: 280px;
    }

    .include-title-container img {
        min-width: 250px;
        max-width: 280px;
    }
}

