* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 3rem;
  color: #f5cb5c;
}

h3 {
  font-size: 2.5rem;
}

h4,
h5 {
  font-size: 2rem;
}

ul {
  list-style: none;
}

li,
button,
label,
input,
a,
span,
p {
  font-size: 1.8rem;
}

a {
  text-decoration: none;
  color: #cfdbd5;
}
a:hover {
  color: #f5cb5c;
}

header {
  background: #1b2024;
}

.header-div {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 10rem;
  padding: 1rem 0;
}

.header-logo {
  height: 100%;
}
.header-logo img {
  height: 100%;
}

.header-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
}
.nav-links a {
  padding: 1rem 0;
  display: block;
}

.header-li::after {
  content: "";
  width: 0%;
  height: 1px;
  background: #f5cb5c;
  display: block;
  transition: all 250ms ease-in-out;
}

.header-li:hover::after {
  width: 60%;
}

.header-phone {
  display: flex;
  align-items: center;
  color: #cfdbd5;
  margin-left: 5rem;
}
.header-phone img {
  height: 32px;
}

.header-burger {
  display: none;
  fill: #cfdbd5;
  margin-left: 2rem;
  cursor: pointer;
}

main {
  flex-grow: 1;
}

/* Slideshow container */
.slideshow-container {
  background: #1b2024;
  width: 100%;
  position: relative;
  height: 30rem;
}
.slideshow-container img {
  height: 30rem;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 35%;
     object-position: 50% 35%;
  filter: brightness(0.5);
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
          animation-name: fade;
  -webkit-animation-duration: 1.5s;
          animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
/* Section Services*/
.section-services {
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 0;
  max-width: 120rem;
  width: 90%;
  margin: auto;
}

.top-services {
  text-align: center;
  width: 80%;
  margin-bottom: 2rem;
}
.top-services h2 {
  margin-bottom: 2rem;
}

.bottom-services {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.bottom-services div {
  width: 50%;
  padding: 2rem;
}
.bottom-services img {
  width: 50%;
}

/* Section Devis*/
.section-devis {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/camera-gard.jpg");
  background-position: 50% 40%;
  background-size: cover;
  padding: 8rem 0;
}

.div-devis {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 120rem;
  width: 90%;
  margin: auto;
}
.div-devis p {
  color: white;
  margin-bottom: 3rem;
}

.devis-h4first {
  color: white;
  margin-bottom: 1.5rem;
}

.devis-h4second {
  color: #f5cb5c;
  margin-bottom: 3rem;
}

.devis-button {
  background: #f5cb5c;
  padding: 2rem 2rem;
  border-radius: 4px;
  font-weight: bold;
  color: #1b2024;
}
.devis-button:hover {
  color: white;
}

/* Section Produits*/
.section-produits {
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8rem 0;
  max-width: 120rem;
  width: 90%;
  margin: auto;
}
.section-produits h2 {
  margin-bottom: 2rem;
}
.section-produits h3 {
  color: #f5cb5c;
  margin-top: 1rem;
}

.produits-split {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}
.produits-split div {
  flex: 1 1 32rem;
  text-align: center;
}
.produits-split img {
  width: 100%;
  max-height: 348px;
  -o-object-fit: contain;
     object-fit: contain;
}
.produits-split p {
  padding: 1rem;
}

.section-contact {
  background: white;
  padding: 8rem 0;
  max-width: 120rem;
  width: 90%;
  margin: auto;
  text-align: center;
}
.section-contact h2 {
  margin-bottom: 3rem;
}

.div-contact {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.div-contact div {
  flex: 1 1 45rem;
}

#form-contact {
  padding: 1rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
}
#form-contact p {
  padding: 0 2rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}
#form-contact textarea {
  resize: vertical;
}
#form-contact input,
#form-contact textarea {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.8rem;
  width: 80%;
  padding: 1rem;
  border: none;
  border-bottom: 2px solid gainsboro;
  margin-bottom: 2rem;
}
#form-contact input:focus,
#form-contact textarea:focus {
  outline: none;
  border-color: #f5cb5c;
}
#form-contact textarea {
  margin-bottom: 1rem;
}

#envoyer-form {
  max-width: 30rem;
  border: none !important;
  background: #f5cb5c;
  padding: 2rem 2rem;
  border-radius: 4px;
  font-weight: bold;
  color: #1b2024;
  cursor: pointer;
}
#envoyer-form:hover {
  color: white;
}

#input-website {
  display: none !important;
}

.reglementation-form {
  font-size: 1.2rem;
  color: gray;
  text-align: left;
  width: 80%;
  padding: 0 !important;
}

.section-legal {
  max-width: 75%;
  margin: 8rem auto 8rem auto;
}
.section-legal h2 {
  margin: 2rem 0;
}
.section-legal h3 {
  margin: 1rem 0;
}
.section-legal p {
  margin: 2rem 0;
}

footer {
  background: #1b2024;
  padding: 4rem 0 2rem 0;
}
footer p {
  color: #cfdbd5;
}

.footer-div {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  gap: 2rem;
}
.footer-div div {
  flex: 1 1 20rem;
}

.footer-logo img {
  width: 12rem;
  margin-bottom: 1rem;
}
.footer-logo p {
  width: 90%;
  text-align: center;
  margin: auto;
}

.footer-contact {
  margin-top: 2rem;
}
.footer-contact h2,
.footer-contact p {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-follow {
  margin-top: 2rem;
}
.footer-follow h2,
.footer-follow p {
  margin-bottom: 1rem;
}

.footer-logo {
  fill: #cfdbd5;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}
.footer-social img {
  width: 64px;
}

#footer-legals {
  padding: 0 2rem;
  margin-top: 4rem;
  text-align: center;
}
#footer-legals p,
#footer-legals a {
  font-size: 1.4rem;
  display: inline-block;
}

@media screen and (max-width: 750px) {
  li,
button,
label,
input,
a,
span,
p {
    font-size: 1.6rem;
  }
  h1 {
    font-size: 3.3rem;
  }
  h2 {
    font-size: 2.8rem;
  }
  h3 {
    font-size: 2.3rem;
  }
  h4,
h5 {
    font-size: 1.8rem;
  }
  .header-burger {
    display: block;
    z-index: 2;
  }
  .header-phone {
    margin: auto;
  }
  .header-phone img {
    height: 24px;
  }
  /* Nav Burger Open*/
  .nav-links {
    background: #1b2024;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 100%;
    z-index: 1;
    flex-direction: column;
    justify-content: space-evenly;
    transition: transform 0.5s ease;
  }
  .nav-links a {
    font-size: 2.5rem;
  }
  .nav-open {
    transform: translateX(-100%);
  }
  .burger-open {
    position: fixed;
    right: 5%;
  }
  .phone-open {
    position: fixed;
    right: calc(5% + 4.4rem);
  }
  .slideshow-container {
    height: 20rem;
  }
  .slideshow-container img {
    height: 20rem;
  }
  .section-services {
    width: 95%;
    padding: 2rem 0;
  }
  .bottom-services {
    flex-direction: column;
  }
  .bottom-services div {
    width: 100%;
    padding: 2rem;
  }
  .bottom-services img {
    width: 100%;
  }
  .footer-contact,
.footer-follow {
    margin-top: 1rem;
  }
  #form-contact {
    padding: 1rem 2rem;
  }
  #form-contact p {
    margin-top: 2rem;
  }
  #form-contact input,
#form-contact textarea {
    width: 100%;
  }
  #form-contact .reglementation-form {
    width: 100%;
    margin-top: 1rem;
  }
  .section-legal {
    max-width: 90%;
    margin: 6rem auto 6rem auto;
    overflow-wrap: break-word;
  }
}
@media screen and (max-width: 425px) {
  .footer-contact p {
    font-size: 1.4rem;
  }
}/*# sourceMappingURL=style.css.map */