body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* pour qu'il reste au-dessus des autres éléments */
    background-color: white; /* ou la couleur de ton header, sinon il sera transparent */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* optionnel : pour un léger effet de profondeur */
}


.conteneur_logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.conteneur_nav {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 150px;
}

.sub-menu {
    display: none; /* Hide submenu by default */
}

.sub-menu.visible {
    display: block; /* Show submenu when visible */
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger .line {
    width: 25px;
    height: 3px;
    background: #383838;
    margin: 4px;
}

.nav-links.show {
    display: block; /* Show navigation links for mobile */
}


.menu_nav {
    display: flex;
    align-items: center;
    justify-content: center;
}


.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links a {
    text-decoration: none;
    color: black;
}

a.a_header {
    font-family: "Arsenal", sans-serif;
    font-weight: 400;
    font-size:18px;

}

/* Page index */

.portrait {
    margin-right: 100 px;
    width: 400px;
    border-radius: 10px;
}

.conteneur_principal {
    margin-top: 150px;
    display:flex;
    flex-direction: row;
    padding-left: 260px;
    padding-right: 260px;
}

.conteneur_child {
    padding-left: 100px;

}

h1 {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-size: 50px;
    font-weight: 600;
}


p {
    font-family: "Arsenal", sans-serif;
    font-weight: 400;
    font-size:18px; 

}

.conteneur_logo_corsetieres {
    margin-top: 50px;
    display: flex;
    align-items:center;
    justify-content: center;
}

.logo_corsetieres {
    width: 200px;
}


.conteneur_portefolio {
    margin-right: 5px;
    margin-left: 5px;
    display: flex;
    flex-direction:wrap; 
}



.conteneur_stay,
.conteneur_underbust,
.conteneur_overbust,
.conteneur_robe,
.conteneur_costume {
    position: relative;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
    width: 500px;
    height: 500px;
    padding:50px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    display: flex ;
    justify-content: center;
    align-items : center; 
    text-aligne: center; 
}

.conteneur_stay {
    background-image: url("https://www.chrysea.fr/media/img/2023_Chrysea_BookStudio_7481.jpg");
}

.conteneur_underbust {
    background-image: url("https://www.chrysea.fr/media/img/2023_Chrysea_BookStudio_7579.jpg");
}

.conteneur_overbust {
    background-image: url("https://www.chrysea.fr/media/img/2023_Chrysea_BookStudio_7544.jpg");
}

.conteneur_robe {
    background-image: url("https://www.chrysea.fr/media/img/2023_Chrysea_BookStudio_8168.jpg");
}

.conteneur_costume {
    background-image: url("https://www.chrysea.fr/media/img/Bal_Prdx_2015_AW_DSC5700_2.jpg");
}

.conteneur_stay::before,
.conteneur_underbust::before,
.conteneur_overbust::before,
.conteneur_robe::before,
.conteneur_costume::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    border-radius: 10px;
}

.conteneur_stay:hover::before,
.conteneur_underbust:hover::before,
.conteneur_overbust:hover::before,
.conteneur_robe:hover::before,
.conteneur_costume:hover::before {
    background-color: rgba(0, 0, 0, 0.7); 
}


h2 { font-family: "Dancing Script", cursive;
    font-size: 35px;
    font-weight: 600;
}

.h2_portfolio {
    margin-top: 100px;
    margin-left: 260px;


}

a {
    text-decoration: none;

}


h3 {
    position: relative;
    font-family: "Dancing Script", cursive;
    font-size: 35px;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 640px; /* Centre verticalement le texte */
    z-index: 1;
    
}

.grid {
    margin-top : 50px;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 2000px;
    margin: 0 auto;
}

.grid > .conteneur:nth-child(4),
.grid > .conteneur:nth-child(5) {
    grid-column: span 2;
}


.conteneur_logo_chrysea {
    
    display: flex;
    align-items:center;
    justify-content: center;
}


.video {
    border-radius: 999%;
      
}


/*Page courante*/ 

.conteneur-h2,
.conteneur-h1 {
    display: flex;
    justify-content: center;
    align-content: center;
    
}

.conteneur-h2 {
    margin-bottom: 50px;
    margin-top:50px;
}


.slideshow-container {
    position: relative;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
}

/* Style for each image */
.slide img {
    width: 600px;
    height: auto;
    display: block;
}

/* Navigation arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Navigation dots */
.dots-container {
    text-align: center;
    padding: 10px 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Fade animation */
.fade {
    animation: fade 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}


/*Page contact */

.formulaire {
    background: linear-gradient(to right, #afb8dd, #bfbafc, #c3a8ee, #fda4f9, #f8b7d0);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite; 
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 50px 20px;
    box-sizing: border-box;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form h2 {
    margin-bottom: 20px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #5a0070;
    outline: none;
}

textarea {
    resize: vertical;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #5a0070;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #5a0070;
}


@media (max-width: 1024px) {
    .burger {
        display: flex;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #ffffff;
        position: absolute;
        top: 150px;
        left: 0;
        padding: 10px 0;
    }
    .nav-links.show {
        display: flex;
    }
    .nav-links li {
        text-align: center;
        margin: 10px 0;
       
    }

    .conteneur_principal {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        justify-content: flex-start;
        padding: 0; 
        margin: 0;  
    }

    .portrait {
        width: 100%; 
        max-width: 450px; 
        display: block;
        margin: 0 auto;
        margin-top: 20px; 
    }

    .conteneur_child {
        width: 90%;
        max-width: 450px; 
        padding: 10px; 
        margin-top: 20px;
        text-align: left; 
    }
    
        
  
    .grid {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        justify-content: center; 
        width: 100%;
        padding: 0px;
        margin: 0px;
    }

    .grid > .conteneur {
        width: 100%;
        max-width: 450px; 
        margin-bottom: 20px; 
    }


    .h2_portfolio {
        margin-left: 0px;
        width: 90%;
        font-size: 40px;
        max-width: 450px; 
        padding: 10px; 
        margin-top: 50px;
        text-align: left;
       
    }       


    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }

    .slideshow-container {
        width: 100%;
        max-width: 400px;
        margin: 0px;
    }
    
    /* Style for each image */
    .slide img {
        width: 100%;
        max-width: 450px;
        height: auto;
        display: block;
    }

}





