:root {
    /* --angle : -45deg; */
    --fond : rgb(39, 38, 38);
    --jaune : rgb(251, 240, 29);
    --jaune-hard: rgb(255, 249, 137);
    --top : 70%;
    --topv : 68vw;
    --shadow : rgba(39, 38, 38, 0.257);
    --rouge : rgb(255, 0, 81);
}
html {
    scroll-behavior: smooth;
}
body {
    padding:0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Epilogue', sans-serif;
    /* background-color: var(--fond); */
    /* background-color: transparent; */
    background-color: black;
    color:white;
    scroll-behavior: smooth;
    /* background-image: url('img/Untitled\ design\ \(1\).png');
    background-position:bottom;
    background-attachment: fixed !important;
    background-blend-mode:overlay; */
}

.overlay {
    position: fixed;
    z-index: -1;
    top:0;
    left:0;
    right:0;
    bottom:0;
    inset: 0;
    background-color: var(--fond);
    background-image: url('img/Untitled\ design\ \(1\).png');
    /* background-blend-mode:overlay; */
    /* parce que overlay ça marche pas sur safari */
    background-position: center center;
    opacity: .3; 
}

.hide {
    display: none !important;
}


h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-top: 8rem;
}


.accueil {
    width:100vw;
    height: 100vh;
    position: relative;
}
.accueil::before {
    content: '';
    opacity: .2;
    position: absolute;
    inset: 0;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background: url('img/code.png');
    background-size: cover;
}
.accueil::after {
    content: '';
    position: absolute;
    inset: 0;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:var(--jaune);
    clip-path: polygon(var(--top) 0, 100% 0, 100% 100%, 0 var(--gauche));
}
.accueil h1 {
    position: absolute;
    color: var(--jaune);
    margin: 0;
    transform-origin: bottom right;
    transform: translate( calc( var(--topv) - 100%) , -1rem) rotate( var(--angle)); 
    /* translate: -10px 20px; */
    z-index: 10;
    /* font-size: 3rem; */
}
.accueil h2 {
    position: absolute;
    margin: 0;
    color: var(--fond);
    transform-origin: top right;
    transform: translate( calc( var(--topv) - 100%) , 1rem) rotate( var(--angle)); 
    z-index: 10;
}
.accueil p {
    margin:0;
}
.accueil button {
    border: none;
    background-color: var(--rouge);
    color:white;
    padding: .6rem 1.4rem;
    border-radius: 4px;
    margin-top: .6rem;
    box-shadow: 2px 2px 8px rgba(39, 38, 38, 0.257);
    text-transform: uppercase;
    font-weight: 100 !important;
    transition: 300ms;
    
}
.accueil button:hover {
    background-color: var(--jaune-hard);
    color:black;
    box-shadow: 2px 2px 12px 8px rgba(39, 38, 38, 0.257);
}

.card {
    position: absolute;
    max-width: 460px;
    z-index: 20;
    font-weight: 300;
    font-size: .9rem;
    background-color: white;
    color: var(--fond);
    padding: 1rem 3rem;
    box-sizing: border-box;
    border-radius: 12px;
    right: 0;
    top:40%;
    margin: 0 3rem;
    box-shadow: 12px 8px 20px rgba(39, 38, 38, 0.257);
}
.card img {
    width:48px;
    float: left;
    margin: .2rem 1rem .2rem 0;
}
.card > p > ul {
    list-style:disc;
    line-height: 1.6rem;
}
.card li>a {
    color: var(--fond);
    transition: 200ms;
}
.card li>a:hover {
    background-color: var(--fond);
    color: white !important;
    padding: .2rem .4rem;
    border-radius: 4px;
}
.card button>a {
    text-decoration: none;
    color: unset;
}








/*  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */
/*  /////////////////////////////////////////   PORTFOLIO //////////////////////////////////////////////////////////////// */
/*  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

.porfolio {
    background-color: transparent;
}

.portfolio ul {
    list-style: none;
    margin: 0 2rem;
    padding: 0;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax( min(280px, 100%), 1fr));
    gap: 2rem;
}


.sites {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin:0;
    align-items:center;
    /* overflow: hidden; */
   
}
.full {
    width:100%;
    /* aspect-ratio: 16/9; */
    /* height: var(--height169); */
    height: 200px;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    transition: all 500ms ease;
    position: relative;
    /* box-shadow: .1rem -.1rem 1rem white; */
    max-width: 1080px;  
}
.full > iframe {
    width: 250%;
    -ms-zoom: 0.4;
    -moz-transform: scale(0.4);
    -moz-transform-origin: 0 0;
    -o-transform: scale(0.4);
    -o-transform-origin: 0 0;
    -webkit-transform: scale(0.4);
    -webkit-transform-origin: 0 0;
    background-color: white;
    pointer-events:none !important; 

   
    /* height: var(--height169); */
    height: 500px;
    aspect-ratio: 16/9;
   
}

.full > img {
    height: 100%;
    position: relative;
    left:50%;
    transform: translateX(-50%);
}


a.plus {
    background-color: rgba(128, 128, 128, 0.906);
    text-decoration: none !important ;
    border: none;
    border-radius: .4rem;
    padding: .4rem 2.5rem;
    color: white;
    width: max-content;
    font-size: .8rem;
    z-index: 1000;
    position: absolute;
    bottom:1rem;
    left: 50%;
    translate: -50%;
    cursor: pointer;
    transition: all 300ms ease-in-out;
}
a.plus:hover {
    background-color: var(--rouge);
    box-shadow: .2rem .2rem .5rem var(--shadow);
}
.full:hover a.plus {
    background-color: var(--rouge);
    box-shadow: .2rem .2rem .5rem var(--shadow);
}

.showcase {
    grid-column: 1 / -1;
    grid-row-start: 1;
    grid-row-end: 2;
}
.showcase .full {
    /* height: 70vh; */
    height: 694px;
    max-height: 80vh;
}
.showcase .full > iframe {
    width: 100%;
    /* height: 70vh; */
    height: 694px;
    max-height: 80vh;
    -ms-zoom: 1;
    -moz-transform: scale(1);
    -moz-transform-origin: 0 0;
    -o-transform: scale(1);
    -o-transform-origin: 0 0;
    -webkit-transform: scale(1);
    -webkit-transform-origin: 0 0;
}
.browse > iframe {
    pointer-events: all !important;
}

.showcase .full > a.plus{
    display: none;
}
.showcase .full > .voile {
    display: none;
}

.showcase .noevents {
    display: block;
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    inset:0;
    z-index: 20000;
    background-color: transparent !important;
}
.noevents,
.browse .noevents,
.mobile .noevents {
    display: none;
}
.close {
    position: relative;
    /* background-color: rgb(255, 0, 43) !important; */
    z-index: 100;
    top:0px;
    text-align: right;
    font-size: 1.4rem;
    width: 100%;
    max-width: 1080px;
    display: none;
}
.close i {
    opacity: .7;
    border-radius: 50%;
}
.close i:hover {
    opacity: 1;
    /* color:var(--rouge); */
    /* background-color: white; */
}

.showcase .close {
    display: unset;
}

.voile {
    position: absolute;
    z-index: 10;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-color: rgb(62, 62, 62);
    background: radial-gradient(circle, rgba(0,0,0,0.16992734593837533) 0%, rgba(0,0,0,0.7049413515406162) 88%);
    opacity: .8;
    transition: opacity 200ms;
}
.sites:hover .voile {
    opacity: 0;
}
li:not(.showcase):hover iframe {
   transform: scale(.41);
}

.sites > p a {
    font-weight: 400;
    font-family: 'Epilogue', sans-serif;
    text-decoration: none !important ;
    color: rgb(210, 210, 210);
    font-size: .9rem;
}

.sites > .choix {
    display: none;
}
.showcase > .sites > .choix {
    display: unset;
}
.mobile {
    width: 390px !important;
    border-radius: 38px !important;
    border: .4rem solid rgb(27, 27, 27);
    box-shadow: .2rem .4rem 1rem rgb(70, 70, 70);
    position: relative;
}
.mobile > iframe {
    pointer-events:all !important;
    height: 100%;
}
.mobile::after {
    content:'';
    position: absolute;
    width:5%;
    height: 5%;
    top:-8px;
    left:47.5%;
    border-radius: 0 0 50% 50%;
    background-color: rgb(27, 27, 27);
}
.mobile::before {
    content:'';
    position: absolute;
    width:1%;
    height: 1%;
    top:2px;
    left:49.5%;
    border-radius: 0 0 50% 50%;
    background-color: rgb(132, 132, 132);
    z-index: 20;
}
.switch {
    border: none;
    background-color: transparent;
    color: rgb(239, 239, 239);
    opacity: .6;
    text-transform: uppercase;
    font-weight: 100 !important;
    transition: 300ms;
}
.switch:hover {
    border-bottom: 2px solid var(--jaune);
}

.switch > .fa-solid {
    font-size: 2rem;
    vertical-align: middle;
    position: relative;
    top:0;
    opacity: .5;
}
.switch:hover > .fa-solid {
    animation: jiggle 600ms ease-in-out;
}
@keyframes jiggle {
    0% { scale:1.5;transform:rotate(0deg) }
    20% { scale:1;transform:rotate(-15deg) }
    40% { scale:1;transform:rotate(15deg) }
    60% { scale:1.5;transform:rotate(-15deg) }
    80% { scale:1.5;transform:rotate(15deg) }
    100% { scale:1;transform:rotate(0deg) }
}
.active > .fa-solid {
    color: var(--jaune);
    opacity: .9;
}
.active {
    border-bottom: 2px solid var(--jaune);
    opacity: 1;
}








/*  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */
/* /////////////////////////////////// CONTENU SUP /////////////////////////////////////////////////////////////////////// */
/*  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

main {
    width:100vw;
}
article {
    margin: auto auto;
    width: 95%;
    max-width: 1420px;
    font-weight: 200;
    font-size: .9rem;
    line-height: 1.8rem;
}
article h4 {
    font-size: 2.4rem;
    color: var(--jaune);
}
hr {
    width: 100% !important;
    height: 1rem;
    border: none;
    background-color: var(--jaune);
    position: relative;
    --pourcent : 0%;
    margin:0;
}
hr::after {
    content: '';
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    width: var(--pourcent);
    background-color: var(--fond);
    opacity: 1;
}
.fa-sort-up::after {
    content:'UP';
    font-size: .7rem;
    font-weight: 100;
    position: relative;
    top:8px;
    left:-50%;
}
.up a {
    color:white;
   
}
.up {
    display: block; 
    position: relative;
    transition: scale 200ms;
    top:0;
    animation: up 1.4s ease-in-out infinite;
}
.up:hover {
    transform-origin: center center;
    scale:1.2;
}
@keyframes up { 
    to {top:-8px}
}

.description {
    font-size: .8rem;
}



.side {
    position: relative;
    background-color: var(--jaune);
    margin: 0;
    width: 100%;
    color: var(--fond);
    font-size: 12vw;
    font-weight: 900;
    writing-mode: vertical-lr;
    text-orientation:sideways-right;
    line-height: 2.8rem;
    opacity: .5;
    background-image: url('img/code.png');
    background-blend-mode: difference;
    background-size: contain;
}

.sides {
    width:100% !important;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit , minmax(380px, 1fr));
}




#cahierdescharges, #informations {
    background-color: rgba(39, 38, 38, 0.712);
}
/* #information {
    width: 100%;
    grid-column-start: 1 ;
    grid-column-end: 2;
} */






/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */
/* /////////////////////////////////////////////////////////////////    PAC PAC PAC PAC PAC //////////////////////////////////////////////////////// */
/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */
.bonus-pac {
    position: relative;
    height: 600px;
    max-height: 100vh;
    width:100vw !important;
    background-color: var(--jaune);
    color: var(--fond);
    overflow: hidden;
}
.bonus-pac h1 {
    text-align: center;
}
.bonus-pac span {
    font-size: .9rem;
    font-weight: 200;
}
.sous-titre {
    color: hsla(34, 100%, 81%, 0.96);
}
.disabled {
    opacity: .3;
}
.filigrane {
    font-size: 6.5vw;
    color: var(--jaune-hard);
    font-weight: 900;
    width: fit-content;
    text-wrap: nowrap;
    line-height: 5vw;
    opacity: .3;
    position: absolute;
    bottom: 4px;
}
.man {
    width:60px;
    height:60px;
    border-radius: 100%; 
    position: absolute;
    /* z-index: 1000;
    background-color: var(--rouge); */
}

.pac {
    background-color:rgb(54, 53, 53);
    top:300px;
    left:100px;
}
.pacRed {
    background-color:rgb(219, 70, 70);
    border-radius: 100%; 
    position: absolute;
    top:300px;
    left:200px;
}
.amanger {
    clip-path: polygon(0 0, 100% 0, 50% 50%, 100% 100%, 0 100%);
}
.point {
    width:60px;
    height:60px;
    position: absolute;
    /* background-color: cornflowerblue; */
    top:100px;
    left:100px;
}
.point::after {
    content: '';
    position: absolute;
    top: 40%;
    left:40%;
    width:20%;
    height:20%;
    /* clip-path: polygon(50% 0, 60% 30%, 100% 15%, 75% 50%, 100% 100%, 50% 75%, 0 100%, 15% 50%, 0 15%, 30% 30% ); */
    background-color: rgb(49, 49, 49);
}


.play {
    cursor: pointer;
}
.commandes {
    position: absolute;
    inset: auto 0 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: 6rem;
    justify-content: center;
    align-items: center;
}
.sup {
    display:none;
}
.com {
    width: 33vw;
    /* width: fit-content; */
    height: 3rem;
    /* border : 1px solid hsla(0, 0%, 21%, 0.96); */
    border-radius: 2rem;
    user-select: none;
    text-align: center;
}
.com * {
    font-size: 3rem;
    position: relative;
    /* top:calc(50% - 3rem); */
}
.goleft {
    text-align: right;
}
.goright {
    text-align: left;
}



footer a {
    color: white;
    font-weight: 300;
    float: right;
    margin: 2rem;
}


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

    .card {
        padding: 1rem;
    }
    .portfolio ul {
        margin: 0 0.8rem;
        grid-template-columns: repeat(2, 1fr);
        gap: .8rem;
    }
  
    .full {
        aspect-ratio: 9/16;
        width: 70%;
        position: relative;
    }
 
    .full > iframe {
        width: 250%;
        -ms-zoom: 0.5;
        -moz-transform: scale(0.4);
        -moz-transform-origin: 0 0;
        -o-transform: scale(0.4);
        -o-transform-origin: 0 0;
        -webkit-transform: scale(0.4);
        -webkit-transform-origin: 0 0;
        background-color: white;
        aspect-ratio: 9/16;
    }
    .showcase .full > .voile {
        display: unset;
        background-color: rgb(254, 30, 30);
        opacity: 0;
    }
    
    a.plus {
        font-size: .8rem;
        background-color: rgba(128, 128, 128, 0.906);
        padding: .4rem 1.5rem;
        box-shadow: .4rem .4rem 12px rgba(34, 34, 34, 0.644);
    }
    .description {
        text-align: center;
    }
    .showcase .full {
        width: 90% !important;
    }
    .switch {
        display: none;
    }
    .choix {
        text-align: center;
    }


    .side {
        background-color: var(--jaune);
        background-image: none;
    }

    .side::after {
        content:'';
        position: absolute;
        top:0;
        left:0;
        right:0;
        bottom:0;
        inset: 0;
        opacity: .2;
        background-image: url('img/code.png');
        background-size: contain;
    }

    .point, .man {
        width:30px;
        height:30px;
    }

    .side {
        width:100vw;
    }
    article {
        width:95%;
    }

    .bonus-pac {
        max-height: 80vh;
    }
    
  }

