* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: Stolzl Display;
    src: url(fonts/StolzlDisplay-Regular.woff);
}

@font-face {
    font-family: Stolzl Display;
    src: url(fonts/StolzlDisplay-Bold.woff);
    font-weight: bold;
}

:root {
    --margin-grid: 3rem;
    --primary-color: #fffff0;
    --secondary-color: #281414;
    --third-color: #00904D;
}

@media (max-width: 992px) {
    :root {
        --margin-grid: 2rem;
    }
}

@media (max-width: 576px) {
    :root {
        --margin-grid: 1.5rem;
    }
}

.container-fluid {
    padding-left: var(--margin-grid);
    padding-right: var(--margin-grid);
}

.row {
    --bs-gutter-x: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    font-family: "stolzl", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--primary-color);
    background-color: var(--third-color);
    font-size: 1rem;
}

body.fundo-branco {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

body.fundo-preto {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* --------- HEADER ---------- */

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    height: 5rem;
    align-items: baseline;
    padding: 0 var(--margin-grid);
    margin-top: 1rem;
    font-family: Stolzl Display;
}


header .logo img {
    height: 2rem;
    width: auto;
}

header nav ul {
    font-size: 2.25rem;
    display: flex;
    list-style: none;
    gap: 2rem;
}

@media (max-width: 576px) {
    header .logo img {
        height: 1.85rem;
        width: auto;
    }

    header nav ul {
        font-size: 2rem;
        display: flex;
        list-style: none;
        gap: 1rem;
    }

}

/* --------- MAIN ---------- */

main {
    margin-top: 5rem;
    min-height: calc(100dvh - 5rem);
}

/* --------- HOME ---------- */

header.home a:hover {
    color: var(--secondary-color);
}

main.home {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: var(--margin-grid);
}

main.home .home-image {
    width: 80%;
}

@media (max-width: 576px) {

    main.home .home-image {
    width: 100%;
}

}

main.home .home-image img {
    width: 100%;
    height: auto;
    display: block;
}


/* --------- WORK ---------- */

header.work .selected {
    color: var(--third-color);
}

header.work a:hover {
    color: var(--third-color);
}

main.work .card {
    position: relative;
}

main.work .card:hover .card-title {
    opacity: 1;
}

main.work .card .card-image {
    aspect-ratio: 4/3;
    margin-bottom: 1rem;
}

main.work .card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

main.work .card .card-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00904D90;

    font-size: 2.25rem;
    font-weight: medium;

    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity .3s;
    color: var(--primary-color);
}

/* --------- WORK - PROJECT ---------- */

header.project a:hover {
    color: var(--third-color);
}

main.project {
    margin-bottom: 1rem;
}

main.project .project-sticky {
    position: sticky;
    top: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 2rem;
    min-height: calc(100dvh - 5rem);
}

main.project .project-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

main.project .project-areas {
    list-style: none;
    text-transform: uppercase;
}

main.project .project-typology {
    margin-top: 1rem;
}

main.project .project-date {
    margin-top: 1rem;
}

main.project .project-synopsis {
    margin-top: 2rem;
}

main.project .project-group {
    margin-top: 2rem;
}

main.project .project-switch {
    display: flex;
    font-size: 3rem;
    gap: 2rem;
    margin-top: 2rem;
    list-style: none;
}

main.project .project-switch a:hover {
    color: var(--third-color);
}


main.project .project-images {
    aspect-ratio: 3/2;
    margin-bottom: 1rem;
}

@media (max-width: 576px) {

    main.project .project-title {
        font-size: 2rem;
    }

    main.project .project-areas {
        font-size: 0.875rem;
    }

    main.project .project-typology {
        font-size: 0.875rem;
    }

    main.project .project-date {
        font-size: 0.875rem;
    }

    main.project .project-synopsis {
        font-size: 0.875rem;
    }

    main.project .project-group {
        font-size: 0.875rem;
    }

    main.project .project-sticky {
        min-height: auto;

    }

}

main.project .project-images {
    padding-left: 0;
}


main.project .project-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin-bottom: 1rem;
}


/* --------- ABOUT ---------- */

header.about a:hover {
    color: var(--secondary-color);
}

header.about .selected {
    color: var(--secondary-color);
}

/*
header.about .logo:hover {
    color: 
}
*/

main.about {
    display: flex;
    align-items: flex-end;
    padding-bottom: 2rem;
}

main.about .card {
    padding: 2.25rem 0;
}

main.about .about-image {
    aspect-ratio: 4/5;
    padding-right: 2rem;
}

@media (max-width: 576px) {

    main.about .about-image {
        aspect-ratio: 4/5;
        padding-right: 0;
        margin-bottom: 2.5rem;
    }
}

main.about .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

main.about .about-info {
    font-size: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (max-width: 576px) {
    main.about .about-info {
        font-size: 1.125rem;
    }
}

main.about .about-title {
    margin-bottom: 1rem;
}

main.about .contacts {
    display: flex;
    flex-direction: row;
}

@media (max-width: 576px) {
    main.about .contacts {
        padding-top: 1rem;
        font-size: 14px;
    }
}

main.about .contacts ul {
    list-style: none;
}

main.about .contacts ul li {
    line-height: 1.5rem;
}


main.about .contacts a:hover {
    color: var(--secondary-color);
}

main.about .contacts-label {
    font-family: Stolzl Display;
    margin-bottom: 1rem;
}

main.about .contacts .phone-mail {
    padding-bottom: 1rem;
}