/* GLOBAL */
::-moz-selection {
  /* Code for Firefox */
  color: black;
  background: #1c69dbba;
}

::selection {
  color: black;
  background: #1c69dbba;
}

h4 {
  color: #eee;
}

.color-primary {
  color: #eee;
}

#section-secondary {
  background-color: red;
}

.bg-second {
  background-color: #eee;
}

.highlight {
  font-weight: 700;
  color: #eee;
}

.custom-btn {
  background-color: #e71736;
  border-radius: 30px;
  color: #000;
}

.custom-btn:hover {
  background-color: #e71736;
  color: #fff;
}

/* Footer */
footer {
  background-color: #363636;
  /* background: rgb(255, 255, 255);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 14%,
    rgba(134, 196, 243, 1) 100%
  ); */
}

footer a {
  color: #eee;
}

footer #submitBtn {
  background-color: #eee;
  border: none;
}

/* Template each page hero */
.hero {
  /* background-image: url("../img/pages/couverture/hero.jpg"); */
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;

  height: 100vh;
  text-align: center;
}

.hero h1 {
  color: #cfcfd0;
  text-transform: uppercase;
  /* font-size: 4rem; */
  font-weight: 500;

  font-family: "Playfair Display", serif;

  /* word-spacing: 1rem; */
  letter-spacing: 0.2rem;
}

.hero h1 .sub1 {
  text-transform: none;
}

.hero h1 .sub2 {
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
}

.hero .panel {
  position: absolute;

  left: 50%;
  top: 60%;
  transform: translate(-50%, -60%);

  /* margin-top: 100px; */
  background-color: rgba(50, 50, 50, 0.5);
  padding: 40px 50px;
}

.hero .panel p {
  font-size: 2.8rem;
  color: white;
  font-weight: 700;
}

.hero-page {
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-page h2 {
  font-size: 1.4rem;
}

.hero-page.hero-spacing {
  margin-top: 100px;
}

#hero-couverture {
  background-image: url("../img/pages/couverture/hero.jpg");
}

#hero-demoussage {
  background-image: url("../img/pages/demoussage/hero.jpg");
}

#hero-demoussage .panel {
  background-color: rgba(190, 190, 190, 0.5);
}

#hero-isolation {
  background-image: url("../img/pages/isolation/hero.jpg");
}

#hero-isolation .panel {
  width: 80%;
}

#hero-zinguerie {
  background-image: url("../img/pages/zinguerie/hero.jpg");
}

#hero-zinguerie .panel {
  background-color: transparent;
}

#hero-velux {
  background-image: url("../img/pages/velux/hero.jpg");
}

#hero-velux .panel {
  /* background-color: transparent; */
  /* width: 60%; */
}

/* Header */
#header {
  z-index: 999;
}

/*************** 
    HOME PAGE  - ACTIVITEES
****************/

#test1 {
  background-image: url("../img/pages/home/box-1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

#home-service-container {
  width: 98%;
  margin: 0 auto;
}

#home-service-list {
}

#home-service-list .home-service-item {
  position: relative;

  height: 350px;
}

#home-service-list .home-service-item .home-sub {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
}

#home-service-list .home-service-item:hover {
  cursor: pointer;
}

#home-service-list .home-service-item:hover p {
  display: block;
}

#home-service-list .home-service-item:hover .overlay_service {
  background-color: rgba(189, 191, 190, 0.6);
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

#home-service-list .home-service-item #box1 {
  background-image: url("../img/pages/home/box-1.jpg");
}
#home-service-list .home-service-item #box2 {
  background-image: url("../img/pages/home/box-2.jpg");
}
#home-service-list .home-service-item #box3 {
  background-image: url("../img/pages/home/box-3.jpg");
}
#home-service-list .home-service-item #box4 {
  background-image: url("../img/pages/home/box-4.jpg");
}
#home-service-list .home-service-item #box5 {
  background-image: url("../img/pages/home/box-5.jpg");
}
#home-service-list .home-service-item #box6 {
  background-image: url("../img/pages/home/box-6.jpg");
}
#home-service-list .home-service-item #box7 {
  background-image: url("../img/pages/home/box-7.jpg");
}

#home-service-list .home-service-item h3 {
  font-size: 1.5rem;
  position: absolute;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 4px 5px 3px rgba(0, 0, 0, 0.8);
}

#home-service-list .home-service-item a.btn {
  position: absolute;
  bottom: 20px;
  right: 20px;

  background-color: #dddddf;
  color: black;
  font-weight: 300;
  text-transform: uppercase;
}

#home-service-list .home-service-item p {
  display: none;

  width: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  color: #fff;
}

/*************** 
    HOME PAGE 
****************/

#hero-home {
  position: relative;
  width: 100%;
  background-image: url("../img/pages/home/hero.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  height: 80vh;
  margin-top: 100px;
}

#hero-home #video-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#hero-home video {
  width: 100% !important;
  height: auto !important;
}

#hero-home .hero-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#hero-home .hero-content h1 {
  color: #fff;
}

#hero-mobile {
  height: 100vh;
  background-image: url("../images/slider/slider1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left;
}

#hero-mobile #hero-content {
  width: 90%;
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translate(-50%, 5%);
  background-color: rgba(17, 163, 215, 0.7);
  z-index: 990;
  padding: 15px 20px;
}

#hero-mobile #hero-content h1 {
  /* font-size: 2rem; */
  font-size: 1.8rem;
}

#hero-mobile #hero-content h2 {
  font-size: 2rem;
  /* font-size: 2.5rem; */
  margin-bottom: 20px;
}

/* slider */

#slider-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(17, 163, 215, 0.7);
  z-index: 998;
  padding: 15px 20px;
}

#slider-content h1 {
  font-size: 2rem;
}

#slider-content h2 {
  font-size: 4rem;
  margin-bottom: 20px;
}

/* Canva-Prestation */
#section-prestation {
  background: rgb(124, 118, 118);
  background: linear-gradient(
    150deg,
    rgba(124, 118, 118, 1) 35%,
    rgba(33, 31, 31, 1) 100%
  );
}

#section-prestation h2 {
  color: #c0c578;
  text-transform: uppercase;
}

#canva-prestation {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  /* align-items: flex-start; */
  align-items: stretch;
}

#canva-prestation .presta-item {
  background-color: rgba(255, 255, 255, 0.1);
  width: 90%;
  margin-bottom: 10px;

  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}

#canva-prestation .presta-item img {
  margin-bottom: 10px;
}

#canva-prestation .presta-item h4 {
  font-size: 1.5rem;
  text-transform: uppercase;
}

#canva-prestation .presta-item p {
  color: white;
  font-weight: 600;
}

#canva-prestation .presta-item .btn {
  cursor: pointer;
  background-color: #d61919;
  color: rgb(61, 56, 56);
  border-radius: 15px;
}

/* Canva Zone Intervention */

#section-zone-intervention {
  background-color: #dddddf;
  background: url("../images/canva/zone_intervention/img01.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
}

#canva-intervention {
  /* background-color: rgba(255, 255, 255, 0.1); */
}

#canva-intervention h3 {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
}

#canva-intervention img {
  width: 100%;
}

#canva-intervention p {
  color: black;
  font-size: 1.5rem;
  font-weight: 700;
}

#canva-intervention .btn {
  cursor: pointer;
  background-color: #d61919;
  color: white;
  border-radius: 15px;
  font-size: 1.2rem;
}

/* Devis Gratuit */
#section-devis-gratuit {
  background: rgb(128, 133, 134);
  background: linear-gradient(
    90deg,
    rgba(128, 133, 134, 1) 26%,
    rgba(206, 208, 209, 1) 100%
  );

  position: relative;
}

#canva-devis-gratuit {
  padding: 0px 20px;
  position: relative;
  z-index: 998;
  width: 100%;
}

#canva-devis-gratuit p {
  font-size: 2rem;
  color: black;
  margin-bottom: 40px;
  width: fit-content;
  line-height: 3rem;
  font-weight: 300;
}

#canva-devis-gratuit p.small {
  font-size: 1.5rem;
  color: black;
  line-height: normal;
}

#canva-devis-gratuit .btn {
  border-radius: 15px;
  border: 1px solid white;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  color: black;
}

#canva-devis-gratuit .btn:hover {
  background-color: white;
}

#section-devis-gratuit img {
  position: absolute;
  bottom: 5%;
  right: 5%;
  width: 40%;
  z-index: 1;
}

#canva-devis-contact {
  display: none;
}

/* Services */
#section-services {
  background: #eee;
  background: linear-gradient(
    153deg,
    rgba(217, 223, 223, 1) 0%,
    rgba(255, 255, 255, 1) 81%
  );
}

#canva-services {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  /* align-items: flex-start; */
  align-items: stretch;
}

#canva-services a {
  width: 90%;
}

#canva-services .service-item {
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;

  width: 100%;
  height: 200px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  /* align-items: center; */
  padding: 0 20px;

  -webkit-box-shadow: 10px 12px 15px -1px rgba(0, 0, 0, 0.69);
  box-shadow: 10px 12px 15px -1px rgba(0, 0, 0, 0.69);
}

#canva-services .service-item#service1 {
  background: url("../img/canva/services/img01.jpg");
}

#canva-services .service-item#service2 {
  background: url("../img/canva/services/img02.jpg");
}

#canva-services .service-item#service3 {
  background: url("../img/canva/services/img03.jpg");
}

#canva-services .service-item#service4 {
  background: url("../img/canva/services/img04.jpg");
}

#canva-services .service-item h5 {
  font-weight: 700;
  color: white;
}

#canva-services .service-item p {
  font-weight: 400;
  color: white;
}

#canva-services .service-item:hover h5 {
  color: black;
}

/* Google Review */
#google-review .btn:hover {
  color: white;
}

/* Canva0 */
#section-couvreurs-equipe {
  background: rgb(217, 223, 223);
  background: linear-gradient(
    153deg,
    rgba(217, 223, 223, 1) 0%,
    rgba(255, 255, 255, 1) 81%
  );
}

#section-couvreurs-equipe .subtag {
  color: #e71736;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.3rem;
}

#section-couvreurs-equipe h3 {
  margin-bottom: 30px;
}

#section-couvreurs-equipe ul li {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

#section-couvreurs-equipe .btn {
  margin-top: 15px;
  background-color: #e71736;
  border-radius: 30px;
  color: #000;
}

#section-couvreurs-equipe .btn:hover {
  color: white;
}

/* Canva02 */
#section-isolation-combles {
  margin-top: 100px;
  background: rgb(217, 223, 223);
  background: linear-gradient(
    153deg,
    rgba(217, 223, 223, 1) 0%,
    rgba(255, 255, 255, 1) 81%
  );
}

#section-isolation-combles .subtag {
  text-transform: uppercase;
  font-weight: 100;
  font-size: 1.3rem;
}

#section-isolation-combles p {
  font-weight: 600;
  font-size: 1.1rem;
}

#section-isolation-combles h3 {
  margin-bottom: 30px;
}

#section-isolation-combles ul li {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

#section-isolation-combles .btn {
  margin-top: 15px;
  background-color: #e71736;
  border-radius: 30px;
  color: #000;
}

#section-isolation-combles .btn:hover {
  color: white;
}

/* Canva03 */

.section-entretien-zinguerie {
  background: rgb(144, 152, 152) !important;
  background: linear-gradient(
    163deg,
    rgba(144, 152, 152, 1) 27%,
    rgba(255, 255, 255, 1) 81%
  ) !important;
}

.section-entretien-zinguerie h1 {
  font-size: 4rem;
  font-weight: 600;
  color: white;
  width: 90%;
}

.section-entretien-zinguerie p {
  color: white;
}

#section-toiture-nettoyage {
  background: url("../images/pages/toiture/hero-content.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#section-toiture-nettoyage .content {
  background-color: rgba(50, 50, 50, 0.5);
  width: 90%;
  padding: 20px 30px;
}

#section-toiture-nettoyage .content h4 {
  font-size: 2rem;
  font-weight: 700;
}

#section-toiture-nettoyage .content p {
  font-size: 1.2rem;
}

/* Entretien / Demoussage */
#hero-toiture {
  background: url("../images/pages/toiture/hero.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

/* HOME PAGE LOGO HERO */
#slider-logo {
  position: absolute;
  z-index: 990;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  margin-top: 90px;
}

#slider-logo img {
  /* width: 25%; */
  width: 50%;
}

/*************** 
    MEDIA QUERIES
****************/

/* Above : phone landscape & iPad portrait */
@media all and (min-width: 480px) {
  #hero-mobile #hero-content {
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  #hero-mobile #hero-content h1 {
    font-size: 2.5rem;
  }

  #hero-mobile #hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
  }

  #canva-prestation .presta-item {
    width: 40%;
    margin: 0px 5px;
    margin-bottom: 10px;
  }

  #section-devis-gratuit img {
    width: 30%;
    right: 10%;
  }

  #canva-devis-gratuit {
    width: 50%;
    left: 10%;
  }

  #section-devis-gratuit img {
    bottom: auto;
    top: 40%;
    left: 90%;
    width: 30%;
    z-index: 1;
    transform: translate(-90%, -40%);
  }

  #canva-services a {
    width: 45%;
  }
}

/* Laptop and + iPads */
@media all and (min-width: 900px) {
  #slider-content h1 {
    font-size: 2rem;
  }

  #slider-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
  }

  #home-slider {
    display: block;
  }

  #hero-mobile {
    display: none;
  }

  #section-prestation .container {
    max-width: 95%;
  }

  #canva-prestation .presta-item {
    width: 23%;
    margin: 0px 5px;
    margin-bottom: 10px;
    padding: 30px 20px;
  }

  #section-zone-intervention {
    background-position: center;
  }

  #canva-intervention img {
    width: 70%;
  }

  /* #canva-devis-gratuit {
    width: 90%;
    margin: 0 auto;
  } */

  /* #section-devis-gratuit img {
    width: 30%;
  } */

  #canva-services .service-item {
    height: 300px;
  }

  #canva-services .service-item h5 {
    font-size: 2rem;
  }

  #canva-services .service-item p {
    font-size: 1.5rem;
  }

  #slider-logo img {
    width: 30%;
  }

  #slider-content {
    width: 80%;
    top: 70%;
  }
}

/* Mobile paysage */
@media all and (max-width: 900px) and (orientation: landscape) {
  #hero-mobile #hero-content h1 {
    font-size: 1.5rem;
  }

  #hero-mobile #hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  #slider-logo {
    display: none;
  }
}

/* Bigger Screen */
@media all and (min-width: 1181px) {
  #hero-isolation .panel {
    width: 55%;
  }

  #canva-prestation .presta-item {
    padding: 30px 30px;
  }

  #canva-intervention img {
    width: 45%;
  }

  #canva-intervention p {
    margin-bottom: 30px;
  }

  #canva-devis-gratuit {
    padding: 20px 30px;
    width: 45%;
    left: 10%;
  }

  #section-devis-gratuit img {
    top: 30%;
    left: 90%;
    width: 25%;
    z-index: 1;
    transform: translate(-90%, -30%);
  }

  /* 

#canva-devis-gratuit {
  padding: 20px 30px;
  position: relative;
  z-index: 998;
  width: 30%;
  left: 20%;
}

#canva-devis-gratuit p {
  font-size: 2rem;
  color: black;
  margin-bottom: 40px;
  width: fit-content;
  line-height: 3rem;
  font-weight: 300;
} 

#canva-devis-gratuit p.small {
  font-size: 2rem;
  color: black;
  line-height: normal;
}

#section-devis-gratuit img {
  position: absolute;
  top: 50%;
  left: 80%;
  width: 20%;
  z-index: 1;
  transform: translate(-80%, -50%);
}

*/

  #canva-devis-gratuit p {
    font-size: 3rem;
  }

  #canva-services a {
    width: 25%;
  }

  #canva-services .service-item p {
    font-size: 1rem;
  }

  #canva-services .service-item {
    /* height: 250px; */
    background-size: auto;
  }

  #slider-content h1 {
    font-size: 2.5rem;
  }

  #slider-content h2 {
    font-size: 4rem;
    margin-bottom: 20px;
  }

  #slider-content {
    padding: 30px 35px;
  }

  /* #slider-content {
    width: 60%;
    top: 50%;
  } */

  #slider-logo {
    margin-top: 100px;
  }

  #slider-logo img {
    width: 25%;
  }

  #section-toiture-nettoyage .content {
    background-color: rgba(50, 50, 50, 0.5);
    width: 60%;
    padding: 20px 30px;
  }

  #section-toiture-nettoyage .content h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
  }

  #section-toiture-nettoyage .content p {
    font-size: 1.1rem;
  }
}

@media only screen and (min-width: 1824px) {
  .hero h1 {
    font-size: 4rem;
  }

  #section-prestation .container {
    max-width: 80%;
  }

  #slider-content {
    width: 60%;
    top: 50%;
  }

  #canva-devis-gratuit {
    padding: 20px 30px;
    width: 30%;
    left: 20%;
  }

  #section-devis-gratuit img {
    top: 30%;
    left: 80%;
    width: 15%;
    z-index: 1;
    transform: translate(-80%, -30%);
  }

  #canva-devis-contact {
    display: flex;
    width: 28%;
    position: absolute;
    left: 90%;
    top: 80%;
    transform: translate(-90%, -80%);
  }

  #canva-devis-contact p {
    margin: 0;
  }
}
