/*
	auteur: niilo rein
	version du : 14 mars 2025
*/


header,
nav,
aside,
article,
footer {
  border: 1px solid black;
  margin: 10px;
}

body {
  background-image: url('./../images/backround2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

h6 {
  background-color: lightblue;
  width: 50%;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
}

.container {
  display: flex;
  flex-direction: row;
}

.paragraphe1,
.titrepara1 {
  background-color: #abde59;
}

.paragraphe2,
.titrepara2 {
  background-color: #faf47d;
}

.paragraphe3,
.titrepara3 {
  background-color: #fcb13a;
}

.paragraphe4,
.titrepara4 {
  background-color: #f55151;
}

.paragraphe1,
.paragraphe2,
.paragraphe3,
.paragraphe4 {
  margin: auto;
  padding: 2vw;
  border-radius: 5px;
  width: 80%;
  text-align: justify;
}

.titrepara1,
.titrepara2,
.titrepara3,
.titrepara4 {
  width: 90%;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
}

.intro-title {
  background-color: white;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
  width: auto;
  text-align: center;
}

.intro {
  display: flex;
  flex-direction: row;
}

.secondcontainer {
  max-width: 100vw;
  width: 25vw;
}

@media (max-width: 600px) {
  .secondcontainer {
    width: 100%;
  }

  .paragraphe1,
  .paragraphe2,
  .paragraphe3,
  .paragraphe4 {
    width: 75%;
  }

  .intro-title {
    font-size: 7vw;
  }

  .titrepara1,
  .titrepara2,
  .titrepara3,
  .titrepara4 {
    width: 80%;
  }

  .container {
    max-width: 100vw;
    flex-direction: column;
    margin: 0px auto;
    padding: 0px;
    border-radius: 10px;
  }
}