/* ------------- Balises générales ------------- */


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

button {
    border : none;
}



/* ------------- Polices d'écriture et balises textes ------------- */

@font-face {
    font-family: 'Roboto-Light';
    src: url(../Police/roboto/Roboto-Light.ttf) format("truetype") ;
       
}

@font-face {
    font-family: 'Roboto-Bold';
    src: url(../Police/roboto/Roboto-Bold.ttf) format("truetype") ;
       
}

@font-face {
    font-family: 'Roboto-Regular';
    src: url(../Police/roboto/Roboto-Regular.ttf) format("truetype") ;
       
}

h1 {
    font-family: 'Roboto-Bold';
    font-size: 40px ;
    color: #ffffff;
    padding-top : 10%;
    padding-bottom: 2%;
    padding-right: 10%;
    padding-left: 10%;
    
}

h2 {
    font-family: 'Roboto-Light';
    padding-bottom: 10px;
    font-size: 30px ;
    color: #000000;

}

h3 {
    font-family: 'Roboto-Bold';
    padding-top: 10px;
    padding-bottom: 20px;
    font-size: 35px ;
    color: #0c312c;
    margin-left: 2%;
}

h4 {
    font-family: 'Roboto-Bold';
    padding-bottom: 10px;
    font-size: 20px ;
    color: #000000;

}


.texte_principal {
    font-family: 'Roboto-Regular';
    font-size: 18px;
    text-align: justify;
    color: rgb(255, 255, 255);
    padding-top : 10px;
    padding-bottom: 20px;
    padding-right: 10%;
    padding-left: 10%;
    
}

.texte-popup {
    font-size: 16px;
    font-family:'Roboto-Regular';
    text-align: justify;
    margin-right: 2%;
    margin-left: 2%;
    margin-bottom: 2%;
}


/*--------------------- Contenu principal  ---------------------*/

body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    background-image: url(../IMAGE/fond_papyrus.jpg);
    position: relative;

}


.contenu {
    background-color: rgba(0, 0, 0, 0.877);
    padding-top: 5%;
    height: 100vh;
    max-width: 35%;
   
}



/*--------------- Boutons de navigation --------------*/


.btnPrecedent {
    background-color: rgba(0, 0, 0, 0.877);
    height: 100vh;
    


}

#btnPrecedent {
    background-color: rgba(255, 255, 255, 0.664);
    padding: 4em 1em;
    margin-top: calc(50vh - 3.36rem);
    border-radius : 0px 15px 15px 0px;
    color: rgb(0, 0, 0);
}
    

#btnPrecedent:hover{
    background-color: rgba(33, 95, 97, 0.705);
    color: rgb(255, 255, 255);


}

.btnSuivant {
    float: right;
}

#btnSuivant {
    background-color: rgba(0, 0, 0, 0.900);
    padding: 4em 1em;
    border-radius : 15px 0px 0px 15px;
    color: rgb(0, 0, 0);
    position: relative;
    margin-left: 30px;
}

#btnSuivant:hover{
    background-color: rgba(33, 95, 97, 0.705);
    color: rgba(0, 0, 0, 0.692);
}

#btnSavants {
    background-color: rgb(16, 64, 66);
    margin-left: 10%;
    margin-top: 2%;
    padding: 1em 4em;
    border-radius : 15px;
    color: rgb(255, 255, 255);
    text-align: center;
    font-family: 'Roboto-Bold';
    font-size: 1.2em;
}

#btnSavants:hover{
    background-color:rgb(255, 255, 255);
    border-color: rgb(16, 64, 66);
    color: rgb(16, 64, 66) ;
}



/* ------------- Bouton des naturalistes ------------- */

.btnNaturaliste {
    background-color: rgb(16, 64, 66);
    padding: 1em 4em;
    margin-top: 80vh;
    margin-right: auto;
    margin-left: auto;
    border-radius : 15px 15px 15px 15px;
    color: rgb(255, 255, 255);
    text-align: center;
    font-family: 'Roboto-Bold';
    font-size: 1.2em;
}

.btnNaturaliste:hover{
    background-color:rgb(255, 255, 255);
    border-color: rgb(29, 77, 78);
    color: rgb(29, 77, 78) ;
}

#btnDioscoride {
    display: none;
}

#btnDalechamps {
    display: none;
}

#btnPline {
    display: none;
}

#btnTheophraste {
    display: none;
}

#btnAldrovandovi {
    display: none;
}

#btnWieland {
    display: none;
}



/*--------------- Menu accordéon ---------------*/


.accordion--home {
    margin: 0;
    padding: 0;
    width: 100%;
}
.accordion--home img {
    display: block;
    max-width: 100%;
}
.accordion--home li.slide {
    position: relative;
    width: calc(100%/6);
    display: block;
    overflow: hidden;
    float: left;
    transition: all 0.5s;
    height: 100vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.accordion--home li.slide:after {
    content: "";
    display: none;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    left: 0;
    top: 0;
    transition: opacity 0.5s;
    z-index: 10;
    position: absolute;
}
.accordion--home:hover li.slide {
    width: calc(50%/6);
}
.accordion--home:hover li.slide:after {
    opacity: 1;
    display: block;
}
.accordion--home li.slide img {
    display: block;
}
.accordion--home li.slide:hover {
    width: 50%;
}
.accordion--home li.slide:hover:after {
    opacity: 0;
    display: none;
}
.accordion--home .image--content {
    position: absolute;
    top: 60%;
    left: 0;
    text-align: center;
    width: 100%;
    display: block;
}
.accordion--home .image--content h2 {
    text-align: center;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
    line-height: 1;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}
.accordion--home .image--content h2:before, .accordion--home .image--content h2:after {
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    background-color: #fff;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}
.accordion--home .image--content h2:before {
    margin-bottom: 15px;
}
.accordion--home .image--content h2:after {
    margin-top: 10px;
}
.accordion--home .image--content ul {
    margin: 0;
    padding: 0;
}
.accordion--home .image--content ul li {
    display: inline-block;
    clear: right;
}


/*----------------- Pop-up des Naturalistes -----------------*/


.popup{
    margin: 10% auto;
    width : 50%;
    background-color: rgba(243, 243, 243, 0.966);
    padding: 1em;
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    }

.overlay {
    position: fixed;
    left: 0px;
    top:0px;
    background-color: rgba(0, 0, 0, 0.466);
    width: 100%;
    height: 100%;
    z-index:99;
    display:none;
    }

.btnClose {
    float: right;
    font-size:16pt;
    cursor: pointer;
    color: rgb(26, 26, 26)
    }

