footer {
    padding: clamp(32px, 3.33vw, 64px) var(--padding-main);
    display: flex;
    flex-direction: column;
    row-gap: clamp(16px, 1.67vw, 32px);
    font-family: var(--font-face-SourceCodePro);
    font-weight: 400;
}


.button-footer {
    background: transparent;
    color: var(--main-dark);
    border: none;
    font-family: var(--font-face-Hervetica);
}

.button-footer.mob {
    display: none;
}

.button-footer:hover {
    background: var(--main-accent);
    color: var(--main-dark);
}

.button.button-footer:active {
    background: var(--main-dark);
    color: var(--main-light);
}

.footer-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: flex-end;
    flex-wrap: wrap;
    row-gap: 16px;
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
    row-gap: clamp(4px, 0.8vw, 16px);
    margin-right: 10px;
}

.footer-logo-image {
    width: clamp(120px, 12.5vw, 240px);
    height: auto;
}

.footer-logo-text {
    font-family: var(--font-face-SourceCodePro);
    font-weight: 400;
    font-size: var(--size-regular);
    color: var(--main-dark);
}

.footer-social-list {
    display: flex;
    column-gap: var(--column-gap-main);
    align-items: center;
    justify-self: center;
}

.footer-social-item {
    display: flex;
}

.footer-social-link {
    font-family: var(--font-face-SourceCodePro);
    color: var(--main-dark);
    font-size: var(--size-big);
}

.footer-star-image {
    width: clamp(10px, 1vw, 21px);
    aspect-ratio: 1;
}

.footer-button-container {
    display: flex;
    column-gap: 16px;
    align-items: center;
}

.social-media-list.footer {
    display: none;
    gap: 16px;
}

.social.footer {
    width: 32px;
    aspect-ratio: 1;
    background: transparent;
}

.footer-body {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap-reverse;
    row-gap: 16px;
}

.footer-body-text.cookies {
    text-decoration: underline;
}

.footer-body-text.cookies-mob {
    display: none;
}

.footer-body-container {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.footer-body-text {
    color: var(--main-dark);
    font-size: var(--size-description);
    font-family: var(--font-face-SourceCodePro);
    font-weight: 300;
}

.footer-contacts-list {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    align-items: flex-end;
}

.footer-contact-link {
    color: var(--main-dark);
    font-family: var(--font-face-SourceCodePro);
    font-weight: 400;
    font-size: var(--size-big);
}

@media (max-width: 1280px) {

    .footer-head {
        display: flex;
        justify-content: space-between;
    }

    .social-media-list.footer {
        display: flex;
    }

    .button {
        grid-area: button;
        justify-self: end;
    }

    .footer-social-list {
        display: none;
    }

    .footer-star-image {
        width: clamp(10px, 2.73vw, 21px);
        aspect-ratio: 1;
    }

    .footer-body-text.cookies {
        display: none;
    }

    .footer-body-text.cookies-mob {
        display: flex;
        text-decoration: underline;
    }
}

@media (max-width: 768px) {
    .footer a:hover {
        color: var(--main-light);
    }

    .social.footer {
        width: 24px;
    }

    .footer {
        background: var(--main-accent);
    }

    .button-footer {
        display: none;
    }

    .button-footer.mob {
        display: flex;
        justify-content: center;
        background: var(--main-light);
        border: 1px solid var(--main-light)
    }

}

@media (max-width: 610px) {
    .footer-contacts-list {
        align-items: flex-start;
    }
}