/* Images */

.image-index {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 4px 4px 3px rgb(0 0 0 / 30%);
  margin-top: 30px;
  margin-bottom: 20px;
}

/* Titres */

.index-text h2 {
  margin: 0px auto 20px auto;
  max-width: 960px;
}

.index-text h2 span {
  position: relative;
  padding: 1em;
}

.index-text h2 span:before {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  background-color: #6B1863;
  width: 1200px;
  top: 50%;
  margin-top: -1px;
  right: 100%;
}

.index-text h2 span:after {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  background-color: #6B1863;
  width: 1200px;
  top: 50%;
  margin-top: -1px;
  left: 100%;
}

/* Textes */

.index-text {
  padding: 60px;
}

.index-text i {
  color: #7ECE29;;
  font-size: 25px;
}

.index-text p {
  margin-top: 30px;
  padding: 10px;
  font-weight: bold;
}

.index-text p a {
  text-decoration: none;
  font-weight: bold;
  color: #7ECE29;;
}
.index-text a:hover {
  color: #6B1863;
  font-weight: bold;
}


/* banniere */

#banner {
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.35)), url("banniere.jpg");
  background-color: hsl(0, 0%, 0%);
  background-size: cover;
  background-attachment: fixed;
  width: 100%;
  height: 550px;
  padding: 20px;
}

#banner img {
  height: 100px;
  margin-bottom: 10px;
}

#banner p {
  color: white;
  font-size: 25px;
  font-weight: 400;
  margin-top: 20px;
  margin-bottom: 20px;
}

#banner_text {
  text-align: center;
  margin-left: 510px;
  margin-top: 80px;
}

@media screen and (max-width: 1160px)
{
  .image-index {
    width: 300px;
    height: 300px;
  }
}

@media screen and (max-width: 990px)
{
  #banner {
    background-size: auto;
  }
  #banner_text {
    text-align: left;
    margin-top: 10px;
    margin-left: 50px;
  }

  .index-text {
    padding: 20px 20px 40px 20px;
  }
}

@media screen and (max-width: 660px)
{
  #banner p{
    font-size: 20px;
  }

}
