@charset "UTF-8";
body {
  margin: 0;
}
body::-webkit-scrollbar {
  width: 15px; /* taille de la scrollbar */
  cursor: pointer;
}
body::-webkit-scrollbar-track {
  background: #909090; /* couleur de la zone derrière la scrollbar */
  cursor: pointer;
}
body::-webkit-scrollbar-thumb {
  background-color: #2952A0; /* couleur de la scrollbar */
  cursor: pointer;
}

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

/* HEADER */
#header.scrolled {
  background-color: black;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  transition: all 1s;
  z-index: 0;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  padding: 2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header .logo {
  width: 40px;
}

@keyframes fademenu {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.nav-item {
  position: relative;
  color: white;
  font-family: "Oswald";
  font-size: 22px;
  font-weight: 500;
  line-height: 25px;
  text-decoration: none;
  margin-left: 40px;
  transition: all 0.5s ease;
}

.nav-item:hover:after {
  width: 100%;
}

.icons {
  position: absolute;
  right: 5%;
  font-size: 37px;
  color: #fff;
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

/* CONTENT */
#content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 840px;
  background: url(/images/header/ab.png);
  background-size: cover;
  background-repeat: no-repeat;
  padding-left: 140px;
}
#content h1 {
  font-size: 50px;
  font-family: "work sans";
  color: white;
  transition: all 0.5s ease;
  margin-bottom: 35px;
  animation: logotext 2s;
}
#content .img-h {
  background: url(/images/header/Logo-arw.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 350px;
  height: 375px;
  animation: logofade 2s;
}

@keyframes logofade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes logotext {
  0% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(0%);
  }
}
@keyframes logot {
  0% {
    transform: translateY(-200%);
  }
  100% {
    transform: translateY(0%);
  }
}
.btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 190px;
  height: 50px;
  border-radius: 5px;
  background: transparent;
  overflow: hidden;
  transition: all 0.3s ease-in;
  animation: logofade 3s;
}

.btn:hover {
  transform: translateY(5px);
}

.light::before {
  content: "";
  position: absolute;
  background-image: conic-gradient(transparent 10deg, rgb(168, 239, 255), 90deg, transparent 170deg);
  width: 200%;
  height: 500%;
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.light:after {
  content: "Demander un devis";
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 190px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  color: #fff;
  font-size: 19px;
  border-radius: 5px;
}

/* MEDIA QUERIES */
@media (max-width: 900px) {
  header {
    padding: 21px 5%;
  }
}
@media (max-width: 767px) {
  header::before {
    position: absolute;
    content: "";
    inset: 0;
    width: 100%;
    height: 100%;
    background: rbga(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(50px);
            backdrop-filter: blur(50px);
    z-index: -1;
  }
  header::after {
    position: absolute;
    content: "";
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.8s;
  }
  .icons {
    display: inline-flex;
  }
  #check:checked ~ .icons #menu-icon {
    display: none;
  }
  .icons #close-icon {
    display: none;
  }
  #check:checked ~ .icons #close-icon {
    display: block;
  }
  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    background-color: black;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
  }
  #check:checked ~ .navbar {
    height: 320px;
  }
  .nav-item {
    display: block;
    font-size: 17px;
    margin: 32px 0;
    text-align: center;
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.3s ease;
  }
  .nav-item:hover::after {
    width: auto;
  }
  #check:checked ~ .navbar a {
    transform: translateY(0);
    opacity: 1;
    transition-delay: calc(0.15s * var(--i));
  }
}
@media (max-width: 450px) {
  .btn {
    width: 130px;
  }
  .light:after {
    width: 120px;
  }
}/*# sourceMappingURL=header.css.map */