html{
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body{
    font-family: "Comfortaa", sans-serif;
    overflow-x: hidden;
}

.modal a{
    color: #e85900;
}
a:hover{
    text-decoration: underline;
}
.navbar{
    background-color: #EAE0CD;
}

.burger {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    z-index: 50;
}



.o_nas {
background-color: #6EEF99 !important;
border-radius: 15px !important;
width: 150px !important;
display: flex ;
justify-content: center;
align-items: center; 
}

.text_onas{
padding: 10px 20px;
background-color: #6EEF99 !important;
border: none;
border-radius: 20px !important;
font-size: 18px;
text-align: center;
}

.more_info{
width: 210px;
height: 70px;
padding: 10px 20px;
background-color: #FFD086;
border-radius: 15px;
font-size: 18px;
cursor: pointer;}


.burger div {
    width: 100%;
    height: 4px;
    background-color: black;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.menu-open .burger div:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-open .burger div:nth-child(2) {
    opacity: 0;
}

.menu-open .burger div:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(246, 238, 220, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 40;
}

.menu-open .mobile-menu {
    opacity: 1;
    transform: translateY(0);
}

.navbar {
    width: 100%;

    z-index: 50;
}

.hero{
    background-image: url("img/hero-section.webp");
    background-size: cover;
    background-position: center -80px;
    background-repeat: no-repeat;
}
.btn-hero {
    transition: transform 0.3s ease-in-out;
}

.btn-hero:hover {
    transform: scale(1.1);
}


h1, h2, h3, h4, h5, h6, p{
    color: #262626;
}

.about-info{
    background-image: url("img/about-back.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.docs{
    background-image: url('img/docs-back.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.btn{
    background-color: #F16000;
    transition: background-color 0.3s ease-in-out;
}
.btn:hover{
    background-color: #e35b00;
}

.rezhim{
    background-image: url("img/rezhim-back.png");
    background-size: cover;
    background-position: center;
}
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #F16000;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px 20px;
    font-size: 20px;
    display: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
}

.scroll-to-top:hover {
    background-color: #e05800;
}

@media (max-width: 768px){
    .rezhim{
        background-position: left;
    }
    .docs{
        background-image: url('img/docs-back.webp');
        background-size: cover;
        background-position: left;
        background-repeat: no-repeat;
    }

}

.ma-skolka{
    background-color: #F9F5ED;
}
