@import url("index.css");
header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("assets/hero.jpg");
  background-size: cover;
}
header #hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15em 0;
  gap: 1.5em;
  text-align: center;
}

#features {
  display: grid;
  grid-template: repeat(2, 1fr)/repeat(2, 1fr);
  padding: 0;
}
#features div {
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5em;
  height: 300px;
  background-size: cover;
}
#features div:nth-of-type(1) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("assets/features-pict/personnalisation.jpg");
}
#features div:nth-of-type(2) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("assets/features-pict/gamification.jpg");
}
#features div:nth-of-type(3) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("assets/features-pict/amelioration.jpg");
}
#features div:nth-of-type(4) {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("assets/features-pict/flexibility.jpg");
}

.flex-container {
  max-width: 1100px;
}

#mentor {
  display: flex;
  justify-content: center;
  padding: 40px 1.8em;
}
#mentor .flex-container {
  justify-content: center;
  display: flex;
}
#mentor .container {
  width: 55%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
#mentor .container p {
  margin: 0;
  font-weight: lighter;
}
#mentor img {
  width: 45%;
  max-height: 400px;
}

footer a {
  color: white;
  text-decoration: none;
}

#faq {
  display: flex;
  padding: 40px 1.8em;
  justify-content: center;
  /* Style the buttons that are used to open and close the accordion panel */
}
#faq h2 {
  margin-bottom: 25px;
}
#faq .accordion {
  cursor: pointer;
  padding: 10px 0;
}
#faq .accordion:before {
  content: "+";
  font-size: 20px;
  color: white;
  float: right;
  margin-left: 5px;
}
#faq .active:before {
  content: "-";
  font-size: 20px;
}
#faq .panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
#faq .panel p {
  margin: 0;
  font-weight: lighter;
}

@media only screen and (max-width: 600px) {
  header #hero {
    padding: 5em 0;
  }
  #partners {
    gap: 30px;
    justify-content: center;
  }
  #features {
    grid-template-columns: 1fr;
  }
  #features div {
    height: 250px;
  }
  #mentor .flex-container {
    flex-direction: column;
    gap: 30px;
  }
  #mentor button {
    width: 100%;
  }
  #mentor .container {
    width: 100%;
  }
  #mentor img {
    width: 90%;
    max-height: 400px;
  }
}

/*# sourceMappingURL=style.css.map */
