* {
  margin: 0;
}
@font-face {
  font-family: "Open";
  src: url("OpenSans-Regular.ttf") format("truetype");
}

p {
  font-family: open, sans-serif;
  font-size: 1.1rem;
  line-height: 1.6rem;
}

.central {
  width: 80%;
  max-width: 1080px;
  margin: auto;
}
.hero {
  padding: 120px 0;
  background: url(Illustration\ arriere-plan\ titre.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 25% 25% 50% 50% / 0% 0% 10% 10%;
}

.grisrond {
  padding: 20px 30px;
  background-color: rgba(255, 255, 255, 0.71);
  border-radius: 30px;
  width: 40%;
  text-align: center;
  margin: auto;
  font-size: 1.5rem;
}

.grisrond-2 {
  background-color: #ecf1ef;
  padding: 20px 30px;
  border-radius: 30px;
  width: 40%;
  text-align: center;
  margin: auto;
  font-size: 1.5rem;
}

h1 {
  font-family: open, serif;
  text-align: center;
  color: #fff;
  font-size: 4rem;
  font-variant: small-caps;
  margin-bottom: 50px;
}

h2 {
  font-family: open, serif;
  color: #e09900;
  font-size: 2.2rem;
  font-variant: small-caps;
  border-bottom: 2px solid #e09900;
  max-width: 80%;
  margin: 50px auto;
}

h3 {
  font-family: open, serif;
  color: #7eaf94;
  font-size: 1.7rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
ul {
  font-family: open, sans-serif;
  font-size: 1.1rem;
  margin: 20px auto;
}

li {
  margin: 10px auto;
  line-height: 1.6rem;
}
.intro {
  margin: auto;
}

.expertise {
  margin: 40px auto;
  display: flex;
}

.liens {
  display: flex;
  justify-content: space-around;
  margin: 50px auto;
}

.liens p {
  text-align: center;
}

a {
  font-size: 1.1rem;
}

a,
.liens a,
.text-photo a {
  color: #7eaf94;
  text-decoration: underline;
  font-size: 1.5rem;
}

a {
  font-size: 1.1rem;
}

.paragraphe-intro {
  margin: auto;
  max-width: 800px;
}

.bloc-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait-1,
.portrait-2 {
  max-width: 220px;
  border-radius: 15px;
}

.text-photo {
  margin-top: 20px;
}

.photo-text-central {
  margin: 0 3rem;
}

.center {
  text-align: center;
}

.bloc-demander-expertise {
  display: flex;
  justify-content: space-evenly;
}

.enfant-demander-expertise {
  margin: 0 20px;
}

.enfant-demander-expertise-2 {
  width: 80%;
  margin: auto;
}

.bloc-email {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.enfant-email-1 {
  width: 30%;
}

.enfant-email-2 {
  width: 70%;
}

.bloc-bordure {
  border: #e09900 1px solid;
  border-radius: 30px;
  padding: 10px 30px 30px 30px;
}

.bloc-bordure-enfant {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bloc-bordure-sub-enfant {
  width: 70%;
}

.forfait {
  color: #e09900;
  font-size: 1.8rem;
  text-align: right;
}

.paragraphe-bordure {
  width: 80%;
  margin: 30px auto;
}

.italic {
  font-style: italic;
}

#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  background-color: #7eaf94;
  color: white;
  text-align: center;
  line-height: 70px;
  border-radius: 50%;
  font-size: 3rem;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s, opacity 0.3s;
}

#back-to-top:hover {
  background-color: #7eaf94;
  opacity: 0.8;
}

footer {
  margin-top: 50px;
  height: 80px;
  background-color: #7eaf94;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer p {
  text-align: center;
}

footer a {
  color: #fff;
  transition: 500ms;
}

footer a:hover {
  font-size: 1.2rem;
}

.ml {
  width: 90%;
  max-width: 960px;
  margin: auto;
}

.ml p {
  margin: 15px auto;
}

.ml h1 {
  font-size: 3rem;
  color: #e09900;
}

/* Responsive page mentions légales */

@media screen and (max-width: 640px) {
  .ml h1 {
    font-size: 2rem;
  }
}

/* Responsive global */

@media screen and (max-width: 1080px) {
  h2 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  .liens a,
  .text-photo a {
    font-size: 1.2rem;
  }
  .grisrond-2 {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 980px) {
  p,
  li {
    font-size: 1rem;
  }
  h2 {
    max-width: 100%;
  }
  .grisrond {
    width: 80%;
  }
  .expertise {
    height: 200px;
    flex-direction: column;
    justify-content: space-around;
  }
  .grisrond-2 {
    width: 80%;
  }
  .liens {
    flex-direction: column;
  }
  .liens a {
    display: block;
    margin-top: 10px;
  }
  .bloc-photo {
    flex-direction: column;
  }
  .bloc-photo-text {
    order: -1;
    margin-bottom: 30px;
  }
  .text-photo {
    margin: 10px auto 30px auto;
  }
  .photo-text-central {
    margin: auto;
  }
  .bloc-demander-expertise {
    flex-direction: column;
  }
  .enfant-demander-expertise {
    margin: 0;
  }
  .enfant-demander-expertise-2 {
    width: 100%;
  }
  .bloc-email {
    flex-direction: column;
  }
  .enfant-email-1,
  .enfant-email-2 {
    width: 100%;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 600px) {
  .grisrond {
    padding: 10px 20px;
  }
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 1.5rem;
    margin: 10px auto;
  }
  h3 {
    font-size: 1.3rem;
    margin: 1rem auto;
  }
  .bloc-bordure {
    margin-top: 30px;
  }
  .bloc-bordure-enfant {
    flex-direction: column;
  }
  .bloc-bordure-sub-enfant {
    width: 100%;
  }
  .forfait {
    margin: 10px auto 20px auto;
  }
  .enfant-email-1 {
    margin-top: 20px;
  }
  .bloc-bordure-sub-enfant p {
    margin-top: 50px;
  }
  #back-to-top {
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size:2rem;
  }
  .forfait {
  text-align:center;
  }
}
