*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/*-- NAVBAR--*/
/* media ordinateur */
@media screen and (min-width:992px){
  .navbar img{
    width: 270px;
    margin: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
   }
   .navbar{
    background-color: #1A1E23;
    display: flex;
    justify-content: space-between;
    align-items: center;
   
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.71);
   }
   .navbar a{
    font-size: 18px;
  }
  li {
    display: inline-block;
    margin: 0 20px;
  }
  .nav-menu{
    display: none;
  }
  .uldroite{
    margin-right: 30px ;
  }
}

/* media tablette */
@media screen and (min-width:767px) and (max-width:991px){
  .navbar img{
    width: 200px;
    margin: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
   }
  .navbar{
  background-color: #1A1E23;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.71);
  }
   .navbar a{
    font-size: 14px;
  }
  li {
    display: inline-block;
    margin: 0 8px;
  }
  .nav-menu{
    display: none;
  }
  .uldroite{
    margin-right: 20px;
  }
}

/* media mobile */
@media screen and (max-width:767px){
/*  css img  */
.navbar img{
  width: 300px;
  margin: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  }

/*  oblig barr  */
.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #ffffff;
  margin-left: 30px;
}

/*  navbar css  */
.navbar{
background-color: #1A1E23;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 10px rgba(255, 255, 255, 0.71);
}

li {
  list-style: none;
}

.ulgauche{
  display: none;
}
.uldroite{
  display: none;
}

/*  css interieur  */
.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-menu {
  top: 5.5rem;
}
.nav-item {
  margin: 0.1rem 0;
}

/*  css bar  */
.menu {
  
  display: block;
  cursor: pointer;
}

/*  obligatoire animation ouverture  */
.nav-menu {
  position: fixed;
  left: -100%;
  flex-direction: column;
  background-color: #1A1E23;
  width: 100%;
  text-align: center;
  transition: 0.6s;
  box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
}
.nav-menu.active {
  left: 0;
}


/*  animation bar  */
.menu.active .bar:nth-child(2) {
  opacity: 0;
}
.menu.active .bar:nth-child(1) {
  -webkit-transform: translateY(8px) rotate(45deg);
  transform: translateY(8px) rotate(45deg);
}
.menu.active .bar:nth-child(3) {
  -webkit-transform: translateY(-8px) rotate(-45deg);
  transform: translateY(-8px) rotate(-45deg);
}

.navbar a{
  font-size: 30px;
}
}

@media screen and (max-width:500px){
.navbar img{
  width: 200px;
  }
  .nav-menu {
    top: 4.1rem;
  }
}

/* animation texte navbar */
.navbar a{
  position: relative;
  text-decoration: none;
  color: white;
  font-family: 'Arial';
  font-style: normal;
  padding-top: 25px;
  padding-bottom: 5px;
}

.navbar a:hover{
  color: #FFB600;
}
nav a:hover::after {
  width: 90%;
}

nav a::after {
  content: "";
  display: block;

  width: 0px;
  height: 2px;

  margin: 0 auto 0 auto;
  
  border-radius: 2px;
  
  background: #FFB600;
  transition: width 0.5s ease-out;
}
/*-- NAVBAR--*/

/*-- ANIMATION --*/
.animation{
  background-image: url('../img/maison.png');
  animation: slide 50s infinite;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  height: 100vh;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  margin-bottom: 0px;
  z-index: -2 !important;
}
@keyframes slide {
  25%{
    background: url('../img/2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
  }
  50%{
    background: url('../img/3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
  }
  75%{
    background: url('../img/4.jpg');
    background-repeat: no-repeat;
    background-size: cover;
  }
  100%{
    background: url('../img/5.jpg');
    background-repeat: no-repeat;
    background-size: cover;
  }
}
.animation::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0,0,0,0.5);
  z-index: -1;
}
.animation h1{
  font-size: 76px;
  margin: -10px 0 20px;
}
.animation p{
  font-size: 30px;
  letter-spacing: 1px;
}

@media screen and (max-width:767px){
  .animation h1{
    font-size: 46px;
    margin: -10px 0 20px;
  }
  .animation p{
    font-size: 20px;
    letter-spacing: 1px;
  }
  }
/*-- ANIMATION --*/

/*-- QUI SOMMES NOUS ? --*/
.quisommesnous{
  background-color: #1A1E23;
  padding-top:90px;
  padding-bottom:90px;
  padding-right: 40px;
  padding-left: 40px;
}
.quisommesnous p{
  color: white;
  line-height: 30px;
  letter-spacing: 1.2px;
}
.quisommesnous h1{
  color: white;
}
@media screen and (max-width:767px){
.quisommesnous h1{
  font-size: 40px;
  margin-bottom: 50px;
}
.quisommesnous img{
  width: 85px;
}
}
@media screen and (min-width:767px){
.quisommesnous h1{
  font-size: 60px;
  margin-bottom: 50px;
}
.quisommesnous img{
  width: 200px;

}
}  
@media screen and (max-width:500px){
  .quisommesnous h1{
    font-size: 28px;
    margin-bottom: 40px;
  }
  .quisommesnous img{
    width: 65px;
  }
  .quisommesnous{
    background-color: #1A1E23;
    padding-top:50px;
    padding-bottom:50px;
    padding-right: 30px;
    padding-left: 30px;
  }
}

.row text-center padding{
  margin:100px;
  padding:100px;
}
/* faire tourner img */
.quisommesnous img{
  animation: rotation 3s linear infinite;
  float:right;
}
@keyframes rotation {
from {
  transform: rotate(0deg);
}
to {
  transform: rotate(360deg);
}
}
/*-- QUI SOMMES NOUS ? --*/

/*-- POURQUOI NOUS CHOSIR ? --*/
.pkchoix{
  background-color: white;
  padding:30px;
}
.pkchoix p{
  color: #747374;
  line-height: 30px;
  letter-spacing: 1.2px;
}

.pkchoix .num{
  color: #747374;
  margin-right: 10px;
  text-decoration: none;
}
.pkchoix h1{
  color: black;
  margin-bottom: 100px;
}


@media screen and (max-width:767px){
  #bonprix{
    margin-bottom: 20px;
  }
  .pkchoix h1{
    font-size: 40px;
    margin-bottom: 50px;
  }
}

/* border */
@media screen and (min-width:767px){
.pkchoix{
  padding:100px;
}
.pkchoix h3{
margin-left: 15px;
}
.pkchoix h1{
  font-size: 60px;
}
.pkchoix p{
  color: #747374;
  line-height: 30px;
  letter-spacing: 1.2px;
  margin-right: 40px;
}

#bonprix{
  border-style: solid;
  border-top-style: none;
  border-left-style: none;
  border-color: #CFCFCF;
  border-width: 0.1px;
}
#bonprix p{
  padding-bottom: 20px;
  padding-right: 20px;
  margin-left: 63px;
}

#consultation{
  border-style: solid;
  border-top-style: none;
  border-right-style: none;
  border-color: #CFCFCF;
  border-width: 0.1px;
}
#consultation p{
  padding-bottom: 20px;
  margin-left: 88px;
}
#consultation h3{
  padding-left: 20px;
}

#design{
  border-style: solid;
  border-bottom-style: none;
  border-left-style: none;
  border-color: #CFCFCF;
  border-width: 0.1px;
}
#design h3{
  padding-top: 20px;
}
#design p{
  padding-right: 20px;
  margin-left: 63px;
}

#qualite{
  border-style: solid;
  border-bottom-style: none;
  border-right-style: none;
  border-color: #CFCFCF;
  border-width: 0.1px;
}
#qualite h3{
  padding-top: 20px;
  padding-left: 20px;
}
#qualite p{
  margin-left: 88px;
}
}
/*-- POURQUOI NOUS CHOSIR ? --*/

/*-- NOS REALISATIONS --*/
.realisation{
  background-color: #E5E5E5;
  padding:20px;
}
.realisation h1{
  margin-bottom: 40px;
  padding-top: 40px;
}
@media screen and (max-width:767px){
  .realisation h1{
    font-size: 40px;
  }
}
@media screen and (min-width:767px){
.realisation h1{
    font-size: 60px;
}}

@media screen and (min-width:1024px){
.slider{
  width: 70%;
  padding-top:15px;
  padding-bottom:60px;
  margin-left: auto;
  margin-right: auto;
}
}
@media screen and (min-width:768px)and (max-width:1023px){
.slider{
  width: 80%;
  padding-top:15px;
  padding-bottom:60px;
  margin-left: auto;
  margin-right: auto;
}
}
@media screen and (max-width:767px){
.slider{
  width: 90%;
  padding-top:15px;
  padding-bottom:60px;
  margin-left: auto;
  margin-right: auto;
}
.owl-2-style .owl-nav {
  display: none;
}

}
/*-- NOS REALISATIONS --*/

/*-- SAVOIR FAIRE --*/
.sectioncard{
  padding-bottom: 30px;
  padding-top: 30px;
  background-color: white;
}
.sectioncard h1{
  color: rgb(0, 0, 0);
  line-height: 20px;
  letter-spacing: 1.2px;
  margin-bottom: 40px;
  padding-top: 40px;
}

@media screen and (max-width:767px){
  .sectioncard h1{
    font-size: 40px;
    margin-left: 10px;
    line-height: normal;

  }
}
@media screen and (min-width:767px){
  .sectioncard h1{
    font-size: 60px;
    margin-left: 100px;
}}

@import url("https://fonts.googleapis.com/css?family=Cardo:400i|Rubik:400,700&display=swap");
:root {
  --d: 700ms;
  --e: cubic-bezier(0.19, 1, 0.22, 1);
  --font-sans: "Rubik", sans-serif;
  --font-serif: "Cardo", serif;
}

.page-content {
  display: grid;
  grid-gap: 1rem;
  padding: 1rem;
  max-width: 1024px;
  margin: 0 auto;
  font-family: var(--font-sans);
  
}
@media (min-width: 600px) {
  .page-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 800px) {
  .page-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 1rem;
  width: 100%;
  text-align: center;
  color: whitesmoke;
  background-color: whitesmoke;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.1), 0 4px 4px rgba(0, 0, 0, 0.1), 0 8px 8px rgba(0, 0, 0, 0.1), 0 16px 16px rgba(0, 0, 0, 0.1);
}
@media (min-width: 600px) {
  .card {
    height: 350px;
  }
}
.card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-size: cover;
  background-position: 0 0;
  transition: transform calc(var(--d) * 1.5) var(--e);
  pointer-events: none;
}
.card:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.009) 11.7%, rgba(0, 0, 0, 0.034) 22.1%, rgba(0, 0, 0, 0.072) 31.2%, rgba(0, 0, 0, 0.123) 39.4%, rgba(0, 0, 0, 0.182) 46.6%, rgba(0, 0, 0, 0.249) 53.1%, rgba(0, 0, 0, 0.32) 58.9%, rgba(0, 0, 0, 0.394) 64.3%, rgba(0, 0, 0, 0.468) 69.3%, rgba(0, 0, 0, 0.54) 74.1%, rgba(0, 0, 0, 0.607) 78.8%, rgba(0, 0, 0, 0.668) 83.6%, rgba(0, 0, 0, 0.721) 88.7%, rgba(0, 0, 0, 0.762) 94.1%, rgba(0, 0, 0, 0.79) 100%);
  transform: translateY(-50%);
  transition: transform calc(var(--d) * 2) var(--e);
}
.card:nth-child(1):before {
  background-image: url("../img/construction.jpg");
}
.card:nth-child(2):before {
  background-image: url("../img/renovation.jpg");
}
.card:nth-child(3):before {
  background-image: url("../img/isolation.jpg");
}
.card:nth-child(4):before {
  background-image: url("../img/terrasse.jpg");
}

.content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 1rem;
  transition: transform var(--d) var(--e);
  z-index: 1;
}
.content > * + * {
  margin-top: 1rem;
}

.title {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.2;
}

.copy {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: normal;
  line-height: 1.35;
}


@media (hover: hover) and (min-width: 600px) {
  .card:after {
    transform: translateY(0);
  }

  .content {
    transform: translateY(calc(100% - 4.5rem));
  }
  .content > *:not(.title) {
    opacity: 0;
    transform: translateY(1rem);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e);
  }

  .card:hover,
.card:focus-within {
    align-items: center;
  }
  .card:hover:before,
.card:focus-within:before {
    transform: translateY(-4%);
  }
  .card:hover:after,
.card:focus-within:after {
    transform: translateY(-50%);
  }
  .card:hover .content,
.card:focus-within .content {
    transform: translateY(0);
  }
  .card:hover .content > *:not(.title),
.card:focus-within .content > *:not(.title) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--d) / 8);
  }

  .card:focus-within:before, .card:focus-within:after,
.card:focus-within .content,
.card:focus-within .content > *:not(.title) {
    transition-duration: 0s;
  }
}
/*-- SAVOIR FAIRE --*/

/*-- FAQ --*/
.faq{
  font-family: 'Open Sans', sans-serif;
  color: rgb(0, 0, 0);
  background-color: #FFB600;
  padding-top: 10px;
  padding-bottom: 100px;

}

.faq .title{
  font-size: 50px;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 40px;
  color: black;
}


.questions-container{
  max-width: 1000px;
  margin: 0 auto;
}

.question{
  border-bottom: 1px solid #000;
}
.question button{
  width: 100%;
  background-color: #FFB600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 15px;
  border:none;
  outline: none;
  font-size: 22px;
  color: #000;
  font-weight: 700;
  cursor: pointer;
}
.question p{
  font-size: 22px;
  max-height: 0;
  opacity: 0;
  line-height: 1.5;
  overflow: hidden;
  transition: all 0.6s ease;
}
.d-arrow{
  transition: transform 0.5s ease-in ;
  color: #000;
}

/*add this class when click*/
.question p.show{
  max-height: 200px; 
  opacity: 1;
  padding:0px 15px 30px 15px;
}
.question button .d-arrow.rotate{
  transform: rotate(180deg);
}
/*-- FAQ --*/

/*-- CONTACT --*/
.contacter{
  background-color: #1A1E23;
}
.contact{
  padding: 50px 15px;
  padding-bottom: 10px;
}
.contact .container{
  max-width: 900px;
  margin: 0px auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: #1A1E23;
  padding: 20px 10px;
  border-radius: 15px;
  box-sizing: border-box;
}
.contact h1{
  text-align: left;
  color: #FFF;
}

.contact .container div{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 600px;
}
.contact .container div input{
  width: 45%;
}

.contact .container div input:hover,
.contact .container div textarea:hover{
  border-bottom: 2px solid #FFB600;
  color:#FFB600;
}

.contact .container div input,
.contact .container div textarea{
  color: white;
  width: 100%;
  margin: 15px 0;
  padding: 10px;
  box-sizing: border-box;
  border: none;
  outline: none;
  border-bottom: 2px solid #e4e4ec;
  transition: 0.2s;
  background-color: #1A1E23;
}
.contact .container div input::placeholder ,
.contact .container div textarea::placeholder {
  color: white;
}
.contact .container div textarea{
  width: 100%;
  resize: none;
  height: 120px;
  margin-bottom: 35px;
}
.contact .container div button{
  width: 192px;
  height: 50px;
  border-radius: 15px;
  border: 2px solid #FFB600;
  background-color: #FFB600;
  color: #1A1E23;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  margin: 0 auto;
  margin-top: 35px;
  transition: 0.2s;
}
.contact .container div button:hover{
  transform: translateY(-5px);
  box-shadow: rgb(186, 181, 32) 0px 10px 40px 0px;
}
@media screen and (max-width:500px){
  .contact .container div{
    flex-direction: column;
    width: 95%;
  }
  .contact .container div input{
    width: 100%;
  }
}
.contact a{
  width: 100%;
  color: white;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.contact a .lien{
  width: 100%;
  color: rgb(89, 59, 59);

}
.contact p{
  width: 100%;
  color: white;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.bloc-img{
  padding-top: 170px;
  padding-left: 100px;
}
/*-- CONTACT --*/

/*-- FOOTER --*/
.footer{
  box-shadow: 0 2px 10px rgb(0,0,0,0.3);
  padding-top: 15px;
  background-color: #34383E;
}
.footer img{
  padding-bottom: 15px;
}
.footer p{
  width: 100%;
  color: #FFF;
  text-decoration: none;
  padding: 7px 15px;
  transition: all 0.3 ease-in-out;
  font-size: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer a{
  width: 100%;
  color: #FFF;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
  font-size: 8px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer a:hover{
	color: #6629D7;
	text-decoration: none;
  }
@media screen and (min-width:767px){
  .footer a,
  .footer p{
    font-size: 12px;
    
  }
}


/*-- FOOTER --*/


.media-29101 img {
  margin-bottom: 20px;
}
.owl-2-style .owl-nav {
  display: none;
}
