*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 100%;
}

@font-face {
    font-family: 'EditorialNew';
    src: url("fonts/PPEditorialNew-Ultralight.woff2");
}

@font-face {
    font-family: 'EditorialNew';
    src: url("fonts/PPEditorialNew-UltralightItalic.woff2");
    font-style: italic;
}

@media (max-width: 992px) {
    :root{
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    :root{
        font-size: 14px;
    }
}


:root{
    --primary-color: #000;
}

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

/*-------- grid --------*/
.container-fluid{
    padding-left: 2rem;
    padding-right: 2rem;
}

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

/*-------- body --------*/

body{
    font-family: "neue-haas-grotesk-display", sans-serif;
}

/*-------- header --------*/

header{
    position: fixed;
    width: 100%;
    top: 0;
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 2rem;
    background-color: white;
    height: 6rem;
    z-index: 99;
}

.header-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--primary-color);
    height: 6rem;
}

header .carolina-goncalves img{
    height: 3.5rem;
    width: auto;
    display: block;
}

@media (max-width: 576px) {
    header .carolina-goncalves img{
        height: 2.5rem;
    }
    header nav ul{
        font-size: 1.5rem;
    }
}

header nav ul{
    list-style: none;
}

header nav ul :hover{
    list-style: none;
    font-style: italic;
}


/*-------- main --------*/


main.home{
    height: calc(100vh - 4rem);
    display: flex;
    align-items: flex-end;
}

main.work{
    padding-top: 12rem;
}

main.single{
    padding-top: 8rem; 
}

@media (max-width: 576px) {
    main.home{
        height: calc(100vh - 5rem);
    }
}

/*-------- index / about --------*/

.about-text{
    font-size: 3.25rem;
    font-family: 'EditorialNew';
    margin-bottom: 2rem;
}

.about-text p + p {
    text-indent: 4rem;
}


@media (max-width: 576px) {
    .about-text{
        font-size: 1.8rem;
    }
 
    .about-text p + p {
        text-indent: 4rem;
    }
}

/*-------- Work --------*/

.work article{
    border-top: 1px solid black; 
    border-bottom: 1px solid black; 
    padding: 1.5rem 0;
    margin-top: -1px;

}

.card{
    position: relative;
}

.card:hover .card-image{
    display: block;
}

.card-image{
    display: none;
    position: absolute;
    top: -2rem;
    left: 53%;
}

.card-image img{
    width: 10rem;
    height: auto;
}

.work-areas, .work-year{
    list-style: none;
    font-size: 1rem;
    line-height: 1.25rem;
}

.work-year{
    text-align: right;
}

.work-subtitle{
    font-family: 'EditorialNew';
    font-size: 3rem;
    line-height: 1.1;
}

.work-subtitle:hover{
    font-family: 'EditorialNew';
    font-style: italic;
    line-height: 1.1;
}


@media (max-width: 576px) {

    .work-areas{
        display: none;
    }

    .card-image{
        display: block;
        position: static;
    }
    
    .card-image img{
        width: 100%;
        height: auto;
        filter: grayscale(100%);
    }
    .work-subtitle{
        font-size: 2.2rem;
        line-height: 1.2;
        padding-bottom: 1rem;
    }
}

@media (max-width: 992px) {

    .work-areas{
        display: none;
    }

    .card-image{
        display: block;
        position: static;
    }
    
    .card-image img{
        width: 100%;
        height: auto;
        filter: grayscale(100%);
    }
    .work-subtitle{
        padding-bottom: 1rem;
    }
}


/*-------- Single --------*/

.single .container-fluid{
    margin-bottom: 3rem;
    flex-wrap: wrap
}

.single-info{
    position:sticky;
    top: 8rem;
}

.single-title{
    font-size: 3rem;
    line-height: 3.5rem;
    font-family: 'EditorialNew';
    margin-bottom: 1rem;
}

.single-text{
    font-size: 1.2rem;
    list-style: 1.5rem;
    margin-bottom: 3rem;
}

.single-text p + p {
    text-indent: 2rem;
}

.single-details{
    font-size: 1rem;
}

.single-details :last-child{
    padding-bottom: 2rem;
}

.single-image{
    list-style: none;
    padding-bottom: 0rem;
}

.single-image img{
    width: 100%;
    height: auto;
}

.single-image + .single-image {
    margin-top: .5rem;
}

@media (max-width: 576px) {
    .single-details{
        padding-bottom: 2rem;
    }
}

/*-------- Footer --------*/

footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    margin-left: 2rem;
    margin-right: 2rem;
    margin-bottom: 1rem;
    height: 3rem;
    background-color: white;
    outline: 1px solid var(--primary-color);
    font-family: "neue-haas-grotesk-display", sans-serif;
}

@media (max-width: 576px) {
    footer{
        display: block;
        height: 3rem;
        padding-top: .8rem;
    }
}

footer nav ul{
    display: flex;
    list-style: none;
    
}

footer nav ul li{
    margin-left: 1.5rem;
    font-size: 1rem;
}

@media (max-width: 576px) {
    footer nav ul li{
        display: none;
    }
    

}

footer nav ul li:hover{
    font-style: italic;
}

footer div:hover{
    font-style: italic;
}

