@import url("../Import/css/header_bar.css");
@import url("../Import/css/panier.css");

body {
    margin: 0;
    padding: 0;
    font-family: 'Satoshi', sans-serif;
    background-color: #121212;
    color: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    text-align: center;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: #fff;
    opacity: 0;
    transition: opacity 2s ease-in-out;
  }

  .main-content.show-content {
    opacity: 1;
  }

  .img-fond {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
  }

  .img-fond img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .main-content h1 {
    margin-top: 5%;
    font-size: 600%;
  }

  .main-content h2 {
    margin-top: -2%;
    font-size: 200%;
  }

  .button-container {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 4;
  }

@media (max-width: 600px) {
    .button-container {
        flex-direction: column;
    }

    .button-learn-more {
        margin-top: 25px;
        margin-bottom: 25px;
        margin-left: 0 !important;
    }
}

.button-boutique {
    height: 50px;
    font-weight: 600;
    background-color: #1e6899;
    background-image: linear-gradient(99deg, #2486c7, #16527a);
    outline: 6px solid rgba(94, 206, 136, .19);
    color: #121212;
    border: none;
    padding: 10px 20px;
    border-radius: 60px;
    cursor: pointer;
    font-size: 20px;
    margin: 0.5% 3% 0.5% 3%;
    ;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease-in-out, outline 0.3s ease-in-out;
    /* Ajoute une transition sur la couleur de fond et la outline */
}

.button-boutique::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.button-boutique:hover {
    background-color: #529fd3;
    outline: 4.5px solid rgba(94, 206, 136, .19);
    /* Diminue la valeur de l'outline */
}

.button-boutique:hover::before {
    opacity: 1;
}

.button-learn-more {
    font-weight: 600;
    background-color: transparent;
    color: #fff;
    margin-left: 0.5%;
    font-size: 17px;
    border: none;
    cursor: pointer;
}

.image-dash {
    margin-bottom: -0.3%;
    max-width: 60%; /* Ajustez la largeur maximale selon vos besoins */
    height: auto;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 2s ease-in-out, transform 2s ease-in-out;
  }

  .main-content.show-content .image-dash {
    opacity: 1;
    transform: translateY(0);
  }

.seconde-content {
    background-color: black;
    text-align: center;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: #fff;
    z-index: 1;
}

.secon-content-anim {
    opacity: 0.01;
    transform: translateY(30%); /* Déplace la div vers le bas de 50 pixels au départ */
    transition: opacity 2s ease-in-out, transform 2s ease-in-out;
}

.secon-content-anim.show-ContentCase {
    opacity: 1;
    transform: translateY(0);
}

.seconde-content h2 {
    font-size: 300%;
}

.seconde-content-title-head {
    font-size: 150%;
    color: #3e7397;
    font-weight: 600;
    text-transform: uppercase;
    -webkit-text-stroke: 2px rgb(107, 143, 167, 0.3);
}

@media (min-width: 1260px) {
    .seconde-content-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 831px) and (max-width: 1259px) {
    .seconde-content-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 830px) {
    .seconde-content-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

.seconde-content-container {
    display: grid;
    
    gap: 20px;
    margin: 0 2% 20px 2%;
}

.seconde-content-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
}

.seconde-content-box {
    background-color: #1f1f1f;
    text-align: left;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seconde-content-box:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 255, 255, 0.8);
    transform: translateY(-10px);
}

.seconde-content-box img {
    margin-top: 20px;
    margin-left: 40px;
    max-width: 75px;
    max-height: 75px;
    height: auto;
    border-radius: 8px;
    transition: filter 0.3s ease;
}
.seconde-content-box:hover img {
    filter: drop-shadow(0 0 15px rgba(0, 123, 255, 0.8)) 
    drop-shadow(0 0 30px rgba(0, 123, 255, 0.6));
}


.seconde-content-box h4 {
    font-size: 155%;
    margin-top: 10px;
    margin-bottom: 0px;
    margin-left: 40px;
    transition: text-shadow 0.3s ease;
}
.seconde-content-box:hover h4 {
    text-shadow: 0 0px 8px rgba(0, 0, 0, 0), 0 0 20px rgba(255, 255, 255, 0.8);
}

.seconde-content-box p {
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 20px;
}

.footer {
    background-color: #121212;
    color: #fff;
    width: 100%;
    padding-top: 20px;
    z-index: 2;
    border-top: 1px solid #3e7397;
}

.list_moyen_paiement_footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* Alignement vertical */
    justify-content: center; /* Alignement horizontal */
}
  
.list_moyen_paiement_footer img {
    max-width: 70px;
    margin: 5px 10px;
    display: flex;
}

a {
    color: #2a4b61;
}

.footer-content {
    margin-left: 10%;
    margin-right: 10%;
    display: flex;
    justify-content: center;
    /* Centre le contenu horizontalement */
    align-items: self-start;
    flex-wrap: wrap;
}

.footer-content div {
    margin-right: 5%;
    margin-left: 5%;
}

.footer h2 {
    color: #fff;
    margin-bottom: 10px;
    /* Ajout de marge en bas */
}

.footer p {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 20px;
    /* Ajout de marge en bas */
}

.footer-content ul {
    list-style: none;
    padding: 0;
}

.footer-content a {
    text-decoration: none;
    color: #bbb;
    display: flex;
    align-items: center;
}

.footer-content img {
    max-width: 23px;
    max-height: 23px;
}

.footer-bottom {
    margin-top: 20px;
    text-align: center;
}