@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Playwrite+DE+SAS:wght@100..400&display=swap');

#page-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow: auto;
    background-color: #fff;
}

#header {
    background: #ed098c;

    color: #fff;

}

#header a {
    font-family: "Dancing Script", cursive;
    font-size: 22px;
    font-weight: 700;
    color: #fff !important;
}

#header a:hover {
    color: #FC0 !important;
}

#header .active {
    color: #FC0 !important;
}

.navbar-section.logo {
    display: none;
}


#header .navbar-section {
    height: 4rem;
    width: 100%;
    align-items: center;
    justify-content: start;
}

.pre-header-image {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pre-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.row {
    display: flex;
    width: 100%;
    gap: 40px;
    color: #2f2f2f;
    font-size: 14px;
    font-weight: 400;
}

.col1,
.col4 {
    width: 20%;
}

.col4 {
    border-left: 1px solid rgb(176, 176, 176);
    padding-left: 15px;
}

.col4 img {
    margin-left: 0;
}

.col5 {
    width: 60%;
}

.col5 h1 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 30px;
    margin-top: 0;
    text-align: left;

}

.col-text p {
    font-size: 14px;
    margin: 05px 0;
}

.col-text span {
    font-size: 14px;
    margin-left: 30px;
    display: block;
}

.col2,
.col3 {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

.col2 h1 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 30px;
    margin-top: 0;
}

.col3 p:nth-child(1) {
    margin-top: 50px;
}

.home_img {
    width: 100%;
    /* или нужная ширина */
    height: auto;
    margin-bottom: 10px;
}

.container.grid-lg {
    max-width: 1050px;
}

.cabo {
    width: 100px;
    display: block;
}

#footer {
    width: 100%;
    height: 40px;
    margin: 0 auto;
    background-color: #ed098c !important;
    padding: 0 30px;

}

#footer .row {
    justify-content: end;
    height: 100%;
}

#footer ul {
    display: flex;
    align-items: center;
    justify-content: end;
    color: #fff !important;
}

#footer ul li {
    list-style: none;
    border-right: 1px solid white;
    padding: 0 15px;
    margin: 0;
}

#footer ul li:last-child {
    border-right: none;
}

#footer ul li a {
    color: #FC0 !important;
    list-style: none;

}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 10px;
    width: 100%;
}

.image-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    border: 4px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


@media (max-width: 840px) {

    #header .navbar-section.desktop-menu {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dropmenu {
        display: flex;
    }

    #footer .row {
        justify-content: center;
        height: 100%;
    }

    #header a {
        font-size: 20px;
        font-weight: 700;
    }
}

@media (max-width: 660px) {

    #header a {
        font-size: 17px;
    }

    .row {
        gap: 17px;
        font-size: 13px;
    }

    #footer ul li a {
        font-size: 11px;

    }

    .col-text p {
        font-size: 13px;
        margin: 05px 0;
    }

    .col3 p:nth-child(1) {
        margin-top: 55px;
    }


}

@media (max-width: 580px) {
    #header a {
        padding: 0 12px;
    }

    .dropmenu ul {
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }

    #footer ul li a {
        white-space: nowrap;

    }

    .row {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .col {
        flex: 1 1 45%;
    }

    .col2 {
        order: 1;
    }

    .col3 {
        order: 2;
    }

    .col1 {
        order: 3;
    }

    .col4 {
        order: 4;
    }

    .col5 {
        order: 0;
        flex: 1 1 100%;
        /* занимает всю строку */
    }

}


@media (max-width: 510px) {
    #header .navbar-section.desktop-menu {
        padding: 10px;
    }

    #header a {
        padding: 0 12px;
    }

    .dropmenu ul {
        flex-wrap: wrap;
        gap: 15px;
    }

    #header {
        height: 90px;
        align-items: center;
        justify-content: center;
        display: flex;
    }

    #footer ul li {

        padding: 0 5px;
    }
}

@media (max-width: 400px) {

    #header {
        height: 208px;
    }

    #header a {
        font-size: 18px;
    }

    .dropmenu ul {
        flex-direction: column;
        gap: 5px;
    }




    .col3 p:nth-child(1) {
        margin-top: 55px;
    }

    .col1 {

        align-items: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
    }
    .col4 {

        align-items: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
        border: none;
    }







    #footer {
        height: auto;
    }

    #footer ul {
        flex-direction: column;
    }

    #footer ul li {
        border-right: none;
    }

    #footer ul li a {
        font-size: 13px;
    }


}