/*----------------------------------*/
/*             Base                 */
/*----------------------------------*/



@font-face {
    font-family: 'anonymous_pro';
    src: url('../polices/Anonymous_Pro/AnonymousPro-Regular.ttf') format('truetype');
}
  
@font-face {
    font-family: 'mermaid';
    src: url('../polices/mermaid/Mermaid1001.ttf') format('truetype');
}

*{
    box-sizing: border-box;
}

body {
    font-family: 'anonymous_pro';
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    overflow-x: hidden;
}

main {
    min-height: calc(100% - 100px);
}



/***************************/
/*      Mise en page       */
/***************************/



.banniere {
    position: relative;
    width: 100%;
    height: 100px;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.logo-banniere img {
    width: 150px;
    height: auto;
    margin-left: 25px;
}

h2 {
    font-family: 'mermaid';
    text-transform: uppercase;
    text-align: center;
    margin: 20px 0;
}

.menu {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.menu a {
    color: #fff;
    text-decoration: none;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 2vw;
}

.utilisateur-connexion {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 50px;
}

.header-title a {
    font-size: 1.5em;
    margin: 0;
    color: #fff;
    text-decoration: none;
}

.toiles-banniere {
    position: absolute;
    width: 100vw;
    left: 0;
    pointer-events: none;
    z-index: -1;
    display: none;
}

.message {
    margin: 20px 30px;
}

#menu-burger-ouvert {
    display: none;
}

footer {
    height: 100px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: #fff;
    padding: 10px 50px;
    bottom: 0;
}

/* coller le footer en bas */

.footer-sticky {
    height: calc(100vh - 240px);
}

.footer-sticky2 {
    display: flex;
    flex-direction: column;
    min-height: 82vh;
}

.footer-sticky main {
    flex: 1;
}

.footer-sticky footer {
    margin-top: auto;
}

/* scroll bar */
 
/* width */
::-webkit-scrollbar {
    width: 10px;
}
  
  /* Track */
  ::-webkit-scrollbar-track {
    position: absolute;
    background: transparent;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background-color: #0000007b;
    border-radius: 10px;
    cursor: grab;
    margin: 2px;
    position: absolute;
    right: 0;
    top: 0;
    width: 7px
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #333;
    background-clip: padding-box;
  }



/*****************************/
/*        Composants         */
/*****************************/



/* accueil */


/* animation */

.anim-split {
    position: absolute;
    background-color: #333;
    width: 100vw;
    height: 50vh;
    transition: transform 1s ease;
    z-index: 5;
}

.top {
    top: 0;
    transform: translateY(0);
}

.bottom {
    bottom: 0;
    transform: translateY(0);
}

.animated .top {
    transform: translateY(-100%);
}

.animated .bottom {
    transform: translateY(100%);
}

.anim-split-hidden {
    display: none;
}

.logo-split-hidden {
    display: none;
}

.no-scroll {
    overflow: hidden;
}

.logo-split {
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
}

.logo-split img {
    width: 100%;
    mask-image: linear-gradient(to right, transparent 20%, black 10%); /* Masque en dégradé */
    mask-size: 650%;
    animation: logoAnim 3s ease forwards;
}

@keyframes logoAnim {
    0% {
        mask-position: 0 0; /* Le logo est complètement masqué au départ */
    }
    80% {
        mask-position: 100% 0; /* Le logo est entièrement visible au milieu de l'animation */
    }
    100% {
        mask-position: 0 0; /* Le logo est masqué progressivement de droite à gauche */
    }
}



/* contenu */

.logo-container {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-image  {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.background-image img {
    opacity: 0;
    width: 20vw;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.logos:hover ~ .background-image img {
    opacity: 1;
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform 0.3s ease;
}

.logos:hover .logo1 {
    transform: translate(-850px, -400px) rotate(-20deg);
}
.logos:hover .logo2 {
    transform: translate(-500px, -405px);
}
.logos:hover .logo3 {
    transform: translate(-450px, 155px);
}
.logos:hover .logo4 {
    transform: translate(60px, -310px);
}
.logos:hover .logo5 {
    transform: translate(-850px, 100px);
}
.logos:hover .logo6 {
    transform: translate(50px, 220px) rotate(-20deg);
}

.description {
    padding: 50px;
    line-height: 1.6;
}



/* vidéos en fond */

.video-fond-conteneur {
    position: relative;
}

.image-fond {
    position: absolute;
    width: 100vw;
    height: 85vh;
    z-index: -2;
}

.image-fond img {
    width: 100vw;
    height: 85vh;
    margin-top: -20px;
}

.video-fond {
    position: absolute;
    width: 100vw;
    height: 85vh;
    object-fit: cover;
    z-index: -3;
    filter: grayscale(1);
    opacity: 0.2;
    margin-top: -20px;
}



/* articles */

.article-seul {
    text-align: center;
    margin-bottom: 50px;
}

.article-seul div a img {
    margin-top: 15px;
}

.article-description {
    margin-bottom: 25px;
}


/* nouvel article */

.effet-image img {
    transition: filter 0.3s ease;
}

.effet-image:hover img {
    filter: drop-shadow(0 0 2px rgba(169, 169, 169, 0.3))
            drop-shadow(0 0 4px rgba(169, 169, 169, 0.2));
}

.texte-ovale-animation {
    position: absolute;
    top: 50%;
    width: 500px;
    height: 100px;
    margin-top: -40px;
    transform: translate(-50%, -100%);
    left: calc(50% - 70px);
    z-index: 1;
}

.texte-ovale-animation span {
    position: absolute;
    font-size: 16px;
    color: black;
    white-space: nowrap;
    left: calc(50% + 70px);
    transition: all 0.3s ease-in;
}



/* carrousel d'articles */

.conteneur-carrousel {
    position: relative;
    width: 80vw;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.carrousel {
    display: flex;
    position: relative;
    height: 350px;
    top: 50%;
}

.article-carrousel {
    width: 200px;
    text-align: center;
    height: fit-content;
    display: none;
    transition: transform 0.5s, opacity 0.5s;
}

.article-carrousel img {
    max-width: 180px;
    height: auto;
}

.article-carrousel.selectionne {
    display: block;
    transform: translateX(0) scale(1.3);
}

.article-carrousel.transition {
    transform: scale(1.5);
    top: 250px;
}

.article-carrousel img {
    width: 200px;
    height: auto;
}

.article-carrousel.precedent,
.article-carrousel.suivant {
    display: block;
    opacity: 0.4;
    animation: animArticles 1.2s ease forwards;
}

.article-carrousel.precedent {
    transform: translateX(-50px);
}

.article-carrousel.suivant {
    transform: translateX(50px);
}


/* animation des articles */

@keyframes animArticles {
    0% {
        margin-left: -8vw;
        margin-right: -8vw;
        opacity: 0;
    }

    100% {
        margin-left: 0;
        margin-right: 0;
        opacity: 0.4;
    }
}

.carrousel-precedent,
.carrousel-suivant {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    margin-top: -75px;
    animation: animFleches 1.5s ease forwards;
}

.carrousel-precedent {
    left: 0;
    margin-left: 8vw;
}

.carrousel-suivant {
    right: 0;
    margin-right: 8vw;
}

/* animation des flèches */

@keyframes animFleches {
    0% {
        margin-left: 15vw;
        margin-right: 15vw;
        opacity: 0;
    }

    100% {
        margin-left: 8vw;
        margin-right: 8vw;
        opacity: 1;
    }
}



/* contact */


/* 3D */

#scene-container {
    width: 100vw;
    height: 50vh;
    overflow: hidden;
    z-index: -2;
}


/* formulaire et recherche */

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px;
}

.form-mail {
    margin-top: -90px;
}

input, textarea {
    width: 68vw;
    background-color: #1a1a1a;
    color: white;
    padding: 10px;
    margin: 10px 0;
    font-size: 1em;
    font-family: 'anonymous_pro';
}

input[type="submit"] {
    background-color: transparent;
    cursor: pointer;
    text-transform: uppercase;
    color: #1a1a1a;
}

input[type="submit"]:hover {
    background-color: #1a1a1a;
    color: white;
}

.recherche form input {
    margin-bottom: 23px;
    width: 60vw;
}

.recherche-contenu {
    margin: 0 20px;
}

/* page single */

.taille-boutons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.btn-taille {
    width: 7vw;
    padding: 5px;
    border: 2px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
}

/* masquer les boutons type radio */
.btn-taille input[type="radio"] {
    display: none;
}

.btn-taille:has(input[type="radio"]:checked) {
    border: 2px solid #333;
}

.btn-taille:active {
    transform: scale(0.9);
}



/* panier et paiement */

.btn-panier, .btn-achat {
    text-decoration: none;
    font-family: 'anonymous_pro';
    font-size: 16px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, #1a1a1a 100%);
    background-position: left;
    background-size: 180%;
    color: white;
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-position 0.8s ease;
}

.btn-panier:hover {
    background-position: right;
}

.checkout-button, #place_order {
    text-decoration: none;
    width: 20vw;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, #1a1a1a 100%);
    background-position: left;
    background-size: 180%;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-position 0.8s ease;
}

.checkout-button:hover, #place_order:hover {
    background-position: right;
}

.return-to-shop {
    display: none;
}

.product-name a, .shipping-calculator-button {
 color: black;
}

.wc-forward {
    display: none;
}

.panier {
    width: 30px;
    height: auto;
    margin-left: -25px;
    margin-right: 20px;
}

.panier-conteneur {
    position: relative;
}

.panier-conteur {
    text-decoration: none;
    position: absolute;
    background-color: rgb(133, 18, 18);
    width: 2.8vh;
    height: 2.8vh;
    color: white;
    font-size: 0.8rem;
    text-align: center;
    border-radius: 100px;
    padding: 5px;
    top: -13px;
    left: -5px;
}

.panier-burger {
    width: 30px;
    height: auto;
    margin-top: 40px;
    margin-left: 40px;
    margin-bottom: -50px;
}

.panier-conteur-burger {
    text-decoration: none;
    position: absolute;
    z-index: 5;
    background-color: rgb(133, 18, 18);
    width: 2.8vh;
    height: 2.8vh;
    color: white;
    font-size: 0.8rem;
    text-align: center;
    border-radius: 100px;
    padding: 5px;
    top: 27px;
    left: 60px;
}

.shop_table {
    margin-bottom: 100px;
}

.woocommerce-notice, .woocommerce-order p {
    margin: 20px;
}



/*----------------------------------*/
/*             mode nuit            */
/*----------------------------------*/

.lune {
    width: 32px;
    height: 32px;
    display: none;
}

.soleil {
    width: 32px;
    height: 32px;
    display: block;
}

.mode-nuit .soleil {
    display: none;
}

.mode-nuit .lune {
    display: block;
}

.mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
}

.mode-toggle-burger {
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 35px;
    margin-right: 100px;
}

body.mode-nuit {
    background-color: #333;
    color: white;
}

.mode-nuit .banniere, .mode-nuit footer, .mode-nuit #menu-burger-ouvert {
    background-color: black;
}

/* panier et paiement */

.mode-nuit .woocommerce table.shop_table, .mode-nuit .woocommerce table.shop_table td {
    border: 1px solid black;
}

.mode-nuit #payment {
    background-color: #333;
}

.mode-nuit .wc_payment_methods {
    background-color: black;
}

/* contact */

.mode-nuit input, .mode-nuit textarea {
    background-color: black;
    color: white;
}

.mode-nuit input[type="submit"] {
    background-color: black;
    color: white;
}

.mode-nuit input[type="submit"]:hover {
    background-color: transparent;
    color: black;
}

.mode-nuit .recherche form input {
    background-color: #333;
}

/* produits */

.mode-nuit .texte-ovale-animation span {
    color: white;
}

.mode-nuit .btn-taille:has(input[type="radio"]:checked) {
    border: 2px solid black;
}

.mode-nuit a, .mode-nuit h2 {
    color: #f0f0f0;
}



/*----------------------------------*/
/*             Responsive           */
/*----------------------------------*/

/* Tablette */

@media screen and (max-width : 1600px) {
    
    /* accueil */

    .background-image img {
        width: 23vw;
    }

    .logos:hover .logo1 {
        transform: translate(-620px, -400px) rotate(-20deg);
    }
    .logos:hover .logo2 {
        transform: translate(-500px, -405px);
    }
    .logos:hover .logo3 {
        transform: translate(-450px, 155px);
    }
    .logos:hover .logo4 {
        transform: translate(-130px, -310px);
    }
    .logos:hover .logo5 {
        transform: translate(-620px, 100px);
    }
    .logos:hover .logo6 {
        transform: translate(-140px, 220px) rotate(-20deg);
    }

}

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

    .menu ul {
        display: block;
    }

    .recherche form input {
        width: 30vw;
    }

    /* accueil */

    .logos:hover .logo1 {
        transform: translate(-500px, -400px) rotate(-20deg);
    }
    .logos:hover .logo2 {
        transform: translate(-500px, -380px);
    }
    .logos:hover .logo3 {
        transform: translate(-430px, 140px);
    }
    .logos:hover .logo4 {
        transform: translate(-270px, -310px);
    }
    .logos:hover .logo5 {
        transform: translate(-525px, 130px) rotate(5deg);
    }
    .logos:hover .logo6 {
        transform: translate(-275px, 200px) rotate(-20deg);
    }

    /* zoom articles */

    .zoomWindowContainer {
        display: none;
    }

    .zoomLens {
        display: none;
    }

    .zoomContainer {
        display: none;
    }

}

/* Mobile */

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

    .image-fond {
        display: none;
    }

    .video-fond {
        display: none;
    }

    /* accueil */

    .logos:hover .logo1 {
        transform: translate(-415px, -400px) rotate(-20deg);
    }
    .logos:hover .logo2 {
        transform: translate(-370px, -380px);
    }
    .logos:hover .logo3 {
        transform: translate(-350px, 140px);
    }
    .logos:hover .logo4 {
        transform: translate(-215px, -340px);
    }
    .logos:hover .logo5 {
        transform: translate(-445px, 130px) rotate(5deg);
    }
    .logos:hover .logo6 {
        transform: translate(-240px, 200px) rotate(-20deg);
    }

    .background-image img {
        width: 32vw;
    }

    .logo {
        width: 80%;
        height: auto;
    }

    /* video */

    .image-fond img {
        width: 130vw;
        height: 100vh;
    }

}

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

    .logo-banniere img {
        width: 110px;
        height: auto;
        margin-left: 12px;
    }

    /* accueil */

    .logos:hover .logo1 {
        transform: translate(-235px, -300px) rotate(-20deg);
    }
    .logos:hover .logo2 {
        transform: translate(-230px, -300px);
    }
    .logos:hover .logo3 {
        transform: translate(-200px, 140px);
    }
    .logos:hover .logo4 {
        transform: translate(-130px, -275px);
    }
    .logos:hover .logo5 {
        transform: translate(-255px, 140px) rotate(5deg);
    }
    .logos:hover .logo6 {
        transform: translate(-135px, 175px) rotate(-20deg);
    }

    .background-image img {
        width: 38vw;
    }

    /* menu burger */

    .menu {
        display: none;
    }

    .panier {
        display: none;
    }

    .panier-conteur {
        display: none;
    }

    .conteneur-burger {
        z-index: 11;
        display: block;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    #menu-burger {
        position: relative;
        width: 40px;
        height: 25px;
        cursor: pointer;
    }

    #menu-burger:before {
        content: '';
        position: absolute;
        background-color: white;
        width: 100%;
        height: 4px;
        top: 0;
        transition: .2s all;
    }
    
    #menu-burger:after {
        content: '';
        position: absolute;
        background-color: white;
        width: 100%;
        height: 4px;
        bottom: 0;
        transition: .2s all;
    }

    #menu-burger i {
        opacity: 1;
        position: absolute;
        background-color: white;
        width: 100%;
        height: 4px;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        transition: .2S all;
    }

    #menu-burger:hover i {
        width: 75%;
        transition: .2S all;
    }

    .burgeractif i {
        opacity: 0 !important;
        width: 0% !important;
    }

    .burgeractif:before {
        top: 50% !important;
        transform: rotate(45deg);
        border-radius: 4px;
        transition: .2s all;
    }
    
    .burgeractif:after {
        top: 50% !important;
        transform: rotate(-45deg);
        border-radius: 4px;
        transition: .2s all;
    }

    #menu-burger-ouvert {
        position: absolute;
        width: 60vw;
        height: 42vh;
        background-color: #333;
        top: 0;
        right: 0;
        line-height: 1.1;
    }

    #menu-burger-ouvert ul {
        list-style: none;
        margin-top: 100px;
    }

    #menu-burger-ouvert ul li {
        padding: 4px 0;
    }
    
    #menu-burger-ouvert a {
        color: white;
        font-size: 18px;
        text-decoration: none;
    }

    .accueil-lien {
        padding: 4px 0;
    }

    .utilisateur-connexion a {
        text-decoration: none;
        color: white;
        padding-left: 40px;
    }

    .utilisateur-connexion span {
        padding-left: 40px;
        padding-right: 20px;
        word-wrap: break-word;
    }

    /* mise en page */

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

    /* paiement */

    .checkout-button {
        width: 45vw;
    }

    .btn-taille {
        width: 12vw;
    }

    /* produits */

    .texte-ovale-animation {
        margin-top: 5px;
    }

    /* single */

    .carrousel-precedent {
        transform: translateX(-55px);
    }

    .carrousel-suivant {
        transform: translateX(55px);
    }

    /* footer */

    footer {
        padding: 25px;
    }

}

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

    /* accueil */

    .logos:hover .logo1 {
        transform: translate(-200px, -270px) rotate(-20deg);
    }
    .logos:hover .logo2 {
        transform: translate(-195px, -270px);
    }
    .logos:hover .logo3 {
        transform: translate(-170px, 140px);
    }
    .logos:hover .logo4 {
        transform: translate(-100px, -255px);
    }
    .logos:hover .logo5 {
        transform: translate(-210px, 140px) rotate(5deg);
    }
    .logos:hover .logo6 {
        transform: translate(-105px, 175px) rotate(-20deg);
    }

    .toiles-banniere {
        transform: scale(2) translate(-25%, 22%);
    }

}