.navbar-brand img {
    width: 70%;
}

.menu__top__ul {
list-style: none;
    display: flex;
    margin-top: 19px;
    margin-left: -39px;
}

.photo__director {
    display: block;
    max-width: 300px;
    margin: 0 auto;
    margin-bottom: 24px;
}

.membrane__img {
    width: 100%; 
    border-radius: 11px;
    }

.us__select {
    background: #68bf3c;
    max-width: 178px;
    border-radius: 7px;
    padding-bottom: 5px;
    padding-top: 5px;
    color: #fff;
    margin-bottom: 21px;
    text-align: center;
}

.menu__top__li {
    margin-right: 10px;
}

.membrane__text {
flex-flow: column;
background: #f7f7f7;
border-radius: 9px;
border: 1px solid #dddcdc;
margin-right: calc(var(--bs-gutter-x) / 2);
margin-left: calc(var(--bs-gutter-x) / 2);
padding-right: calc(var(--bs-gutter-x) / 2);
padding-left: calc(var(--bs-gutter-x) / 2);
margin-top: 30px;
}

.membrane__text ul {
    padding-left: 2.5em !important;
}

/* .py-4__button {
    margin-left: 21px;
} */

.phone__header__mob {
    display: inline-flex;
    align-items: center;
    text-align: right;
    }
    
.line__header {
width: 100%;
    height: 1px;
    background-color: rgb(191, 191, 191);
    border-radius: 0px;
    }
    
    @media only screen and (max-width: 1058px) {

.text__section1__zag {
    margin-top: 0px !important;
}
}

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

.photo__director {
    max-width: 230px !important;
    margin: 0 auto !important;
    float: none !important;
    margin-bottom: 24px !important;
}

.membrane__text {
background: none;
border-radius: 0px;
border: 0;
}

.main__membrane {
    background: #f7f7f7;
    }

.membrane__img {
    width: 100%;
    margin: 0 auto;
    display: block;
    margin-bottom: 21px;
    }

    .navbar-brand img {
    width: 90% !important;
}

@media (max-width: 470px) and (min-width: 397px) {
    .roistat-phone {
        font-size: 19px !important;
        font-weight: 600 !important;
    }
}

@media (max-width: 396px) and (min-width: 357px) {
    .roistat-phone {
        font-size: 17px !important;
        font-weight: 600 !important;
    }
}

@media (max-width: 356px) and (min-width: 320px) {
    .roistat-phone {
        font-size: 14px !important;
        font-weight: 600 !important;
    }
}

@media (max-width: 319px) and (min-width: 275px) {
    .roistat-phone {
        font-size: 11px !important;
        font-weight: 600 !important;
    }
}

#first {
padding: 0rem 0 !important;
}

.mob__padding {
padding-bottom: 21px !important;
}

.logo-block {
    width: 90% !important;
}

.text__section1__zag {
    margin-left: 0px !important;
    font-size: 28px !important;
}

.py-4__button {
    margin-left: 0px !important;
}

}

.menu__top__ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1; /* Заставить меню занимать оставшееся пространство */
}

.menu__top__li {
    margin-left: auto; /* Автоматическое расстояние между элементами */
}

.menu__top__li:hover {
    text-decoration:underline;
}

.menu__top__li:first-child {
    margin-left: 0; /* Убираем отступ у первого элемента */
}

.text__section1__zag {
    text-align: left;
    font-size: 36px;
    line-height: 1.4;
    letter-spacing: 0em;
    font-weight: 900;
    color: rgb(38, 38, 38);
    /* margin-left: 31px; */
}




.button-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.button__section1 {
    display: inline-block;
    padding: 15px 25px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button__section1:hover {
    background-color: #0056b3;
}

.whatsapp-button {
    background-color: #25d366;
}

.whatsapp-button:hover {
    background-color: #1da851;
}

.request-button {
    background-color: #007bff;
}

.request-button:hover {
    background-color: #0056b3;
}

.image-caption {
    text-align: center;
    color: #fff;
    background: #363636;
    padding-top: 7px;
    padding-bottom: 9px;
}