@font-face {
  font-family: Rustic Story;
  src: url(./../fonts/Rustic\ Story.ttf);
}
@font-face {
  font-family: caviar dream;
  src: url(./../fonts/CaviarDreams.ttf);
}
html {
  background-color: black;
  font-family: Rustic Story;
  font-size: 16px;
  color: white;
}
body{
  min-height: 100vh;
}
a {
  text-decoration: none;
  color: #ff7a00;
}


/* PAGE HISTOIRE-INDEX (PUBLIC) */


header {
  background-color: #ff7a00;
  border-bottom-left-radius: 35px;
  border-bottom-right-radius: 35px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position:absolute;
  top:0;
  left:0;
  width:100%;
  z-index:2;
}
header img {
  height: 100px;
}
header h1 {
  font-size: 3.5rem;
  font-weight: lighter;
}
header i {
  font-size: 50px;
}
#filtre {
  position:absolute;
  color:white;
  background-color:orange;
  padding:30px;
  width:80vw;
  left:10vw;
  top:30px;
  z-index:1;
  transition: 0.5s;
}
#histoire-index {
  transition: 0.5s;
  margin: 0;
  margin-top: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
body > p {
  width: 70%;
  margin: 20px auto;
  text-align: center;
  color: white;
  font-size: 2rem;
  font-weight: lighter;
}
body > p > span {
  font-size: 3rem;
}
body > div {      /* A MODIFIER */
  padding: 5%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 3%;
}
.histoire {
  
  background-color: #d9d9d9;
  text-align: center;
  border-radius: 50px;
  font-family: caviar dream;
}
.histoire figure{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}
#form, #filtre2{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  background-color: #7a7a7a;
}
#filtre2 h1{
  font-size: 1.5rem;
}
#zoneImage{
  position : absolute;
  left : 600px;
  top: 80px;
  background-color: rgb(82, 82, 82);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
}
#zoneImage img{
  height: 200px;
  margin: 20px;
  
}
.photo {
  height: 150px;
  background-color: white;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
}
footer {
  background-color: #ff7a00;
  text-align: center;
  padding: 10px;
}
footer a {
  color:white;
  text-decoration: none;
}


/* PAGE HISTOIRE-INDEX (PUBLIC) */


#menuBO{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  text-align: center;
}
#menuBO a:hover{
  color: #ffa958;
}



@media screen and (max-width: 1000px) {
  body > div {
    grid-template-columns: 1fr 1fr;
  }
  header img,
  i {
    width: 45px;
  }
  header h1 {
    font-size: 2.5rem;
  }
}
@media screen and (max-width: 600px) {
  body > div {
    grid-template-columns: 1fr;
  }
  header h1 {
    font-size: 2rem;
  }
  header img {
    height: 75px;
  }
  header i {
    font-size: 40px;
  }
  body > p {
    font-size: 1.5rem;
  }
  body > p > span {
    font-size: 2rem;
  }
  header img,
  i {
    width: 30px;
  }
}
