/*.scroll-wrapper{*/
/*    height: 100vh;*/
/*    width: 100vw;*/
/*    overflow-y: scroll;*/
/*    scroll-snap-type: y mandatory;*/
/*    overflow-x: hidden;*/
/*}*/

/*.scroll-section{*/
/*    height: 100%;*/
/*    width: 100vw;*/
/*    scroll-snap-align: start;*/
/*    position: relative;*/
/*}*/

#Image{
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.nomPrenom{
    position: absolute;
    left: 15vw;
    color: white;
    font-family: "MainFont";
    font-size: 6vw;
    z-index: 2;
}

.socialNetworks{
    position: absolute;
    bottom: 7vh;
    right: 0.5vw;
    height: 4vh;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0;
}


.SocialNetworkIcon{
    height: 100%;
    transition: transform 0.2s ease, filter 0.2s ease;
    padding: 1.5vw;
}

.SocialNetworkIcon:hover{
    filter: brightness(1.3);
    transform: translateY(-0.25vh) scale(105%);
}

.imageBackground{
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
    z-index: 0;
}

.scroll-section:has(.imageBackground)::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(226, 162, 236, 0.75),
            rgba(0, 0, 0, 0)
    );
    z-index: 1;
    pointer-events: none;
}

::-webkit-scrollbar{
    /*display: none;*/
}

h2{
    text-align: center;
    font-family: "MainFont";
    /*text-decoration: underline;*/
    font-weight: normal;
    font-size: var(--titleFontSize);
    margin-bottom: var(--eltSpace);
    margin-top: 0;
}

.pinkTitle{
    color: #e2a2ec;
}

.whiteTitle{
    color: #ffffff;
}

.rendersSection{
    padding-top: var(--sectionSpace);
    padding-bottom: var(--sectionSpace);
    text-align: center;
    width: 100%;
    display: grid;
}

.renders{
    display: grid;
    grid-template-columns: repeat(3, 0.1fr);
    grid-gap: 1rem;
    /*grid-auto-rows: minmax(100px, auto);*/
    justify-self: center;
    align-self: center;
    grid-gap: 0.75vw;
}

.renderImageDiv{
    /*height: 50vh;*/
    width: 22vw;
    height: 22vw;
    transition: transform 0.2s ease;
    position: relative;
}
.renderImageDiv:hover{
    transform: scale(101%);
}

.renderImageDiv > img{
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    border-radius: 0.7rem;
    border : 0.2rem solid #e2a2ec;
    object-fit: cover;
}

.imageContent{
    width: 100%;
    height: 100%;
    top: 0.2rem;
    left: 0.2rem;
    position: absolute;
    background: rgba(226, 162, 236, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: 0.4s;
    /*border-radius: 0.6rem;*/
    backdrop-filter: blur(3px);
}
.imageContent:hover{
    opacity: 1;
}

.renderTitle{
    font-family: "MainFont";
    font-weight: initial;
    color: white;
    margin: 0;
    width: 85%;
}

.renderDescription{
    font-family: "Corbel";
    color: white;
    margin: 0;
    font-weight: lighter;
    width: 75%;
}

.moreLink{
    font-family: "MainFont";
    text-decoration: underline;
    font-weight: normal;
    font-size: var(--linkFontSize);
    color: #f8cbff;
    margin-top: var(--eltSpace);
    display: inline-block;
    transition: transform 0.2s ease;
}
.moreLink:hover{
    color: #4d3851;
    transform: scale(107%);
}

.projectsSection{
    padding-top: var(--sectionSpace);
    padding-bottom: var(--sectionSpace);
    text-align: center;
    background-color: #e2a2ec;
    display: grid;
}

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

.project{
    display: flex;
    justify-self: center;
    justify-content: center;
    transition: transform 0.2s ease;
    color: white;
    width: auto;
    padding: var(--eltSpace);
    border-radius: 0.7rem;
}

@media (min-width: 750px) {
    .project:hover{
        color: #4d3851;
        transform: scale(101%);
        background-color: #f8cbff;
    }
}

.projectImage{
    /*width: 37vw;*/
    /*height: 10vh;*/
    aspect-ratio: 2/1.15;
    max-width: 29vw;
    /*min-height: 25vh;*/
    object-fit: cover;
    border-radius: 0.7rem;
    border : 0.2rem solid #f8dbff;
}

.projectImageLegend{
    color: #86618c;
    font-family: "Corbel";
    font-size: calc(var(--titleFontSize) / 3.5);
    margin: 0;
    margin-top: calc(var(--eltSpace) / 8);

}


.projectText{
    width: 35vw;
    font-family: "Corbel";
    font-weight: lighter;
    font-size: calc(var(--titleFontSize) / 2.75);
    display:flex;
    flex-direction: column;
    justify-content:center;
}

@media (min-width: 750px) {
    #left{
        text-align: left;
        margin-bottom: var(--eltSpace);
    }

    #right{
        text-align: right;
    }

    .projectText#left{
        margin-left: calc(var(--eltSpace) * 2);
        text-align: center;
    }
    .projectText#right{
        margin-right: calc(var(--eltSpace) * 2);
        text-align: center;
    }
}


.projectDescription{
    margin: 0;
    color: black;
}

.projectTitle{
    text-decoration: underline;
    margin: 0;
    margin-bottom: calc(var(--eltSpace) / 2.5);
}


@media (max-width: 750px) {
    .project{
        width: 95%;
        display: flex;
        flex-direction: column;
        /*justify-content: center;*/
        padding: 0;
    }

    #left.project{
        margin-bottom: calc(var(--eltSpace) * 3.5);
    }

    .projectImageDiv {
        order: 0;
        margin-bottom: 1000px;
    }

    .projectText{
        order: 1;
        width: 85%;
        align-self: center;
    }

    .projectImage{
        width: 85%;
        max-width: initial;
    }

    .projectImageLegend{
        font-size: calc(var(--titleFontSize) / 3.5);
    }

    .projectImageDiv{
        margin-bottom: calc(var(--eltSpace) / 1.5);
    }

    .renders{
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 2.5vw;
    }

    .renderImageDiv{
        width: 42vw;
        height: 42vw;
    }

    .renderImageDiv > img{
        border-radius: 0.5rem;
        border-width: 0.17rem;
    }

    .imageContent{
        top: 0.17rem;
        left: 0.17rem;
    }

    .renderTitle{
        font-size: calc(var(--linkFontSize) / 1.25);
    }

    .renderDescription{
        font-size: calc(var(--linkFontSize) / 2.5);
    }

    #Image{
        height: 100dvh;
    }

    ::-webkit-scrollbar{
        display: none;
    }

    .socialNetworks{
        right: 0vw;
        left: 0vw;
        bottom: 4.7vh;
        margin: 0 50%;
        transform: translateX(50%);
        height: 2.5rem;
        z-index: 2;
        display: flex;
        justify-content: center;
        gap: 0;
    }

    .SocialNetworkIcon{
        padding: 1rem;
    }

    .nomPrenom{
        text-align: center;
        font-size: 16vw;
        left: 0;
        right: 0;
    }
}
