@font-face {
  font-family: Arimo;
  src: url(../Asset/Arimo/Arimo-Italic-VariableFont_wght.ttf);
}

body{
  font-family: "Arimo";
}

.flexbox_header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}

header img {
  width: 10%;
}

nav a::after {
  content: " / ";
}

nav a:last-child::after {
  content: "";
}

.cv {
  color: #000;
  text-decoration: none;
}
.photo {
  width: 75px;
}

.grid_header {
  display: grid;
  grid-template-columns: 20% auto;
  align-items: center;
}

.commentaire {
  text-align: center;
  text-transform: uppercase;
}

.chat_roulé {
  width: 25%;
}

.flexbox-header-2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

h1,
h2,
h3 {
  text-align: center;
  text-transform: uppercase;
}

h5{
  font-weight: normal;
  font-size: 1.6rem;
}

h1{
  font-size: 2.5rem;
}

h2{
  font-size: 2.3rem;
}

h3{
  font-size: 2rem;
}

h4{
  font-size: 1.8rem;
}

figure {
  text-align: center;
}

p{
  font-size: 1.5rem;
}

a {
  font-size: inherit;
  color: #000;
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}  

hr {
  display: block;
  border: 2px solid green;
  width: 50%;
  margin: 2% auto;
}

nav{
  display: flex;
  flex-direction: row;
}

footer img{
  width: 10%;
}

.display_projets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  justify-items: center;
}

#projets [id] {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid green;
  padding: 10px;
  border-radius: 15px;
}
#projets img {
  height: 100px;
  width: auto;
  margin-top: 10px;
}

footer{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
}

#mention{
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 1000px) {
  .flexbox_header {
  display: flex;
  flex-direction: column;
    align-items: center;
  justify-content: space-between;

}

.grid_header {
  display: grid;
  grid-template-columns: 1fr;
}

.flexbox-header-2 {
  display: flex;
  flex-direction: column;
}

.display_projets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  justify-items: center;
}

footer{
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
}

    p, a{
  font-size: 1rem;
}

h1{
  font-size: 1.5rem;
}

h2{
  font-size: 1.3rem;
}

h3{
  font-size: 1.2rem;
}

h4{
  font-size: 1.1rem;
}

h5{
  font-size: 1rem;
}
}

@media screen and (max-width: 700px) {

  nav{
  display: flex;
  flex-direction: column;
}

nav a::after {
  content: "";
}

nav a:last-child::after {
  content: "";
}
}

@media screen and (max-width: 500px) {
 
.display_projets {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
  justify-items: center;
}

    p, a{
  font-size: 1.3rem;
}

h1{
  font-size: 2rem;
}

h2{
  font-size: 1.8rem;
}

h3{
  font-size: 1.6rem;
}

h4{
  font-size: 1.4rem;
}

h5{
  font-size: 1.2rem;
}

}