
body {
    --footer-background: #011638;;

    --footer-socials-linkedin-background: #0077B5;
    --footer-socials-telegram-background: #229ED9;
    --footer-socials-vkontakte-background: #0077FF;
    --footer-socials-facebook-background: #4267B2;
    --footer-socials-twitter-background: #1DA1F2;

    --footer-socials-instagram-background-1: #515BD4;
    --footer-socials-instagram-background-2: #8134AF;
    --footer-socials-instagram-background-3: #DD2A7B;
    --footer-socials-instagram-background-4: #F58529;
    --footer-socials-instagram-background-5: #FEDA77; 

    --footer-socials-youtube-background: #FF0000;

}

footer i::before {
    content: '□';
}

.footer-total-container {
    box-sizing: border-box !important;
    background-color: var(--footer-background);
    color: #fff;
    margin-top: auto;
    padding: 32px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-family: Commissioner;
    font-size: 14px;
}

@media (max-width: 1043.98px) {
    .footer-total-container {
        flex-direction: column;
    }
}

/* Map container */

.footer-departments-map {
    display: flex;
    background-color: #fff;
    background-image: url(/General/images/footer/belstu-map-ru.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    margin-right: 32px;
    min-width: 180px;
    min-height: 135px;
    flex-grow: 1; 
    border-radius: 3px;
}

@media (max-width: 1043.98px) {
    .footer-departments-map {
        width: 100%;
        margin-right: unset; 
        margin-bottom: 16px;
    }
}

.footer-departments-map.en {
    background-image: url(/General/images/footer/belstu-map-en.jpeg);
}

.footer-departments-map.by {
    background-image: url(/General/images/footer/belstu-map-by.jpeg);
}

.footer-departments-map:empty {
    cursor: pointer;
}

.footer-departments-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 1043.98px) {
    .footer-departments-map {
        width: 100%;
    }
}

/* Info container */

.footer-info-container {
    display: flex;
    flex-direction: row; 
    align-items: flex-start;
    justify-content: flex-end;
    margin-left: 32px;
    gap: 48px;
}

@media (max-width: 1043.98px) {
    .footer-info-container {
        width: 100%;
        margin-left: unset;
        justify-content: space-evenly;
        margin-top: 16px;
    }
}

@media (max-width: 725.98px) {
    .footer-info-container {
        flex-wrap: wrap;
        gap: 32px;
    }
}

/* Contacts */

.footer-contacts-col {
    display: flex;
    flex-direction: column;
    gap: 16px; 
}

@media (max-width: 725.98px) {
    .footer-contacts-col {
        width: calc(50% - 16px);
    }
}

@media (max-width: 499.98px) {
    .footer-contacts-col {
        width: 100%;
    }
}

.footer-contacts-title {
    width: min-content;
    color: var(--base-head-color);
    white-space: nowrap;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
}

.footer-contacts-list, .footer-socials-list {
    display: flex;
    gap: 8px; 
}

.footer-contacts-list {
    flex-direction: column;
}

.footer-socials-list {
    flex-direction: row;
    flex-wrap: wrap;
}

.footer-contacts-text {
    color: #eee;  
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
}

.footer-contacts-link {
    color: #fff;
    text-decoration: none;
    width: -moz-fit-content;
    width: fit-content;
    white-space: nowrap;
}

.footer-contacts-link:hover,
.footer-contacts-link:focus {
    color: #fff !important;
    text-decoration: underline !important;
}

.footer-socials-list > a[class^="footer-socials-"] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 16px;
    color: #fff;
    text-decoration: none !important;
}

.footer-socials-linkedin {
    background-color: var(--footer-socials-linkedin-background);
}

.footer-socials-telegram {
    background-color: var(--footer-socials-telegram-background);
}

.footer-socials-vkontakte {
    background-color: var(--footer-socials-vkontakte-background);
}

.footer-socials-facebook {
    background-color: var(--footer-socials-facebook-background);
}

.footer-socials-twitter {
    background-color: var(--footer-socials-twitter-background);
}

.footer-socials-instagram {
    background: linear-gradient(-135deg, var(--footer-socials-instagram-background-1) 0%, var(--footer-socials-instagram-background-2) 25%, var(--footer-socials-instagram-background-3) 50%, var(--footer-socials-instagram-background-4) 75%, var(--footer-socials-instagram-background-5) 100%);
}

.footer-socials-youtube {
    background-color: var(--footer-socials-youtube-background);
}