@charset "UTF-8";
html, body{
    overscroll-behavior-x: none;
}

@font-face {
    font-family: 'baikal';
    src: url(../fonts/BaikalVAR-wdth29wght400ital1.00.ttf);
}
@font-face {
    font-family: 'CrashBandicootFont';
    src: url(../fonts/CrashBandicootFont.ttf);
}

a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Use the default text color */
  }
/* --------------------- whole container ---------------------- */

.container01{
    height: 200dvh;
    width: 100dvw;
}

/* --------------------- header ---------------------- */
.header{
    position: sticky;
    width: 99dvw;
    height: calc(1em + 1px) ;
    display: flex;
    background-color: black;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 0.5dvw;
    padding-right: 0.5dvw; 
    top: 0%;
    z-index: 1;
    overscroll-behavior-y: contain;
}

.header:hover{
    background-color: rgb(255, 106, 0);
}

.containerh1{
    position: relative;
    width: 50vw;
    overflow: hidden;
    vertical-align: middle;
}

h1{
    font-family: Helvetica, sans-serif;
    color: white;
}

.containerh1 #header01{
    text-align: left;
}

.containerh1 #header03{
    text-align: right;
    right: 2%;
}

/* --------------------- container 03 ---------------------- */

.container03{
    width: 100dvw;
    height: 100dvh;
    background-color: rgb(255, 106, 0);
    text-align: center;
}

.container03 h6{
    text-align: center;
    font-family: 'baikal';
    font-size: 17dvw;
    position: sticky;
    line-height: 90%;
    top: 4%;
    
}
.container03 #ScrollDownButton{

    text-align: center;
    vertical-align: bottom;
    font-family: 'baikal';
    font-size: 1.5em;
    position: sticky;
    top: 33%;
    cursor: pointer;
    padding-bottom: 10px;
}
/* --------------------- main body ---------------------- */

.container02{
    position: relative;
    width: 100dvw;
    height: 96.75dvh; 
    flex: 1;
    display: flex;
    background-color: white;
}

/* ------- left body container (scroll) --------- */

.leftcontainer{
    position: relative;
    width: 290px;
    min-width: 250px;
    height: flex;
    overflow: hidden;
    overflow-y: scroll;
    background-color: white;
    margin-left: 3px;
    margin-top: 7px;
    /* margin-top: 3px; */ /* créer une marge initiale, invisible après le scroll */
}

.card{
    position: relative;
    width: auto;
    height: auto;
    margin: 1%;
    cursor: pointer;
}

.divSVG{
    position: relative;
    width: auto;
    height: auto;
    transition: 0.25s ease-out; /* marche pas ?*/
    background-color: white;
}

.leftcontainer img{    
    border-radius: 10px;
} 
/* ^ pour ajuster faire correspondre aux bords ronds de l'image en cas de hover */

.divSVG :hover{
    background-color: rgb(202, 197, 202);
    transition: 0.2s ease-in-out;
}

.TitreJeuLeft{
    position: absolute;
    top: 3%;
    height: 30%;
    width: 100%;
    margin: 1%;
    margin-bottom: 0%;
    text-align: center;
    vertical-align: middle;
    font-size: 20px;
    font-family: Helvetica, sans-serif;
    text-transform: uppercase;
    pointer-events: none;
}

h2{
    vertical-align: middle;
    text-transform: uppercase;
}

/* ------- right body container (images) --------- */

.rightcontainer{
    position: relative;
    width: flex;
    height: 100%;
    flex: 1;
    background-color: rgb(222, 222, 222);
    margin-left: 3px;
}




h3{
    font-family: Helvetica, sans-serif;
    color: rgb(11, 11, 11);
}

.rightcontainer img{
    width: 100%;
    height: auto;
}

.subcontainertop{
    
    position: relative;
    background-color: rgb(0, 51, 255);
    width: flex;
    height: 50%;
    flex: 1;
    padding: 10px;
    padding-top: 9px;
    margin-bottom: 10px;
}

#carousselImage{
    position: relative;
    bottom: 0%;
    display: flex;
    overflow-x: scroll;
    height: 80%;
    gap: 10px;
    margin: 10px;
    margin-left: 0;
    margin-right: 0;
}

#carousselImage img{
    height: 100%;
    image-rendering: crisp-edges;
    
}

.subcontainerbot{
    position: relative;
    width: flex;
    height: auto; /* ???? */
    flex: 1;
    padding: 10px;
    overflow: scroll;
}

  .titre_defaut {
    text-align: center;
    vertical-align: middle;
    font-family: 'CrashBandicootFont';
    font-size: 16dvw;
    line-height: 90%;
    text-transform: uppercase;
    animation: blink 0.5s infinite;
    color: rgb(255, 77, 0);
    animation: clignotement 0.3s step-end infinite;
    -webkit-text-stroke: 4px black;
    
  }
  
  @keyframes clignotement {
    0% {
      color: rgb(255, 106, 0);
    }
    50% {
      color: white;
    }
    100% {
      color: rgb(255, 106, 0);
    }
  }



h4{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 13px;
    color: white;
    flex-basis: auto;
    flex-grow: 1;
}

h5{
    font-size: 5dvw;
    font-weight: bold;
    color: black;
    font-family: 'baikal', Helvetica, sans-serif;
}

#description {
    font-size: 3dvh;
    color: black;
    font-family: 'baikal', Helvetica, sans-serif;
    overflow: scroll;
}


/* --------- Anim Bouton Scroll Down ---------- */

@keyframes blink {
    0% {
      opacity: 1;
    }
    50% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  
  #ScrollDownButton {
    animation-name: blink;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }



/* --- téléphone --- */
@media screen and (max-width: 800px) {

    .leftcontainer{
        position: relative;
        width: 200px;
        min-width: 150px;
        height: flex;
        overflow: hidden;
        overflow-y: scroll;
        background-color: white;
        margin-left: 3px;
        margin-top: 7px;
        /* margin-top: 3px; */ /* créer une marge initiale, invisible après le scroll */
    }

    .leftcontainer img{    
        border-radius: 10px;
    } 

    .TitreJeuLeft{
        position: absolute;
        top: 3%;
        height: 30%;
        width: 100%;
        margin: 1%;
        margin-bottom: 0%;
        text-align: center;
        vertical-align: middle;
        font-size: 17px;
        font-family: Helvetica, sans-serif;
        text-transform: uppercase;
        pointer-events: none;
    }

  }