.footer_container{
    margin: 0 40px;
    padding: 75px 50px;
    background-color: #003836;
    border-radius: 20px;
}

.footer_scroll-up{
    cursor: pointer;
    box-sizing: content-box;
    position: absolute;
    left: 50%;
    top: -118px;

    width: 80px;
    height: 80px;
    transform: translateX(-50%);
    background-color: #006738;
    border-radius: 50%;
    z-index: 3;
    border: 7px solid #FFF;
    transition: 0.3s all ease-in-out;
}

.footer_scroll-up svg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transition: 0.3s all ease-in-out;
}

.footer_scroll-up p{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);

    color: #FFF;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s all ease-in-out;
    opacity: 0;
}

.footer_scroll-up:hover{
    background-color: #87D454;
}

.footer_scroll-up:hover p{
    opacity: 1;
}

.footer_scroll-up:hover svg{
    left: 50%;
    transform: scale(0.7) translate(-68%,-142%);
}

.footer_top{
    padding-bottom: 26px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer_top::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;

    height: 1px;
    width: 100%;
    background-color: #0D4240;
}

.footer_logo_img{
    position: relative;

    display: inline-flex;
    align-items: center;
}

.footer_logo_img--mobile{
    display: none;
}

.footer_logo_img p::before{
    content: "";
    position: absolute;
    top: -2px;
    right: 104px;
    width: 1px;
    height: 30px;
    background-color: #E4E5EB;
}

.footer_logo_img svg{
    margin-right: 12px;
}

.footer_logo_img p{
    position: relative;

    margin-left: 12px;
    max-width: 90px;

    color: #FFF;
    font-size: 12px;
    font-weight: 500;
    line-height: 100%;
}

.footer_logo_nav{
    margin-top: 23px;

    display: flex;
    align-items: center;
}

.footer_logo_nav svg{
    margin-right: 4px;
}

.footer_logo_nav p{
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
}

.footer_logo_nav a{
    padding-left: 7px;

    color: #87D454;
    font-size: 14px;
    font-weight: 500;
    text-decoration-line: underline;
    transition: 0.3s all ease-in-out;
}

.footer_logo_nav a:hover{
    opacity: 0.6;
}

.footer_welcome{
    position: relative;
    right: 12px;
}

.footer_contacts_wrap{
    display: flex;
    align-items: center;
}

.footer_contacts_phone{
    margin-right: 15px;
    text-align: right;
    color: #FFF;
    font-size: 14px;
    line-height: 14px;
}

.footer_contacts_phone a{
    color: #FFF;
    font-weight: 700;
    transition: 0.3s all ease-in-out;
}

.footer_contacts_phone a:hover{
    opacity: 0.8;
}

.footer_contacts_phone{
    font-weight: 500;
}

.footer_contacts_social{
    display: flex;
    align-items: center;
}

.footer_contacts_social a{
    cursor: pointer;
    transition: 0.3s all ease-in-out;
}

.footer_contacts_social a:not(:last-child){
    margin-right: 5px;
}

.footer_contacts_social a:hover{
    opacity: 0.8;
}

.footer_contacts_email{
    padding-top: 22px;
    text-align: right;
}

.footer_contacts_email a{
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
    text-decoration-line: underline;
}

.footer_contacts_email svg{
    position: relative;
    top: 2px;
    padding-right: 5px;
}

.footer_bottom{
    margin-top: 54px;
    display: flex;
    justify-content: space-between;
}

.footer_bottom_nav_caption{
    display: inline-block;
    margin-bottom: 15px;
    color: #437674;
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
    text-transform: uppercase;
}

.footer_bottom_nav_element{
    margin-top: 15px;
}

.footer_bottom_nav_element a{
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
}

.footer_rights{
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
    color: #003836;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
}

@media(max-width: 1700px){
    .footer_welcome {
        position: absolute;
        right: 50%;
        top: -5px;
        transform: translateX(50%);
        width: 230px;
    }

    .footer_bottom_nav{
        width: 20%;
    }
}

@media(max-width: 1200px){
    .footer_container{
        margin: 0px 20px;
        padding: 70px 40px;
    }

    .footer_contacts_wrap{
        flex-direction: column;
        align-items: flex-end;
    }

    .footer_top{
        align-items: start;
    }

    .footer_contacts_phone{
        margin-right: 0;
        margin-bottom: 20px;
    }

    .footer_logo_nav svg{
        margin-top: 3px;
    }

    .footer_logo_nav p{
        font-size: 11px;
    }

    .footer_logo_nav{
        margin-top: 15px;
    }


    .footer_logo_nav a {
        padding-left: 2px;
        font-size: 12px;
    }

    .footer_welcome {
        position: absolute;
        left: 0;
        top: 102px;
        transform: unset;
        width: 230px;
    }

    .footer_contacts_social svg{
        width: 35px;
        height: 35px;
    }

    .footer_bottom{
        margin-top: 40px;
    }

    .footer_bottom_nav:not(:last-child){
        margin-right: 10px;
    }

    .footer_bottom_nav_element a{
        font-size: 12px;
    }
}

@media(max-width: 768px){
    .footer_container{
        margin: 0;
        padding: 70px 20px 40px;
    }

    .footer_bottom_nav--mobile{
        display: none;
    }

    .footer_logo{
        display: none;
    }

    .footer_contacts_wrap{
        flex-direction: column-reverse;
    }

    .footer_top{
        padding-bottom: 35px;
        justify-content: center;
    }

    .footer_welcome{
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        max-width: 315px;
    }

    .footer_contacts{
        margin-top: 50px;
        width: 100%;
        max-width: 415px;
    }

    .footer_contacts_social{
        justify-content: center;
        width: 100%;
    }

    .footer_contacts_social svg{
        height: unset;
    }

    .footer_logo_img--desktop{
        display: none;
    }

    .footer_logo_img--mobile{
        display: inline-flex;
        margin-top: 35px;
        margin-bottom: 25px;
        justify-content: center;
        width: 100%;
    }

    .footer_contacts_phone{
        margin-bottom: 23px;
        width: 100%;
        text-align: center;
    }

    .footer_contacts_phone a{
        display: inline-block;
        padding-bottom: 10px;
        font-size: 24px;
        font-weight: 700;
        line-height: 14px;
    }

    .footer_contacts_email{
        padding-top: 0;
        text-align: center;
    }

    .footer_bottom_nav_caption{
        display: none;
    }

    .footer_bottom{
        margin-top: 23px;

    }

    .footer_bottom_nav{
        width: 100%;
        margin-right: 0;
    }

    .footer_bottom_nav ul{
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        row-gap: 12px;
    }

    .footer_bottom_nav_element{
        margin-top: 0;
    }

    .footer_rights{
        margin-bottom: 80px;
    }
}