*,
::after,
::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  color: rgb(76, 76, 109);
}
body {
  overflow-x: hidden;
  font-family: "Noto Serif", serif;
  background-color: rgb(232, 246, 239);
}

/* Page d'accueil */

.homePage {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: url("https://images.unsplash.com/photo-1571008887538-b36bb32f4571?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80")
    no-repeat center;
  background-size: cover;
}
.homeContainer {
  position: absolute;
  top: 35%;
  left: 50px;
  width: 500px;
  height: 400px;
}
.title {
  padding: 3px;
  margin: 5px;
  font-size: 64px;
  font-family: "Lato", sans-serif;
  font-weight: bolder;
  color: rgb(255, 225, 148);
}
.subtitle {
  padding: 4px;
  margin: 5px;
  font-size: 29px;
}
.slogan {
  padding: 4px;
  margin: 5px;
  font-size: 22px;
}
.prices-container {
  padding: 4px;
  margin: 5px;
  display: grid;
  grid-template-rows: repeat(4 50px);
  grid-template-columns: repeat(2 20px);
  grid-template-areas:
    "price1 price2"
    "content1 content2"
    "btn1 btn2 "
    "cgv cgv";
}
.price1 {
  padding: 1px;
  font-size: 17px;
  font-weight: 700;
  grid-area: price1;
}
.price2 {
  padding: 1px;
  font-size: 17px;
  font-weight: 700;
  grid-area: price2;
}
.price1 span,
.price2 span {
  font-size: 22px;
  font-weight: 700;
}
.content1 {
  margin-top: 5px;
  padding: 1px;
  font-size: 13px;
  font-weight: 700;
  grid-area: content1;
}
.content2 {
  margin-top: 5px;
  padding: 1px;
  font-size: 13px;
  font-weight: 700;
  grid-area: content2;
}
.btn {
  border-radius: 6px;
  background-color: rgb(76, 76, 109);
  border: 1px solid #333;
  color: rgb(255, 225, 148);
  font-weight: 600;
  text-align: center;
  font-size: 18px;
  display: block;
  width: 230px;
  height: 50px;
  text-decoration: none;
  margin-top: 10px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.btn:hover {
  background-color: rgb(255, 225, 148);
  color: rgb(76, 76, 109);
  transition: background 0.3s ease;
}
.btn1 {
  grid-area: btn1;
}
.btn2 {
  grid-area: btn2;
}
.cgv {
  margin: 6px;
  padding: 1px;
  font-size: 10px;
  font-weight: 800;
  grid-area: cgv;
}
.floating-btn {
  position: absolute;
  bottom: 3%;
  left: 95%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(184, 223, 216);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 0 0 0 #fff;
}
.floating-btn:hover {
  background: rgb(255, 225, 148);
  transition: background 0.3s ease;
}
.floating-btn img {
  width: 25px;
  height: 25px;
}

/* @media screen and (max-width: 840px) {
  .homePage {
    position: inherit;
    width: 100vw;
    height: 30vh;
    background: url("https://images.unsplash.com/photo-1571008887538-b36bb32f4571?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80")
      no-repeat center;
    background-size: cover;
  }
  .homeContainer {
    position: static;
    width: 100vw;
    height: 50vh;
    top: 50vh;
  }
  .title {
    text-align: center;
    padding: 2px;
    margin: 3px;
    font-size: 48px;
  }
  .subtitle {
    text-align: center;
    padding: 3px;
    margin: 3px;
    font-size: 22px;
  }
  .slogan {
    text-align: center;
    padding: 2px;
    margin: 3px;
    font-size: 17px;
  }
  .prices-container {
    position: static;
    text-align: center;
    padding: 2px;
    margin: 3px;
    display: grid;
    grid-template-rows: repeat(7 50px);
    grid-template-columns: 1fr;
    grid-template-areas:
      "price1"
      "content1"
      "btn1"
      "price2"
      "content2 "
      "btn2"
      "cgv";
  }
  .price1 span,
  .price2 span {
    font-size: 17px;
  }
  .content1,
  .content2 {
    font-size: 13px;
  }
  .centrerBtn1,
  .centrerBtn2 {
    display: flex;
    justify-content: center;
  }
  .btn {
    font-size: 14px;
    width: 180px;
    height: 35px;
    margin-top: 8px;
  }
  .cgv {
    margin: 4px;
    padding: 1px;
    font-size: 8px;
    text-align: center;
  }
  .centrerBtnFloting {
    display: flex;
    justify-content: center;
    margin-top: 50px;
  }
  .floating-btn {
    position: static;
    bottom: 2%;
    transform: translateX(4%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 0 0 #fff;
  }
  .floating-btn img {
    width: 25px;
    height: 25px;
  }
} */
@media screen and (max-width: 768px) {
  .homePage {
    position: inherit;
    width: 100vw;
    height: 35vh;
    background: url("https://images.unsplash.com/photo-1571008887538-b36bb32f4571?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80")
      no-repeat center;
    background-size: cover;
  }
  .homeContainer {
    position: static;
    width: 100vw;
    height: 45vh;
    top: 50vh;
  }
  .title {
    text-align: center;
    padding: 2px;
    margin: 1px;
    font-size: 48px;
  }
  .subtitle {
    text-align: center;
    padding: 3px;
    margin: 1px;
    font-size: 22px;
  }
  .slogan {
    text-align: center;
    padding: 1px;
    margin: 1px;
    font-size: 17px;
  }
  .prices-container {
    position: static;
    text-align: center;
    padding: 2px;
    margin: 3px;
    display: grid;
    grid-template-rows: repeat(7 50px);
    grid-template-columns: 1fr;
    grid-template-areas:
      "price1"
      "content1"
      "btn1"
      "price2"
      "content2 "
      "btn2"
      "cgv";
    gap: 1px;
  }
  .price1 span,
  .price2 span {
    font-size: 17px;
  }
  .content1,
  .content2 {
    font-size: 13px;
  }
  .centrerBtn1,
  .centrerBtn2 {
    display: flex;
    justify-content: center;
  }
  .btn {
    font-size: 14px;
    width: 180px;
    height: 35px;
    margin-top: 8px;
  }
  .cgv {
    margin: 4px;
    padding: 1px;
    font-size: 8px;
    text-align: center;
  }
  .centrerBtnFloting {
    display: flex;
    justify-content: center;
    margin-top: 75px;
  }
  .floating-btn {
    position: static;
    bottom: 2%;
    transform: translateX(4%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 0 0 #fff;
  }
  .floating-btn img {
    width: 20px;
    height: 20px;
  }
}
/* @media screen and (max-width: 630px) {
  .title {
    padding: 1px;
    margin: 2px;
    font-size: 37px;
  }
  .subtitle {
    text-align: center;
    padding: 2px;
    margin: 2px;
    font-size: 17px;
  }
  .slogan {
    padding: 1px;
    margin: 2px;
    font-size: 13px;
  }
  .prices-container {
    padding: 1px;
    margin: 2px;
  }
  .price1 span,
  .price2 span {
    font-size: 13px;
  }
  .content1,
  .content2 {
    font-size: 10px;
  }
  .btn {
    font-size: 11px;
    width: 150px;
    height: 28px;
    margin-top: 8px;
  }
  .centrerBtnFloting {
    margin-top: 50px;
  }
  .floating-btn {
    width: 30px;
    height: 30px;
  }
  .floating-btn img {
    width: 15px;
    height: 15px;
  }
} */

@media screen and (max-width: 426px) {
  .homeContainer {
    height: 35vh;
  }
  .title {
    padding: 1px;
    margin-top: 10px;
    font-size: 37px;
  }
  .subtitle {
    text-align: center;
    padding: 2px;
    margin: 2px;
    font-size: 17px;
  }
  .slogan {
    padding: 1px;
    margin: 2px;
    font-size: 13px;
  }
  .prices-container {
    padding: 1px;
    margin: 2px;
  }
  .price1 span,
  .price2 span {
    font-size: 13px;
  }
  .content1,
  .content2 {
    font-size: 10px;
  }
  .btn {
    font-size: 11px;
    width: 150px;
    height: 28px;
    margin-top: 8px;
  }
  .centrerBtnFloting {
    margin-top: 135px;
  }
  .floating-btn {
    width: 30px;
    height: 30px;
  }
  .floating-btn img {
    width: 15px;
    height: 15px;
  }
}

@media screen and (max-width: 375px) {
  .subtitle {
    margin: 5px 0px;
  }
  .slogan {
    margin: 5px 0px;
  }
  .content1,
  .content2 {
    margin-bottom: 5px;
  }
  .centrerBtnFloting {
    margin: 30px 0px 40px 0px;
  }
}
@media screen and (max-width: 320px) {
  .homeContainer {
    height: 30vh;
  }
  .centrerBtnFloting {
    margin-top: 162px;
  }
}

/* Page suivante */

.mainContainer {
  display: flex;
  justify-content: center;
}
.partie1 {
  display: grid;
  grid-template-rows: repeat(2, 340px);
  grid-template-columns: repeat(2, 450px);
  gap: 20px;
  grid-template-areas:
    "img1 text1"
    "text2 img2";
  margin-bottom: 100px;
  padding-top: 10px;
  justify-content: center;
  align-items: center;
}
.partie1 .img1 {
  width: 450px;
  height: 340px;
  box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.75);
  grid-area: img1;
}
.partie1 .text1 {
  width: 450px;
  height: 340px;
  padding-left: 20px;
  grid-area: text1;
}
.partie1 .img2 {
  width: 450px;
  height: 340px;
  box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.75);
  grid-area: img2;
}
.partie1 .text2 {
  width: 450px;
  height: 340px;
  grid-area: text2;
}
.partie1 .titleText1,
.titleText2 {
  font-family: "Lato", sans-serif;
  font-size: 24px;
  padding: 5px;
}
.para1,
.para2 {
  padding: 5px;
  font-size: 18px;
}

@media screen and (max-width: 1050px) {
  .partie1 {
    display: grid;
    grid-template-rows: repeat(2, 260px);
    grid-template-columns: repeat(2, 400px);
    grid-template-areas:
      "img1 text1"
      "text2 img2";
    margin-bottom: 80px;
    padding-top: 7px;
    margin-left: 40px;
    margin-right: 40px;
  }
  .partie1 .img1 {
    width: 350px;
    height: 240px;
  }
  .partie1 .text1 {
    width: 350px;
    height: 240px;
    margin-left: 30px;
  }
  .partie1 .img2 {
    width: 350px;
    height: 240px;
    margin-top: 10px;
  }
  .partie1 .text2 {
    width: 350px;
    height: 240px;
    margin-top: 30px;
    margin-right: 30px;
  }
  .partie1 .titleText1,
  .titleText2,
  .para1,
  .para2 {
    padding: 3px;
  }
}

@media screen and (max-width: 840px) {
  .partie1 {
    display: grid;
    grid-template-rows: 400px 150px 400px 150px;
    grid-template-columns: repeat(1, 600px);
    grid-template-areas:
      "img1"
      "text1"
      "img2"
      "text2";
    margin-bottom: 60px;
    padding-top: 7px;
    margin-left: 20px;
    margin-right: 20px;
  }
  .partie1 .img1,
  .partie1 .img2 {
    width: 600px;
    height: 400px;
  }
  .partie1 .text1,
  .partie1 .text2 {
    width: 600px;
    height: 150px;
    padding-top: 10px;
    padding-bottom: 40px;
    margin-left: 10px;
    font-size: 14px;
  }
  .partie1 .titleText1,
  .titleText2,
  .para1,
  .para2 {
    padding: 3px;
    font-size: 18px;
  }
}

@media screen and (max-width: 630px) {
  .partie1 {
    display: grid;
    grid-template-rows: 210px 80px 210px 80px;
    grid-template-columns: repeat(1, 320px);
    grid-template-areas:
      "img1"
      "text1"
      "img2"
      "text2";
  }
  .partie1 .img1,
  .partie1 .img2 {
    width: 320px;
    height: 210px;
  }
  .partie1 .text1,
  .partie1 .text2 {
    width: 320px;
    height: 80px;
    padding: 0;
    margin: 0;
    font-size: 10px;
  }
  .partie1 .titleText1,
  .titleText2,
  .para1,
  .para2 {
    padding: 2px;
    font-size: 14px;
    margin: 0;
    padding: 0;
  }
}

/* Partie 2 */

.partie2 {
  display: grid;
  grid-template-rows: 60px repeat(3, 200px);
  grid-template-columns: repeat(3, 320px);
  gap: 10px;
  grid-template-areas:
    "textPartie2 textPartie2 textPartie2"
    "img1 img2 img3"
    "img4 img5 img6"
    "img7 img8 img9";
  margin: 50px;
  margin-top: 10px;
}
.titlePartie2 {
  text-align: center;
  marging-top: 80px;
  font-size: 24px;
  font-family: "Lato", sans-serif;
}
.textPartie2 {
  grid-area: textPartie2;
  padding: 5px;
  font-size: 18px;
}
.partie2 .img1,
.partie2 .img2,
.partie2 .img3,
.partie2 .img4,
.partie2 .img5,
.partie2 .img6,
.partie2 .img7,
.partie2 .img8,
.partie2 .img9 {
  width: 320px;
  height: 200px;
}

@media screen and (max-width: 1050px) {
  .partie2 {
    display: grid;
    grid-template-rows: 60px repeat(3, 160px);
    grid-template-columns: repeat(3, 270px);
    grid-template-areas:
      "textPartie2 textPartie2 textPartie2"
      "img1 img2 img3"
      "img4 img5 img6"
      "img7 img8 img9";
    margin: 40px;
    margin-top: 7px;
  }
  .titlePartie2 {
    font-size: 20px;
  }
  .textPartie2 {
    padding: 3px;
    margin-bottom: 10px;
  }
  .partie2 .img1,
  .partie2 .img2,
  .partie2 .img3,
  .partie2 .img4,
  .partie2 .img5,
  .partie2 .img6,
  .partie2 .img7,
  .partie2 .img8,
  .partie2 .img9 {
    width: 270px;
    height: 160px;
  }
}

@media screen and (max-width: 840px) {
  .partie2 {
    display: grid;
    grid-template-rows: 50px repeat(5, 170px);
    grid-template-columns: repeat(2, 280px);
    grid-template-areas:
      "textPartie2 textPartie2"
      "img1 img2"
      "img3 img4"
      "img5 img6"
      "img7 img8"
      "grid-item grid-item";
    margin: 30px;
    margin-top: 10px;
  }
  .textPartie2 {
    font-size: 15px;
    padding: 2px;
    margin-bottom: 7px;
  }
  .partie2 .img1,
  .partie2 .img2,
  .partie2 .img3,
  .partie2 .img4,
  .partie2 .img5,
  .partie2 .img6,
  .partie2 .img7,
  .partie2 .img8,
  .partie2 .img9 {
    width: 280px;
    height: 170px;
  }
  .grid-item {
    width: 570px;
    display: flex;
    justify-content: center;
  }

  @media screen and (max-width: 630px) {
    .partie2 {
      display: grid;
      grid-template-rows: 50px repeat(9, 170px);
      grid-template-columns: 280px;
      gap: 0;
      grid-template-areas:
        "textPartie2"
        "img1"
        "img2"
        "img3"
        "img4"
        "img5"
        "img6"
        "img7"
        "img8"
        "img9";
      margin: 30px;
      margin-top: 10px;
    }
    .titlePartie2 {
      font-size: 15px;
    }
    .textPartie2 {
      font-size: 11px;
      padding: 1px;
      margin-bottom: 5px;
    }
    .partie2 .img1,
    .partie2 .img2,
    .partie2 .img3,
    .partie2 .img4,
    .partie2 .img5,
    .partie2 .img6,
    .partie2 .img7,
    .partie2 .img8,
    .grid-item {
      width: 280px;
      height: 170px;
    }
  }
}

/* button inscrivez-vous */

.partie3 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 150px;
}
.btnSignUp {
  max-width: 325px;
  text-transform: uppercase;
  text-align: center;
  font-size: 24px;
  font-family: "Lato", sans-serif;
  text-decoration: none;
  background-color: rgb(76, 76, 109);
  color: rgb(255, 225, 148);
  font-weight: bolder;
  padding: 12px 15px;
  border-radius: 5px;
  margin-top: 15px;
  cursor: pointer;
}
.btnSignUp:hover {
  background-color: rgb(255, 225, 148);
  color: rgb(76, 76, 109);
  transition: background 0.3s ease;
  text-decoration: none;
}

@media screen and (max-width: 1050px) {
  .partie3 {
    margin: 80px;
  }
  .btnSignUp {
    max-width: 225px;
    font-size: 15px;
  }
}
@media screen and (max-width: 630px) {
  .partie3 {
    margin: 20px;
  }
  .btnSignUp {
    max-width: 225px;
    font-size: 12px;
    padding: 7px 9px;
    margin-top: 10px;
  }
}

/* icônes */

.iconsContainer {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "icon1 icon2 icon3 icon4"
    "textIcon1 textIcon2 textIcon3 textIcon4";
  margin: 10px;
}
.titleIcons {
  text-align: center;
  font-family: "Lato", sans-serif;
  font-size: 24px;
  margin: 50px auto 20px auto;
}
.icon {
  text-align: center;
  font-size: 96px !important;
  padding: 70px;
}
.textIcon1,
.textIcon2,
.textIcon3,
.textIcon4 {
  text-align: center;
  font-size: 18px;
}
.icon1 {
  grid-area: icon1;
}
.icon2 {
  grid-area: icon2;
}
.icon3 {
  grid-area: icon3;
}
.icon4 {
  grid-area: icon4;
}
.textIcon1 {
  grid-area: textIcon1;
}
.textIcon2 {
  grid-area: textIcon2;
}
.textIcon3 {
  grid-area: textIcon3;
}
.textIcon4 {
  grid-area: textIcon4;
}

@media screen and (max-width: 1050px) {
  .iconsContainer {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
      "icon1 icon2 icon3 icon4"
      "textIcon1 textIcon2 textIcon3 textIcon4";
    margin: 7px;
  }
  .titleIcons {
    text-align: center;
    font-size: 18px;
    margin: 40px auto 10px auto;
  }
  .textIcon1,
  .textIcon2,
  .textIcon3,
  .textIcon4 {
    font-size: 18px;
  }
  .icon {
    text-align: center;
    font-size: 73px !important;
    padding: 60px;
  }
}

@media screen and (max-width: 840px) {
  .iconsContainer {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "icon1 icon2 "
      "textIcon1 textIcon2"
      "icon3 icon4"
      "textIcon3 textIcon4";
    margin: 7px;
  }
  .titleIcons {
    text-align: center;
    font-size: 18px;
    margin: 10px auto 10px auto;
  }
  .textIcon1,
  .textIcon2,
  .textIcon3,
  .textIcon4 {
    font-size: 18px;
  }
  .icon {
    text-align: center;
    font-size: 73px !important;
    padding: 10px 60px 10px 60px;
  }
}

@media screen and (max-width: 630px) {
  .iconsContainer {
    margin: 4px;
  }
  .titleIcons {
    font-size: 14px;
    margin: 5px auto 5px auto;
  }
  .textIcon1,
  .textIcon2,
  .textIcon3,
  .textIcon4 {
    font-size: 14px;
  }
  .icon {
    text-align: center;
    font-size: 56px !important;
    padding: 5px 30px 5px 30px;
  }
}

/* footer */
footer {
  height: 100px;
  display: flex;
  align-items: center;
  padding: 50px;
  background-color: rgb(184, 223, 216);
}
.main-footer {
  font-size: 21px;
  font-weight: bolder;
  color: rgb(76, 76, 109);
}
.fab {
  font-size: 30px;
  margin: 10px;
}
footer a:first-of-type {
  margin-left: auto;
}
.fab:hover {
  font-size: 35px;
  transition: font-size 0.3s ease;
}

@media screen and (max-width: 840px) {
  .main-footer {
    font-size: 16px;
  }

  @media screen and (max-width: 630px) {
    footer {
      height: 60px;
      padding: 25px;
    }
    .main-footer {
      font-size: 14px;
    }
    .fab {
      font-size: 23px;
      margin: 7px;
    }
    .fab:hover {
      font-size: 27px;
    }
  }
}
