@import url("https://fonts.googleapis.com/css2?family=Bitter:wght@100;300&family=IBM+Plex+Serif:wght@300&family=Island+Moments&family=Lato:wght@300&family=Lobster&family=Nanum+Myeongjo&family=Oregano&family=Outfit:wght@200&family=Roboto:wght@100&family=Source+Sans+Pro:wght@300&family=Source+Serif+Pro:wght@300&family=The+Nautigal&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bitter:wght@100;300&family=IBM+Plex+Serif:wght@300&family=Island+Moments&family=Lato:wght@300&family=Lobster&family=Nanum+Myeongjo&family=Nunito:wght@200&family=Oregano&family=Outfit:wght@200&family=Roboto:wght@100&family=Source+Sans+Pro:wght@300&family=Source+Serif+Pro:wght@300&family=The+Nautigal&display=swap");
.logo {
  font-family: "Lobster", cursive;
}
body {
  font-family: "Nunito", sans-serif;
  padding-top: 3.4rem;
  margin-top: 3.4rem;
}
html {
  height: 100%;
}
/************* Reset ************/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

p {
  font-size: 1.25rem;
}
/**********************************/

/************* header **************/

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100px;
  background: white;
  z-index: 10;
}

nav .navbar .logo a {
  text-decoration: none;
  font-size: 55px;
  font-weight: 600;
}

.logo-p {
  color: #1a5f7a;
}

.logo-c {
  color: #ffc900;
}

.lettre {
  font-family: "Lobster", cursive;
}

.phrase-de-bienvenue {
  color: #ffc900;
}

nav .navbar {
  height: 100%;
  max-width: 1250px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


nav .navbar .nav-links .links {
  display: flex;
}

nav .navbar .nav-links .links li {
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 15px;
  line-height: normal;
}

nav .navbar .nav-links .links li a {
  color: black;
  text-decoration: none;text-align:center
}
nav .navbar .nav-links .links li a:hover {
  text-decoration: underline;
}
nav .navbar .nav-links .links li .arrow {
  height: 100%;
  width: 22px;
  text-align: center;
  color: black;
  line-height: 100px;
  transition: all 0.5s ease;
}

nav .navbar .nav-links .links .sub-menu {
  position: absolute;
  top: 70px;
  left: -30px;
  background: whitesmoke;
  line-height: 40px;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  display: none;
}

nav .navbar .nav-links .links .sub-menu li:hover {
  background: rgba(0, 0, 0, 0.158);
}

nav .navbar .nav-links .links .sub-menu li {
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav .navbar .nav-links .links .sub-menu li a {
  font-size: 1rem;
  font: 520;
}

nav .navbar .nav-links .links li:hover .sci-sub-menu,
nav .navbar .nav-links .links li:hover .sch-sub-menu,
nav .navbar .nav-links .links li:hover .histoire-sub-menu,
nav .navbar .nav-links .links li:hover .geographie-sub-menu {
  display: block;
}

.navbar .fa-bars,
.nav-links .sidebar-logo .mon-logo .logo-c,
.nav-links .sidebar-logo .mon-logo .logo-p,
.nav-links .sidebar-logo .fa-times {
  display: none;
}
.img-accueil img {
  width: 100%;
}

/************************ section img-acceuil ***************************/

.vp-container {
  display: flex;
  flex-direction: column;
}
.vp {
  flex: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.vp-content {
  max-width: 800px;
  text-align: center;
  position: absolute;
}

.vp-content h1 {
  font-size: 5rem;
  line-height: 5rem;
  font-weight: 600;
  color: whitesmoke;
}
.vp img {
  width: 58%;
  opacity: 0.4;
}

/************************ section production ***************************/

.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
}

.production-container-texte {
  width: 100%;
  text-align: left;
  padding-top: 2rem;
}
.production-container-h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.production-container-h2 {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-align: left;
}


.production-container-texte p {
  padding-bottom: 20px;
}
.production-container-img img {
  width: 300px;
}
h2 {
  font-weight: 600;
  font-size: 2rem;
  padding-bottom: 0.5rem;
  text-align: center;
}

/*************************** section pedagogie *************************/

.container-2 {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
}

.pedagogie-container-2-texte {
  width: 55%;
  text-align: justify;
  padding-top: 4.2rem;
}
.pedagogie-container-2-img img {
  width: 300px;
}

/*************************** footer ********************************/
footer {
  width: 100%;
  height: 100px;
  background: whitesmoke;
  margin-top: 3rem;
}

.pied-de-page p {
  display: flex;
  justify-content: space-around;
  align-items: center;
  line-height: 50px;
  font-size: 1.15rem;
}

.mail-ppc {
  font-size: 1.2rem;
  font-weight: bold;
}

/******************** Media Queries ****************/

@media screen and (max-width: 1100px) {
  nav .navbar {
    max-width: 100%;
    padding: 0 15px;
  }

  .hover-background:hover {
    background: rgba(0, 0, 0, 0.158);
    width: 13.5rem;
  }

  nav .navbar .logo a {
    font-size: 45px;
  }

  nav .navbar .nav-links .links li {
    padding: 0 15px;
  }

  nav .navbar .nav-links .links li a {
    font-size: 15px;
  }
}

@media screen and (max-width: 1000px) {
  nav .navbar .nav-links {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    max-width: 270px;
    width: 100%;
    background: whitesmoke;
    padding: 20px;
    line-height: 40px;
    transition: all 0.5s ease;
    z-index: 100;
  }

  .nav-links {
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
  }

  nav .navbar .nav-links .sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-links .sidebar-logo .mon-logo .logo-p,
  .nav-links .sidebar-logo .mon-logo .logo-c {
    font-size: 35px;
    font-weight: 500;
  }

  .logo-p {
    font-family: "Lobster", cursive;
  }

  .nav-links .sidebar-logo .fa-times {
    font-size: 20px;
    font-weight: 550;
    color: black;
  }

  .navbar .fa-bars,
  .nav-links .sidebar-logo .mon-logo .logo-c,
  .nav-links .sidebar-logo .mon-logo .logo-p,
  .nav-links .sidebar-logo .fa-times {
    display: block;
  }

  /******* A voir a la fin **********/
  nav .navbar .nav-links .links {
    display: block;
    margin-top: 20px;
  }

  nav .navbar .nav-links .links li {
    display: block;
    border-bottom: none;
  }

  nav .navbar .nav-links .links .sub-menu {
    display: none;
    position: relative;
    top: 0;
    left: 0;
    box-shadow: none;
  }

  .navbar .fa-bars {
    color: black;
    font-size: 1.5rem;
    font-weight: 550;
  }

  nav .navbar .nav-links .links .sub-menu li {
    border-bottom: none;
  }

  nav .navbar .nav-links .links li:hover .sci-sub-menu,
  nav .navbar .nav-links .links li:hover .sch-sub-menu,
  nav .navbar .nav-links .links li:hover .histoire-sub-menu,
  nav .navbar .nav-links .links li:hover .geographie-sub-menu {
    display: none;
  }

  nav .navbar .nav-links .links li .arrow {
    line-height: 70px;
  }

  .navbar .nav-links .links li:hover .sci-arrow,
  .navbar .nav-links .links li:hover .sch-arrow,
  .navbar .nav-links .links li:hover .histoire-arrow,
  .navbar .nav-links .links li:hover .geographie-arrow,
  .navbar .nav-links .links li:hover .primaire-arrow {
    transform: rotate(0deg);
  }

  nav .navbar .nav-links.show1 .links .sub-menu.sci-sub-menu {
    display: block;
  }

  nav .navbar .nav-links.show2 .links .sub-menu.sch-sub-menu {
    display: block;
  }

  nav .navbar .nav-links.show3 .links .sub-menu.histoire-sub-menu {
    display: block;
  }

  nav .navbar .nav-links.show4 .links .sub-menu.geographie-sub-menu {
    display: block;
  }

  .navbar .nav-links.show1 .links li .sci-arrow,
  .navbar .nav-links.show2 .links li .sch-arrow,
  .navbar .nav-links.show3 .links li .histoire-arrow,
  .navbar .nav-links.show4 .links li .geographie-arrow {
    transform: rotate(180deg);
  }
}

@media screen and (max-width: 370px) {
  nav .navbar .nav-links {
    max-width: 100%;
  }
}

/******************** Media Queries body ****************/

@media screen and (max-width: 1160px) {
  /************************ section production ***************************/
  .container {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
  }

  .production-container-texte {
    padding-top: 2rem;
  }
  .production-container-img img {
    width: 250px;
  }
  /************************ section pedagogie ***************************/
  .container-2 {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
  }

  .pedagogie-container-2-texte {
    padding-top: 4.2rem;
  }

  .pedagogie-container-2-img img {
    width: 250px;
  }
}

@media screen and (max-width: 1050px) {
  /************************ section production ***************************/
  .container {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .production-container-texte {
    width: 90%;
    text-align: justify;
    padding-top: 2rem;
  }
  .production-container-img img {
    width: 300px;
  }

  /************************ section pedagogie ***************************/
  .pedagogie {
    margin-top: 0;
  }

  .container-2 {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }

  .pedagogie-container-2-texte {
    width: 40%;
    text-align: justify;
    padding-top: 4.2rem;
  }

  .pedagogie-container-2-img img {
    width: 300px;
  }
}

@media screen and (max-width: 650px) {
  /************************ section production ***************************/
  .production {
    margin-top: 0;
  }
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .production-container-texte {
    width: 80%;
    text-align: justify;
    padding-top: 3rem;
  }

  /************************ section pedagogie ***************************/

  .pedagogie {
    margin-top: 0;
  }
  .container-2 {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }

  .pedagogie-container-2-texte {
    width: 80%;
    text-align: justify;
    padding-top: 1rem;
  }
}
