*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img{
    display: block;
    max-width: 100%;
  }

@font-face {
    font-family: "Caslon";
    src: url("./Libre_Caslon_Text/LibreCaslonText-Regular.ttf");
}

main{
    font-family: "Caslon";
    margin: auto;
    margin-top: 25px;
}

.s1, .s2, .s3{
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    margin-bottom:40px;
}

.vues{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vues img, .mainPhoto img{
    box-shadow: 0px 4px 10px #b17f4a;
}

.vues-responsive-1000px{
    display: none;
}

#slider {
    position: relative;
    width: 582px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#precedent,
#suivant {
    cursor: pointer;
    transition: 0.3s ease;
    opacity: 0;
    position: absolute;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(212, 144, 41, 0.8);;
    padding: 10px;
}

#precedent {
    left: 0;
}

#suivant {
    right: 0;
}

#slider:hover #precedent,
#slider:hover #suivant {
    opacity: 1;
}

.details{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 406px;
}

.nomFav{
    display: flex;
    justify-content: space-between;
    font-size: 25px;
    margin-bottom: 20px;
}

.nom span{
    font-size: 40px;
    color:#b17f4a;
}

.coeur{
    width: 27px;
    height:25px;
    background: url("./images/sélection/coeur\ favori\ 1.png") no-repeat center/cover;
}

.coeur.active{
    width: 28px;
    height:25px;
    background: url("./images/sélection/coeur\ favori\ 2.png") no-repeat center/cover;
}

.nomFav span{
    font-size: 40px;
}

.prix{
    margin-bottom: 20px;
    font-size: 40px;
}

.livraison{
    margin-bottom: 64px;
    font-size: 25px;
}

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

.livraison a:hover{
    color : #b17f4a;
}

.couleur{
    margin-bottom: 50px;
    font-size: 25px ;
}

.couleur span{
    color:#b17f4a;
    font-size:32px;
}

.robes{
    display: flex;
    justify-content: space-between;
    gap: 34px;
    margin-bottom: 30px;
}

.boutons{
    display: flex;
    flex-direction: column;
    gap: 20px;   
}

select{
    background: white;
    color: #b17f4a;
}

.panier, select{
    font-weight: bold;
    font-size: 25px;
    font-family: "Caslon";
    text-align: center;
    width: 400px;
    height: 70px;
    box-shadow: 0px 4px 10px #b17f4a;
    border: none;
    padding: 10px;
    margin: auto;
}

select .t, select .t0{
    color: black;
    font-weight: normal;
    font-size: 22px;
}

.panier {
    color: white;
    background: #efbb7e;
    text-decoration: none;
}

.panier:hover{
    border:#b17f4a solid 1px;
    color: #b17f4a;
}

.s2{
    display: flex;
    justify-content: space-around;  
   }

.description{
    text-align: left;
    font-size: 20px;
    background: #f3ede3;
    width: 360px;
    height: 525px;
    line-height: 30px;
    padding: 15px;
}  

main h3{
    color:#b17f4a;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

ul{
    margin-left:20px;
    line-height: 40px;
}

.p1 {
    margin-bottom: 20px;
}

.s2 .coupes{
    line-height: 25px;
}

.coupes p{
    margin-bottom: 18px;
}

h2{
    font-size: 50px;
    font-weight: bold;
    margin-left: 20px;
    margin-bottom: 40px;
}

.s3{
    display: flex;
    justify-content: space-around;
}

.s3-a{
    display: block;
}

.s3 a{
    text-decoration: none;
}
            
.boucles, .chaussures, .bague{
    width: 354px;
    height: 354px;
}

.boucles{
    background: url("./images/sélection/boucles.png") no-repeat center/cover;
}

.chaussures{
    background:url("./images/sélection/chaussures.png") no-repeat center/cover;
}

.bague{
    background: url("./images/sélection/bague.png") no-repeat center/cover;
}

.hover {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: space-around;
    padding: 20px;
    opacity:0;
    width: 100%;
    height: 100%;
    transition: 0.5s ease;
    background:rgba(255, 255, 255, 0.7);
}

.hover:hover{
    opacity:1;
}

.hover a{
    color:black;
}

.p4 a:hover{
    color:#b17f4a;
}

.p4 span:hover{
    color: black;
}

.p5:hover, .p6 a:hover{
    color:#b17f4a;
}

.p2{
    font-size: 22px;margin-bottom: 20px;
}

.p2, .p3{
    font-weight: bold;
}

.p3, .p4, .p5, .p6{
    font-size: 20px;
    margin-bottom: 20px;
}

/* Slider à supprimer si besoin CSS */


/* Media queries à conserver*/

@media (max-width:1000px){

.s1, .s2, .s3{
    flex-direction: column;
    width: 100%;
    gap: 40px;
}

.mainPhoto{
    order: -1;
}

.mainPhoto img{
    width: min (535px, 100%);
}

.vues{
    display: none;
}

.vues-responsive-1000px{
    display: block;
    width:100%;
}

.vues-responsive-1000px img{
    margin-bottom: 20px;
    max-width: 535px;
}

h2{
    font-size: 30px;
    margin-left: 0;
}

}   


/* GENERAL */


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face{
    font-family: 'Caslon', serif;
    src: url(Libre_Caslon_Text/LibreCaslonText-Regular.ttf);
}
a{
    cursor: pointer;
    text-decoration: none;
}


/* ASSENCEURS */
#scroll_to_top{
    position: fixed; 
    bottom: 50px;
    right: 30px;
    z-index: 100;
  }
 

/*--------------------- HEADER----------------------- */
header{
    font-family: 'Caslon', serif;
    box-shadow: 0px 0px 10px #B17F4A;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: white;
    height: 90px;
    width: 100%;
}
header img{
    margin: 10px;
}
header .LOGO{
    position: relative;
    width: 150px;
}
header .picto img{
    height: 40px;
    margin: 15px ;
}
header .picto{
    display: flex;
}
header form input{
    border:none;
    text-decoration: underline;
    width: 120px;
    font-family: 'Caslon', serif;
    margin-left: 30px;
    font-size: 18px;
    color: black;
}
.header-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 70px;
    /* padding: 0 40px; */
}
.header-left h3 {
    color: black;
    font-size: 20px;
}

.header-left .promo {
    color: #B17F4A;
}
.header-right input {
    border: none;
    font-family: 'Caslon';
    font-size: 20px;
    color: black;
    width: 150px;
    height: 40px;
}

.header-right input:hover {
    border-bottom: 2px solid black;
    background: url(images/Vector.png) no-repeat 95%; 
}



/*---------------------FIN HEADER----------------------- */




/* MENU DEROULANT------------------------------------------ */
#topnav_menu {
    display : block;
    position: absolute;
    left   : 0;
    top     : 90px;
    margin  : 0;
    width   : 800px;
    height  : 100vh;

    z-index: 99;

    transform-origin: 0% 0%;
    transform       : translate(-200%, 0);

    transition: transform 1s ;
}

/* and let's slide it in from the left */
#topnav_menu.open {
    transform: none;
    position: fixed;
}

#topnav_menu ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;

    position: absolute;
    margin: 0;
    left: 0;
    top: 0;

    width: 100%;
    /* height: 100%; */
    padding: 30px 50px ;

    text-align: left;

    background:rgba(255, 255, 255, 0.85);
    list-style-type: none;
}

#topnav_menu ul {
    position: relative;
    padding: 0 80px;
    list-style-type: none;
}

#topnav_menu ol li {
    padding: 10px;
    font-size: 20px;
}

#topnav_menu ul li {
    font-size: 16px;
}

#topnav_menu a {
    white-space: nowrap;
    color: black;
    text-decoration: none;
}

#topnav_menu a:hover {
    font-weight: 700;
}

#topnav_icon {
    user-select: none;
    -webkit-user-select: none;
}

/*---- FIN MENU DEROULANT------------------------- */


/*---- responsive----------------------------- */
.pc{
    display: block;
}
.mob{
    display:none;
}
@media(max-width: 1100px){
    .pc{
        display: none;
    }
    .mob{
        display: block;
    }
    .root a {
        display: none;
    }
    .responsive{
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    .burger{
        height: 24px;
        width: 42px;
        cursor: pointer;
        position: relative;
        margin: 15px;
    }
    .burger span{
        width: 100%;
        height: 4px;
        background-color: #B17F4A;
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        transition: background-color 0.5s ease-in-out;
        border-radius: 15px;
    }
    .burger span::before, .burger span::after{
        content: "";
        position: absolute;
        width: 100%;
        height: 4px;
        background-color: #B17F4A;
        transition: transform 0.5s ease-in-out;
        border-radius: 15px;}
    .burger span::before{
        transform: translateY(-10px);
    }
    .burger span::after{
        transform: translateY(10px);
    }
    .burger.active span{
        background-color: transparent;
    }
    .burger.active span::before{
        transform: translateY(0px) rotateZ(45deg);
    }
    .burger.active span::after{
        transform: translateY(0px) rotateZ(-45deg);
    }   
    header .LOGO {      
        padding-right: 30px;
    }}  

    @media(max-width: 600px){
    header .picto a img{
        height: 30px;
        margin: 8px;
    }
    header .picto{
        margin-right: 20px;
    }
    #topnav_menu ol {
        grid-template-columns:1fr;
        grid-template-rows: repeat (4, auto);
    }
    #topnav_menu ul li {
        line-height: 5px;
        font-size: 14px;
    }
    .petite-categorie{
        display: none;
    }
    .petite-categorie.open{
        display: block;
    }
   


}
/*---- responsive----------------------------- */


/*---------------------FOOTER----------------------- */
footer{
    width: 100%;
    background-color:#FFDBB0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 30px;
    }
footer .bloc{
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;    
}
footer .bloc > *{
    margin: 20px;
}
footer .bloc1, footer .bloc2, footer .bloc3{
    text-align: center;
    margin: 15px;
}
footer h1{
    font-size: 20px;
    margin-bottom: 15px;
}
footer li{
    list-style-type: none;
    line-height: 170%;
}
footer li a{
    text-decoration: none;
    color: black;
}
footer li a:visited{
    color: black;
}
footer li a:hover{
    color: brown;
}
footer .picto img{
    height: 30px;
    margin: 15px;
}
footer .picto{
    display: flex;
    justify-content: center;
}
footer a{
    text-align: center;
    color: white;
    margin: 30px;
}
@media(max-width: 600px){
    footer .bloc{
        flex-direction: column;
      
    }
    footer .bloc h1{
          font-size: 15px;
    }

}
/*---------------------FIN FOOTER----------------------- */