/* 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 */
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* 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;
        z-index: -1000;
        pointer-events: none;
        
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 1;
        display: block;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
        z-index: -1000;
        pointer-events: none;
    }
}


























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

.header {

    display: flex;
    background-color: rgba(94, 94, 94, 0.308);
    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;
}






/* 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;
}






/* Animation pour faire apparaître le texte */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Appliquer l'animation à h1 */
h1 {
    animation: fadeIn 4s ease forwards;
    margin-left: 0.9vw;
}

h1 {
    font-size: 20vw;
    color: #c48c67;
    margin-top: 12vw;
    opacity: 0;
    z-index: -1;
}


h2 {
    font-size: 10vw;
    margin: 0;
    margin-top: -17vw;
    width: 100%;
    color: white;
    text-align: center;
    opacity: 0; /* Ajouter une opacité initiale pour cacher le texte */
    transition: opacity 4s ease; /* Ajouter une transition pour une apparition en douceur */
}




/* footer */

footer{
    overflow: hidden;
    margin-top: 10%;
    width: 100%;
}

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;
  }
    

  .Contact p{
    line-height: 0.5;
    color: rgb(255, 255, 255);
    font-size: 1.2vw;
}







@media (max-width: 768px) {
    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: 45vw;
    }

    div.Informations{
        display: flex;
        padding-top: 0.5vw;
        align-items: center;
        justify-content: space-around;
    }
    
    div.Contact{
        font-size: 1vw;
        color: white;
        width: 60vw;
        text-align: center;
        padding-left: 4vw;
        z-index: 10;
    }
    
    div.Informations img {
        width: 12%;
        margin-left: 2vw;
    }
    
    div.icones {
        display: flex;
        justify-content: space-around; /* changer space-around à space-between */
        width: 3vw;
        height: 8vw;
        align-items: center;
        margin-right: 12vw;
    }

    .icones a i{
        text-decoration: none;
        font-size: 5vw;
        color: white;
        padding: 1vw;
        opacity: 1;
        transition: opacity 0.3s;
    }
    
    h1 {
        font-size: 80vw;
        color: #c48c67;
        margin-top: 50vw;
        opacity: 0;
        z-index: -1;
    }
    
    h2 {
        font-size: 10vw;
        margin: 0;
        margin-top: -55vw;
        width: 100%;
        color: white;
        text-align: center;
        opacity: 0; /* Ajouter une opacité initiale pour cacher le texte */
        transition: opacity 4s ease; /* Ajouter une transition pour une apparition en douceur */
    }
    
      
    .icones a i:hover {
        opacity: 0.3;
    }

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

    .img_click_top_page{
        display: none;
    }
}