/* Background de la page internet */
@import url(https://db.onlinewebfonts.com/c/9b9cad44314f47ea67ac9d2652bdd80a?family=Adam+Light);

body {
    margin: 0 auto;
    background-color:#292929;
    cursor: url('/images/TEST.png'), auto;
    overflow-x: hidden; /* Empêche le défilement horizontal */
}


/* Police d'écriture et curseur */


@font-face {
    font-family: 'Adam-Light';
    src:url('Adam-Light.ttf.woff') format('woff'),
        url('Adam-Light.ttf.svg#Adam-Light') format('svg'),
        url('Adam-Light.ttf.eot'),
        url('Adam-Light.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: "Adam Light";
    cursor: url('/images/TEST.png'), auto;
    font-weight: lighter;
}

::-webkit-scrollbar{
    display: none;
}



.A-load {
    background-color: #292929;
    position: fixed; /* Utiliser "fixed" pour que le conteneur occupe tout l'écran */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh; /* Utiliser "100vh" pour définir la hauteur en fonction de la taille de l'écran */
    z-index: 200000000000000; /* Assurez-vous que le z-index est supérieur à celui des autres éléments */
    animation: fadeInOut 2s ease-in-out forwards;
}

.A-load img {
    display: block;
    margin: auto; /* Centre l'image horizontalement et verticalement */
    margin-top: 15vw;
    max-width: 100%; /* Assurez-vous que l'image ne dépasse pas la largeur du conteneur */
    max-height: 100%; /* Assurez-vous que l'image ne dépasse pas la hauteur du conteneur */
    animation: fadeIn 1.5s ease-in forwards;
    opacity: 0;
}




@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
    }
}

















/* Bannière du haut (menu) */

.header {
    z-index: 10;
    display: flex;
    background-color: rgba(0, 0, 0, 0.6); /* Fond d'en-tête semi-transparent */
    position: fixed;
    right: 0;
    left: 0;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}


.header.hidden {
    opacity: 0;
    pointer-events: none;
}


header.header img{
    width: 20%;
    padding-left: 0.5%;
    padding-top: 0.5%;
    padding-bottom: 0.3%;
    transition: all 0.3s ease;
}

.navbar {
    display : flex;
    margin-left : 10%;
    width: 100%;
    justify-content: space-around;
    align-items: end;
}

.ri-shopping-cart-line {
    color: white;
    display: flex;
    align-items: end;
    font-size: 1.8vw;
    padding-bottom: 0.4vw;
    margin-right: 2.3vw;
    transition: all 0.3s ease;
}

.ri-shopping-cart-line,
.ri-shopping-cart-line:hover {
    text-decoration: none; /* Supprime le soulignement */
}

.icons {
    position: absolute;
    color: white;
    display: none;
    font-size: 2.8rem;
    right: 5%;
}

#check {
    display: none;
}

.navbar li {
    text-decoration: none;
    display: flex;
    transition: all 0.3s ease; /* Pour ajouter une transition fluide */
}

/* Réduire la taille des blocs lorsque la fenêtre est réduite */
.navbar li {
    font-size: 2.5vw; /* Utilisation de vw pour la taille de la police, ajuste selon tes préférences */
}

.navbar a{
    color: white;
    text-decoration : none;
    font-size: 100%;
}

/* Styles pour les liens non visités */
.navbar li a:link {
    color: white;
    text-decoration: none;
}

/* Styles pour les liens visités */
.navbar li.active a {
    color: #c48c67;
}

/* Styles pour les liens au survol */
.navbar li a:hover {
    color: #c48c67; /* Couleur au survol */
    transition: color 0.4s ease;
}

/* Styles pour les liens lorsqu'ils sont activés (cliqués) */
.navbar li a:active {
    color: #888888; /* Couleur lorsqu'un lien est activé */
}

/* Image à coté de 3D */
.orange-letter{
    color: #c48c67;
}
































/* ***************Contenu de la main page*************** */


.container{
    position: relative;
    left: 50%;
    top: 24vw;
    bottom: 30vw;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 49vw;
    box-shadow: 0 30px 50px rgb(0, 0, 0, 0.4);
    overflow: hidden;
    scroll-padding: 0 24px;
}

#slide {
    display: flex;
    flex-wrap: wrap;
    width: 100vw;
    height: 100vh;
}

.item {
    flex: 1 1 100%;
    background-size: cover;
    background-position: center;
}

#slide{
    width: max-content;
}

.item{
    top: 15vw;
    overflow: hidden;
    width: 15vw;
    height: 20vw;
    background-position: 50% 50%;
    display: inline-block;
    transition: 0.5s;
    background-size: cover;
    position:  absolute;
    z-index: 1;
    border-radius: 1vw;
    transform: translate(0, 50%);
    scroll-snap-align: start;
}

.item:nth-child(1),
.item:nth-child(2){
    left: 0;
    top: 0;
    transform: translate(0,0);
    border-radius: 0;
    width: 100%;
    height: 100%;
    box-shadow: none;
    
}

.item:nth-child(3){
    left: 75vw;
    z-index: 3;
}

.item:nth-child(4){
    left: calc(75vw + 16vw);
    z-index: 3;
}

.item:nth-child(n+5){
    left: calc(75vw + 32vw);
}


.item .content{
    position: absolute;
    top: 83%;
    width: 37vw;
    height: 5vw;
    text-align: center;
    padding: 0;
    margin-left: 0vw;
    transform: translate(0, -50%);
    display: none;
    border-radius: 0px 20px 20px 0px;
    background: rgba(0, 0, 0, 0.4);
    animation: showcontent 1s ease-in-out 1 forwards;
}

.item .name{
    font-size: 3vw;
    font-weight: bold;
    color: #c48c67;
    animation: showcontent 1s ease-in-out 1 forwards;
}

.item .des{
    font-size: 1.5vw;
    color: #ffffff;
    animation: showcontent 1s ease-in-out 1 forwards;
}

@keyframes showcontent{
    from{
        opacity: 0;
        transform: translate(0,100px);
        filter:blur(33px);
    }to{
        opacity: 1;
        transform:0;
        filter:blur(0px);
    }
}



.timeline_H {
    background-color: transparent;
    height: 60vw;
    width: 100%;
    top: 90%;
    position: absolute;
    z-index: 1;
}

.timeline_H::after {
    content: "";
    position: absolute;
    width: 100%; /* Initialiser la largeur à 0 */
    height: 2px;
    background: #ffffff;

}


.item:nth-child(2) .content{
    display: block;
    z-index: 11111;
    
}


.buttons{
    position: absolute;
    z-index: 22222;
    justify-content: space-between;
    left: 47%;
    bottom: 3vw;
    width: 25%;
    height: auto;
}


.buttons button {
    border-radius: 50%;
    border: none;
    background-color: rgb(255, 255, 255);
    width: auto;
    height: auto;
    animation: colorChange 2s infinite alternate; /* Applique l'animation */
}

@keyframes colorChange {
    0% {
        background-color: #c48c67;
    }
    33% {
        background-color: #ffffff; /* Utilisez la même couleur que le hover */
    }
    66% {
        background-color: #c48c67; /* Utilisez la même couleur que le hover */
    }
    100% {
        background-color: rgb(255, 255, 255);
    }
}



#prev,
#next {
    width: 3vw; /* Ajuste la largeur selon tes besoins */
    height: 3vw; /* Ajuste la hauteur selon tes besoins */
    background-size: cover; /* Ou background-size: contain; selon tes préférences */
    cursor: url('/images/TEST.png'), auto;
}

#prev{
    margin-left: -4vw;
}

#next{
    margin-left: 22vw;
}


.buttons button#prev {
    background-image: none;
}

.buttons button#next {
    background-image: none;
}

.buttons button#prev:hover {
    transition: background-color 0.6s ease;
    background-image: url('images/prev.png');
    background-color: rgb(54, 54, 54);
}

.buttons button#next:hover {
    transition: 0.6s ease;
    background-image: url('images/next.png');
}

.capsule {
    position: absolute;
    top: 44%;
    left: 20%;
    border-radius: 2.5vw;
    width: 10vw; /* Largeur du bouton */
    height: 1vw; /* Hauteur de la capsule */
    background-color: #c48c67;
    transform: translateY(-50%);
    transition: left 0.3s ease-in-out;
}



/* remonter la page */

.img_click_top_page {
    width: 4vw;
    height: 4vw;
    margin: 0;
    position: fixed;
    bottom: 1vw;
    left: 1vw;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    cursor: pointer; /* Ajoute un curseur pointer pour indiquer que c'est cliquable */
}

.img_click_top_page img {
    width: 4vw;
    height: 5vw;
    object-fit: cover;
    border-radius: 50%;
}

#backToTop {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#backToTop.visible {
    opacity: 1;
}

.lock {
    display: none;
}

























































/* footer */

footer{
    display: none;
    overflow: hidden;
    margin-top: 25vw;
}

div.Informations{
    display: flex;
    padding-top: 0.5vw;
    align-items: center;
    justify-content: space-around;
}

div.Contact{
    font-size: 1vw;
    color: white;
    width: 50vw;
    text-align: center;
    padding-left: 1vw;
}

div.Informations img {
    width: 7%;
}

div.icones {
    display: flex;
    justify-content: space-around; /* changer space-around à space-between */
    width: 10vw;
    height: 8vw;
    align-items: center;
}



.icones a i{
    font-size: 2vw;
    color: white;
    padding: 0.5vw;
    opacity: 1;
    transition: opacity 0.3s;
}

  
.icones a i:hover {
    opacity: 0.3;
}

    





@media (max-width: 768px) and (orientation:portrait){

    header.header img{
        width: 36%;
        padding-left: 0.5%;
        padding-top: 0.5%;
        padding-bottom: 0.3%;
        transition: all 0.3s ease;
    }

    .icons {
        display: inline-flex;
        bottom: 25%;
        font-size: 6vw;
    }

    .icons #close {
        display: none;
    }

    .ri-shopping-cart-line {
        display: inline-block;
        position: absolute;
        color: white;
        font-size: 6vw;
        right: 15%;
        bottom: 25%;
        text-decoration: none;
    }
    
    .header {
        align-items: center;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        margin: 0;
        width: 100%;
        height: 0;
        display: flex; /* Ajout de la propriété display flex */
        align-items: center; /* Pour centrer verticalement le contenu */
        flex-direction: column; /* Afficher les éléments en colonne */
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        overflow: hidden;
        transition: .3s ease;
        z-index: 11000;
    }
    
    .navbar a {
        display: block;
        font-size: 10vw;
        text-align: center;
        opacity: 0;
        transition: .3s ease;
        line-height: .1; /* Ajuster la hauteur de ligne pour réduire l'espace */
    }
    
    
    
    
    .header {
        z-index: 200;
        display: flex;
        background-color: rgba(94, 94, 94, 0.308); /* Fond d'en-tête semi-transparent */
        position: fixed;
        right: 0;
        left: 0;
        opacity: 1;
        transition: opacity 0.4s ease-in-out;
        height: 18vw;
        
    }

    #check:checked~.icons #menu{
        display: none;
    }

    #check:checked~.icons #close{
        display: inline-flex;
    }

    
    #check:checked ~ .navbar {
        height: 73vh;
    }
    
    #check:checked ~ .navbar a{
        transform: translateY(0);
        opacity: 1;
        transition-delay: calc(.35s * var(--i));
    }

    #check:checked ~ body {
        overflow: hidden;
    }

    /* Pour éviter que le fond ne soit coupé lors du défilement vers le haut */
    #check:checked ~ .top-page {
        position: fixed;
        width: 100%;
    }

    footer{
        margin-top: 150%;
    }

    div.container {
        display: none;
    }

    .lock h1{
        color: white;
    }

    .lock img {
        width: 50%;
        margin-top: 30vw;
        position: relative;
        animation: rotation 4s infinite;
    }

    @keyframes rotation {
        0% {
          transform: rotate(0deg); /* Rotation initiale à 0 degrés */
        }
        50% {
          transform: rotate(35deg); /* Rotation à 180 degrés à mi-chemin de l'animation */
        }
        100% {
          transform: rotate(0deg); /* Retour à la rotation initiale à la fin de l'animation */
        }
      }

    div.lock {
        
        text-align: center;
        position: relative;
        display: block;
        z-index: 0;
        width: 100%;
        height: 100%;
    }
}




@media (max-width: 666px) and (orientation:landscape) {

    div.lock {
        display: none;
    }
    

    .icons {
        display: inline-flex;
        font-size: 3vw;
    }

    .icons #close {
        display: none;
    }

    .ri-shopping-cart-line {
        display: inline-block;
        position: absolute;
        color: white;
        font-size: 3vw;
        right: 9%;
        bottom: 28%;
        text-decoration: none;
    }
    
    .header {
        align-items: center;
        z-index: 10;
    }

    .navbar {
        position : absolute;
        top: 100%;
        left: 0;
        margin: 0;
        width: 100%;
        height: 0;
        display: block;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(5px);
        overflow: hidden;
        transition: .3s ease;
    }

    .navbar a{
        display: block;
        font-size: 3.4vw;
        margin: 2.6% auto;
        text-align: center;
        transform: translateY(-50px);
        opacity: 0;
        transition: .3s ease;
    }

    #check:checked~.icons #menu{
        display: none;
    }

    #check:checked~.icons #close{
        display: inline-flex;
    }

    
    #check:checked ~ .navbar {
        height: 44vw;
    }
    
    #check:checked ~ .navbar a{
        transform: translateY(0);
        opacity: 1;
        transition-delay: calc(.15s * var(--i));
    }

    #check:checked ~ body {
        overflow: hidden;
    }

    /* Pour éviter que le fond ne soit coupé lors du défilement vers le haut */
    #check:checked ~ .top-page {
        position: fixed;
        width: 100%;
    }

    footer{
        margin-top: 150%;
    }

    div.Contact{
        font-size: 1vw;
        color: white;
        width: 60vw;
        text-align: center;
        text-decoration: none;
        padding-left: 4vw;
        z-index: 10;
    }
        
    .Contact p{
        text-decoration: none;
        line-height: 0.5;
        color: rgb(255, 255, 255);
        font-size: 2.3vw;
    }

    div.Informations img {
        width: 12%;
        margin-left: 2vw;
    }

}