*, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: unset;
}

img {
    width: 100%;
    height: 100%;
}

ul {
    list-style: none;
}

button {
    border: none;
    background-color: transparent;
    color: unset;
}

footer {
    background-color: var(--main-footer-background-color);
    width: 100%;
    padding: 6rem var(--main-padding-box) 4rem var(--main-padding-box);
}

footer .footer {
    display: flex;
    max-width: 1200px;
    margin: auto;
    flex-direction: column;
}

footer .footer .cover {
    display: flex;
}

footer .footer .cover .logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 30%;
}

footer .footer .cover .logo img {
    width: 12rem;
    height: auto;
}

footer .footer .cover .logo p {
    width: 80%;
    line-height: 1.2rem;
    color: var(--main-footer-text-color);
}

footer .footer .cover .links {
    display: flex;
    flex-direction: column;
    margin: 0rem max(1rem,3vw);
    gap: 1rem;
    font-size: 1rem;
    color: var(--main-footer-text-color);
    max-width: 15rem;
}

footer .footer .cover .links h3,
footer .footer .cover .links a {
    width: fit-content;
    font-weight: 500;
}

footer .footer .cover .links_1 {
    margin-left: auto;
}

footer .footer .footer_under {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--main-footer-text-color);
    color: var(--main-footer-text-color);
    opacity: 0.7;
}


@media (max-width: 769px) {

    footer {
        padding: 4rem var(--main-padding-box-mobile) 4rem var(--main-padding-box-mobile);
    }
    
    footer .footer .cover {
        flex-direction: column;
        gap: 3rem;
    }

    footer .footer .cover .logo,
    footer .footer .cover .links {
        width: 100%;
        margin: 0;
    }

    footer .footer .cover .logo img {
        width: 10rem;
    }

    footer .footer .cover .links {
        margin-left: 0;
        font-size: 0.9rem;
    }

    footer .footer .footer_under {
        text-align: center;
        font-size: 0.9rem;
    }
}
