


body{
  font-size: 25px;
}

#nav{
  height: 70px;
  width: 100%;
  border: 1px solid black;
  display: flex;
}
.nav_div{
  width: 33%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.el_div{
  cursor: pointer;
}
#core{
  width: 100%;
  display: flex;
  border-left: 1px solid black;
  border-right: 1px solid black;
}
#grid{
  width: 80%;
  display: grid;
  grid-template-columns: repeat(auto-fit,
   minmax(350px, 1fr));
  gap: 20px;
  padding: 1%;
}
.bloc{
  height: 450px;
  border: 1px solid black;
  cursor: pointer;
  padding: 20px;
  max-width: 350px;
}
#side_barre{
  width: 20%;
  border: 1px solid black;
}









/* article */
#texte{
  width: 80%;
  border: 1px solid black;
  padding: 1%;
}


@media screen and (max-width: 1366px) {
  #grid{
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .bloc{
    height: 350px;
  }
  body{
    font-size: 20px;
  }
}
@media screen and (max-width: 800px) {
  #grid{
    grid-template-columns: 1fr 1fr;
  }
  .bloc{
    height: 60vh;
  }
  #core{
    flex-direction: column;
  }
  #texte{
    width: 100%;
  }
}
@media screen and (max-width: 600px) {
  #grid{
    width: 98%;
    grid-template-columns: 1fr;
  }
  .bloc{
    height: 60vh;
  }
  #core{
    flex-direction: column;
  }
}



.img_sec{
  width: 95%;
  margin-left: 2.5%;
  height: 40%;
}
.img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.titre{
  font-size: 20px;
  margin-top: 20px;
  font-weight: bold;
}
.text{
  font-size: 16px;
  margin-top: 10px;
}
.sav{
  width: 100%;
  text-align: right;
  margin-top: 20px;
}
.arti{
  text-decoration: none;
  font-size: 18px;
}










#footer{
  height: 60px;
  width: 100%;
  border: 1px solid black;
  padding: 10px;
  box-sizing: border-box;
}