 html, body {
  overflow-x: hidden;
  margin: 0px;
}

.bgNav {
  background-color: rgba(0, 0, 0, 0.8); 
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

section {
  padding-top: 50px;
  position: relative;
  z-index: 1;
}

.sliderOne {
  background-image: url(plan2.jpg); 
  background-size: cover;
  height: 400px;
}
.overlay {
   background-color: rgba(43, 44, 35, 0.8); 
  height: 100%;
}
a, p, .textDescription{
  font-family: "Fredoka", serif;
 font-size: 25px;
 text-align: center;
}

 .titleWeb {
  font-size: 58px;
  line-height: 0.8;
  font-family: "Fredoka", serif;
  font-weight: 500;

}
h2{
  font-family: "Fredoka", serif;
}

.headings{
  font-family: "Fredoka", serif;
   font-size:50px ;
   font-weight: 500;
   color: rgb(0, 0, 0, 0.8);
}


.theEndDescription{
  font-family: "Fredoka", serif;
  font-size:15px ;
}

.navStyle {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 18px;
  margin-right: 30px;
  font-family: "Fredoka", serif;
}

.navStyle:hover {
  color: #fe9100;
  font-size: 600;
}

.btnContactezmoi{
background-color: #3a72d8;
color: white;
font-size: 20px;
text-decoration: none;
padding: 10px;
font-family: "Fredoka", serif;
font-weight: 500;
border: 1px solid black;


}

.btnContactezmoi:hover{
  background-color: #bf1533 !important;
  transition: 2.5s;
  cursor: pointer;

}

.navStyleEnd:hover {
  color:#fe9100;
} 

.intro {
  padding-top: 80px;

}
.dincolor{
  width: 500px;
}

.colorAbout {
  background-color: #FF9800; 
}

 .gridAbout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  position: relative;
}

.gridFirst {
  grid-column: 1 / span 11;
  grid-row: 1;
  padding-top: 10%;
  z-index: 1;
}

.gridSecond {
  grid-column: 2 / -1;
  grid-row: 1;
} 

.granny {
 width: 400px;
}

.btn {
  border-radius: 0px !important;
}

.images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  overflow: auto;
  white-space: nowrap;

}
.card{
  display:block;
  text-align:center;
  position:relative;
 
  margin: 10px;
}
.cardDescription{
  font-family: "Fredoka", serif;
  font-size: 12px;
  text-align: center;
  padding: 15px;
}
.card img{
  width: 230px;
  height: 300px;
  box-shadow: 1px 2px 4px 4px  rgba(8, 8, 8, 0.5);
}

.card .text{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity:0; 
  position:absolute;
  left:50%;
  transform:translate(-50%, 0); 
  transition: 0.5s;
  width:100%;
  height:100%;
   background-color:rgba(0, 0, 0, 0.9);
  color:#fff;

}

.card:hover .text{
  opacity:8;
} 

.titleCard {
  margin-bottom: 0px;
  margin-top: 15px;
  font-size: 20px;
  color: white;
  padding: 5px;
}

.btnCard {
  background-color: transparent;
  border: none;
  font-size: 17px;
  font-family: "Fredoka", serif;
  font-weight: 300;
  padding: 15px;
  color: white;
  border: 1px solid white;
  margin-bottom: 30px;
}

.btnCard:hover{
  background-color:  #fe9100;
  color: black;
  transition: 1.5s;
  cursor: pointer;
  border-style: none;
  font-weight: 500;
}

.btnImg {
  color: black;
}


.containerFooter {
  color: white;

}
.link{
  display: flex;
  align-items: center;
}


.btnSend {
  background-color:#fe9100 !important;
  color: white !important;
}

.btnSend:hover {
  background-color: #bf1533 !important;
  transition: 2.5s;
  cursor: pointer;
}


@media all and (max-width: 820px) {
  .granny {
  width: 250px !important;
  height: 250px !important;
 } 
 a, p{
  font-size: 17px;

 }
 .headings{
  font-size: 40px;
 }

}


@media all and (max-width: 500px) {

  .navStyle {
    font-size: 15px;
  }

  .dincolor{
width: 300px;
  }
  .headings{
    font-size: 25px;
   }
   .granny {
    width: 150px !important;
    height: 150px !important;
    align-self: center;
    margin-bottom: 10px;;
   } 

   a, p{
    font-size: 12px;
  
   }
  .gridSecond {
      grid-column: 2 / -1;
  }
.titleWeb{
  font-size: 30px;
}

.gridFirst{
flex-direction: column;
justify-content: center;
padding: 5%;
grid-column: 1 / span 12;
grid-column: 2 / span 15;

}
.textDescription{
align-self: center;
  font-size: 15px;
}



}