@import url('structure.css');

.page-couverture, .prestations, .tarifs {
    font-size: 15px;
    width: 100%;
    margin-top: 100px;
    margin-bottom: 50px;
    text-align: center;
    text-align: justify;
}

.tarif{
  margin-left: 20px;
}

/*---------------------------------------------------------*/


h1{
  font-size: 30px;
}
h2{
  font-size: 20px;
  margin-top: 100px;
  margin: 20px 0;
}


/*---------------------------------------------------------*/

.page-couverture{
  margin-top: 70px;
  text-align: center;
}

.text-principale{
  font-size: 30px;
  color: #F27438;
  font-style: italic;

}

.texte-centrale{
  text-align: center;
  margin: 30px 100px;
  margin-bottom: 100px;
  font-size: 20px;
}

@media screen and (max-width: 800px) {
  .texte-centrale{
    margin: 30px 50px;
    margin-bottom: 50px;
  }
  
}

/*---------------------------------------------------------*/

.prestations{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    margin: auto;
    text-align: center;
    overflow: hidden;
}

.position {
    width: 600px;
    padding: 15px;
    height: auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}


.position img{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: block;
}

.imgcentrale {
    position: relative;
    width: 100%;
    height: auto; /* fixe la hauteur du cadre */
    overflow: hidden;
  }

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    transition: opacity 0.3s ease;
    display: flex;
    text-align: center;
    padding: 15px;
    font-size: 25px;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 0 0 15px 15px;
    font-style: italic;
  }

  .position img {
    transition: transform 0.5s ease;
    
  }
  
  .position:hover img {
    transform: scale(1.1);
  }

  .overlay {
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .position:hover .overlay {
    opacity: 0.5;
  }
/*---------------------------------------------------------*/

.boutton {
    transition: background-color 0.3s ease;
    background-color: transparent;
    font-family: 'Gill Sans', 'Gill Sans MT';
    border: 1px solid black;
    color: black;
    align-items: center;
    padding: 10px 20px;
    font-size: 1vw;
    border-radius: 50px;
    top: 51%;
    left: 12%;
}

.boutton:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: black;
}

.boutton2 {
  transition: background-color 0.3s ease;
  background-color: transparent;
  font-family: 'Gill Sans', 'Gill Sans MT';
  border: 1px solid black;
  color: black;
  align-items: center;
  padding: 10px 20px;
  font-size: 1vw;
  border-radius: 50px;
  top: 51%;
  left: 12%;
}



.boutton2:hover {
  background-color: rgba(0, 0, 0, 1);
  color: white;
}

