:root{
    --color-main: #00E5FF;
}

/* Header real  */

/* Vague Header */
        .custom-shape-divider-top-1687274057 {
            position: fixed;
            top: 13vh;
            left: -4%;
            width: 108%;
            overflow: hidden;
            line-height: 0;
            transform: rotate(180deg);
            z-index: 300;
            opacity: 1;
            transition: opacity .2s ease-in;
        }

        .custom-shape-divider-top-1687274057 svg {
            position: relative;
            display: block;
            width: calc(100% + 1.3px);
            height: 62px;
        }

        .custom-shape-divider-top-1687274057 .shape-fill {
            fill: #FFFFFF;
        }

.real-header{
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.int-header{
    width: 75%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    background-color: blueviolet;
}

.real-all{
    position: absolute;
    font-size: 8em;
}

.real-titre{
    font-size: 5.2rem;
    -webkit-text-stroke: 4px white;
    margin: 0;
}

.real-sous-titre{
    color: #4AF6FF;
    font-size: 4em;
    margin: 0;
}

/* CONTENT */

.blue{
    color: var(--color-main);
}

.orange{
    color: #fd9b08;
}

.creer{
    font-size: 2rem;
    margin: 20px 0 0;
    z-index: 10;
}

/* images header mobile */

.img-absolute-real-header{
    display: none;
}

.border-creer{
    position: relative;
    padding: 6px;
    width: fit-content;
    border: 2px solid transparent;
}

.border-creer::after{
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    bottom: -2px;
    right: -2px;
    width: 100%;
    border: solid 1.5px #FFE500;
    transform: rotate(-5deg);
}

.encart-projet-real{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-real{
    position: relative;
    top: -60px;
    width: 100%;
    opacity: 1;
    transition: opacity 0.25s ease-in-out;
}

/* Content */

/* Images absolutes déco */

.img-absolute-real-content{
    position: absolute;
}

.demi-cercle-cyan{
    top: 52%;
    right: 26%;
    width: 160px;
}

.deux-cercles{
    width: 44px;
    top: 38%;
    left: -5%;
}

.carre-plein{
    top: 21%;
    left: 61%;
}

.carre-vide{
    top: 80%;
    left: 10%;
}

.triangle-jaune{
    right: 15%;
    top: 106%;
}

.blurred-img{
    position: relative;
    top: -60px;
    width: 100%;
    background-image: url(../images/realisations/real-banner-min.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(12px);
}

.loaded{
    opacity: 1;
}

.unblur{
    filter: none;
}

.projet-titre-real{
    position: absolute;
    color: white;
    top: 43%;
    font-size: 2.3rem;
    text-align: center;
}

.projet-btn-parle-real{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 54%;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 12px 38px;
    border-radius: 30px;
    box-shadow: 6px 5px 14px 0px rgb( 0 0 0 / .3);
    background-color: var(--color-main);
    transition: all .2s ease-in-out;
}

.projet-btn-parle-real:hover{
    transform: scale(1.1);
}

.projet-btn-parle-real p{
    display: inline-block;
    margin: 0;
}

/* Grille réalisations */

.grille-realisations{
    position: relative;
    margin: 0 8% 300px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 2%;
    row-gap: 12%;
}

.real-wrapper{
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    padding-top: 10%;
    object-fit: cover;
    justify-self: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wrap-minia{
    clip-path: none;
    height: 100%;
    border-radius: 70px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.realisations{
    width: 100%;
    transition: all 0.25s ease-in-out;
}

.real-wrapper::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    border-radius: 70px;
    background: rgb(1,248,248);
    background: linear-gradient(180deg, rgba(1,248,248,0) 0%, rgba(1, 248, 248, 0) 36%, rgba(67, 212, 255, 0.427) 100%);
    transition: all 0.25s ease-in-out;
}

.real-wrapper:hover::before{
    opacity: 1;
}

/* after all */
.real-wrapper::after{
    content: "";
    text-align: center;
    font-family: 'Unbounded', cursive;
    font-size: 1rem;
    font-weight: 700;
    position: absolute;
    width: 60%;
    height: 18%;
    top: 25%;
    left: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    border-radius: 30px;
    background: rgba(218, 218, 218, 0.466);
    backdrop-filter: blur(10px);
    transition: all 0.25s ease-in-out;
}

.real-wrapper:hover::after{
    opacity: 1;
    top: 6%;
}

/* after all */
.real-wrapper-all::after{
    content: "All";
}

/* after vidéo */
.real-wrapper-vid::after{
    content: "Vidéo";
}

/* after graphisme */
.real-wrapper-graph::after{
    content: "Graphisme";
}

.real-wrapper-logo::after{
    content: "Logotype";
}

/* after web */
.real-wrapper-web::after{
    content: "Web";
}

/* after cm */
.real-wrapper-cm::after{
    content: "CM";
}

/* after vidéo et graphisme */
.real-wrapper-vid-graph::after{
    content: "Vidéo et Graphisme";
}

/* after vidéo et web */
.real-wrapper-vid-web::after{
    content: "Vidéo et Web";
}

/* after vidéo et graphisme */
.real-wrapper-graph-web::after{
    content: "Graphisme et Web";
}

/* Propriétés image plein écran */

.pop-wrap{
    position: fixed;
    top: 20px;
    left: 10vw;
    width: 80vw;
    height: 100%;
    z-index: 300;
}

/* Modales */

.modal-grid{
    display: grid;
}

.modal{
    width: 64vw;
    height: 70vh;
    padding: 0;
    grid-template-columns: 50% 50%;
    border: 0;
    box-shadow: 0 0 1em rgb( 0 0 0 / .3);
    border-radius: 80px 40px 80px 80px;
    z-index: 3000;
}

.modal:focus{
    border: 0 !important;
}

.modal:active{
    border: 0 !important;
}

.modal::backdrop{
    background: rgba(0, 0, 0, 0.699);
    /* opacity: .5; */
}

.modal::-webkit-scrollbar{
    width: .6em
}

.modal::-webkit-scrollbar-track{
    background: none;
    margin-top: 2em;
    margin-bottom: 3.8em;
}

.modal::-webkit-scrollbar-thumb{
    background-color: var(--color-main);
    margin-block: 2em;
    border-radius: 100vw;
}

.modal::-webkit-scrollbar-thumb:hover{
    background-color: #003152;
}

/* Partie gauche / Images */

.img-wrap{
    width: 100%;
    height: 35vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.img-wrap-double{
    width: 100%;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.modal-left{
    margin: 0;
    padding: 0;
    position: sticky;
    top: 0;
    left: 0;
    height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    overflow-y: hidden;
}

.modal-left img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Partie droite / Texte */

.modal-right{
    padding: 20px 10px 20px 40px;
    display: flex;
    flex-direction: column;
}

.modal-right h2, .modal-right h3, .modal-right h4{
    margin: 0;
}

.modal-right h4{
    font-weight: 400;
}

.nom-modal{
    font-weight: 300;
}

.role-modal{
    font-weight: 600;
    font-size: medium;
}

/* Div logiciel */

.div-logiciel{
    display: flex;
    align-items: center;
}

.logiciels{
    color: var(--color-main);
    font-weight: 700;
    display: inline;
}

.logo-logiciel{
    width: 35px;
    height: 35px !important;
    margin-left: 12px;
    display: inline-block;
}

/* Div paragraphe */

.div-trois-points{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.bouton-contact-modal{
    display: none;
}

.lien-bleu{
    color: var(--color-main);
    font-weight: 600;
}

.bold{
    font-weight: 600;
}

.close-modal{
    position: absolute;
    top: 20px;
    right: 20px;
    width: 22px !important;
    height: 22px !important;
    transition: all .2s ease-in-out;
}

.close-modal:hover{
    cursor: pointer;
    transform: scale(1.2);
}

.logo-geniall-min{
    width: 40px;
    height: auto !important;
    align-self: center;
    margin-right: 30px;
}

    /* Div écart entre articles */

.ecart-article-real{
    width: 100%;
    height: 250px;
}


/* Footer */










            /* RESPONSIVE */





@media (max-width: 1920px){

    .ecart-article-real{
        height: 150px;
    }
}

@media (max-width: 1750px){
    .projet-titre-real{
        top: 35%;
    }

    .ecart-article-real{
        height: 200px;
    }
}

@media (max-width: 1450px){
    .ecart-article-real{
        height: 150px;
    }
}

@media (max-width: 1200px){
    .ecart-article-real{
        height: 80px;
    }
    .carte-slogan{
        padding: 40px 10% 90px;
    }
}

@media (max-width: 1000px){
    .modal{
        width: 78vw;
    }

    .carte-slogan{
        padding: 40px 8% 90px;
        grid-column-gap: 8%;
    }

    .ecart-article-real{
        height: 30px;
    }
}

@media (max-width: 850px){
    .logo-noir-mobile{
        opacity: 1;
    }

    .real-header-h1{
        font-size: 8rem;
    }

    .real-header-h2{
        font-size: 3.5rem;
    }

    /* Images absolute */

    .img-absolute-real-header{
        display: block;
        position: absolute;
    }

    .deux-triangles{
        top: -2%;
        right: 60%;
        width: 50px;
    }

    .deux-carres{
        top: 120%;
        left: 8%;
        width: 60px;
    }

    .demi-cercle{
        top: 25%;
        right: 20%;
    }

    .arc-jaune{
        top: 158%;
        right: 10%;
    }

    /* Content */

    .carre-vide{
        width: 260px;
        top: 80%;
        left: 44%;
    }

    .projet-btn-parle-real > p{
        font-size: 1.3rem;
    }

    .grille-realisations{
        grid-template-columns: 1fr 1fr;
        column-gap: 6%;
        row-gap: 14px;
        margin: 0 8% 100px;
    }

    .modal{
        width: 84vw;
    }

    /* Cartes Créer Dynamiser Imaginer */

    .carte-slogan{
        row-gap: 40px;
    }

    .creer{
        display: none;
    }

    .voir-plus-real{
        margin: 0;
        font-weight: 700;
    }

    .encart-projet-real{
        margin-bottom: 40px;
        overflow-x: hidden;
    }

    .banner-real{
        top: 0;
        width: 300%;
        transform: translateX(-20%);
    }

    .projet-titre-real{
        font-size: 2.6em;
    }

    /* Modales */
    /* .real-wrapper::after{
        top: 5%;
        opacity: 1;
        font-size: 0.8rem;
        white-space: nowrap;
        width: 100%;
        left: 0;
    }

    .real-wrapper:hover::before{
        opacity: 0;
    }

    .real-wrapper{
        border-radius: 0;
        aspect-ratio: 1;
        filter: drop-shadow(4px 3px 6px rgba(153, 153, 153, 0.9));
    }
    
    .wrap-minia{
        clip-path: circle();
        pointer-events: none;
        height: 100%;
        display: flex;
        justify-content: center;
    }

    .realisations{
        border-radius: 0;
        width: auto;
        height: 100%;
        clip-path: circle();
        transform: translateX(-22%);
    } */

    .description{
        position: absolute;
        width: 100%;
        height: 20px;
        background-color: grey;
    }
}

@media (max-width: 750px){
    /* .projet-titre-real{
        font-size: 2.3rem;
    } */
}

@media (max-width: 700px){
    .projet-titre-real{
        font-size: 2.3rem;
    }

    .real-header-h1{
        font-size: 6rem;
    }

    .real-header-h2{
        font-size: 2.8rem;
    }

    /* Modales */
    .real-wrapper::after{
        top: 5%;
        opacity: 1;
        font-size: 0.8rem;
        white-space: nowrap;
        width: 100%;
        left: 0;
    }

    .real-wrapper:hover::before{
        opacity: 0;
    }

    .real-wrapper{
        border-radius: 0;
        aspect-ratio: 1;
        /* filter: drop-shadow(4px 3px 6px rgba(153, 153, 153, 0.9)); */
    }
    
    .wrap-minia{
        clip-path: circle();
        pointer-events: none;
        height: 100%;
    }

    .realisations{
        border-radius: 0;
        width: auto;
        height: 100%;
        /* clip-path: circle(); */
        /* transform: translateX(-22%); */
    }
}

@media (max-width: 600px){
    /* Images absolutes */

    .carre-vide{
        width: 140px;
    }

    .projet-titre-real{
        font-size: 1.8rem;
    }

    .voir-plus-real{
        font-size: 1.7rem;
    }

    .modal{
        width: auto;
        height: auto;
        max-width: 100vw;
        max-height: 100dvh;
        /* top: 20dvh; */
        grid-template-columns: 1fr;
        border-radius: 0;
        box-shadow: none;
    }

    .modal-left{
        height: 25dvh;
    }

    .img-wrap:first-child{
        display: none;
    }

    /* Partie droite */

    .modal-right{
        padding: 20px 40px;
    }

    .close-modal{
        position: fixed;
        left: 20px;
        padding: 6px;
        width: 14px !important;
        height: 14px !important;
        text-align: center;
        border-radius: 20px;
        background-color: white;
    }

    .logo-logiciel{
        width: 25px !important;
        height: 25px !important;
    }

    .div-trois-points{
        flex-direction: row;
        justify-content: space-between;
    }

    .lien-bleu{
        color: black;
        pointer-events: none;
    }

    .bouton-contact-modal{
        width: fit-content;
        min-width: 20vw;
        height: 5vh;
        background-color: white;
        border-radius: 30px;
        text-decoration: none;
        color: var(--color-main);
        font-size: medium;
        font-weight: 500;
        word-spacing: .5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 4px 12px;
        box-shadow: 5px 6px 16px rgb(143, 143, 143, 0.22);
    }

    .fleche-contact-modal{
        width: 20px;
        margin-left: 10px;
    }

    .modal[open]{
        animation: show-modal 0.6s ease normal;
    }

    .modal::backdrop{
        animation: none;
    }

    .modal[open]::backdrop{
        animation: show-backdrop 0.6s ease normal;
    }

    .modal.hide{
        animation: close-modal 0.6s ease normal;
    }

    .modal.hide::backdrop{
        animation: close-backdrop 0.6s ease normal;
    }

    @keyframes show-modal {
        from{
            transform: translateY(110%);
        }
        to{
            transform: translateY(0%);
        }
    }

    @keyframes close-modal {
        to{
            transform: translateY(110%);
        }
    }

    @keyframes show-backdrop {
        from{
            opacity: 0;
        }
        to{
            opacity: 1;
        }
    }

    @keyframes close-backdrop {
        to{
            opacity: 0;
        }
    }

    /* header pages */
    .real-header-h2{
        font-size: 2.5rem;
    }
}

@media (max-width: 480px){
    .real-header-h1{
        font-size: 4.5rem;
    }

    .real-header-h2{
        font-size: 2rem;
    }

    .custom-shape-divider-top-cartes-slogan{
        top: -80px;
    }

    .custom-shape-divider-top-cartes-slogan svg{
        height: 80px;
    }
}

@media (max-width: 420px){
    .real-header-h2{
        font-size: 1.7rem;
    }

    .projet-titre-real{
        font-size: 1.5rem;
    }
}

@media (max-width: 400px){
    .real-header-h2{
        font-size: 1.4rem;
    }

    .bouton-contact-modal{
        font-size: small;
        word-spacing: 0.2rem;
    }
}

@media (max-width: 360px){
    .logo-geniall-min{
        display: none;
    }

    .bouton-contact-modal{
        font-size: medium;
        word-spacing: 0.3rem;
    }
}

@media (max-width: 315px){
    .carre-vide{
        width: 80px;
        top: 80%;
        left: 28%;
    }

    .real-header-h2{
        font-size: 1.2rem;
    }

    .projet-btn-parle-real{
        top: 65%;
        padding: 8px 26px 10px;
    }

    .modal-right{
        padding: 20px 20px;
    }
    .bouton-contact-modal{
        font-size: small;
        word-spacing: 0.2rem;
    }

    .fleche-contact-modal{
        width: 15px;
    }
}

@media (max-width: 250px){
    .real-header-h2{
        font-size: 1rem;
    }

    .projet-btn-parle-real{
        top: 68%;
    }

    .projet-btn-parle-real > p{
        font-size: 1rem;
    }

    .fleche-bouton{
        width: 20px;
        margin-left: 10px;
    }
}