.montserrat-medium {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

body {
  font-family: "Montserrat", sans-serif;
}

header {
  box-shadow: 0 7px 5px -2px rgba(0, 0, 0, 0.05);
}

header.sticky {
  background-color: white;
  color: black;
  transition: 1s;
}

.nav-links ul li a:hover {
  transition: color 0.3s linear;
}

.services-links {
  transition: all 2s;
}

li.active {
  position: relative;
}

li.active::after {
  content: "";
  position: absolute;
  background-color: #eb8316;
  border-radius: 3px;
  height: 3px;
  width: 100%;
  left: 0;
  bottom: -23px;
  animation: appear 0.4s linear;
}

#demande-devis::after {
  bottom: -9px;
}

@media (max-width: 1024px) {
  li.active::before {
    content: "";
    position: absolute;
    background-color: #eb8316;
    border-radius: 3px;
    width: 100%;
    right: 0;
    animation: appear 0.4s linear;
  }

  .spec-links {
    padding-top: 100px;
  }
}

@media (max-width: 767px) {
  li.active::before {
    height: 1px;
    top: -5px;
  }

  li.active::after {
    bottom: -5px;
    height: 1px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  li.active::before {
    height: 2px;
    top: -5px;
  }

  li.active::after {
    height: 2px;
    bottom: -5px;
  }
}

@keyframes appear {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

#devit-btn {
  transition: background-color 0.4s;
}

#devit-btn img,
#view-link img {
  animation: b ease-in-out 0.4s 1;
}

@keyframes b {
  from {
    width: 0;
  }
  to {
    width: 1.25rem;
  }
}

.group .cursor-default {
  animation: c ease-out 0.65s;
}

@keyframes c {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
