#section-1 .container {
    margin-top: 31px;
    text-align: center;
}
#section-1 h2 {
    max-width: 100%;
    width: 600px;
    margin: auto;
    margin-top: 200px;
    font: 30px/1.4em verdana,geneva,sans-serif;
    color: #38435E;
    font-weight: 700;
}
#section-1 img {
    max-width: 100%;
}
.section-1_text {
    margin-top: 30px;
    padding: 0 150px;
    font: 22px/1.4em verdana,geneva,sans-serif;
    color: #EF4B4D;
    font-weight: 400;
}
#section-2 {
    margin-top: 50px;
}
.section-2_text {
    flex: 1 1 60%;
}
.section-2_img {
    flex: 1 1 40%;
    margin-top: 10px;
    width: 40%;
}
.section-2_text p, .section-2_text ul li {
    list-style-type: disc;
    font: 22px/1.4em verdana,geneva,sans-serif;
    color: #EF4B4D;
    font-weight: 400;
}
.section-2_text h3 {
    margin-bottom: 20px;
    font: 30px/1.4em verdana,geneva,sans-serif;
    color: #38435E;
    font-weight: 700;
    letter-spacing:-0.05em;
}
.section-2_text ul {
    margin-left: 40px;
}
#section-3 {
    margin-top: 50px;
}
#section-3 .container {
    padding: 20px 10px;
    border: 10px solid rgba(207, 195, 0, 0.59);
}
#section-3 h3 {
    font: 65px/1.4em trend-sans-w00-four,sans-serif;
    font-weight: 900;
    letter-spacing:0.25em;
    color: #EF4B4D;
    text-align: center;
}
.section-3_text p {
    padding: 30px;
    font: 20px/1.4em verdana,geneva,sans-serif;
    color: #EF4B4D;
    font-weight: 400;
    text-align: center;
}
.section-4_gallery-wrap {
    padding: 20px;
    justify-content: space-between;
}
.section-4_gallery-item {
}
.section-4_gallery-item img {
    display: block;
}
.section-4_gallery-item a {
    position: relative;
    display: block;
    margin: 10px;
    width: 209px;
    height: 197px;
    overflow: hidden;
}
.section-4_gallery-item a::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.7);
    opacity: 0;
    z-index: 1;
    transition: all 0.4s ease 0s;
}
.section-4_gallery-item a:hover::after {
    opacity: 1;
}
#section-5 .container {
    justify-content: center;
}
.section-5_contacts {
    padding: 30px 30px 10px;
    margin-left: 50px;
    border: 10px solid rgba(207, 195, 0, 0.59);
}
.section-5_contacts h3 {
    font: 31px/1.4em verdana,geneva,sans-serif;
    color: #EF4B4D;
    font-weight: 400;
    text-align: center;
}
.section-5_contacts p, .section-5_contacts a {
    font: 22px/1.4em verdana,geneva,sans-serif;
    color: #EF4B4D;
    font-weight: 400;
    text-align: center;
}
.section-5_contacts a {
    display: block;
    transition: color 0.4s ease 0s;
}
.section-5_contacts a:hover {
    color: #F4A1A2;
}

@media screen and (max-width: 640px) {
        #section-2 .container {
        justify-content: safe center;
    }
}

@media (max-width: 768px) {
    /* INDEX */
    #header {
        height: unset;
        box-shadow: 0 0 20px #0000004a;
    }
    #section-1 h2, .section-2_text h3, #section-1 h3, .section-1_item_1 a {
        text-align: center;
        font-size: 19px;
        margin-top: 50px;
    }
    .section-1_text, .section-2_text p, .section-2_text ul li, .section-3_text p, .section-1_item_1 p, #section-1 p, #section-2 p {
        padding: 0;
        font: 16px/1.4em verdana,geneva,sans-serif;
        margin-top: 10px;
        text-align: justify;
    }
    #section-2 {
        padding: 0 10px;
    }
    .section-2_img {
        display: flex;
        margin: 20px 0;
    }
    .section-2_img img {
        max-width: 100%;
        margin: auto;
    }
    #section-2 .container.flex, .section-3_content.flex {
        flex-direction: column-reverse;
    }
    #section-3 h3 {
        font-size: 32px;
        letter-spacing: 0;
    }
    .section-3_img img {
        width: 100%;
        margin: 20px 0 0;
    }
    .red, .black {
        font-size: 19px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-nav ul li a {
        padding: 10px 7px;
    }
    .rollers-link {
        margin-bottom: 10px;
    }
    .section-4_gallery-wrap {
        justify-content: center;
    }
    #section-5 .container {
        flex-direction: column-reverse;
    }
    .section-5_contacts {
        padding: 10px 30px 10px;
        margin: 0;
    }
    .section-5_maps {
        margin: 30px 0;
    }
    .section-5_maps iframe {
        width: 100%;
        box-shadow: 0 0 20px #0000004a;
    }
    .section-5_contacts a {
        font-size: 20px;
    }
    #footer .container {
        flex-wrap: wrap;
    }
    #footer .container.dev {
        display: flex;
        flex-direction: column;
    }

    #footer .dev p {
        text-align: center;
        padding: 0;
    }
    #footer .dev img {
        position: unset;
        transform: none;
    }
    #footer .container.dev a {
        padding: 10px 0;
    }
    #footer .container {
        justify-content: center;
    }
    #footer .container a {
        margin: 5px 10px;
    }
}
@media (min-width: 768px) and (max-width: 1200px) {
    /* INDEX */
    #section-1 img {
        max-width: 75%;
    }
    #section-1 h2 {
        margin-top: 75px;
    }
    #section-2 {
        padding: 0 20px;
    }
    .section-2_text {
        margin-right: 10px;
    }
    .section-1_text, .section-2_text p, .section-2_text ul li, .section-1_item_1 p, #section-1 p, #section-2 p {
        font-size: 18px;
    }
    #section-1 h2, .section-2_text h3, #section-1 h3, .section-1_item_1 a {
        font-size: 25px;
    }
    .section-3_img {
        display: flex;
        width: 50%;
    }
    .section-3_img img {
        margin: auto;
        width: 100%;
    }
    .section-3_text {
        display: flex;
        width: 50%;
    }
    .section-3_text p {
        margin: auto;
        padding: 0;
    }
    #section-3 h3 {
        font-size: 50px;
        margin-bottom: 20px;
    }
    .section-4_gallery-wrap {
        justify-content: center;
    }
    #footer .dev img {
        right: 10px;
    }
    #footer .dev p {
        padding-right: 105px;
    }
}