* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  display: none;
}

@font-face {
  font-family: Upton;
  src: url("../FONT/Upton-Variable-BF64dd8f4f637cf.ttf");
}


@font-face {
  font-family: Clash;
  src: url("../FONT/ClashDisplay-Variable.ttf");
}


@font-face {
  font-family: StretchPro;
  src: url("../FONT/stretch-pro.regular.ttf");
}

/*---------------------NAVBAR------------------------*/

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 8.5vw;
  box-sizing: border-box;
  background-color: #22272D;
  box-shadow: 0px 5px 30px rgb(0, 0, 0, 0.7);
  z-index: 12;
}


nav a,
p {
  color: #FFF7EF;
  font-family: Upton;
}


nav .nav-links {
  display: flex;
}


nav .nav-links ul {
  display: flex;
  margin-right: 1vw;
}


nav .nav-links ul li {
  font-size: 2.3vw;
  font-family: Upton;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 1.1vw;
  transition: 0.4s ease;
}

nav .nav-links ul li a {
  transition: 0.4s ease;
}


nav .nav-links ul li a:hover {
  cursor: pointer;
  color: #EF1653;
}

nav .nav-links ul li p:hover {
  color: #EF1653;
  cursor: pointer;
}

nav .nav-links ul li p {
  transition: 0.4s ease;
}



#contact1 {
  background-color: #FFF7EF;
  color: #22272D;
  padding: 8px 16px;
  border-radius: 0.4vw;
  font-family: Upton;
  text-transform: uppercase;
  font-size: 2.3vw;
  font-weight: 700;
  text-decoration: none;
  color: #1E2329;
  transition: 0.3s;
  margin-left: 1.8vw;
}

#contact1:hover {
  background-color: #EF1653;
}

.nav-links .project-links {
  display: none;
  position: absolute;
  align-items: left;
  flex-direction: column;
  z-index: 10;
  left: 81vw;
  top: 8vw;
  background-color: #22272D;
  border-radius: 0 0vw 0.7vw 0.7vw;
  padding: 16px 16px;
  transition: transform 0.3s ease;
}



.project-links #graphisme{
  margin-bottom: 0.5rem;
}

.project-links a {
  font-size: 1rem;
  color: #FFF7EF;
  text-decoration: none;
  font-weight: 500;
  font-family: Clash;
  text-transform: none;
  text-align: left;
  padding: 8px 16px;
  border: #FFF7EF 1px solid;
  border-radius: 8px ;
  text-transform: uppercase;
  letter-spacing: 0,5px;

}

.project-links a:hover {
  cursor: pointer;
  color: #FFF7EF !important;
  background-color: #EF1653;
  border: #EF1653 1px solid;
  border-radius: 8px;
}



.rotated {
  transform: rotate(-180deg);
  transition: transform 0.3s ease;
}



#logoap {
  width: 11vw;
  max-height: auto;
  margin-left: 5vw;
  z-index: 12;
}

#fleche {
  width: 1.5%;
  margin-left: 0.1vw;
  position: absolute;
  top: 3.5vw;
  stroke-width: 2px;
  transition: transform 0.3s ease;
}

strong {
  font-weight: normal;
}

/*------------------------------------*/
@media screen and (max-width: 767px) {

  nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 20vw;
    box-sizing: border-box;
    background-color: #22272D;
    box-shadow: 0px 5px 30px rgb(0, 0, 0, 0.7);
    z-index: 12;
  }


  nav a,
  p {
    color: #FFF7EF;
    font-family: Upton;
  }


  nav .nav-links {
    display: flex;
  }


  nav .nav-links ul {
    display: flex;
    margin-right: 1vw;
  }


  nav .nav-links ul li {
    font-size: 7vw;
    font-family: Upton;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0 4vw;
    transition: 0.5s;
  }

  nav .nav-links ul li a {
    transition: 0.5s;
  }


  nav .nav-links ul li a:hover {
    color: #EF1653;
    cursor: pointer;
  }

  nav .nav-links ul li p:hover {
    color: #EF1653;
    cursor: pointer;
  }



  #contact1 {
    background-color: #FFF7EF;
    color: #22272D;
    padding: 8px 16px;
    border-radius: 1vw;
    font-family: Upton;
    text-transform: uppercase;
    font-size: 7vw;
    font-weight: 500;
    text-decoration: none;
    color: #1E2329;
    transition: 0.3s;
    margin-left: 1vw;
  }

  #contact1:hover {
    background-color: #EF1653;
  }

  .nav-links .project-links {
    display: none;
    position: absolute;
    align-items: center;
    flex-direction: column;
    width: 100%;
    z-index: 1;
    left: 0;
    top: 16vw;
    background-color: #22272D;
    height: 13vw;
  }


  .project-links hr {
    width: 15vw;
    margin: 1VW 0vw;
  }

  .project-links a {
    font-size: 3.5vw;
    margin-left: 0VW;
    color: #FFF7EF;
    text-decoration: none;
    font-weight: 400;
    font-family: Clash;
    text-transform: none;
    text-align: center;

  }

  .project-links a:hover {
    color: #FFF7EF;
    cursor: pointer;
  }



  #logoap {
    width: 11vw;
    max-height: auto;
    margin-left: 6vw;
    z-index: 12;
    display: none;
  }

  svg {
    width: 6%;
    margin-left: 0.6vw;
    position: absolute;
    top: 6.8vw;
    display: none;
  }
}


#loading {
  display: block;
  position: fixed;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #22272D;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s;

}
.loading-hidden {
  opacity: 0;
  visibility: hidden;
}


#loading div {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-image: url(../IMAGE/BACKGROUND/pa-pattern2.svg);
  background-size: 160%;
  animation: deplacement 180s infinite alternate;
}

#loading svg {
  margin-top: 0vw;
  width: 15vw;
  animation: svg 3s infinite ease-in-out;
}

#loading hr{
  position: absolute;
  width: 8vw;
  margin-bottom: 30vw;
}




@keyframes svg {
  0% {
    fill: #D9FF00;
  }

  30% {
    fill: #D9FF00;
  }

  33% {
    fill: #EF1653;
  }

  63% {
    fill: #EF1653;
  }

  66% {
    fill: #8405e7;
  }

  96% {
    fill: #8405e7;
  }

  99.99999% {
    fill: #D9FF00;
  }


}

@keyframes hr {
  0% {
    width: 8vw;
  }

  to {
    width: 0.5vw;
  }

}