body {
    margin: 0 30px 0 30px;
    min-height: 100vh;
}


@media only screen and (max-width: 768px) {
    body {
        margin: 0 16px 0 16px;
        min-height: 100vh;
    }
}

@media only screen and (min-width: 1800px) {
    
}

@media only screen and (max-width: 1300px) {

}

@media only screen and (max-width: 992px) {

}

@media only screen and (max-width: 850px) {

}

@media only screen and (max-width: 768px) {

}

/* ---------------------------------- NAVIGATION ---------------------------------- */

nav {
    display: flex;
    height: 84px;
    justify-content: flex-end;
    align-items: center;
}

nav > a {
    margin-right: 30px;
}

/* ---------------------------------- FOOTER ---------------------------------- */

footer {
    padding: 30px 0;

}

/* ---------------------------------- SPLASH ---------------------------------- */

.splash-title {
    min-height: 70vh;
    font-size: 0;
    display: flex;
    align-items: center;
}

.splash-title-mobile {
    min-height: 70vh;
    font-size: 0;
    display: flex;
    align-items: center;
    display: none;
}

.splash-title > h1 {
    text-align: center;
    padding: 0 8em;
    max-width: 1500px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
}

.title-icons {
    height: 50px;
    align-self: center;
}

button {
    all: unset;
    cursor: pointer;
      
}

.title-link {
    border-bottom: solid 2px #010025;
}

.title_font-1, .title_font-2, .title_font-3, .title_font-4, .title-link, .title-icons {
    margin-right: 20px;
}

.title-arrow {
    font-size: 1rem;
    position: relative;
    padding-left: 3px;
    margin: 0;
}

.title_font-1 > .title-arrow {
    margin: 0;
}

.no-margin {
    margin: 0;
}

@media only screen and (max-width: 1300px) {
    .title-icons {
        height: 40px;
    }
}

@media only screen and (max-width: 850px) {
    .splash-title {
        display: none;
    }
    
    .splash-title-mobile {
        display: flex;
        flex-direction: column;
    }

    .sentence-title-mobile {
        margin: 50px 0 40px 0;
    }

    .links-title-mobile {
        margin-bottom: 40px;
    }

    .showreel-title-mobile {
        margin-bottom: 80px;
    }

    .title-link {
        display: inline-block;
    }

    .title_font-1, .title_font-2, .title_font-3, .title_font-4, .title-link, .title-icons {
        margin-right: 15px;
    }

    .title-arrow {
        margin: 0;
    }

    .title-icons {
        margin-bottom: -9px;
    }
}

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

main {
    min-height: 100vh;
}

.project-section {
    display: grid;
    grid-template-columns: 1fr min-content 1fr;
    grid-template-rows: auto 200px auto;
}

/* ---- TITLES ---- */
.section_title:nth-of-type(1n) {
    grid-column: 1;
    grid-row: 1;
}

.section_title:nth-of-type(2n) {
    grid-column: 2;
    grid-row: 3;
}

/* ---- PROJECT CARD ---- */

.grid-card {
    display: grid;
    grid-template-columns: min-content min-content min-content;
    grid-template-rows: auto; 
    column-gap: 40px;
    row-gap: 50px;
    grid-column: 2;
    margin-top: 40px;
}

.project-card {
    position: relative;
    aspect-ratio: 2.6/3;
    min-width: 360px;
    justify-content: center;
}

.project-card_image {
    position: absolute;
    width: 100%;    
    display: block;
    border-radius: 8px;
    z-index: 10;
}

.project-card:hover > .project-card_image {
    display: none;
    cursor: pointer;
}

.date-project_card {
    padding: 20px;
}

.title-project_card {
    padding: 20px;
    position: absolute;
    bottom: 0;
}

.title-project_card > h3 {
    margin-bottom: 5px;
}

.project-card_plus_icon {
    height: 18px;
    position: absolute;
    margin: 20px;
    top: 0;
    right: 0;
}

/* ---- PROJECT ARCHIVED CARD ---- */

.grid-archived_card {
    grid-column: 2;
    grid-row: 3;
    margin-bottom: 260px;
    width: 100%;
}

.project-archived_card {
    display: grid;
    grid-template-columns: 6% auto 65%;
    position: relative;
    margin-bottom: 6px;
    border-bottom: .5px #1c1c1c solid;
    padding-bottom: 6px;
}

.project-archived_card:hover {
    border-bottom: 1px #1c1c1c solid;
}

.project-archived_card > p:nth-of-type(1n){
    grid-column: 1;
}

.project-archived_card > h3{
    grid-column: 2;
}

.project-archived_card > p:nth-of-type(2n){
    grid-column: 3;
}

.project-archived_card_plus_icon {
    height: 10px;
}

.project-archived_card_plus_icon {
    position: absolute;
    right: 0;
}

@media only screen and (max-width: 1300px) {
    .grid-card {
        grid-template-columns: min-content min-content;
    }

    .project-archived_card {
        grid-template-columns: 6% auto 50%;
    }
}

@media only screen and (max-width: 850px) {
    .project-section {
        grid-template-columns: min-content;
        grid-template-rows: auto 100px auto;
    }

    .grid-card > .section_title {
        margin: 0;
    }

    .project-card:hover > .project-card_image {
        display: block;
    }
    
    .grid-card {
        grid-template-columns: 1fr;
    }

    .title-mobile {
        display: flex;
        padding-top: 20px;
    }

    .title-project_card, .date-project_card {
        position: relative;
        padding: 0;
    }

    .date-project_card {
        padding-right: 25px;
    }

    .project-card_plus_icon {
        display: none;
    }

    .project-card {
        width: 100%;
        min-width: fit-content;
    }

    .project-card_image {
        display: block;
        z-index: 0;
        position: relative;
    }

    .project-archived_card {
        grid-template-columns:20% auto;
        margin-bottom: 11px;
        padding-bottom: 10px;
    }

    .project-archived_card > h3{
        margin-bottom: 5px;
    }

    .project-archived_card > p:nth-of-type(2n){
        grid-column: 2;
        grid-row: 2;

    }

    .grid-archived_card {
        margin-bottom: 80px;
    }
}


/* ---------------------------------- PROJECTS ---------------------------------- */

.grid-wrapper_projects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 50px;
    align-items: start;
    max-width: 2300px;
    justify-content: end;  
}

.grid-project_informations {
    display: grid;
    grid-template-columns: 1fr 250px;
    grid-template-rows: auto auto;
    row-gap: 10px;
    column-gap: 40px;
    align-self: start;
    top: 50px;
    position: sticky;
}

.infos-project {
    grid-row: 2;
    grid-column: 2;
}

.txt-project {
    grid-row: 2;
}

.date-project {
    margin-bottom: 3px;
}

.grid-image {
    display: grid;
    grid-template-columns: 1fr 10px 1fr;
    margin-bottom: 10px;
}

.grid-image > img, video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.grid-image > a {
    margin-bottom: 20px;
    justify-self: center;
}

.p_img-full {
    margin-bottom: 20px;
    grid-column: 1 / 4;
    grid-row: auto;
}

.p_img-half-left {
    margin-bottom: 20px;
    grid-column: 1 / 2;
    grid-row: auto;
}

.p_img-half-right {
    margin-bottom: 20px;
    grid-column: 3 / 4;
    grid-row: auto;
}

iframe {
    border-radius: 8px;
}

@media only screen and (min-width: 1800px) {
    
}

@media only screen and (max-width: 1500px) {
    .grid-project_informations {
        grid-template-columns: auto;
    }

    .infos-project {
        grid-row: 3;
        grid-column: 1;
    }
}

@media only screen and (max-width: 1300px) {

}

@media only screen and (max-width: 992px) {

    .grid-project_informations {
        top: 0;
        position: relative;
    }

    .grid-wrapper_projects {
        display: grid;
        grid-template-columns: 1fr 60%;
    }
}

@media only screen and (max-width: 850px) {
    .grid-wrapper_projects {
        display: grid;
        grid-template-columns: 100%;
    }

    .grid-project_informations {
        grid-template-columns: auto;
        grid-template-rows: auto auto auto;
        row-gap: 10px;
        margin-bottom: 40px;
    }
}

@media only screen and (max-width: 768px) {

}

/* ---------------------------------- INFORMATIONS ---------------------------------- */

.container-information {
    display: grid;
    align-content: center;
    height: 80vh;
}

.grid-informations {
    display: grid;
    grid-template-columns: 1.5fr 90px 1fr;
    position: relative;
    max-width: 1500px;
    align-items: center;
    margin: 0 auto;
}

.txt-informations-portraits {
    grid-column: 1;
    align-self: center;
}

.txt-informations-portrait > h2 {
    margin-bottom: 10px;
}

.img-project {
    grid-column: 3;
    border-radius: 8px;
    display: block;
    height: auto;
    max-width: none;
    width: 100%;
}

@media only screen and (min-width: 1800px) {
    
}

@media only screen and (max-width: 1300px) {
}

@media only screen and (max-width: 992px) {
    .grid-informations {
        display: grid;
        grid-template-rows: auto 25px auto;
        margin-bottom: 80px;
    }

    .txt-informations-portrait {
        grid-row: 3;
        grid-column: 1 / 4;
    }

    .grid-informations > img {
        grid-column: 1 / 4;
    }

    .container-information {
        align-content: unset;
        height: none;
        height: fit-content;
    }
}

@media only screen and (max-width: 850px) {

}

@media only screen and (max-width: 768px) {

}