﻿footer {
    position: inherit;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(180deg, #000000, #02143d);
    display: grid;
    place-content: center;
    grid-template-areas:
        "logo socials"
        "links links";
    grid-template-columns: repeat(2, 1fr);
    color: #f9f9f9;
}

    footer::after {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        left: 0;
        right: 0;
        background: rgb(0 0 0 / 10%);
    }

.footer[b-bxrna1pgf6] {
    line-height: inherit;
    white-space:inherit;
}

.logo {
    grid-area: logo;
}

.fontstylemenufooter {
    font-size: 18px;
    font-family: 'Segoe UI';
    font-weight: bold;
}

.socials {
    grid-area: socials;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    font-size: 18px;
}

.links {
    grid-area: links;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 20px 0 15px;
}

    .links h4 {
        color: rgb(255 255 255 / 80%);
    }

    .links ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 10px;
        opacity: 0.8;
    }

    .links address {
        font-style: normal;
        line-height: 1.5;
    }

    .links a {
        color: inherit;
        text-decoration: none;
    }

    .links a:hover {
        text-decoration: none;
    }

    .socials-image {
        width: 80%;
        height: 80%;
        transition: 0.4s;
    }

    .socials-image:hover {
        transform: scale(0.8);
    }


    @media (width < 500px) {
        .links {
            grid-template-columns: 1fr;
            gap: 20px 0;
            padding: 40px 0 30px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }


        .logo {
            width: 50%;
            height: 85%;
        }

        .socials-image {
            width: 80%;
            height: 80%;
            transition: 0.4s;
        }
        .socials-image:hover {
            transform: scale(0.83);
        }
    }

    @media (width < 400px) {
        footer {
            grid-template-areas:
                "logo" "links" "socials";
            grid-template-columns: 1fr;
        }

        .socials {
            justify-content: center;
            padding-bottom: 20px;
        }

        .socials-image {
            width: 60%;
            height: 60%;
            transition: 0.4s;
        }

        .socials-image:hover {
            transform: scale(0.83);
        }

        .links {
            grid-template-columns: 1fr;
            padding: 10px 0 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }


        .fontstylemenufooter {
            font-size: 16px;
        }

        .logo {
            width: 0%;
            height: 0%;
        }
    }

