/* || General setup */

html, body {
    margin: 0;
    padding: 0;
  }
  
  html {
    font-size: 10px;
    background-color: rgba(10, 10, 10, 0.5);
  }
  
  body {
    width: 85%;
    margin: 0 auto;
  }
  
  /* || typographie */
  
  h1, h2, h3, h4 {
    font-family: 'Sonsie One', cursive;
    color: black;
  }
  
  p, input, li {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: black;
  }
  .citation{
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: blue;
    font-size: 1.8rem;
    font-style: italic;
    text-align: center;
  }
  
  h1 {
    font-size: 4rem;
    text-align: center;
    color: white;
    text-shadow:black 2.5px 2.5px 0,
  gray 5px 5px 0,
  black 7.5px 7.5px 0,
  #333 10.5px 10.5px 10px;color:white;
  }
  
  h2 {
    font-size: 2.5rem;
    text-align: left;
  }
  
  h3 { 
    font-size: 2.2rem;
  }
  h4 {
    font-size: 2em;
  }
  
  p, li {
    font-size: 1.6rem;
    line-height: 1.5;
  }
  .clair ul li:hover{
    display: inline;
    font-size: 1.8rem;
    background-color: rgb(235, 242, 245);
  }
  
   /*span{
    text-decoration: underline;
  }*/

  
  /* || header layout */
  
  nav, article, aside, footer {
    background-color: white;
    padding: 1%;
  }
  
  nav{
    width: 98%;
    margin: 0 auto;
    background-color: rgba(142, 243, 142, 0.45);
    position: sticky;
    top: 0px;
}
  
  nav ul {
    list-style-type: none;
  }
  
  nav UL li {
    float: left;
    width: 25%;
    text-align: center;
    position: relative;
  }
  nav ul::after{
    content: "";
    display: table;
    clear: both;
}
  
  nav a {
    display: block;
    text-decoration: none;
    color: black;
    border-bottom: 2px solid transparent;
    padding: 10px 0px;
  }
  nav a:hover{
    color: red;
    border-bottom: 2px solid gold;
}
  
  nav form {
    flex: 1;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 2em;
  }
  
  /* input {
    font-size: 1.6rem;
    height: 32px;
  }
  
  input[type="search"] {
    flex: 3;
  }
  
  input[type="submit"] {
    flex: 1;
    margin-left: 1rem;
    background: #333;
    border: 0;
    color: white;
  }*/
  
  /* || main layout */
  
  main {
    display: flex;
  }
  
  article {
    flex: 4;
    margin-top: 10PX;
  }
   /* || colorlayout */
  .gris{
    background-color: rgb(209, 173, 173);
  }
  .bleu{
    background-color: rgb(217, 232, 238);
  }
  .rose{
    background-color: rgba(255, 192, 203, 0.918);
  }
  .violet{
    background-color: rgba(221, 175, 247, 0.61);
  }
  
  aside {
    flex: 1;
    margin-left: 10px;
    margin-top: 10px;
    background-color: rgba(142, 243, 142, 0.45);
  }
  
  aside li {
    padding-bottom: 10px;
  }
  aside li a{
    color: #141B14;
  }
  
  footer {
    margin-top: 10px;
  }
  /* || menu déroulant */

  .deroulant > a::after{
    content: "\0025BD";
    font-size: 15px;
}
.sous{
  display: none;
  box-shadow: 0px 1px 2px #CCC;
  background-color: white;
  position: absolute;
  width: 100%;
  z-index: 1000;
}
nav > ul li:hover .sous{
  display: block;
}
.sous li{
  float: none;
  width: 100%;
  text-align: left;
}
.sous a{
  padding: 10px;
  border-bottom: none;
}
.sous a:hover{
  border-bottom: none;
  background-color: rgba(200, 200, 200, 0.1);
}

/* || images */
.img0{
  height: 620px;
  background-attachment: fixed;
  background-size: cover;
  background-position: 0 center;
}
.img1,.img2,.img3,.img4,.img5,.img6{
  height: 280px;
  background-attachment: fixed;
  background-size: cover;
  background-position: 0 center;
}
.img7,.img8{
  height: 400px;
  background-attachment: fixed;
  background-size: cover;
  background-position: 0 center;
}
.img9,.img10{
  height: 450px;
  background-attachment: fixed;
  background-size: cover;
  background-position: 0 center;
}
.img11{
  height: 300px;
  background-attachment: fixed;
  background-size: cover;
  background-position: 0 center;
}
.img12{
  height: 450px;
  background-attachment: fixed;
  background-size: contain;
  /*background-repeat: no-repeat;*/
  background-position: 0 center;
}
.img13{
  height: 620px;
  background-attachment: fixed;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 0 center;
}
.img14{
  height: 300px;
  background-attachment: fixed;
  background-size: contain;
  background-position: 0 center;
}
.img15{
  height: 600px;
  background-attachment: fixed;
  background-size: contain;
  /*background-repeat: no-repeat;*/
  background-position: 0 center;
}
.img16,.img17,.img18{
  height: 280px;
  background-attachment: fixed;
  background-size: cover;
  background-position: 0 center;
}
.img0{
  background-image: url(https://cdn.pixabay.com/photo/2013/11/28/10/03/river-219972_960_720.jpg);
}
.img1{
  background-image: url(https://cdn.pixabay.com/photo/2018/09/27/09/21/web-3706561__340.jpg);
}
.img2{
  background-image: url(https://cdn.pixabay.com/photo/2020/06/12/19/02/artificial-intelligence-5291510__340.jpg);
}
.img3{
  background-image: url(https://cdn.pixabay.com/photo/2020/01/19/06/12/face-4776910__480.jpg);
}
.img4{
  background-image: url(https://cdn.pixabay.com/photo/2019/03/18/06/46/cyber-4062449__480.jpg);
}
.img5{
  background-image: url(https://cdn.pixabay.com/photo/2015/03/08/09/30/head-663997__340.jpg);
}
.img6{
  background-image: url(https://cdn.pixabay.com/photo/2016/07/11/20/37/marguerite-1510602__340.jpg);
}
.img7{
  background-image: url(https://cdn.pixabay.com/photo/2017/03/17/21/46/lost-place-2152756_960_720.jpg);
}
.img8{
  background-image: url(https://cdn.pixabay.com/photo/2016/10/17/17/09/lost-place-1748156_960_720.jpg);
}
.img9{
  background-image: url(https://cdn.pixabay.com/photo/2017/01/11/14/56/ireland-1971997__340.jpg);
}
.img10{
  background-image: url(https://cdn.pixabay.com/photo/2014/12/28/18/22/grapes-582207__340.jpg);
}
.img11{
  background-image: url(https://cdn.pixabay.com/photo/2017/08/08/00/33/constellations-2609647__340.jpg);
}
.img12{
  background-image: url(https://cdn.pixabay.com/photo/2017/07/17/23/51/wormhole-2514312__340.jpg);
}
.img13{
  background-image: url(https://media.istockphoto.com/photos/god-and-adam-picture-id974882202?k=6&m=974882202&s=612x612&w=0&h=VmLk6iu0nUN-fh4YDcthypn00mNJI3VL48uLATrfiqs=);
}
.img14{
  background-image: url(https://cdn.pixabay.com/photo/2017/11/17/09/37/businessman-2956974_960_720.jpg);
}
.img15{
  background-image: url(https://cdn.pixabay.com/photo/2018/05/20/09/44/rose-3415370__340.jpg);
}
.img16{
  background-image: url(https://cdn.pixabay.com/photo/2018/07/03/07/11/sky-3513221_960_720.jpg);
}
.img17{
  background-image: url(https://cdn.pixabay.com/photo/2017/04/24/23/58/galaxy-2258217_960_720.jpg);
}
.img18{
  background-image: url(https://cdn.pixabay.com/photo/2017/06/03/10/57/moon-2368443_960_720.jpg);
}

/* || commentaires sur images */
.element{
  flex: 1 0 100%;
  position: relative;
}

.element > img{
  width: 100%;
}
.caption{
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: bold;
  background-color: rgba(255,255,255,0.50);
  padding: 20px;
}

  /* || zoom sur image */
  #id{
    width: 100%;
  }
  .conteneur{
    width: 100%;
    margin: 0 auto;
  }
  .quart{
    width: 50%;
  }
  
  .zoom {
    width: 320px;
    height: 240px;
    }
    .image {
    width: 100%;
    height: 100%;
    }
    .image img {
    /* La transition s'applique à la fois sur la largeur et la hauteur, avec une durée d'une seconde. */
    -webkit-transition: all 1s ease; /* Safari et Chrome */
    -moz-transition: all 1s ease; /* Firefox */
    -ms-transition: all 1s ease; /* Internet Explorer 9 */
    -o-transition: all 1s ease; /* Opera */
    transition: all 1s ease;
    }
    .image:hover img {
    /* L'image est grossie de 25% */
    -webkit-transform:scale(1.25); /* Safari et Chrome */
    -moz-transform:scale(1.25); /* Firefox */
    -ms-transform:scale(1.25); /* Internet Explorer 9 */
    -o-transform:scale(1.25); /* Opera */
    transform:scale(1.25);
    }

/* || questionnaire */

label {
  /* To make sure that all labels have the same size and are properly aligned */
  display: inline-block;
  width: 90px;
  text-align: right;
  font-size: 1.4rem;
}

input,
textarea {
  /* To make sure that all text fields have the same font settings By default, textareas have a monospace font */
  font: 1.7em verdana,sans-serif;
  /* To give the same size to all text fields */
  width: 60%;
  box-sizing: border-box; /* To harmonize the look & feel of text field border */
  border: 1px solid #999;
}

input:focus,
textarea:focus {
  /* To give a little highlight on active elements */
  border-color: #000;
}

textarea {
  /* To properly align multiline text fields with their labels */
  vertical-align: top;
  /* To give enough room to type some text */
  height: 15em;
}

.button {
  /* To position the buttons to the same position of the text fields */
  padding-left: 90px;
  /* same size as the label elements */
}

button {
  /* This extra margin represent roughly the same space as the space between the labels and their text fields */
  margin-left: 7em;
  background-color: rgba(142, 243, 142, 0.45);
}
.degrade{
  border: 60%;
  border-radius: 10px;
  background: linear-gradient(rgba(213, 240, 241, 0.678),rgba(142, 243, 142, 0.685));
}
#contact1, #contact2{
   height: 5rem;
}
 /* || BOUTON RETOUR HAUT DE PAGE */
#scroll_to_top {
  position: fixed;
  width: 25px;
  height: 25px;
  bottom: 50px;
  right: 30px;
}
#scroll_to_top img {
  width: 25px;
}

/* || INFO BULLE */
a[href$="?"]{
  color:blue;
  text-decoration: underline;
  /*text-shadow:0 -1px 0 black; */               
}
/*a:hover,a:focus{
  background:rgba(0,0,0,.4);
  box-shadow:0 1px 0 rgba(255,255,255,.4);
}*/
a span{
  position:absolute; 
  margin-top:23px;
  margin-left:-35px;
  color:rgb(24, 230, 245);
  background:rgba(0,0,0,.9);
  padding:15px;
  border-radius:3px;
  box-shadow:0 0 2px rgba(0,0,0,.5);
  transform:scale(0) rotate(-12deg);
  transition:all .25s;
  opacity:0;
}
a:hover span, a:focus span{
  transform:scale(1) rotate(0); 
  opacity:1;       
}
/* || flags */
.conteneurflag{
  width: 80%;
  min-width: 60px;
  max-width: 100px;
  margin: 20px auto;
}
.flag1{
  width: 40%;
  float: left;
}
.flag2{
  width: 40%;
  float: right;
}