/*
GLOBAL
*/
body{
  margin: 25px 36px 11px 36px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #3E3E3E;
}

html{
    scroll-behavior: smooth;
}

/*
TITLES, LINKS & LISTS
*/
.title{
  margin: 0;
}

.title--big{
  font-size: 48px;
  line-height: 48px;
  margin: 25px 0 25px 0;
}

.title--medium{
  margin-bottom: 50px;
  font-size: 24px;
  line-height: 24px;
  font-weight: normal;
}

.title--small{
  font-size: 18px;
  line-height: 18px;
  font-weight: normal;
  text-transform: uppercase;
  margin-bottom: 12.5px;
}

.paragraph--light{
  font-weight: lighter;
  font-size: 10px;
  line-height: 14px;
}

.paragraph--bold{
  font-weight: bolder;
  margin-bottom: -14px;
}

.paragraph--left{
  text-align: right;
}

.paragraph--infos{
  margin: 0;
}

:root{
  --mainColor: #DCD1BC;
}

.link{
  font-weight: bold;
  background:
  linear-gradient(
    to bottom, var(--mainColor) 0%,
    var(--mainColor) 100%
  );
  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 4px 2px;
  color: #3E3E3E;
  text-decoration: none;
  transition: all ease-in-out 0.3s;
}

.link:hover {
  background-size: 4px 50px;
}

.link:active{
  color: #0093B3;
}

.link--bouton{
  background: none;
  margin-top: 25px;
  display: flex;
  width: 205px;
  height: 45px;
  border-radius: 25px;
  border: solid 2px #DCD1BC;
  background-color: #FFFFFF;
  color: #DCD1BC;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.link--bouton--suivant{
  margin-top: 0px;
  width: 40px;
  height: 40px;
}

.link--bouton:hover{
  background-color: #DCD1BC;
  color: #FFFFFF;
}

.list{
  list-style: none;
  padding: 0;
}


/*
SECTIONS
*/
section{
  margin-bottom: 86px;
}

.section--header{
  margin-bottom: 60px;
}


/*
HEADER & FOOTER
*/
.nav{
  line-height: 64px;
}

.nav__logo{
  height: 75px;
}

.nav__list{
  height: 500px;
  max-height: 0;
  overflow: hidden;
  transition: all ease-in-out 0.3s;
}

.nav__list.open {
  margin-top: 110px;
  max-height: 500px;
}

.nav__list-el{
  text-align: center;
}

.nav__list-link, .nav--services__list-el{
  text-decoration: none;
  border-bottom: none;
}

.nav__list-link:hover{
  border-bottom: none;
}

.nav__open{
  padding: 0;
  display: block;
  position: absolute;
  height: 40px;
  top: 25px;
  right: 36px;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

.nav__open--content{
  font-size: 0;
}

.nav__open span,
.nav__open span::before,
.nav__open span::after{
  display: block;
  content: '';
  background-color: #DCD1BC;
  border-radius: 25px;
  height: 3px;
  width: 25px;
  transition: all ease-in-out 0.3s;
}

.nav__open span::before{
  transform: translateY(-8px);
}
.nav__open span::after{
  transform: translateY(5px);
}

.nav__open.open-nav__open span{
  background-color: transparent;
}
.nav__open.open-nav__open span::before{
  transform: translateY(0px) rotate(45deg);
}
.nav__open.open-nav__open span::after{
  transform: translateY(-3px) rotate(-45deg);
}

.nav__logo-img{
  width: 100px;
}

.nav--infos__list{
  margin: -22.5px 0 0 -12.5px;
}

.nav--infos__list-el{
  display: inline-block;
  margin-left: 12.5px;
}

.nav--infos__list-el--selection{
  background-color: #DCD1BC;
}

.footer__list{
  margin-bottom: 50px;
}

.footer__list-el{
  margin-top: 12.5px;
  display: flex;
}

.footer__list-link{
  margin-top: 7px;
}

.footer__picto{
  margin: 2.5px 12.5px 0 0;
  width: 25px;
  height: 25px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  text-indent : 150%;
  overflow: hidden;
}

.footer__droit{
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/*
SERVICES
*/
.services__list{
  display: grid;
}

.services__list-el{
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  grid-template-rows: 1fr 25px;
  margin-bottom: 25px;
}

.services__list-el--A{
  width: 90%;
}

.services__list-el--B{
  margin: 0 12.5px;
}

.services__list-el--C{
  align-self: center;
  margin-bottom: 25px;
}

.services__list-el--D{
  margin-top: 12.5px;
  overflow: hidden;
  text-indent: -300px;
  border-top: 1px solid #444;
  width: 100%;
  grid-column: 1 / 4;
}

.infos__list{
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  grid-template-rows: 50px;
  grid-gap: 36px;
  margin-top: 50px;
}

.infos__list-el--A{
  width: 20%;
}

.infos__list-el--C__list{
  margin-left: -25px;
}

.picto{
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  text-indent : 150%;
  overflow: hidden;
}

.picto--education{
  background-image: url(../assets/svg/education.svg);
  background-position: top;
}

.picto--domicile{
  background-image: url(../assets/svg/domicile.svg);
  background-position: top;
}

.picto--balade{
  background-image: url(../assets/svg/balade.svg);
  background-position: top;
}

.picto--prévention{
  background-image: url(../assets/svg/prevention.svg);
  background-position: top;
}

.picto--collectif{
  background-image: url(../assets/svg/collectif.svg);
  background-position: top;
}

.picto--pension{
  background-image: url(../assets/svg/pension.svg);
  background-position: top;
}

.picto--mantrailing{
  background-image: url(../assets/svg/mantrailing.svg);
  background-position: top;
}

.picto--info{
  background-image: url(../assets/svg/info.svg);
  background-position: top;
}

.picto--mail{
  background-image: url(../assets/svg/mail.svg);
}

.picto--facebook{
  background-image: url(../assets/svg/facebook.svg);
}

.picto--fleche{
  background-image: url(../assets/svg/fleche.svg);
  margin: 0;
  width: 33%;
}

.picto--fleche:hover{
  background-image: url(../assets/svg/flecheblanche.svg);
  width: 100%;
}

.picto--facebookmini{
  background-image: url(../assets/svg/facebookmini.svg);
  margin-bottom: -7.5px;
  width: 18px;
}

.picto--facebookmini{
  background-image: url(../assets/svg/facebookmini.svg);
  margin: 0;
  margin-bottom: -7.5px;
  width: 18px;
  display: inline-block;
}

.picto--facebookmini:hover{
  background-image: url(../assets/svg/facebookminihover.svg);
}

.picto--triangle{
  background-image: url(../assets/svg/triangle.svg);
  background-position: bottom;
  margin: 0 0 -2.5px 0;
  width: 150%;
}

.picto--infos{
  background-position: left;
}

/*
À PROPOS
*/
.parcours, .formations, .lectures, .agrégations{
  margin-bottom: 50px;
}

.formations__list, .lectures__list{
  display: grid;
  grid-template-columns: 30px 1fr;
  grid-gap: 25px;
  margin-top: -12.5px;
  margin-bottom: 36px;
}

.lectures__list{
  grid-template-columns: 35px 1fr;
}

.formations__list-el--B__list, .lectures__list-el--B__list{
  list-style: none;
  margin-left: -40px;
}

/*
AUTRES
*/
.image{
  width: 100%;
  border-radius: 5px;
}

.image--présentation{
  width: 50%;
  border-radius: 100%;
  max-width: 100%;
  max-height: 100%;
}

.image--propos{
  margin-bottom: 25px;
}

.image--agrégation{
  width: 50%;
  max-width: 150px;
  border: solid 2px #DCD1BC;
  border-radius: 12.5px;
  padding: 12.5px;
}

.image--cours, .image--pension, .image--prévention{
  margin-bottom: 6.5px;
}

.galerie--cours, .galerie--pension{
  margin-bottom: 50px;
}


@media (min-width: 600px){
  /*
  GLOBAL
  */
  body{
    margin: 25px 165px;
  }


  /*
  TITLES, LINKS & LISTS
  */
  .paragraph{
    max-width: 500px;
  }


  /*
  HEADER & FOOTER
  */
  .nav__open{
    right: 165px;
  }
}


@media (min-width: 1100px){
  /*
  GLOBAL
  */
  body{
    margin: 25px 165px;
    font-size: 16px;
    line-height: 22px;
  }


  /*
  TITLES, LINKS & LISTS
  */
  .title--big{
    font-size: 96px;
    line-height: 96px;
    margin: 0 0 34px 0;
  }
  
  .title--medium{
    font-size: 48px;
    line-height: 48px;
  }

  .title--small{
    font-size: 24px;
    line-height: 24px;
  }

  .paragraph{
    max-width: 575px;
  }

  .paragraph--light{
    font-weight: lighter;
    font-size: 12px;
    line-height: 16px;
  }

  .paragraph--services{
    width: 75%;
  }

  .link--bouton{
    width: 295px;
    height: 60px;
    border-radius: 50px;
    margin: 34px 0 0 0;
  }

  .link--bouton--suivant{
    margin: 0px;
    width: 60px;
    height: 60px;
  }


  /*
  HEADER & FOOTER
  */
  .nav__open{
    display: none;
  }

  .nav__list{
    float: right;
    box-sizing: border-box;
    overflow: visible;
    margin: 0px;
  }

  .nav__list-el{
    display: inline-block;
    margin-left: 75px;
  }

  .nav__logo-img {
    margin-top: 8px;
}

  .nav__logo-img:hover {
    transform: scale(0.5) rotate(360deg);
    transition-duration: 0.4s;
  }

  .footer__list{
    position: block;
  }

  .footer__logo{
    position: relative;
    margin-left: 70%;
    margin-top: -135px;
    margin-bottom: 220px;
  }

  .footer__logo-img{
    width: 100px;
  }


  /*
  SERVICES
  */
  .services__list{
    display: grid;
    grid-template-columns: 45% 45%;
    grid-column-gap: 10%;
    grid-row-gap: 50px;
  }

  .services__list-el{
    grid-template-columns: 60px 1fr 60px;
    margin-bottom: -25px;
  }

  .services__list-el--D--none{
    border-top: 0px;
  }

  .infos__list{
    grid-template-columns: 15% 1fr;
    grid-gap: 50px;
  }
  
  .infos__list-el--A{
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    width: 100%;
  }

  .infos__list-el--C--texte{
    margin-top: 24px;
  }

  .picto--infos{
    background-position: top;
  }

  /*
  SECTIONS
  */
  section{
    margin-bottom: 100px;
  }

  .section--header{
    margin: 0px 0px 75px 0px;
  }

  .section--intro, .section--contact, .parcours, .formations{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 100px;
  }

  .section--gauche, .parcours--gauche, .formations--gauche{
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    align-self: center;
  }

  .section--droit, .parcours--droit, .formations--droit{
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: center;
  }

  .parcours--gauche, .formations--droit{
    align-self: auto;
  }

  .formations--droit{
    margin-top: 36px;
  }


  /*
  GALERIE
  */
  .galerie__list-el{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(9, 1fr);
    grid-column-gap: 5%;
  }

  .galerie__list-el--A{
    grid-column: 1 / 2;
    grid-row: 1 / 10;
  }

  .galerie__list-el--B{
    grid-column: 2 / 3;
    grid-row: 1 / 5;
  }

  .galerie__list-el--C{
    grid-column: 2 / 3;
    grid-row: 6 / 10;
  }

  .galerie__list-el--D{
    grid-column: 3 / 4;
    grid-row: 1 / 10;
  }

  .galerie--cours, .galerie--pension{
    margin-bottom: 100px;
  }

  /*
  À PROPOS
  */
  .parcours, .formations, .lectures, .agrégations{
    margin-bottom: 100px;
  }

  .formations__list, .lectures__list{
    grid-gap: 50px;
  }

  /*
  AUTRES
  */
  .image--présentation{
    width: 100%;
  }

  .image--cours, .image--pension, .image--prévention{
    margin-bottom: -6.5px;
  }
}