* {
    box-sizing: border-box; /* Applique à tous les éléments */
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body{
    position: relative;
    margin:0;
    padding: 0;
    width: 100%;
    height:100%;
    color:rgb(26, 26, 26);
    font-size:1.3vw;
    font-size:clamp(14px, 1.3vw, 25px);
    overflow-x: hidden;
    font-family: 'Open Sans', sans-serif;
}
a{
    color:white;
    text-decoration: none;
    white-space: nowrap;
    display: block;
    height:100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#message_feed{
  opacity: 0;  
  margin-top: 3%;
  color:white;
}
.el_menu_side{
    cursor: pointer;
    transition: color 0.5s ease;
}
.el_menu_side:hover{
    color:black;
}

#nav{
    width: 100%;
    height: fit-content;
    padding: 2%;
    display: flex;
    align-content: center;
    justify-content: center;
    background-color: #40605d;
    z-index: 200;
    position: fixed;
}
.el_nav{
    cursor: pointer;
    transition: color 0.5s ease;
}

.are_hover:hover{
    color: rgb(150, 150, 150);
}
.nav_container{
    width: 33.33%;
    height:100%;
    display: flex;
    align-items: center;
    gap:4%;
    position: relative;
}
#input_search{
    width: 90%;
    outline: none;
    padding: 1%;
    margin-top: 2%;
    background-color: white;
}

#epoque{
    flex-direction: column;
}
#container_epoque{
    display: flex;
    gap:5%;
    width: 100%;
    justify-content: center;
    margin-top: 1%;
}
.icone{
    width: 5.1%;
    height:auto;
    margin-top: 0;
    padding-top: 0;
}

#container_scroll{
    width: 100%;
    overflow: hidden;
    margin-top: 3.5%;
}
#scroll{
    display: flex;
    height:fit-content;
    transition: transform 0.5s ease;
}

.container_livre{
    width: 100%;
    display: flex;
}
.text_livre{
    width: 50%;
    padding: 2%;
    margin-left: 7%;
}
.livre_container{
    width: 35%;
    text-align: center;
    height:100%;
    padding-right: 0%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.livre_img{
    width: 55%;
    height: auto;
    transition: transform 0.5s ease;
    cursor: pointer;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
}
.livre_img_cover{
    width: 60%;
    height: auto;
    transition: transform 0.5s ease;
    cursor: pointer;
}
#sous_nav{
    margin-left: 2%;
    margin-top: 8.5%;
    width: fit-content;
    border-bottom: 1px solid rgba(128, 128, 128, 0.295);
    padding-bottom: 0.5%;
}


#container_circle{
    width: 100%;
    display: flex;
    justify-content: center;
    gap:0.5%;
    margin-top: 2%;
}
.circle{
    width: 10px;
    aspect-ratio: 1;
    background-color: #40605d;
    border-radius: 50%;
    cursor: pointer;
}
.is_circle_red{
    background-color: rgb(226, 96, 96);
}


#footer{
    width: 100%;
    background-color: #40605d;
    padding: 5%;
    position: relative;
}
#hello_container{
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: start;
}
#contianer_titre_footer{
    width: 60%;
    padding-left: 3%;
}
#section_footer{
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
}
#footer #section1{
    width: 60%;
    padding-left: 3%;
}
#footer #section2{
    width: 40%;
    display: flex;
    padding-right: 3%;
}
#text_footer{
    width: 80%;
}
#map{
    width: 100%;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
}
input{
    width: 60%;
    outline: none;
    font-size: 1.1vw;
    font-family: 'Open Sans', sans-serif;
    padding: 1%;
    font-size:clamp(12px, 1.2vw, 25px);
    background-color: white;
    display: flex;
    align-items: center;
}
textarea{
    width: 60%;
    outline: none;
    height:200px;
    font-size: 1.1vw;
    font-family: 'Open Sans', sans-serif;
    font-size:clamp(14px, 1.2vw, 25px);
    background-color: white;
    padding: 1%;
}
input::placeholder{
    font-size: 1.1vw;
    font-size:clamp(12px, 1.1vw, 25px);
}
textarea::placeholder{
    font-size: 1.2vw;
    font-size:clamp(12px, 1.2vw, 25px);
}
.btn_whuite{
    border: 1px solid white;
    background-color: transparent;
    padding: 1%;
    color:white;
}



#overlay_recherche {
    position: fixed;
    top: 0;
    width: 40vw;
    height: 100vh;
    background-color: #5d7c7cfd;
    z-index: 100;
    transition: transform 1s ease ;
    display: block;
    transform: translateX(250%);
}

.inputs_cont{
    width: 100%;
    text-align: center;
}
.input_msg{
    margin: auto;
}
.close{
    position: absolute;
    top:10%;
    right:10%;
    color:white;
    cursor: pointer;
    width: 4%;
}
#overlay_message {
    position: fixed;
    top: 0;
    width: 40vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.637); /* noir semi-transparent */
    z-index: 100;
    transition: transform 1s ease ;
    display: block;
    transform: translateX(250%);
}
.coitnanier_over{
    width: 100%;
    margin-top: 10%;
    height: 100%;
    text-align: center;
    padding: 3%;
    background-color: #5d7c7cfd;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.coitnanier_over_livre{
    width: 100%;
    margin-top: 10%;
    height: 100%;
    text-align: center;
    padding: 3%;
    background-color: #5d7c7cfd;
    border-radius: 10px;
    position: relative;
    padding-top: 20%;
}
.savoir_plus{
    padding: 1%;
    float: right;
    margin-right: 2%;
    margin-top: 2%;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
    border: 1px solid black;
}
#mentions{
    align-items: start!important;
    justify-content: start!important;
}
.margin_top1{
    margin-top: 0.5%;
}
.margin_top{
    margin-top: 1%;
}
.margin_top2{
    margin-top: 2.5%;
}


button{
    border: 1px solid black;
    background-color: transparent;
    padding: 1%;
    cursor: pointer;
    letter-spacing: 1px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
}
.button_white{
    border: 1px solid rgb(255, 255, 255);
    color:white;
    background-color: transparent;
    padding: 3%;
    cursor: pointer;
    letter-spacing: 1px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
}
.btn_a{
    border: 1px solid black;
    background-color: transparent;
    padding: 1%;
    cursor: pointer;
    letter-spacing: 1px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
    width: fit-content;
    text-align: center;
    display: block;
}
.btn_a_white{
    border: 1px solid rgb(255, 255, 255);
    color:white;
    background-color: transparent;
    padding: 3%;
    cursor: pointer;
    letter-spacing: 1px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
}
h1, h2{
    padding: 0;
    margin: 0;
}
.is_white{
    color:white;
}
.is_gray{
    color:rgb(49, 49, 49);
}
.is_black{
    color:black;
}


h1{
    font-size:clamp(22px, 2.5vw, 43px);
}
.is_titre{
    font-size: 2.5vw;
    font-size:clamp(22px, 2.5vw, 43px);
}
.is_titre1{
    font-size: 2vw;
    font-size:clamp(18px, 2vw, 37px);
}
.is_text1{
    font-size: 1.2vw;
    font-size:clamp(12px, 1.2vw, 25px);
}
.is_text{
    font-size: 1.1vw;
    font-size:clamp(12px, 1.1vw, 33px);
}



input{
    height:fit-content;
}


.is_titre_font{
    font-family: Cinzel,sans-serif;
}

.is_resp{
    display: none;
}

@media (min-height: 700px) {
    input, textarea{
        width: 65%;
    }
    .coitnanier_over{
        padding-bottom: 20%;
    }
    textarea{
        height:300px;
    }
}

@media (max-width: 1910px) {
 .circle{
    width: 15px;
 }
}
@media (max-width: 1366px) {
 .circle{
    width: 10px;
 }
}
@media (max-width: 1280px) {
    .close{
        width: 6%;
    }
}
@media (max-width: 1152px) {
    .icone{
        width: 6%;
        padding-top: 0!important;
    }
    .el_nav{
        padding-top: 0.6%;
    }
}

@media (max-width: 800px) {
    .circle{
        width: 8px;
    }
    input, textarea{
        width: 70%;
    }
    #input_search{
        width: 90%;
    }
    .el_nav{
        padding-top: 0%;
    }
}


@media (max-width: 700px) {

    body{
        font-size: 3.5vw;
    }
    h1{
        font-size: 4.8vw;
    }
    .is_titre{
        font-size: 4.8vw;
    }
    .is_titre1{
        font-size: 4.2vw;
    }
    .is_text1{
        font-size: 3.4vw;
    }
    .is_text{
        font-size: 2.8vw;
    }
    input{
        font-size: 3vw;
    }
    textarea{
        font-size: 3vw;
    }
    input::placeholder{
        font-size: 2.6vw;
    }
    textarea::placeholder{
        font-size: 2.7vw;
    }
    #container_epoque{
        margin-top: 0;
    }
    #input_search{
        width: 90%;
        margin-left: 5%;
    }
    #nav{
        flex-direction: column;
        padding-bottom: 3%;
    }
    .nav_container{
        width: 100%;
    }
    #gal_duv{
        text-align: center;
        justify-content: center;
    }
    #epoque{
        margin-top: 3%;
    }
    .icone{
        width: 5.5%;
    }
    .el_nav{
        padding-top: 0.7%;
    }
    #sous_nav{
        text-align: center;
    }
    .container_livre{
        flex-direction: column;
    }
    .is_resp{
        display: block;
    }
    .no_resp{
        display: none!important;
    }
    .livre_container{
        height: fit-content;
        width: 85%;
        margin-left: 7.5%;
        text-align: center;
        margin-top: 5%;
    }
    .text_livre{
        width: 100%;
        text-align: center;
        margin-left: 0;
    }
    #text_livr_emois{
        text-align: justify;
        padding: 5%;
    }
    .livre_month{
        font-weight: bold;
    }
    #input_search{
        text-align: center;
    }
    .container_btn_scroll{
        flex-direction: column;
        display: flex;
        width: 100%;
        height: auto;
        align-items: end;
        padding-right: 4%;
    }
    #savoir_plus{
        width: 50%;
    }
    .is_second{
        margin-top: 5%!important;
    }
    #container_circle{
        margin-top: 10%;
        gap:4%;
        padding-bottom: 5%;
    }
    .circle{
        width: 10px;
    }
    #footer{
        width: 100%;
        text-align: center;
    }
    #hello_container{
        justify-content: center;
    }
    #section_footer{
        flex-direction: column;
        align-items: center;
    }
    #contianer_titre_footer{
        width: 100%;
        text-align: center;
        padding: 0;
    }
    #titre_footer{
        margin: auto;
    }
    #section1{
        width: 100%;
    }
    #text_footer{
        margin: auto;
        margin-top: 5%;
        width: 100%;
        text-align: justify;
        padding-bottom: 5%;
    }
    #footer #section1{
        padding-left: 0;
        margin: auto;
        width: 80%;
    }
    .align_footer{
        margin: auto;
        margin-top: 5%;
        font-weight: bold;
        padding-bottom: 3%;
    }
    #mail_footer{
        margin-top: 8%;
    }
    #footer #section2{
        width: 100%;
        padding: 0;
        margin-top: 8%;
    }
    #overlay_message, #overlay_recherche{
        width: 100vw;
        padding-top: 35%;
    }
    #section_epoque{
        padding-bottom: 5%;
    }
    .coitnanier_over{
        margin-top: 0;
    }
    #overlay_message, #overlay_recherche{
        padding-top: 30%;
    }
}

@media (max-width: 500px) {

    body{
        font-size: 4.5vw;
    }
    h1{
        font-size: 5.9vw;
    }
    .is_titre{
        font-size: 5.9vw;
    }
    .is_titre1{
        font-size: 5.2vw;
    }
    .is_text1{
        font-size: 4.7vw;
    }
    .is_text{
        font-size: 4.1vw;
    }
    input{
        font-size: 4.6vw;
    }
    textarea{
        font-size: 4.6vw;
    }
    input::placeholder{
        font-size: 4.6vw;
    }
    textarea::placeholder{
        font-size: 4.7vw;
    }
    #sous_nav{
        text-align: center;
        margin-top: 40%!important;
    }
}
