@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;600&display=swap');

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-image: url(/img/img_bg-min.jpg);
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  width: auto;
  background-attachment: fixed;
  background-position: center;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  display: flex;
  padding-top: 100px;
  justify-content: center;
  margin-right: 10px;
}

main .pageContent {
  display: flex;
  padding-top: 0px;
  justify-content: center;
  margin-right: 10px;
}

main img {
  width: 115px;
}

main h1 {
  margin: 0;
  font-family: Montserrat;
  font-weight: 600;
  font-size: 4rem;
}
main h2 {
  margin: 0;
  letter-spacing: 3px;
  font-size: 3.7rem;
  margin-top: -25px;
  font-weight: 500;
}

ul {
  display: flex;
  justify-content: space-evenly;
  margin: 0;
  align-items: center;
  list-style: none;
  height: 100px;
}
nav ul li a {
  color: black;
  border-radius: 9px;
  border: 0.1em solid dimgrey(185, 53%, 34%);
  background: #cfc3c312;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  letter-spacing: 1px;
  padding: 10px 5px;
  text-transform: uppercase;
  margin: 5px 15px 0 0;
  text-decoration: none;
}

li a:hover {
  color: darkgrey;
  background-color: dimgrey;
}

footer {
  background: #b4b4b8;
  text-align: center;
  margin-top: auto;
  font-weight: 600;
}

/***********MAIN HEADER****************/

/****************CSS CONTACT FORM************/
.container {
  width: 90%;
  height: 50%;
  background: rgba(255, 255, 255, 0.31);
  border-radius: 6px;
  /*padding: 20px 60px 40px 40px;*/
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-around;
}
.container .content {
  display: flex;
  align-items: center;
  justify-content: center;
}
.container .content .left-side {
  width: 60%;
  height: 100%;
  position: relative;
}

.content .left-side::before {
  content: '';
  width: 2px;
  right: -15px;
  top: 50%;
  /* transform: translateY(-50%);
  height: 70%;*/
  position: absolute;
  background: #afafb6;
}

.content .left-side .details {
  margin: 14px;
  text-align: center;
}

.content .left-side .details i {
  font-size: 30px;
  color: #3e2093;
  margin-bottom: 10px;
}

.content .left-side .details .topic {
  font-size: 18px;
  font-weight: 800;
}
.content .left-side .details .text-one,
.content .left-side .details .text-two {
  font-size: 20px;
  color: rgb(2, 5, 27);
  font-weight: 400;
}

.container .content .right-side {
  width: 30%;
  margin-left: 30px;
}

.content .right-side .topic-text {
  font-size: 23px;
  font-weight: 800;
  color: #3e2093;
}

input {
  height: 80%;
  width: 90%;
  margin: 12px 0;
}

.input-box input,
.input-box textarea {
  height: 90%;
  width: 65%;
  border: none;
  background: #f0f1f8;
  border-radius: 6px;
  padding: 30px 90px;
  resize: none;
}

.button input {
  border-radius: 8px;
  background-color: rgba(185, 179, 198, 0.76);
  height: 40px;
}

/****************FIN CSS CONTACT FORM************/

/*****CARDS***********************************/
.cards img {
  width: 95%;
  display: block;
  border-radius: 20px 20px 0 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding: 50px;
  grid-gap: 140px;
}

.card {
  background-color: #aeadc2;
  border-radius: 20px;
  font-family: 'Montserrat', monospace;
}

.details {
  padding: 5px 5px;
}
.details h3 {
  font-weight: bold;
}
.containerCard:hover {
  transform: scale(1.1);
  z-index: 2;
  transition: 1s;
}
/***********************TEXTE SLOGAN**********************/

.slogan {
  display: flex;
  align-items: center;
  padding-top: 200px;
  margin-left: 9em;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Montserrat', monospace;
  color: #e4e4ec;
}

/*********************** FIN TEXTE SLOGAN**********************/

/**************************FOOTER*****************/
#footerContent {
  display: flex;
  justify-content: space-around;
}
#mainFooter1 {
  display: flex;
  justify-content: space-around;
  background-color: rgba(178, 190, 185, 0.281);
}

#mainFooterContact {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  justify-content: space-between;
  background-color: rgba(178, 190, 185, 0.281);
}
.mentionL {
  text-decoration: none;
  color: black;
}

/************************FORM CONTACT****************/
section#contactform .ContainerContact form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 600px;
}
section#contactform .ContainerContact form input {
  width: 47%;
}
section#contactform .ContainerContact form input,
section#contactform .ContainerContact form textarea {
  margin: 10px 0;
  padding: 10px;
  box-sizing: border-box;
  border: none;
  outline: none;
  border-bottom: 2px solid #e4e4ec;
  transition: 0.2s;
}

section#contactform .ContainerContact form textarea {
  width: 100%;
  margin-bottom: 20px;
  resize: none;
  height: 100px;
}
section#contactform .ContainerContact form button {
  border-radius: 8px;
  cursor: pointer;
  width: 192px;
  height: 50px;
  font-size: 1.2em;
  margin: 0 auto;
  border: none;
  background-color: rgba(178, 190, 185, 0.281);
  color: black;
}

#picInfocontact {
  color: #f69733;
}

/*********************MEDIA QUERIES***********************/

@media (width < 722px) {
  main h1 {
    font-weight: bold;
    font-size: 3rem;
    padding: 15px;
  }

  .slogan {
    padding-top: 50px;
    margin-left: 15px;
    font-size: 15px;
  }

  main h2 {
    font-weight: 300;
    font-size: 3rem;
    letter-spacing: normal;
    margin-left: 15px;
  }
  main {
    padding-top: 10px;
    margin-right: 15px;
  }
  main img {
    width: 10vw;
  }

  ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 45px;
    margin: 0px;
    gap: 18px;
  }

  .container {
    height: 60%;
  }
  .contactM {
    margin: -24px;
  }

  @media (width >=30px) {
    main h1 {
      font-size: 1.7rem;
    }
    main h2 {
      font-size: 1.6rem;
    }

    main img {
      width: 10vw;
    }
    .container {
      height: 70%;
      width: 90%;
    }

    nav {
      height: 25%;
    }

    .left-side {
      display: none;
    }
    .input-box textarea {
      height: 80%;
      width: 35%;
      border: none;
      background: #f0f1f8;
      border-radius: 6px;
      padding: 27px 90px;
      resize: none;
      margin: 10px;
    }

    .input-box input {
      height: 80%;
      width: 75%;
      border: none;
      background: #f0f1f8;
      border-radius: 6px;
      padding: 25px 33px;
      resize: none;
      margin: 9px;
    }
  }

  @media (width > 1920px) {
    .slogan {
      margin-left: 9em;
    }
  }

  /**************************FORM*******************/
  section#contactform .ContainerContact form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 300px;
  }
  section#contactform .ContainerContact form input {
    width: 57%;
  }
  section#contactform .ContainerContact form input,
  section#contactform .ContainerContact form textarea {
    margin: 10px 0;
    padding: 10px;
    box-sizing: border-box;
    border: none;
    outline: none;
    border-bottom: 2px solid #e4e4ec;
    transition: 0.2s;
  }

  section#contactform .ContainerContact form textarea {
    width: 100%;
    margin-bottom: 10px;
    resize: none;
    height: 100px;
  }
  section#contactform .ContainerContact form button {
    border-radius: 8px;
    cursor: pointer;
    width: 350px;
    height: 50px;
    font-size: 1.2em;
    margin: 0 auto;
    border: none;
    background-color: rgba(20, 20, 22, 0.664);
    color: rgb(218, 207, 207);
  }

  nav {
    height: 33%;
  }

  /**********CARDS****************************/

  .cards img {
    width: 95%;
    display: block;
    border-radius: 20px 20px 0 0;
  }
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 50px;
    grid-gap: 140px;
  }

  #mainNav ul {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    padding: 70px;
    margin: 10px;
    gap: 20px;
  }
  #mainHeader img {
    width: 12vw;
  }

  #topHeader h1 {
    font-weight: bold;
    font-size: 1.4rem;
    padding: 15px;
  }
  #topHeader h2 {
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: normal;
    margin-left: 15px;
  }
}
