/* main {
    background-image: linear-gradient(180deg,var(--color-project) 0%,#101010 60%);
} */

.project {
    display: block;
    width: 100vw;
    height:80vh;
    position: relative;
}

.project .hautBackground {
    position:absolute;
    z-index: 0;
    top:50%;
    left:50%;
    width: inherit;
    height: inherit;
    overflow: visible;
    transform: translate(-50%,-50%);
    z-index: 0 !important;
}

.project .hautBackground div {
    position: inherit;
    background-color: var(--bg-color);
    width: 150vw;
    height: inherit;
    border-radius: 100%;
    opacity: 1;
    filter: blur(calc(8vw + 4vh));
    transition: opacity 1s ease-out 0.3s;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    z-index: 0 !important;
}

body.fade-out .project .hautBackground div {
    opacity: 0;
    transition: opacity 1s ease-out 0.3s;
}

.project .logoTitle {
    position: absolute;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    max-width: 50vw;
    max-height: 50vh;
    opacity: 1;
    transform: translate(-50%,-50%) scale(1);
    transition: opacity 1.1s cubic-bezier(.42,0,.9,.44) 0.6s, transform 1.5s cubic-bezier(0,.48,.22,1) 0.6s ;
    z-index: 2;
}

body.fade-out .project .logoTitle {
    opacity: 0;
    transform: translate(-50%,-50%) scale(1.5);
}

@media screen and (max-width: 800px) {
    .project {
        height: 50vh;
    }

    .project .hautBackground {
        overflow-x: hidden;
        height: 100vh;
    }

    .project .hautBackground div {
        height: 50vh;
    }

    .project .logoTitle {
        width: auto;
        height: auto;
        max-width: 85vw;
        max-height: 40vh;
    }    
}

.informations {
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: calc(10vw + 10vh);
    width: 60vw;
    gap:calc(3vw + 1.5vh);
}


.informations .left{
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items: flex-start;
    gap:calc(2vw + 4vh);
}

.informations .text {
    display: flex;
    width: inherit;
    max-width: 60lvw;
    text-align: center;
    align-items: center;
    flex-direction: column;
    font-size: var(--font-size-pc);
}

.informations .image {
    display: flex;
    width: inherit;
    text-align: center;
    align-items: center;
    flex-direction: column;
    font-size: var(--font-size-pc);
}

.informations .image img {
    width: inherit;
    border-radius: 5px;
    max-height: 60vh;
    max-width: 70lvw;
    object-fit: contain;
}

.informations .right {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items: flex-start;
    gap:calc(2vw + 4vh);
}

.informations .left p, .informations .right p {
    width: 32vw;
    /* height: calc(20lvw + 14lvh); */
    max-height: 420px;
    font-size: var(--font-size-pc);
}

.informations .left img, .informations .right img {
    border-radius: 5px;
    /* max-width: 620px; */
    width: calc(28vw - 4vh);
    height: auto; 
    /* max-height: 420px; */
}

.informations * b {
    font-weight: 700;
}

.informations * a {
    text-decoration: underline;
    color: var(--white);
    opacity: 1;
    transition: opacity 0.15s ease;
    font-weight: 600;
}

.informations * a:hover {
    opacity: 0.6;
}

.informations .textTitle {
    font-size: 52px;
    font-weight: 800;
    margin-top: -5vw;
    /* text-transform:uppercase; */
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: max-content;
    overflow-y: hidden;
    height: max-content;
}

body main .informations .textTitle p {
    margin: 0;
    overflow-y: hidden;
    transform: translateY(0%);
    transition: transform 0.5s ease-out calc(var(--i) * 0.02s + 0.8s);
}

body.fade-out main .informations .textTitle p {
    transform: translateY(100%);
}

@media screen and (max-width: 800px) {
    .informations {
        width: 85lvw;
    }

    .informations .left {
        width: inherit;
        flex-direction: column;
        text-align: center;
    }
    

    .informations .text, .informations .image {
        font-size: var(--font-size-tel);
    }
    
    .informations .right {
        width: inherit;
        flex-direction: column-reverse;
        text-align: center;
    }

    .informations .left p, .informations .right p, .informations .right img, .informations .left img {
        width: inherit;
        font-size: var(--font-size-tel);
    }

    .informations .left img {
        margin-bottom:8lvh;
    }
}