@font-face {
  font-family: "Lato";
  src: url(font/Lato-Regular.woff) format(woff), url(font/Lato-Regular.woff2) format(woff2);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Lato";
  src: url(font/Lato-ThinItalic.woff) format(woff), url(font/Lato-ThinItalic.woff2) format(woff2);
  font-weight: normal;
  font-style: italic;
}

img{
  max-width: 100%;
}

body{
  background-color: #152032;
  font-family: "Lato";
  font-weight: normal;
}

article{
  height: auto;
  width: 100vw;
}

section{
  size: 100vh 
}

#image-titre{
  background-image: url("article2-images/titre.jpg");
  background-size: cover;
  background-position: center bottom;
  position: absolute;
  top: 5vh;
  margin:5vw;
  height:50vh;
  width: 90vw;
}

#titre{
  height: 20vh;
  width: 80vw;
  position: absolute;
  margin: 10vw;
  top: 50vh;
  background-color: white;
  z-index: 1;
  border: 1px;
  box-shadow: 1px 10px 20px 1px rgba(0, 0, 0, 0.22);
  font-size: 200%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#article-part1{
  height: auto;
  width: 80vw;
  position: static;
  margin-top: 70vh;
  background-color: white;
  padding: 10vw;
  padding-top: 10vh;
  max-width: 100%;
  text-align: justify;
}

#image-article{
  position: relative;
  background-image: url("article2-images/img2.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  width: 100vw;
  height: 50vh;
}
#article-part2{
  height: 100%;
  width: 80vw;
  position: static;
  background-color: white;
  padding: 10vw;
  max-width: 100%;
  text-align: justify;
}

footer {
  height: auto;
  width: 100vw;
  background-color: rgb(10, 10, 10);
  padding: 5% 2%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
}

footer p {
  font-size: 8px;
  margin: 1% 3%;
  color: grey;
  text-transform: uppercase;
}

@media(min-width:600px){
  #image-titre{
    top: 8vh;
  }
  #titre {
    height: 15vh;
    top: 50vh
  }
  #article-part1{
    top: 70vh;
    padding-top: 10vh;
  }
}

@media(min-width:900px){
  #image-titre{
    width: 70vw;
    margin-left: 15vw;
    margin-right:15vw;
  }
  #titre {
    height: 25vh;
    width: 60vw;
    margin-left: 20vw;
    margin-right: 20vw;
  }
  #article-part1{
    width: 60vw;
    top: 70vh;
    padding: 20vw;

  }
  #article-part2{
    width: 60vw;
    padding: 20vw;

  }
  #image-article{
    height: 60vh;
  }
}

@media(min-width:1200px){
  #image-titre{
    margin-top: 5vh;
    margin-left: 15vw;
    margin-right:15vw;
    height: 70vh;
  }
  #titre {
    height: 20vh;
    width: 50vw;
    margin-left: 25vw;
    margin-right: 25vw;
    top: 60vh;
  }
  #article-part1{
    width: 100vw;
    margin-top: 90vh;
    padding: 25vw;
    padding-top: 15vh;
    padding-bottom: 15vh;

  }
  #article-part2{
    width: 100vw;
    padding: 25vw;
    padding-top: 15vh;
    padding-bottom: 15vh;
  }
  #image-article{
    height: 80vh;
    background: translateY(-10vh);
  }
}
