@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&display=swap');

@font-face {
    font-family: 'Etherea';
    src: url('typo/cirkus/Cirkus.ttf') format('truetype');
}

@font-face{
    font-family: 'Roboto';
    src: url(typo/Roboto/Roboto-Regular.ttf) format('truetype');
}
@font-face{
    font-family: 'Texte';
    src: url(typo/ABeeZee/ABeeZee-Regular.ttf) format('truetype');
}

*{
    margin: 0;
    padding: 0;
}

html,body{
    cursor: none;
    scroll-behavior: smooth;
    overflow: hidden;
}

a{
    cursor: none;
}

#move{
    height: 50px;
    width: 50px;
    background-image: url(illu/cursor/cursor_artefact.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    position: fixed;
    z-index: 200;
}


@keyframes flotter {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}


/* Header  */

header{
    position: fixed;
    width: 100%;
    height: 80px;
    /* background-color: #62438f; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    margin-top: 20px;
}

.echap{
    display: block;
    margin-left: 20px;
    width: 75px;
    height: 75px;
}
.echap img{
    width: 100%;
}

.burger{
    margin-right: 20px;
    width: 75px;
    height: 75px;
}

.fond-burger{
    fill: #61438f;
}

.contour-burger{
    fill: white;
}

.barres {
  transition: all 0.4s ease;
  transform-origin: center;
  fill: white;
}

.burger.active #ligne-haut {
  transform: rotate(45deg) translate(150px, 100px) scaleX(2);
}

.burger.active #ligne-milieu {
  opacity: 0;
}

.burger.active #ligne-bas {
  transform: rotate(-45deg) translate(-180px, -100px) scaleX(2);
}

#burger{
    width: 100%;
    height: 100%;
    background-color: #61438f;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%); /* caché */
    transition: transform 0.5s ease;
}

.active_burger{
    transform: translateY(0) !important; /* visible */
}


.content_menu{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.content_menu a{
    width: 300px;
    height: 80px;
    text-decoration: none;
    color: white;
    font-family: 'Etherea';
    font-size: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

#bouton_download{
    background-image: url(illu/bouton-menu/download.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
}
/* slides */

.slides{
    display: flex;
    width: 500vw;
    height: 100vh; /* attention pas de débordement */
    transition: transform 0.5s ease;
}

.slide{
    position: relative;
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fond{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.cattie{
    width: 7%;
    position: absolute; 
    /* bottom: 445px;    */
    bottom: 45%;   
    left: 150px;          
    transform: scaleX(1); 
    transition: transform 0.25s ease;
    z-index: 5;
    background-color: #62438f;
}

 .cattie video {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
  }

#cattie_idl{
    display: block;
}
#cattie_run{
    display: none;
}

#lys_idl{
    display: none;
    transform: scale(1.2); /* augmente Lys */
    margin-top: 25px;
}
#lys_run{
    display: none;
    transform: scale(1.2); /* augmente Lys */
    margin-top: 25px;
}

#lavende_idl{
    display: none;
}
#lavende_run{
    display: none;
}

.container-arrow{
    background-color: #61438f00;
    width: 250px;
    height: 150px;
    z-index: 6;
    position: fixed;
    bottom: 5%;
    left: 100px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    opacity: 0;
}

.arrow{
    width: 100%;
    background-color: rgba(127, 255, 212, 0);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    animation: blink 2s infinite;
    opacity: 0;
    transition: opacity 0.5s;
}

.container-arrow #right{
    background-image: url(illu/arrow/right.png);
}
.container-arrow #left{
    background-image: url(illu/arrow/left.png);
}
.container-arrow #down{
    background-image: url(illu/arrow/down.png);
}
.container-arrow #up{
    background-image: url(illu/arrow/up.png);
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}
.direction{
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: antiquewhite; */
    width: 125px;
    height: 150px;
    z-index: 1;
    position: fixed;
    bottom: 45%;
    right: 75px;
    animation: move 1s ease-in-out infinite alternate;
}

.direction_right{
    bottom: 45%;
    right: 75px;
}
.direction_left{
    bottom: 45%;
    left: 50px;
}

.direction_texte_right{
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: #62438f 0px 0px 5px;
    /* background-color: blue; */
}
.direction_texte_left{
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: #62438f 0px 0px 5px;
    /* background-color: blue; */
}

.direction_text{
    /* background-color: #62438f; */
    font-size: 50px;
    font-family: 'Etherea';
    color: white;
    transform: rotate(-90deg);
    z-index: 1;
}

.direction img{
    width: 50px;
}

@keyframes move {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(25px);
    }
}

/* Home */

/* About */

.content-about{
    background-image: url(illu/cadre/cadre_about.png);
    background-size: 100% 100%; /* étire l’image sur toute la div */
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 1;
    width: 50%;
    height: 45%;
    margin-top: -150px;
    padding: 25px;
    border-radius: 25px;
    animation: flotter 3s ease-in-out infinite;
    /* box-shadow: #62438f 0px 0px 15px 2px ; */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.texte-about{
    width: 90%;
    margin-top: 35px;
}

.content-about p{
    font-family: 'Texte';
    margin-top: 25px;
    margin-left: 25px;
    font-size: 20px;
    color: white;
}

.content-about p strong{
    color: #ffffff;
    text-shadow: #f2b3ff 0px 0px 10px;
}

/* Character */

#character{
    flex-direction: column;
}

#titre_character{
    font-family: 'Etherea';
    font-weight: normal;
    color:#ffffff;
    margin-top: -300px;
    font-size: 75px;
    text-shadow: #753975ff  1px 1px 2px;
    animation: flotter 3s ease-in-out infinite;
}

.content-character{
    width: 55%;
    z-index: 1;
    height: 35%;
    margin-top: 100px;
    display: flex;
    justify-content: space-around;
}

.card-character{
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    width: 250px;
    height: 375px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    opacity: 1;
    transition: all 0.5s ease;
}

.active-card-lys{
    transform: translate(-300px);
    opacity: 1;
    z-index: 10;
}

.active-card-lavende{
    transform: translate(-700px);
    opacity: 1;
    z-index: 10;
}

.remove-card-lys{
    transform:translate(-300px);
    opacity:0;
    z-index: 0;
}

.remove-card-lavende{
    transform:translate(-700px);
    opacity:0;
    z-index: 0;
}

.remove-card-cattie{
    opacity: 0;
}

#card-cattie{
    background-image: url(illu/cadre/cadre_Cat.png);
   
}

#card-lys{
    background-image: url(illu/cadre/cadre_Lys.png);
}

#card-lys .character-img{
    margin-top: 10px;
    width: 55%;
}

#card-lavende{
    background-image: url(illu/cadre/cadre_Lavende.png);

}

.character-img{
    width: 50%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.character-img video{
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 5;
}

.character-texte{
    position: absolute;
    z-index: 0;
    width: 500px;
    height: 250px;
    transition: 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -125px;
    opacity: 0;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

#texte-cattie{
    background-image: url(illu/cadre/cadre_texte_cattie.png);
}

#texte-lys{
    background-image: url(illu/cadre/cadre_texte_lys.png);
}

#texte-lavende{
    background-image: url(illu/cadre/cadre_texte_lavende.png);
}

.character-texte p{
    text-align: center;
    width: 75%;
    color: #ffffff;
    font-family: 'Texte';
    font-size: 16px;
}

.character-texte-active{
    transform: translate(450px);
    opacity: 1;
}

/* Worlds */

#worlds{
    flex-direction: column;
}

#titre_worlds{
    font-family: 'Etherea';
    font-weight: normal;
    color:#ffffff;
    margin-top: -150px;
    font-size: 75px;
    text-shadow: #753975ff  1px 1px 2px;
    animation: flotter 3s ease-in-out infinite;
}
.container_worlds{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 50px;
    align-items: center;
    justify-items: center;
    width: 50%;
}

.worlds_choice{
    width: 400px;
    height: 250px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#foret{
    background-image: url(illu/cadre/cadre_foret.png);
    animation: flotter 2s ease-in infinite;
}

#prairie{
    background-image: url(illu/cadre/cadre_prairie.png);
    animation: flotter 2s ease-out infinite;
}

#desert{
    background-image: url(illu/cadre/cadre_desert.png);
    animation: flotter 2s ease-out infinite;
}

#jungle{
    background-image: url(illu/cadre/cadre_jungle.png);
    animation: flotter 2s ease-in-out infinite;
}

.texte-world{
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.texte-world p{
    width: 80%;
    font-family: 'Texte';
    color: white;
    font-size: 16px;
}

.p-bottom{
    margin-top: 25px;
}

.texte-world-active{
    opacity: 1;
    z-index: 5;
}

#texte_foret{
    background-image: url(illu/cadre/texte_foret.png);
}

#texte_prairie{
    background-image: url(illu/cadre/texte_prairie.png);
}

#texte_desert{
    background-image: url(illu/cadre/texte_desert.png);
}

#texte_jungle{
    background-image: url(illu/cadre/texte_jungle.png);
}

/* Download */

.content-download{
    background-image: url(illu/cadre/cadre_download.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 1;
    width: 45%;
    height: 50%;
    margin-top: -200px;
    margin-left: -250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.text-download{
    width: 80%;
    margin-top: 150px;
}

.text-download h3{
    font-family: 'Etherea';
    font-weight: normal;
    color: white;
    font-size: 30px;
    margin-top: -50px;
    text-shadow: #d490e2 0px 0px 5px;
}
.text-download p{
    font-family: 'Texte';
    color: white;
    font-size: 16px;
    margin-top: 25px;
}

.content-download p strong{
    color: #ffffff;
    text-shadow: #d490e2 0px 0px 10px;
}

.available{
    margin-top: 25px;
    display: flex;
    align-items: center;
    width: 80%;
}

.available p{
    font-family: 'Texte';
    color: white;
    font-size: 16px;
    margin-left: 25px;
}

.available img{
    width: 25px;
}

.content-preorder{
    display: flex;
    width: 80%;
    justify-content: space-between;
    margin-top: 25px;
}

.content-preorder a{
    text-decoration: none;
    color: white;
    font-family: 'Etherea';
    font-size: 35px;
}

#preorder{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 50px;
    background-image: url(illu/bouton-menu/download.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

#memory{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 50px;
    background-image: url(illu/bouton-menu/memory.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    font-size: 25px;
    margin-top: 25px;
    text-decoration: none;
    color: white;
    font-family: 'Etherea';
    align-self: flex-end;
    margin-top: -20px;
    margin-right: 50px;
}
