footer {

    margin-top: 10px;

    display: flex;

    flex-direction: column;

    gap: 15px;

    background: #ededed;

    background: linear-gradient(135deg, rgba(237, 237, 237, 1) 0%, rgba(237, 237, 237, 1) 68%, rgba(255, 240, 240, 1) 100%);

    padding: 20px calc(3% + 10px) 12px calc(3% + 10px);

}



.footer-top {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    padding-top: 15px;

    gap: 80px;

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

}



.footer-bottom {

    display: flex;

    justify-content: center;

    align-items: center;

    width: 100%;

    text-align: center;

    margin-top: 40px;

}



.footer-bottom p {

    font-size: 12px;

    text-align: center;

    font-family: 'Merriweather Sans',  sans-serif;

    color: #5f5f5f;

}



footer img {

    width: 100%;

}



.footer-dane {

    display: flex;

    flex-direction: column;

    gap: 25px;

    margin: 0 0 18px 18px;

}



.footer-dane-main_block,

.footer-kontakt-text_main_block {

    display: flex;

    flex-direction: column;

    align-items: space-between;

    gap: 20px;

    width: 100%;

}



.footer-dane-text_blocks {

    display: flex;

    flex-direction: column;

    gap: 20px;

}


.footer-kontakt-text_block {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}



.footer-dane-text_block p,

.footer-kontakt-text_block p,

.footer-kontakt-text_block a {

    color: #5f5f5f;

    font-family: 'Merriweather Sans',  sans-serif;

    font-weight: 550;

    transition: opacity 0.15s ease;

    margin: 2px;

}



.footer-kontakt-text_block {

    margin-bottom: 6px;

}



#footer-logo {

    max-width: 150px;

    transition: opacity 0.15s ease;

}



#footer-logo:hover {

    opacity: 0.8;

}



#footer-logo:active {

    opacity: 0.5;

}



.footer-nav {

    display: flex;

    align-items: space-between;

    max-width: none;
    width: auto;

    gap: 45px;

    flex: 1;

}



.footer-nav-col {

    flex: 3;

}

.footer-nav-col:first-child {

    flex: 2;

}



.footer-nav-col ul {

    margin: 0;

    padding-left: 0;

    list-style-type: none;

}



.footer-nav-col h3,

.footer-nav-col h3 a {

    font-family: 'Archivo Black', roboto, sans-serif;

    font-size: 18px;

    color: #5f5f5f;

    transition: color 0.15s ease, opacity 0.15s ease;

}



.footer-nav-col h3 {

    margin-bottom: 24px;

}



.footer-nav-col h3 a:hover {

    text-decoration: none;

    color: #8f8f8f;

}



.footer-nav-col h3 a:active{

    opacity: 0.6;

}



.footer-nav-col li {

    margin-bottom: 6px;

    margin-left: 0px;

}



.footer-nav-col li a {

    font-family: 'Merriweather Sans',  sans-serif;

    font-weight: 550;

    color: #5f5f5f;

    transition: opacity 0.15s ease;

}



.footer-nav-col li a:hover {

    text-decoration: underline;

}



.footer-nav-col li a:active {

    opacity: 0.6;

}



.footer-kontakt {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    margin-left: 0;

}



.footer-kontakt-text_block a:hover {

    color: #8f8f8f;

    text-decoration: underline;

}



.footer-kontakt-text_block a:active {

    opacity: 0.6;

}



.socials {

    display: flex;

    margin-top: 18px;

    gap: 30px;

}



.socials a {

    color: #CB2720;

    font-size: 26px;

    text-decoration: none;

    line-height: 1;

    transition: .2s ease;

}



.socials a:hover {

    opacity: 0.7;

}

.socials a:active {

    opacity: 0.5;

    color: #9c1f1f;

}





.socials a:hover {

    color: #383838;

    transform: scale(1.12);

}



@media (max-width: 910px) {

    .footer-top {

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

        text-align: left;

    }



    .footer-dane {

        flex-direction: row;

        align-items: flex-start;

        width: 100%;

        gap: 45px;

        margin-left: 0px;

    }

    

    .footer-dane-text_block {

        width: clamp(190px, 50%, 220px);

        flex: 3;

    }

    .footer-dane-text_block:first-child {

        flex: 4;

    }



    .footer-dane-text_blocks {

        display: flex;

        flex-direction: row;

        gap: 30px;

        flex: 4;

    }



    .footer-dane-logo_block {

        flex: 1;

    }



    .footer-dane-main_block {

        width: auto;

        max-width: none;

    }

    

    .socials {

        flex-direction: column;

        align-items: center;

        gap: 20px;

        margin: 0 25px 0 0;

    }



    .footer-nav-col {

        align-items: flex-start;

        flex: 2;

    }

    

    .footer-nav:first-child {

        padding-left: 20px;

        flex: 1;

    }



    .footer-dane-text_block p,

    .footer-kontakt-text_block p {

        align-items: flex-start;

    }

    

    .footer-nav {

        width: 100%;

        gap: clamp(30px, 10px, 4px);

    }



    .footer-nav-col h3 {

        margin-top: 0px;

        margin-bottom: 20px;

    }

}



@media (max-width: 680px) {

    .footer-top {

        column-gap: 30px;

    }



    .footer-dane {

        position: relative;

        gap: 30px;

        margin-left: 0px;

    }



    .footer-dane:first-child {

        flex: 2;

    }

    .footer-dane-logo_block {

        flex: 2;

    }

    .footer-dane-text_blocks {

        flex-direction: column;

        gap: 15px;

    }



    .socials {

        position: absolute;

        top: 0px;

        right: 30px;

        flex-direction: column;

        align-items: center;

        margin-right: 0;

    }

}



@media (max-width: 550px) {

    footer {

        padding: 25px 30px 12px 30px;

    }



    .footer-top {

        gap: 30px;

    }



    .footer-dane {

        position: relative;

        flex-direction: column;

        margin-left: 0px;

        gap: 15px;

    }



    .socials {

        position: absolute;

        top: 99px;

        right: 8px;

        flex-direction: column;

        align-items: center;

        margin-right: 0;

    }



    .footer-kontakt-text_block {

        margin-bottom: 14px;

    }



    .footer-nav {

        flex-wrap: wrap;

        gap:20px;

    }





    .footer-nav-col{

        width: fit-content;

        min-width: 120px;

    }



    .footer-bottom p {

        font-size: 11px;

    }

}