
/* ---------- Navbar ---------- */
.project-navbar {
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 1em;
    
    position: sticky;
    top: 0px;
    z-index: 999;
}

.project-navbar a .arrow, footer a .arrow {
    font-size: 2em;
    transition: all 0.3s ease;
    vertical-align: middle;
    padding-right: 0.5em;
}

.project-navbar a, footer a {
    font-size: 1.25em;
}

footer {
    justify-content: center;
    align-items: center;
    background-color: #0D0221;
    padding: 1em;
}

footer a {
    color: #ffffff;
}





/* ---------- Project Presentation ---------- */
.pres-project {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.pres-project-primary{
    max-width: 50vw;
    margin-right: 5em;
}

.pres-project-primary h1 {
    font-size: 3em;
    color: #F50056;
    line-height: 1em;
}

.pres-project-primary .proj-subtitle {
    font-size: 1.5em;
}

.project-image {
    margin: auto 6em auto 8em;
}

.project-image img {
    max-height: 70vh;
    position: relative;
    z-index: 1;

    /* Basic picture CSS */
    background-color: #0D0221;
    outline: 0.3em solid #ffffff;
    border-radius: 10px;
    box-shadow: 0.7em 0.7em #F50056;

    object-fit: cover;
}

.pres-list{
    list-style: disc;
    margin-left: 2em;
}

.pres-list li{
    color: #FFFFFF;
}

.infos-text .highlight{
    font-size: 1.5em;
}





/* ---------- Infos Section ---------- */

.infos-section {
    width: 100%;
    padding: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8em;
    position: relative;
}

.infos-section .infos-text {
    max-width: 50vw;
}

.infos-section .infos-text p {
    color: #ffffff;
}

.infos-image img {
    max-height: 50vh;
    position: relative;
    z-index: 1;
    overflow: hidden;

    width: 500px;
    height: 400px;

    /* Basic picture CSS */
    background-color: #0D0221;
    outline: 0.3em solid #0D0221;
    border-radius: 10px;
    box-shadow: 0.7em 0.7em #F50056;

    object-fit: cover;
    margin-left: 2em;
}

.infos-image, .infos-text {
    margin-bottom: 15em;
}

.custom-shape-divider-bottom-1682877775 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1682877775 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.custom-shape-divider-bottom-1682877775 .shape-fill {
    fill: #FFFFFF;
}





/* ---------- Pictures section ---------- */

.grid-section {
    padding: 2em;
}

.infos-images-grid {
    max-width: 1800px;
    width: 100%;
    height: auto;
    padding: 10em 0;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, 300px);
    justify-content: center;
    gap: 1em;
}

.grid-image {
    overflow: hidden;
    height: 300px;
    width: 300px;

    box-shadow: 0 0 200px rgba(0,0,0,0.9) inset;
    border: 2px solid #0D0221;
    border-radius: 10px;
    transition: all .2s ease-in-out;

    object-fit: cover;
}

.grid-image:hover {
    box-shadow: none;
    transform: scale(1.02);
    cursor: pointer;
}

.embed-video {
    margin: auto;
    margin-top: 10em;
    display: flex;
    width: 800px;
    height: 450px;
}

.infos-images-grid-video {
    max-width: 1800px;
    width: 100%;
    height: auto;
    padding: 5em 0 10em 0;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, 300px);
    justify-content: center;
    gap: 1em;
}




/* ---------- Media Queries ---------- */

/* hi-res laptops and desktops */
@media (max-width:1280px) {
    .infos-image img {
        max-height: 40vh;
    }

    .project-image {
        margin: auto 4em auto 6em;
    }
}

/* big landscape tablets, laptops, and desktops */
@media (max-width:1024px) {
    
}

/* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
@media (max-width:960px) {

}

/* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
@media (max-width:640px) {
    .pres-project {
        flex-direction: column;
    }

    .project-image {
        margin: auto;
    }

    .project-image img {
        max-height: 50vh;
        overflow: hidden;
    }

    .pres-project-primary {
        margin: 3em auto;
        max-width: 80%;
    }

    .pres-project-primary h1 {
        font-size: 2em;
    }

    .pres-project-primary .proj-subtitle {
        font-size: 1.2em;
        margin-bottom: 1em;
    }

    .infos-section {
        flex-direction: column;
        margin: none;
        max-width: none;
        padding: 0;
    }

    .infos-text {
        max-width: 80%!important;
        margin-bottom: 3em;
    }

    .more-space-under {
        margin-bottom: 10em;
    }

    .infos-image img{
        margin: unset;
    }

    .infos-images-grid {
        grid-template-columns: repeat(auto-fill, 400px);
    }

    .infos-images-grid img {
        width: 400px;
        height: 400px;
    }

    .embed-video {
        width: 480px;
        height: 270px;
    }
}

/* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
@media (max-width:480px) {
    
    .embed-video {
        width: 400px;
        height: 225px;
    }
}