.footer-div {
    max-width: 100%;
    background: #181818;
    position: relative;
    z-index: 1;
}
.footer-head-wrapper {
    background: #292A2A;
}
.footer-head {
    max-width: 1512px;
    margin: auto;
    width: 100%;
    padding: 16.5px 70px;
}
.footer-head a {
    display: flex;
    align-items: center;   
    width: min-content;
}
.freeuni:hover p {
    color: #ffd600;
}
.agruni:hover p {
    color: #2B8C45;
}
.footer-div .footer-head p {
    font-family: 'Campus 700';
    font-size: 18px;
    line-height: 24px;
    font-feature-settings: "case" on;
    text-transform: capitalize;
    color: #FFD600;
    padding: 0 5px 0 20px;
    margin: 0;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    white-space: nowrap;
}
.footer-head a:hover > p {
    padding: 0 10px 0 20px;
}
.footer-div .footer-head > img {
    cursor: pointer;
}

.footer-content.head > div {
    max-width: 1512px;
    margin: auto;
    padding: 22px 70px;
}
.bd-top {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.legs, .body {
    max-width: 1512px;
    margin: auto;
    width: 100%;
    padding: 32px 70px;
}

.legs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.soc-icons {
    display: flex;
    align-items: center;
    justify-content: center;
}

img.external-link-agruni {
    width: 38px;
    height: 38px;
}

.footer-content p,
.footer-content a,
.footer-div hr {
    color: white;
    z-index: unset !important;
}

.footer-div a {
    text-decoration: none;
}

.footer-content > .contacts-location {
    gap: 80px;
}

.footer-content .number,
.footer-content .email {
    font-family: 'Campus 600';
    font-size: 18px;
    position: relative
}
.footer-content .location > h2 {
    font-family: 'Campus 700';
    font-size: 16px;
    font-feature-settings: "case" on;
    text-transform: capitalize;
    margin-top: 8px;
}
.footer-content .location > h3 {
    font-family: 'Campus 500';
    font-size: 16px;
    text-decoration: underline;
}

.footer-div .contacts-location > .contacts {
    padding: 15px 0;
    max-width: 280px;
}

.footer-content .location::before {
    content: url(/assets/img/footer-location.svg);
    width: 35px;
    height: 35px;
    position: absolute;
    top: 0px;
    left: -51px;
}


.footer-div .contacts-location .number::before {
    content: url(/assets/img/footer-phone.svg);
    width: 35px;
    height: 35px;
    position: absolute;
    top: -4px;
    left: -51px;
}

.footer-div .contacts-location .email::before {
    content: url(/assets/img/footer-email.svg);
    width: 35px;
    height: 35px;
    position: absolute;
    top: -4px;
    left: -51px;
}

.footer-content-buttons a {
    background: #444444;
    border-radius: 8px;
    font-family: 'Campus 600';
    padding: 21.5px 45px;
    border: 0;
    font-size: 18px;
    line-height: 25px;
    text-transform: capitalize;
    font-feature-settings: "case" on;
    color: #FFFFFF;
    white-space: nowrap;
    text-align: center;
}

.legs > a {
    font-family: 'Campus 700';
    font-size: 16px;
    line-height: 24px;
    margin: auto 0;
    height: unset !important;
    width: unset !important;
}

.legs > p {
    font-family: 'Campus 500';
    font-size: 16px;
    line-height: 24px;
    margin: auto 0;
}

/* .yt {    
    background: url(/assets/img/youtube-uncoloured.svg);
}
.yt:hover {    
    background: url(/assets/img/youtube-coloured.svg);
}
.fb {    
    background: url(/assets/img/facebook-uncoloured.svg);
}
.fb:hover {    
    background: url(/assets/img/facebook-coloured.svg);
}
.tw {    
    background: url(/assets/img/twitter-uncoloured.svg);
}
.tw:hover {    
    background: url(/assets/img/twitter-coloured.svg);
}
.ln {    
    background: url(/assets/img/linkedin-uncoloured.svg);
}
.ln:hover {    
    background: url(/assets/img/linkedin-coloured.svg);
}
.ig {    
    background: url(/assets/img/instagram-uncoloured.svg);
}
.ig:hover {    
    background: url(/assets/img/instagram-coloured.svg);
} */
.legs a {
    height: 32px;
    width: 32px;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    transition: 0.3s ease-in-out;
    cursor: pointer;
} 


.footer-div .mobile {
    display: none !important;
}
/* .footer-div img.mobile {
    width: 45px;
    height: 45px;
} */

.footer-content-wrapper .university {
    display: none !important;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    padding: 16px 0 0;
    width: 100% !important;
    border-width: 1px 0px;
    border-top-style: solid;
    border-color: rgba(255, 255, 255, 0.3);
}

.university p {
    font-family: 'Campus 700';
    font-feature-settings: "case" 1;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 24px;
    margin: 0 0 -14px;
    text-align: center;
    position: relative;
}
.university p::after {
    position: absolute;
    top: 14px;
    right: -22px;
    content: url(/assets/img/external-link-white.svg);
}

.softchef {
    display: flex;
    align-items: center;
    justify-content: end;
}

.softchef a {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 8px;
    width: unset !important;
}

.softchef p {
    margin: 0;
    font-family: 'Campus 700';
    white-space: nowrap;
    font-size: 16px;
    line-height: 24px;
}

.footer-content-buttons-mobile {
    display: none !important;
}

.copyright {
    font-family: 'Campus 500';
}
.copyright-mobile,
.privacy-mobile {
    display: none !important;
}

@media screen and (max-width: 1199px) {
    .footer-head {
        padding: 15px;
    }
    .footer-div .footer-head p {
        font-size: 16px;
    }
    .footer-content.head > div {
        padding: 22px 15px;
    }
    .body {
        flex-direction: column;
        gap: 40px;
        padding: 10px 15px 32px;
    }
    .footer-div .contacts-location {
        justify-content: flex-start !important;
    }
    .footer-div .contacts-location > .contacts {
        max-width: unset;
    }
    .footer-content .number{
        font-size: 16px;
    }
    .footer-content button {
        padding: 16px 45px;
    }
    .footer-content-buttons {
        gap: 16px;
    }
    .footer-div .desktop {
        display: none !important;
    }
    .footer-div .mobile {
        display: flex !important;
    }
    .legs {
        grid-template-columns: 1fr;
        width: 100%;
        align-items: center;
        gap: 40px;
        padding: 0 0 30px;
        border: none;
    }
    .bd-top {
        border: none;
    }
    .legs > .privacy-mobile {
        justify-content: center;
        gap: 110px !important;
        padding: 22px 0;
        width: 100% !important;
        border-width: 1px 0px;
        border-style: solid;
        border-color: rgba(255, 255, 255, 0.3);
    }
    .privacy-mobile,
    .copyright-mobile,
    .softchef {
        justify-content: center;
    }
    .borderLine {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        width: 1px;
        height: 21px;
        margin: 0 -15px 0 -3px;
    }
    .copyright-mobile,
    .privacy-mobile {
        display: flex !important;
    }
    .copyright-desktop,
    .privacy-desktop {
        display: none !important;
    }
}
@media screen and (max-width: 768px)  {
    .head {
        display: none;
    }
    .footer-div .contacts-location {
        flex-direction: column;
        align-items: unset;
        gap: 40px !important;
    }
    .footer-div .contacts-location > a > img {
        width: 100%;
    }
    .footer-div .contacts-location > .contacts {
        gap: 35px;
        margin-left: 51px;
        padding-inline: 6px;
    }
    .body {
        padding: 40px 15px;
    }
    .footer-content-buttons {
        min-width: calc(100% - 110px);
        margin-inline: auto;
    }
    .footer-content .location > h2 {
        margin-bottom: 4px;
    }
    .footer-content .location > p {
        margin-bottom: 0px;
    }
    .legs {
        gap: 30px;
    }
    .footer-content-wrapper .university {
        display: flex !important;
    }
    .footer-content-buttons-mobile {
        display: flex !important;
    }
    .footer-content-buttons-laptop {
        display: none !important;
    }
}


@media screen and (max-width: 380px) {
    .footer-head {
        padding-inline: 11px;
    }
    .footer-div .footer-head p {
        font-size: 16px;
    }
}

@media screen and (max-width: 344px) {
    .footer-div .footer-head p {
        padding: 0;
        margin: 0 4px 0 8px;
    }
    .footer-head a:hover > p {
        padding: 0;
    }
}