@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  color: #575756;
  list-style: none;
  vertical-align: baseline;
  scroll-padding-top: 4.1rem;
}

h1 {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 2rem;
}

h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

nav a {
  font-size: 1rem;
}

header p {
  color: #fbfbfb;
  margin: 1rem 0;
}

aside p {
  padding: 0.25rem 0;
  color: #fbfbfb;
  text-align: center;
}

.homePageContainer h2 {
  color: #004387;
}

/* .homePageContainer a {
  display: block;
  margin-top: .75rem;
} */

.gallery h2,
.gallery p {
  color: #fbfbfb;
  text-align: center;
}

.gallery p {
  margin-bottom: 1rem;
}

.secondaryPage h2 {
  color: #004387;
  font-size: 1.25rem;
}

.form h2,
.form p {
  text-align: center;
  color: #fbfbfb;
}

label {
  margin-bottom: 0.3rem;
  color: #fbfbfb;
}

.alert-success {
  color: #00b74a;
}

.alert-warning {
  color: #ffa900;
}

.alert-danger {
  color: #f93154;
}

footer a:hover,
.copyright a:hover {
  color: #668eb7;
}

footer h2,
footer address,
footer p,
footer a {
  color: #fbfbfb;
}

.copyright a,
.copyright p {
  font-size: 0.8rem;
}

.btn {
  display: inline-block;
  padding: 0 1rem;
  color: #fbfbfb;
  line-height: 2rem;
  border: none;
  border-radius: 0.3rem;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
  background-color: #004387;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

.btn:hover {
  color: #575756;
  background-color: #fbfbfb;
}

.btnPrimary {
  margin: 0 auto;
}

.btnPrimary:last-child {
  margin-left: 1.5rem;
}

.btnSecondary {
  margin: 1.2rem auto 0;
}

.btnPage {
  margin-top: 1.2rem;
}

#logo img {
  height: 2.5rem;
  vertical-align: bottom;
}

nav {
  padding: 0.4rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  border-bottom: 1px solid #004387;
  background-color: #fbfbfb;
  z-index: 2;
}

nav .desktop {
  padding: 0 0.8rem 0 2rem;
}

nav ul,
nav div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

nav div {
  padding: 0 0 0 1.5rem;
}

nav li a {
  top: 6rem;
  padding: 1.05rem 1.6rem;
  border-top: 1px solid #ecebeb;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

nav li a:hover,
nav li a.active {
  color: #fbfbfb;
  background-color: #004387;
}

.menu .submenu {
  display: none;
  position: absolute;
  top: 3.3rem;
  padding: 0;
  background: #668eb7;
}

.menu .submenu.active {
  display: block;
}

.menu .submenu li a {
  display: block;
  padding: 0 1.6rem;
  color: #fbfbfb;
  line-height: 2.5rem;
  border-top: 1px solid #002851;
}

.menu .submenu li a:hover {
  background-color: #575756;
}

.dropdown:hover #dropdownArrow {
  fill: #fbfbfb;
}

#dropdownArrow {
  margin-left: 10px;
  width: 12px;
  fill: #004387;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#dropdownArrow.active {
  fill: #fbfbfb;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.hamburger {
  display: none;
}

.hamburger.active div {
  background-color: #004387;
}

.hamburger.active div:nth-child(1) {
  -webkit-transform: translateY(8px) rotate(45deg);
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  -webkit-transform: translateY(-8px) rotate(-45deg);
  transform: translateY(-8px) rotate(-45deg);
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  border-radius: 20px;
  background-color: #575756;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

header {
  margin-top: 3.3rem;
  border-bottom: 1px solid #004387;
  background: url(../img/mur-ciment.jpg) no-repeat center;
  background-size: cover;
}

header .desktop {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0 2rem;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.headerImg img {
  display: block;
  margin: 1rem auto 0;
  max-height: 400px;
}

.headerContainer {
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
  text-align: center;
  margin: auto 0;
}

.headerContainer img {
  vertical-align: bottom;
  max-width: 350px;
}

aside {
  background-color: #004387;
}

aside .desktop {
  padding: 1rem 2rem;
}

.desktop {
  margin: 0 auto;
  padding: 0 2rem;
  max-width: 1280px;
}

.gallery,
.secondaryPage,
.form,
.footer {
  padding: 3rem 0;
}

.homePageRow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.homePageRow div {
  padding: 1rem;
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
  background-color: #fcfafa;
}

.homePageImg-1,
.homePageImg-2,
.homePageImg-3,
.homePageImg-4,
.homePageImg-5 {
  background-size: cover;
}

.homePageImg-1 {
  background: url(../img/drain-francais.jpg) no-repeat center;
}

.homePageImg-2 {
  background: url(../img/reparations-fissure-longueuil.jpg) no-repeat
    center;
}

.homePageImg-3 {
  background: url(../img/fissure-de-fondation-longueuil.jpg) no-repeat
    center;
}

.homePageImg-4 {
  background: url(../img/excavation-cheminees-acces-drain.jpg)
    no-repeat center;
}

.homePageImg-5 {
  background: url(../img/fondation-impermeabilisation.jpg) no-repeat
    center;
}

.gallery,
.form {
  background: url(../img/tuyaux-drains-francais.jpg) no-repeat center;
  background-size: cover;
}

.gallery .desktop {
  padding: 0;
  max-width: calc(1248px);
}

.galleryContainer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.galleryContainer > img {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  margin: 0.75rem;
  width: auto;
  height: auto;
  max-width: 400px;
  max-height: calc(400px / 2.3);
  -o-object-fit: cover;
  object-fit: cover;
  border: 1px solid #fbfbfb;
}

.secondaryPage .desktop {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.secondaryPage .desktop div {
  -ms-flex-preferred-size: calc((100% / 3) - 2rem);
  flex-basis: calc((100% / 3) - 2rem);
}

.secondaryPage .desktop div p {
  margin-bottom: 1rem;
}

.secondaryPage .desktop div p:last-child {
  margin-bottom: 0;
}

.secondaryPage .desktop div img {
  margin: 1rem 0;
  width: 100%;
}

form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 0 auto;
  max-width: 500px;
}

form input,
form textarea {
  border: 1px solid #575756;
  padding: 0.25rem;
}

input {
  margin-bottom: 1rem;
}

.alert {
  margin: 1rem 0;
}

.grecaptcha-badge {
  visibility: hidden;
}

footer {
  border-top: 1px solid #004387;
  background: url(../img/mur.jpg) no-repeat center;
  background-size: cover;
}

footer img {
  margin-bottom: 1rem;
  height: 3rem;
  vertical-align: bottom;
}

.footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.footer div:first-child {
  -ms-flex-preferred-size: calc(35% - 2rem);
  flex-basis: calc(35% - 2rem);
}

.footer div:last-child {
  -ms-flex-preferred-size: calc(65% - 2rem);
  flex-basis: calc(65% - 2rem);
}

.copyright {
  padding: 0.25rem 0;
  background-color: #004387;
  text-align: center;
}

@media only screen and (max-width: 1280px) {
  .homePage .desktop {
    padding: 0;
  }
  .gallery .desktop {
    padding: 0 1rem;
  }
}

@media only screen and (max-width: 840px) {
  .headerContainer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .headerContainer img {
    display: block;
    margin: 0 auto;
  }
  .headerContainer p:last-of-type {
    margin-top: 0;
  }
  /* .btn {
    display: block;
  } */
  .btn:last-child {
    margin-top: 1rem;
    margin-left: auto;
  }
}

@media only screen and (max-width: 768px) {
  nav .desktop {
    padding: 0 2rem;
  }
  nav ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    position: fixed;
    left: -100%;
    top: 3.3rem;
    overflow-y: scroll;
    width: 100%;
    height: calc(100vh - 4.1rem);
    text-align: center;
    background-color: #fbfbfb;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  nav ul.active {
    display: block;
    left: 0;
  }
  nav li a {
    display: block;
    padding: 0 1.6rem;
    line-height: 2.5rem;
    color: #575756;
  }
  nav li a:hover {
    background-color: #004387;
  }
  .secondaryPage .desktop div {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  .menu .submenu {
    position: relative;
    top: 0;
    left: auto;
    width: 100%;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
  }
  .hamburger {
    display: block;
    cursor: pointer;
  }
}

@media only screen and (max-width: 670px) {
  .headerImg {
    display: none;
  }
  .headerContainer {
    padding: 2rem 0;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  .homePageRow {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .homePageRow div {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  .homePageImg-1,
  .homePageImg-2,
  .homePageImg-3,
  .homePageImg-4,
  .homePageImg-5 {
    min-height: 300px;
  }
  .homePageContainer {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
}

@media only screen and (max-width: 490px) {
  footer .footer div:first-child {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  footer .footer div:last-child {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  footer .footer div:nth-child(2) {
    margin-top: 2rem;
  }
}
/*# sourceMappingURL=styles.css.map */
