/*Utilisation Police Speciale*/

@font-face{
  font-family: 'alata';
  src: url('alata.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face{
  font-family: 'blackjack';
  src: url('blackjack.otf');
  font-weight: normal;
  font-style: normal;
}

body{
  margin: 0;
  padding: 0;
  font-family: 'alata', arial, sans-serif;
}

.container{
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

aside{
  display: flex;
  flex-direction: column;
  background-color: #FFC000;
  width: 25%;
  min-width: 300px;
  margin-bottom: 0%;
  justify-content: space-between;
}

aside h2{
  background-color: #595959;
  text-align: center;
  font-size: 1.5em;
  color: #FFC000;
  padding-top: 3%;
  padding-bottom: 3%;
}

#titre{
  display: none;
}

#photo{
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding-top: 10%;
  margin-top: 10%;
  padding-bottom: 10%;
}

img{
  border-radius: 100%;
  border: 4px solid #E6AF00;
}

#info{
  display: flex;
  flex-direction: column;
  width: 100%;
}

#propos{
  display: flex;
  flex-direction: column;
  flex: 2;
  width: 100%;
  padding-bottom: 70%;
}

#loisirs{
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 5%;
}

#icones{
  display: flex;
  justify-content: space-around;
  font-size: 200%;
  color: #595959;
  width: 100%;
}

#icones .fas{
  display: flex;
  justify-content: center;
  height: 35px;
  width: 35px;
  border: 2px solid #595959;
  border-radius: 100%;
  padding: 10px;
}

.resume{
  padding-left: 15%;
  padding-right: 15%;
  text-align: justify;
}

main{
  display: flex;
  flex-direction: column;
  background-color: white;
  width: 75%;
}

main div{
  padding-left: 5%;
  padding-right: 5%;
}

main h2{
display: flex;
margin-top: 30px;
border-bottom: 3px solid #FFC000;
font-size: 1.8em;
}

main h2 .fas{
  padding-right: 25px;
}

h4{
font-weight: normal;
}

/*Mise en Page Entete*/

#entete{
  display: flex;
  flex-direction: column;
  margin-top: 5%;
  margin-bottom: 10%;
}

h1 span{
  color: #FFC000;
}

h3 span{
  text-decoration: underline solid #FFC000;
}

#entete h1{
  font-size: 3.5em;
  margin-bottom: 0;
}

#entete h3{
  font-size: 1.5em;
  margin-top: 0;
}

ul{
  padding-left: 0%;
}

li{
  display: flex;
  justify-content: space-between;
  list-style: none;
}

li p {
  display: flex;
  align-items: baseline;
  min-width: 30%;
}

li i{
  padding-right: 10%;
}

#footer{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#footer div{
  padding-left: 0%;
  width: 100%;
}

h4{
  margin-top: 0%;
  margin-bottom: 0%;
  padding-top: 0%;
}

#entete, main h2{
  font-family: 'blackjack', serif;
}

@media screen and (max-width: 1023px)

{
  aside{
    width: 100%;
  }

  main{
    width: 100%;
  }

  main h2{
    font-size: 1.6em;
  }

  #entete{
    display: none;
  }

  #titre{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px;
    background-color: white;
    font-family: 'blackjack', serif;
    font-size: 1.5em;
    line-height: 0;
  }

  main li{
    flex-direction: column;
  }

  .description{
    text-align: center;
  }
  .description p{
    text-align: justify;
  }

  #propos{
    padding-bottom: 10%;
  }

  #entete h1{
    margin-top: 5%;
  }

  #propos .resume{
  padding-left: 15%;
  padding-right: 15%;
  text-align: justify;
  line-height: 2;
  }

  #info .resume{
    text-align: center;
  }
  #info{
    margin-bottom: 0%;
  }

  #formation{
    padding-top: 5%;
  }
  img{
    width: 200px;
  }

  #photo{
    margin-top: 0%;
    padding-top: 2%;
    padding-bottom: 0%;
  }
  #footer{
    flex-direction: column;
    text-align: center;
    line-height: 1;
  }

  #footer div{
    padding-bottom: 5%;
  }

  .container{
    flex-wrap: wrap;
  }
}

@media screen and (min-width: 600px) and (max-width: 1023px)
{
  #footer{
    flex-direction: row;
  }
}