/*** |||||| ***/
/*** FOOTER ***/
/*** |||||| ***/



footer {
    grid-area: footer;
    /* grid-template:
        "...    footer-wrapper      ..."
        /0.5fr  20fr                0.5fr
    ; */
    margin: 0 3vw;
    width: 94vw;
    padding-top: 3em;
    margin-bottom: 3em;
    
}

.footer__links{
    display: grid;
    grid-auto-flow: column;
    justify-content: start;
    column-gap: 30px;
    align-items: center;
    align-content: center;
}

.footer__links a{
    text-decoration: none;
    color: black;
}


#footer-wrapper {
    /* grid-area: footer-wrapper; */
    display: flex;
    flex-direction: row;
    column-gap: 1.5em;
    border-top: 1px solid var(--primary-color-contrast);
    padding-top: 2em;
    width: 100%;
    flex: 0 0 auto;
}



footer img {
    grid-area: footer-bear;
    object-fit: contain;
    height: 100%;
}

.footer__logo{
    width: 30px;
    height: 30px;
}

.footer__link{
    display: grid;

    justify-content: start;

}

@media screen and (max-width: 900px) {
    .footer__link{
        margin-bottom: 50px;

        justify-content: center;

    }

    .footer__logo{
        width: 50px;
        height: 50px;
    }
}

#text-block {
    grid-area: footer-block;

    display: grid;
  
    grid-template: 
        "upper"
        "bottom"
        "date"
    ;
    justify-content: space-between; 
}

#text-block-upper {
    grid-area: upper;

    font-size: 12px;
    text-transform: capitalize;
}

#text-block-bottom {
    grid-area: bottom;

    font-size: 14px;
}

#text-block-date {
    grid-area: date;

    font-size: 10pt;
    align-self: self-end;
    

    color: var(--primary-color-contrast);
}

/*** ||||| ***/
/*** MEDIA ***/
/*** ||||| ***/
@media(max-width: 1000px) {
    footer img {
        /* display: none; */
        height: 70%;
    }
}   

@media(max-width: 900px) {
    
    /* START Footer */

    footer{
        margin: 0 5vw ;
        width: 90vw;
    }

    #footer-wrapper {
        flex-direction: column;

    }
    footer img {
        width: 80vw;
    }

    #footer-div-img{
        display: flex;
        justify-content: center;
        height: 20%;
        margin-bottom: 20px;
    }

    #text-block-upper {
        line-height: 1.8em;
        font-size: 1.2em;
        padding: 20px 5px 0 20px;
    }

    #text-block-bottom{
        font-size: 1.2em;
        line-height: 1.8em;
        font-weight: bold;
        padding: 30px 5px 0 20px;

    }

    #text-block-date{
        padding: 20px;
        font-size: 1.2em;
    }

    /* END Footer */
}
