.footer{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 45px;
}
.footer_wrapper{
    max-width: 1290px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;

}
.footer_text_wrapper{
    max-width: 920px;
    width: 100%;

}
.footer_text{
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    line-height: 171%;
    color: var(--black);
}

.footer_list_wrapper{
    display: flex;
    gap: 40px;
}
.footer_list_item_text{
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    color: var(--black);
    text-decoration: none;
}   
.footer_rights{
    width: 100%;
    background: var(--bg);
    padding: 20px 0;
}
.footer_rights_text{
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    color: var(--black);
    opacity: 0.34;
}

.footer_img_wrapper { order: 0; }
.footer_list_wrapper { order: 0; }
.footer_text_wrapper { order: 0; }

@media only screen and (max-width: 1305px){
    .footer{
        gap: 30px;
    }
    .footer_wrapper{
        padding: 0 20px;
    }
    .footer_text_wrapper{
        max-width: 800px;
    }
}
@media only screen and (max-width: 1015px){
    .footer_wrapper{
        flex-wrap: wrap;
        gap: 20px;
    }
    .footer_img_wrapper{
        order: 1;
        width: 60px;
        height: 59px;
    }
    .footer_img_wrapper img{
        width: 100%;
        height: 100%;
    }
    .footer_list_wrapper{
        order: 2;
        gap: 30px;
    }
    .footer_text_wrapper{
        order: 3;
        max-width: 100%;
    }
    .footer {
        gap: 20px;
    }
}
@media only screen and (max-width: 615px){
    .footer_list_wrapper{
        max-width: 410px;
        min-width: 140px;
        width: 100%;
       flex: 1 1 140px;
        flex-wrap: wrap;
        gap: 14px 20px;
    }
    .footer_list_item_text{
        font-size: 15px;
        display: inline-block;
        width: 100%;
    }
    .footer_img_wrapper{
        width: 50px;
        height: 49px;
        flex: 0 0 50px;
    }
    .contact_section_container{
        gap: 15px;
        padding: 20px 0;
    }
    
}
@media only screen and (max-width: 320px){
    .footer_wrapper {
        padding: 0 15px;
    }
}