@charset "UTF-8";
/* Polices de caractères */
/* Couleurs */
/* Positionnement sur la grille */
/* Centrage du site */
html, body {
  /* Reset pour éliminer l'espace entre les éléments html et body */
  margin: 0;
  padding: 0;
  /* Définition de la police de caractère principale */
  font: 100% AppleGothic, sans-serif;
  color: #000000;
  width: 100%;
}

body {
  background-image: linear-gradient(to bottom right, #CCCCCC, white 85%);
}

.container {
  /* Création d'une grille pour toute la page */
  display: grid;
  /* Création de 3 colonnes sur la grille */
  grid-template-columns: 1fr 870px 1fr;
}

/******* EN-TËTE *******/
.header {
  grid-row-start: 1;
  grid-row-end: 3;
  grid-column-start: 1;
  grid-column-end: 4;
  margin: 0 auto;
}

nav {
  /* Placement du menu au-dessus de l'image */
  position: relative;
  z-index: 1;
  /* Placeholder class, permet de créer une classe étendue en CSS (évite de créer 2 classes HTML pour les boutons) */
}
nav ul {
  display: flex;
  padding-left: 15%;
  list-style: none;
}
nav li {
  display: inline;
}
nav .home {
  position: absolute;
  left: -35%;
}
nav #home {
  width: 71%;
  height: auto;
}
nav .button3, nav .button2, nav .button1 {
  display: inline-block;
  width: 200px;
  height: 50px;
  font-size: 1.1rem;
  color: #000000;
  background-color: #FF9A00;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
}
nav .button1 {
  margin-right: 10px;
  line-height: 50px;
}
nav .button2 {
  margin: 0 10px;
  line-height: 25px;
}
nav .button3 {
  margin: 0 10px;
  line-height: 50px;
}
nav #line_break {
  line-height: 0.5;
}
nav #question_mark {
  font-family: Century, sans-serif;
  line-height: normal;
}
nav a:hover {
  color: #23A3CD;
}
nav .current {
  color: #23A3CD;
}

/******* LOGO *******/
.logo {
  grid-row-start: 2;
  grid-row-end: 4;
  grid-column-start: 2;
  grid-column-end: 3;
  margin: 0 auto;
}

/******* CONTENU *******/
.content {
  /* Positionnement sur la grille */
  grid-row-start: 4;
  grid-row-end: 5;
  grid-column-start: 2;
  grid-column-end: 3;
  margin: 0 auto;
}

h1 {
  font: bold 4rem Century, sans-serif;
  color: #FF9A00;
  text-align: center;
  margin: 10px auto;
}

.text {
  background-color: #F6F6F6;
  padding: 20px;
  text-align: justify;
  border: 1px solid #CCCCCC;
}

p {
  font: 1.6rem "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  margin: 0 auto;
}

#tab {
  padding-left: 20px;
}

#last_text {
  margin: 0;
  text-align: center;
}

/******* PIED DE PAGE *******/
.footer {
  grid-row-start: 5;
  grid-row-end: 6;
  grid-column-start: 2;
  grid-column-end: 3;
  margin: 0 auto;
  text-align: center;
}

footer {
  font: italic bold 2.5rem AppleGothic, sans-serif;
  color: #23A3CD;
}

/******* RESPONSIVE DESIGN *******/
/* J'adapte ici le design pour 3 cas: une tablette en mode portrait, un smartphone en mode paysage
et un smartphone en mode portrait. Il vaudrait mieux à l'avenir créer seulement 2 responsive designs,
un pour un max-width de 960px (pour une tablette en mode portrait et un smartphone en mode paysage)
et un pour un max-width de 480px. J'ai procédé ainsi dans ce cas car mes boutons de navigation ont
des tailles et positions fixes (tailles en pixels et positionnement absolu) */
@media all and (orientation: portrait) and (max-width: 1024px) {
  .container {
    display: block;
  }

  nav ul {
    padding-left: 2%;
  }
  nav .home {
    position: static;
  }
  nav .button1 {
    position: absolute;
    margin-left: -75px;
    width: 125px;
  }
  nav .button2 {
    position: absolute;
    margin-left: 75px;
    width: 175px;
  }
  nav .button3 {
    position: absolute;
    margin-left: 275px;
    width: 125px;
  }

  img {
    max-width: 100%;
  }

  h1 {
    font: bold 3.5rem Century, sans-serif;
  }

  p {
    font: 1.3rem "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  }
}
@media all and (orientation: landscape) and (max-width: 960px) {
  .container {
    display: block;
  }

  nav ul {
    padding-left: 2%;
  }
  nav .home {
    position: static;
  }
  nav #home {
    width: 61%;
    height: auto;
  }
  nav .button1, nav .button2, nav .button3 {
    height: 43px;
  }
  nav .button1 {
    position: absolute;
    margin-left: -100px;
    width: 105px;
    line-height: 43px;
  }
  nav .button2 {
    position: absolute;
    margin-left: 30px;
    width: 155px;
    line-height: 21px;
  }
  nav .button3 {
    position: absolute;
    margin-left: 210px;
    width: 105px;
    line-height: 43px;
  }

  img {
    max-width: 100%;
  }

  h1 {
    font: bold 2.5rem Century, sans-serif;
  }

  p {
    font: 1.3rem "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  }
}
@media all and (orientation: portrait) and (max-device-width: 480px) {
  nav ul {
    padding: 2% 0 5% 0;
  }
  nav .home {
    position: absolute;
    left: 0%;
    top: -67%;
  }
  nav #home {
    width: 51%;
    height: auto;
  }
  nav .button1, nav .button2, nav .button3 {
    height: 36px;
  }
  nav .button1 {
    position: absolute;
    margin-left: 180px;
    width: 120px;
    line-height: 36px;
    font-size: 100%;
  }
  nav .button2 {
    position: absolute;
    margin: 45px 0 0 90px;
    width: 140px;
    line-height: 18px;
    font-size: 100%;
  }
  nav .button3 {
    position: absolute;
    margin: 45px 0 0 240px;
    width: 120px;
    line-height: 36px;
    font-size: 100%;
  }

  .logo {
    margin-top: 45px;
  }

  h1 {
    font: bold 1.5rem Century, sans-serif;
  }

  p {
    font: 1rem "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  }

  footer {
    font-size: 1.5rem;
  }
}
/******* CONTENU *******/
p {
  text-align: center;
}

form {
  padding: 1rem;
}
form div {
  margin-top: 1rem;
}
form label {
  display: inline-block;
}
form input, form textarea {
  /* Même police, dimensions et bordures pour tous les champs texte
  (par défaut, les textarea ont une police monospace) */
  font: 1em "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  box-sizing: border-box;
  border: 1px solid #000000;
  width: 100%;
}
form input:focus, form textarea:focus {
  /* Pour souligner légèrement les éléments actifs */
  border-color: #000000;
}
form textarea {
  vertical-align: top;
  height: 10rem;
}
form .button {
  text-align: center;
}
form button {
  width: 200px;
  height: 50px;
  font: 1.2rem AppleGothic, sans-serif;
  color: #000000;
  background-color: #FF9A00;
  border-radius: 5px;
}
form span {
  font: 1em "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  color: red;
}

form .g-recaptcha {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

strong {
  display: block;
  font: 1.6rem "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  text-align: center;
}

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