@font-face {
    font-family: footer;
    src: url(../fonts/neue-haas/NeueHaasGroteskText-Medium.woff2);
}

.footer-container {
    position: static;
    margin: 0;
    width: 100%;
    color: white;
    text-align: center;
    font-family: footer;
    background-color: rgb(139, 170, 230);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 3vh;
    transition: 0.5s;
    padding-top: 5vh;
}


.row {
    display: flex;
    justify-content: center;
    gap: 5%;
}

.row .logo, 
.row .contact, 
.row .socials {
    width: 25%;
    height: 150px;
}

.logo img {
    height: 150px;
    width: 150px;
}

.row .partners {
    width: calc(75% + 10%);
    margin-top: 20px;
}


.socials .socials-logos{
    position: relative;
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    padding-top: 2vh;
    margin: 0;
}

.socials .socials-logos a{
    text-decoration: none;
    padding-left: 10px;
    padding-right: 10px;
    margin: auto;
}

.socials-logos img{
    max-height: 25px;
}

.socials-logos img:hover{
    transform: scale(1.1);
}

.socials-logos ul{
    list-style-type: none;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-content: center;
    
}

.socials-logos ul li {
    display: inline;
    flex-grow: 0;
}


.contact p{
    padding: 2px;
}


.contact a{
    color: white;
    text-decoration: none;
}

.contact a p {
    padding-bottom: 2vh;
}

.partners .partners-logos {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 10px;
    flex-wrap: wrap;
}

.partners .partners-logos img{
    width: 100px;
}

.link-to-partners p {
    color: white;
    text-decoration: underline;
}

.partners a:hover p {
    color: rgb(0, 0, 255);
}


.row .copyright {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    overflow: hidden;
}

.row .copyright a{
    color: white;
    text-decoration: none;
}

.row .copyright p{
    padding-left: 1vw;
    padding-right: 1vw;
    margin-bottom: 1vh;
}

.row .copyright .back-to-top p{
    border-style: solid;
    border-color: white;
    border-width: 2px 3px 4px 2px;
    border-bottom-right-radius: 15%;
    padding: 2px;
}

.row .copyright .back-to-top:hover p{
    color: rgb(0, 0, 255);
    border-color: rgb(0, 0, 255);
}


@media screen and (max-width: 1024px) {
    .row h2{
        font-size: 20px;
    }
    .socials img{
        max-height: 20px;
    }

    .footer-container p{
        font-size: 14px;
    }
    .footer-container{
        padding-top: 4vh;
    }

}


@media screen and (max-width: 924px) {
    .socials-logos ul li {
        display:block;
    }
    
}

@media screen and (max-width: 760px) {
    .row h2{
        font-size: 18px;
    }
    .socials img{
        max-height: 20px;
    }

    .footer-container p{
        font-size: 14px;
    }
    .footer-container{
        padding-top: 3vh;
    }

}

@media screen and (max-width: 500px) {
    .row h2{
        font-size: 14px;
    }

    .footer-container p{
        font-size: 12px;
    }

    .logo img {
        height: 100px;
        width: 100px;
    }

    .footer-container {
        gap: 2vh;
    }

    .row .logo, 
    .row .contact, 
    .row .socials {
        width: 25%;
        height: 100px;
    }

    .contact a p {
        padding-bottom: 1vh;
    }

    .socials .socials-logos{
        padding-top: 1vh;
    }

    .footer-container{
        padding-top: 2vh;
    }

    .socials img{
        max-height: 16px;
    }

    .partners .partners-logos {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}


@media screen and (max-width: 350px) {
    .row h2{
        font-size: 10px;
    }
    .socials img{
        max-height: 16px;
    }


    .footer-container p{
        font-size: 8px;
    }

    .logo img {
        height: 80px;
        width: 80px;
    }

    .footer-container {
        gap: 1vh;
    }

    .row .logo, 
    .row .contact, 
    .row .socials {
        width: 25%;
        height: 80px;
    }

    .contact a p {
        padding-bottom: 1vh;
    }

    .socials .socials-logos{
        padding-top: 1vh;
    }

    .footer-container{
        padding-top: 2vh;
    }

    .partners .partners-logos {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

