/* ------------- 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-bottom: 2%; 
    text-align: center;
    padding-top: 5%;
    
}

h3 {
    font-family: 'Roboto-Bold';
    text-align: center;
    font-size: 30px ;
    color: rgb(16, 64, 66);
    padding-top: 2%;
}

#title {
    padding-top: 5% ;  
    font-size:20px;
}

#enigme_papyrus {
    font-family: 'Roboto-Regular';
    font-size: 16px;
    text-align: center;
    color: rgb(0, 0, 0);
    padding-top: 2%;
    
}

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

#btnPrecedent {
    background-color: rgba(0, 0, 0, 0.900);
    padding: 4em 1em;
    border-radius : 0px 15px 15px 00px;
    color: rgb(0, 0, 0);
    position: relative;
}
        
#btnPrecedent:hover{
    background-color: rgba(33, 95, 97, 0.705);
    border-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);
    
}

/* ------------- Boutons du contenu du pop-up ------------- */


.btnPopup{
    background-color: rgb(16, 64, 66);
    border-color: rgb(16, 64, 66);
    padding: 1em 2em;
    margin-top: 15px;
    border-radius: 15px;
    font-family: 'Roboto-Bold';
    font-size: 16px;
    color: rgb(243, 243, 243);  

    }

.btnPopup:hover {
    background-color: rgba(16, 64, 66, 0.705);
    border-color: rgb(16, 64, 66, 0.705);

}

/* ------------- Partie pour le pop-up ------------- */

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

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


/*--------------------- 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);
    height: 100vh;
    max-width:70%;
    color: white;
   
}


.info {
  position:relative;
  font-family:Arial;
  margin:10px;
  text-align:center;
  border-radius:5px;
  font-size:15px;
}



#rest {
    margin-right: 2%;
    margin-left: 2%;
    margin-top: 2%;
    padding-bottom: 2%;
}

#rest2 {
  font-size:13px;
}

#text div {
  position:relative;
  height: 100px;
  width: 100px;
  border: 1px dashed gray;
  display: inline-block;
  margin: 0;
}

#text {
  width:314px;
  height:314px;
  background:black;
  border:3px solid black;
  margin:auto;
}


/*--------------------- Image puzzle  ---------------------*/


#images {
  width: 100%;
  text-align: center;
}

img {
  height: 100px;
  width: 100px;
}

#drag4,
#drag5,
#drag6,
#drag7,
#drag8,
#drag9,
#drag10,
#drag11,
#drag12 {
  height: 100px;
  width: 100px;
  
  display: inline-block;
}

#drag4 {
    background-image: url(../IMAGE/1.jpg);
}

#drag5 {
    background-image: url(../IMAGE/2.jpg);
}

#drag6 {
  background-image: url(../IMAGE/3.jpg);
}

#drag7 {
    background-image: url(../IMAGE/4.jpg);
}

#drag8 {
    background-image: url(../IMAGE/5.jpg);
}

#drag9 {
    background-image: url(../IMAGE/6.jpg);
}

#drag10 {
    background-image: url(../IMAGE/7.jpg);
}

#drag11 {
    background-image: url(../IMAGE/8.jpg);
}

#drag12 {
    background-image: url(../IMAGE/9.jpg);
}

.info {
    position:relative;
    font-family:Arial;
    margin:10px;
    text-align:center;
    border-radius:5px;
    font-size:25px;
  }