html {
    scroll-behavior: smooth;
}

#online-services,
#contacts {
    scroll-margin-block-start: 45px;
}

.menu-up {
    display: flex;
    justify-content: space-between;
}

.menu-up-left,
.menu-up-right {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
}

.logo-desc {
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: center;
    font-family: 'Raleway', sans-serif;
    height: 100px;
}

.logo-img {
    max-height: 70px;
}

#logo a {
    color: #141414;
}

.logo-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.svg-icon {
    width: 15px;
    height: 15px;
    stroke: #21B1BE;
}

.container-content {
    background-color: rgba(0, 0, 0, 0);
    padding: 60px 0;

    border-bottom: 1px solid #21B1BE;
}

.services {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 45px
}

.services-card {
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    text-align: center;
    flex: 1;
}

.services-card-img {
    max-height: 120px;
    max-width: auto;
    object-fit: contain
}

.services-card-name {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
}

.services-card-desc {
    margin-top: 15px;
    font-size: 16px;
}

.container-letter {
    display: flex;
    flex-direction: row;
    align-items: center;

    font-size: 16px;
}

.img-letter {
    max-height: 350px;
    width: auto;
}

.online-services-card {
    cursor: pointer;
}

.online-services-card:hover {
    color: #21B1BE;
}

.contact {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    column-gap: 30px;
    row-gap: 50px;
}

.contact-card {
    width: 48%;
    display: flex;
    flex-direction: column;
}

.contact-svg-icon {
    width: 20px;
    height: 20px;
    stroke: #21B1BE;
}

.contact-card-name {
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 6px;
}

.contact-card-desc {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding-top: 10px;
    font-size: 16px;
}

.socials-elem {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;

    padding-bottom: 10px;
}

.adres-name {
    font-size: 16px;
}

/* Back to top */
/* стрелка наверх сбоку странички */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 80px;
    display: none;
    cursor: pointer;
    opacity: 75%;
    z-index: 1000;

    transition: all 0.3s ease;
}

.back-to-top:hover {
    opacity: 100%;
}

@media (max-width: 1200px) {
    .img-letter {
        max-height: 270px;
    }

    .services-card-img {
        max-height: 100px;
    }

    .services-card-name {
        font-size: 16px;
    }

    .services-card-desc {
        font-size: 14px;
    }

    .container-letter {
        font-size: 14px;
    }

    .contact-card-name {
        font-size: 16px;
    }

    .contact-card-desc {
        font-size: 14px;
    }

    .adres-name {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .services {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .services-card {
        min-width: 30%;
        display: flex;
    }

    .container-letter {
        flex-direction: column;
    }

    .contact-card {
        width: 100%;
        align-items: center;
    }

    #footer-social {
        display: none;
    }


    #footer .footer-widgets-wrap {
        justify-content: space-around;
    }

}

@media (max-width: 768px) {
    .services-card {
        min-width: 100%;
        display: flex;
    }

    #footer .footer-widgets-wrap {
        flex-direction: column;
        gap: 0;
        padding-bottom: 0;
        padding-top: 60px;
    }

    .menu-up {
        flex-direction: column;
    }

    .emphasis-title h2 {
        margin-top: 70px !important;
        font-size: 35px !important;
    }

    .lead {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .emphasis-title h2 {
        margin-top: 70px !important;
        font-size: 35px !important;
    }

    .lead {
        font-size: 20px;
    }

    #footer .footer-widgets-wrap {
        align-items: center;
    }

    .col_one_third {
        max-width: 70%;
    }
}

@media (max-width: 480px) {
    .emphasis-title h2 {
        text-align: center;
        margin-top: 50px !important;
        font-size: 30px !important;
    }

    .lead {
        text-align: center;
        font-size: 16px;
    }
}

@media (max-width: 440px) {
    .menu-up {
        display: none;
    }

    .services-card-name {
        font-size: 14px;
    }

    .services-card-desc {
        font-size: 12px;
    }

    .container-letter {
        font-size: 12px;
    }

    .contact {
        row-gap: 30px;
    }

    .contact-card-name {
        font-size: 14px;
    }

    .contact-card-desc {
        font-size: 12px;

    }

    .adres-name {
        font-size: 12px;
    }
}