@font-face {
  font-family: Oddval Variable;
  src: url("https://garet.typeforward.com/assets/fonts/campaigns/OddvalVariable-VariableVF.woff2")
}

@font-face {
  font-family: 'Homestead';
  src: url('../src/ttf/homestead-regular.ttf');
}

*{margin: 0; padding: 0; transition: all 100ms ease-out;}
body{margin: 0; background-color: var(--light);}

html{font-family: Oddval Variable, sans-serif !important;
--red:#e73030;
--light:#dddddd;
--light-alt:#ededed;
--dark:#232323;
overflow-x: hidden;}

.red-text{color: var(--red);}
.error-form{color: var(--red); font-size: 16px; text-align: center; margin-top: 10px; font-weight: bold; border-radius: 5px; padding: 10px;}
.tel {
  color: white !important; /* ou ta couleur */
  text-decoration: none;
}

:link{text-decoration: none; color: black;}
footer :link{color: white !important;}
:visited{text-decoration: none; color: black;}
a{transition: all 100ms ease-out;}
a:hover{color: var(--red);}
#home button:hover{color: white;}


h1,h2,h3{font-weight: normal;}
h1{font-size: 38px;}

hr{height: 3px; background-color: var(--red); border: 0; width: 10%; margin: 0 20px 0 20px;}

section#home{background-image: url('../src/background.jpg'); color: white;padding: 80px; clip-path: polygon(0 0%, 100% 0%, 100% 96%, 0px 100%);}

nav ul, nav ul li{display: inline;}
nav li:not(#logo){padding: 30px; position: relative; font-size: 20px;}
nav{padding: 5px; color: black !important;}
.navbar{background-color: var(--light-alt);box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.351);}

.bande{display: flex; background-color: var(--dark); color: white !important; padding: 10px;}


button{border: 2px solid var(--red); background: transparent; padding: 10px; border-radius: 30px;
  font-family: Oddval Variable, sans-serif !important; font-size: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.351);}
section button{color: white; margin: 20px;}
button:hover{color: var(--red);}

.activePage{background-color: var(--dark); border-radius: 30px; padding: 10px; color: white;}


/* STYLE DES SECTIONS */


section#photos{background-color: var(--light); text-align: center; width: 100vw;}
section#photos h1{padding: 20px 0 20px 0;}
section#photos hr{margin: auto;}


section > *:not(hr){padding: 20px;}


/*
img {

    height: 400px;
    object-fit: cover;
    object-position: center;

    box-shadow: 0px 0px 5px rgba(26, 26, 26,0.6);
}
*/



img#logo{width: 105px; height: 70px; vertical-align: middle; margin-left: 10px;}
img#logo:hover{transform: scale(1.05); border-radius: 0;}


/* SECTION PHOTOS */

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 10px;
    justify-items: center; /* Centrer horizontalement les images */
  }

  .container img {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.551);
    display: block;
    transition: all 100ms ease-out;
    width: 450px;
    max-width: 100%; /* Pour rendre les images responsives */
    height: 300px;
    border-radius: 20px 20px 0px 0px;

  }
  .container img:hover{
    transform: scale(1.04);
    filter : opacity(70%);

  }


  .container .textPic{color: white; background-color: #232323; width: 440px; max-width: 100%; font-size: 20px; opacity: 1; border-radius: 0 0 20px 20px;padding: 5px;}
  .containerPic img:hover + .textPic{transform: scale(1.04);}


 /* .container li{padding: 0; margin: 0;list-style-type: none;} */
 li{padding: 0; margin: 0;list-style-type: none;}




  /* FOOTER */

  .footer{display: grid;
  grid-template-columns: repeat(3,1fr);
padding: 20px;
z-index: 1;}

footer{z-index: 1;}

span > * {padding-left: 20px;}

footer li{list-style-type: none; margin: 0;padding: 0 0 0 10px !important;font-size: 20px;}
footer ul{list-style: none; padding: 0; margin: 0;}

.footerCredit{background-color: black; text-align: center; padding: 5px;}
.reseaux li{display: inline-block; font-size: 28px !important; border-radius: 30px; border: 1px solid white; width: 40px; height: 40px; color: white !important;}

.reseaux li a:visited{color: white !important;}
.reseaux li:hover{background-color: white; color: var(--dark) !important;}
.reseaux li:hover a{color: var(--dark) !important;}

/* PRESTATION */

.background li{font-size: 20px;}



/* CONTACT */
.background{background-image: url('../src/background.jpg'); color: white;  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: local;}

.background2{background-image: url('../src/background2.jpg'); color: white;  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: local;}

  .contactResponsive{padding: 20px;}

.contact{padding:20px;background-color: var(--dark); margin: 20px 100px 20px 100px; border-radius: 30px; box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.351); word-wrap: break-word; z-index: 2;}

/* MODAL DEVIS */

.modal{background-color: var(--dark); 
  text-align: center; 
  padding: 30px;
  border-radius: 30px; 
  color: white !important; 
  opacity: 0;
   position: fixed;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 50%;
   max-width: 600px;
   height: 80%;
   max-height: 700px;
   overflow: auto; /* Ajoute une barre de défilement automatique si nécessaire */
  z-index: 999;
   box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.351);
   display: none;
  }

.modal button{color: white !important;}
form > *{margin-top: 5px;}
.modal .close{font-size: 38px; float: right;}
.modal i:hover{color: var(--red);}
.modal input, .modal textarea{padding: 10px; font-size: 16px; margin-bottom: 10px;}
.modal textarea{font-family: Arial, Helvetica, sans-serif; font-size: 16px;}

    /* MEDIA QUERIES */

    
    @media screen and (max-width:950px) {
      .contactResponsive{display: inline;text-align: center;}
      .contactResponsive hr{margin: auto !important;}
      .contactResponsive h2{margin: 20px 0 10px 0;}

    }
    

    @media screen and (max-width:900px) {

      .modal{width: 100vw; height: 100vh; max-width: auto; max-height: auto;}
  


  }

  @media screen and (max-width:700px) {

    .contact{ margin: 20px 30px 20px 30px;}
    .footer{display: inline; text-align: center;}
    .footer hr{margin: auto !important;}
    .footer h2{margin: 20px 0 10px 0;}
    .footer li:first-child{margin-top: 20px;}

    .reseaux li{border: none; padding: 10px;}
    section#home{padding: 20px;}

}

@media screen and (max-width:750px){
  /*
  .bande{display:inline; font-size: 10px; width: 100vw;}
  .bandeH2{position: absolute; right: 0; left: 0; background-color: var(--dark); width: 100vw;}
  .bandeH2:first-child{top:20px; left: 0;}

  nav:not(.bande){margin-top: 20px;}
  */
  .bande{display: none;}

}



@media screen and (max-width:880px) {

nav li{font-size: 16px !important; padding: 5px !important;}
nav button{position: fixed; bottom: 50px; right: 30px; z-index: 100; background-color: var(--dark); color: white; z-index: 110;}

}

@media screen and (max-width:500px) {

 .container{display: inline;}
  .containerPic{margin: 50px 20px 50px 20px;}



  
  }