footer
{
    min-height: 90vh;

    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding-top: var(--menu-size); 
    padding-bottom: 18vh; /* Menu size (10) + copyright area size (8vh)*/
    
    background-color: var(--text-color-second);
}

.footer-container
{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;

    padding: 1rem 5%;
}

/* IMAGE AREA*/
.footer-image-area
{
    width: 40%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 3rem;
}
.footer-image
{
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top;

    border: 0.5rem solid var(--text-color-second);
    border-radius: 16%;
}
.footer-projects-button
{
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;

    background-color: var(--bg-color-first);
    padding: 1.5em 2em;
    border: none;
    border-radius: 0.5em;

    cursor: pointer;
}
.footer-projects-button:active
{
    filter: brightness(80%);
}
.footer-projects-button p
{
    font-family: (--font);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color-second);
}
.arrow-icon-footer-button
{
    width: 2rem;
    fill: var(--text-color-second);
}

/* SITEMAP AREA*/

.footer-second-group
{
    display: contents;
}

.sitemap
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.sitemap-header
{
    color: var(--bg-color-first);
    font-size: 1.8rem;
    font-weight: 600;
}
.sitemap-item
{
    font-family: var(--font);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--bg-color-first);

    cursor: pointer;
}
.sitemap-item:active
{
    filter: brightness(80%);
}

/* FOOTER CONTACT AREA*/
.footer-contact
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.footer-social-media-icon
{
    width: 5rem;
    fill: var(--bg-color-first);
    cursor: pointer;
}
.footer-social-media-icon:active
{
    filter: brightness(80%);
}

/* COPYRIGHT AREA*/
.copyright-area
{
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 998;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: var(--text-color-first);
}
.copyright-message
{
    width: 70%;
    text-align: center;
    white-space: normal;

    font-family: var(--font);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--bg-color-first);

    padding: 1em 0rem;
}

@media (min-width: 375px)
{
    .footer-second-group
    {
        width: 40%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    } 
    .footer-contact
    {
        flex-direction: column;
    }
}

@media (min-width: 1024px)
{
    .footer-container
    {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
    }
    .footer-image-area
    {
        width: 20%;
    }
    .footer-second-group
    {
        display: contents;
    }
}

@media (hover: hover) and (pointer: fine)
{
    .footer-projects-button:hover
    {
        background-color: var(--primary-color);
        transform: translateY(-0.2em);
    }
    .sitemap-item:hover
    {
        color: var(--primary-color);
    }
    .footer-social-media-icon:hover
    {
        fill: var(--primary-color);
    }
    .copyright-area:hover span
    {
        color: var(--primary-color);
    }
}