@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap&subset=cyrillic');
@import url('https://fonts.googleapis.com/css?family=Oswald:600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.0/css/all.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0f7a65;
    font-family: "PT Sans", sans-serif;
    color: #ffffff;
}

a {
    text-decoration: none;
    color: #ffffff;
}

img {
    border-radius: 4px;
}

.wrapper {
    margin: 80px auto 0 auto;
}

/* Для экранов шириной менее 700px */
@media screen and (max-width: 700px) {
    .wrapper {
        width: 90%;
    }
    .header_menu {
        display: none;
    }
    .header_menu_mobile {
        display: block;
        }
    .index img {
        width: 100%;
    }
}


/* Для экранов шириной от 700px до 900px */
@media screen and (min-width: 700px) and (max-width: 900px) {
    .wrapper {
        width: 80%;
    }
    .header_menu_mobile {
        display: none;
    }
    .header_menu {
        display: block;
    }
    .index img {
        width: 240px;
        float: left;
        margin: 0 14px 0 0;
    }
}

/* Для экранов шириной более 900px */
@media screen and (min-width: 900px) {
    .wrapper {
        width: 60%;
    }
    .header_menu_mobile {
        display: none;
    }
    .header_menu {
        display: block;
        }
    .index img {
        width: 240px;
        float: left;
        margin: 0 14px 0 0;
    }
}

.header {
    background: #104b52;
    border-radius: 0 0 0px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; /* чтобы гарантировать, что шапка будет наверху */

width: 100%;

}

.header_logo_title {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-family: 600;
    border-bottom: 2px solid #0f7a65;
}

.header_logo_desc {
    font-size: 12px;
}

.header_menu {

}

.header_menu a {
    display: block;
    float: left;
    border-radius: 4px;
    border: 2px solid #51b888;
    padding: 7px 10px;
    margin: 0 0 0 10px;
    font-weight: bold;
    font-size: 12px;
}

.header_menu a:hover {
    text-decoration: underline;
}


.header_menu_mobile {
    position: relative;
}

.burger {
    display: block;
    border: 2px solid #51b888;
    padding: 7px 10px;
    margin: 0 0 0 10px;
    font-weight: bold;
    font-size: 12px;
}

.header_menu_mobile_open {
    display: none;
    z-index: 9999;
    position: absolute;
    top: 100%;
    right: 0;
    margin: 0;
}

.header_menu_mobile_open a {
    padding: 10px;
    background: #51b888;
    font-weight: bold;
    font-size: 12px;
    display: block;
}

.box {
    border-radius: 4px;
    background: #ffffff;
    padding: 10px;
    margin: 12px 0 0 0;
    color: #333333;
    font-size: 14px;
    overflow: hidden;
}

.box h1 {
    font-size: 19px;
    display: block;
    font-family: 'Oswald', sans-serif;
    margin: 0 0 10px 0;
}

.box h1 span {
    border-left: 4px solid #0f7a65;
    margin: 0 5px 0 0;
}

.item {
    padding: 10px;
    background: #EFEFEF;
    margin: 0 0 10px 0;
    border-radius: 4px;
}

.item h2 {
    font-size: 17px;
    display: block;
    font-family: 'Oswald', sans-serif;
    margin: 0 0 0 10px;
}

.item h2 span {
    border-left: 4px solid #0f7a65;
    margin: 0 5px 0 0;
}

.item i {
    margin: 0 10px;
    display: block;
}

.container {
    display: flex;
}

.container img {
    width: 100%;
}

.block {
    width: 33.33%; /* каждый блок занимает 1/3 ширины контейнера */
    box-sizing: border-box; /* учитываем padding и border в общей ширине блока */
    padding: 10px; /* добавим отступы внутри блоков */
}

.contacts {

}



.footer {
    font-size: 12px;
    text-align: center;
    margin: 30px 0;
}

#scrollToTopButton {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background-color: #51b888;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
    font-size: 16px;
    width: 40px;
    height: 40px;
}

#scrollToTopButton:hover {
    background-color: #3a874d;
}






@media only screen and (max-width: 600px) {

}
