@charset "utf-8";
/*----------------- NAVIGATION -----------------*/

nav {
  position: fixed;
  display: flex;
  width: 100vw;
  top: 0px;
  background-color: white;
  z-index: 900;
  box-shadow: 0px 2px 5px rgb(24, 24, 24, 0.3);
  align-items: center;
  justify-content: center;
}

#nav-mobile {
  display:none;
}
#nav-desktop {
  display: flex;
  height: 100px;
  font-family: "Outfit", sans-serif;
  padding-right:20px;
  z-index: 1000;
}

.nav-sec{
  padding:0 32px;
}

.nav-sec:hover{
  color: var(--accent-color);
}

.nav-right{
  display: flex;
  position: absolute;
  align-items: center;
  transform: translateX(50%);
  padding-left: 80px;
  padding-right:20px;
}

.nav-left{
  display: flex;
  position: absolute;
  align-items: center;
  transform: translateX(-50%);
  padding-right: 100px;
}

.nav-logo-center{
  position: absolute;
  align-items: center;
  padding-right:20px;
}

@media screen and (max-width: 720px) {
  #nav-mobile {
    display:flex;
    height: 80px;
  }
  #nav-desktop {
    display: none;
  }
}

/*----------------- LOGO MENU -----------------*/

#logo-menu {
  height: 60px;
  align-self: center;
  margin: auto;
  padding:0 ;
  transition: all 0.5s ease-in-out;
}

#logo-menu:hover {
  transform: scale(1.08);
}

/*----- CACHER DESCRIPTIF -----*/

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  margin: 0;
}

/*----------------- MENU STYLE -----------------*/

#menu-wrap {
  display: flex;
  justify-content: flex-end; /*----- ALIGNER LES DIV À DROITE -----*/
  width: 100vw;
  margin: 0;
  top: 0;
  z-index: 2000;
}

#menu-wrap .toggler {
  position: absolute;
  top: 0;
  z-index: 3000;
  cursor: pointer;
  width: 50px;
  height: 50px;
  opacity: 0;
}

#hamburger {
  position: absolute;
  top: 0;
  z-index: 1000;
  width: 30px;
  height: 60px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#svgmenu {
  opacity: 1;
  width: 30px;
  position: absolute;
  bottom: 15px;
  transition: all 0.4s ease;
}

/*----- Center line -----*/
#hamburger > div {
  position: relative;
  width: 100%;
  height: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

/*----- Line top -----*/
#hamburger > div::before {
  content: "";
  z-index: 1000;
  top: -10px;
  background-color: var(--dark-color);
  position: absolute;
  width: 100%;
  height: 4px;
  transition: all 0.4s ease;
}
#hamburger > div::after {
  content: "";
  z-index: 1000;
  background-color: var(--dark-color);
  position: absolute;
  width: 100%;
  height: 4px;
  transition: all 0.4s ease;
}

/*----- Toggler animate -----*/

#menu-wrap .toggler:checked + #hamburger > div {
  transform: rotate(135deg);
  background-color: var(--light-color);
}
#menu-wrap .toggler:checked + #hamburger > svg {
  transform: rotate(135deg);
  fill: var(--light-color);
  opacity: 0;
  bottom: 30px;
}

/* Turns Lines Into X */
#menu-wrap .toggler:checked + #hamburger > div::before,
#menu-wrap .toggler:checked + #hamburger > div::after {
  top: 0;
  transform: rotate(90deg);
  background-color: var(--light-color);
}

/* Rotate On Hover When Checked */
#menu-wrap .toggler:not(checked):hover + #hamburger > div::before {
  transform: scaleX(0.8);
}
#menu-wrap .toggler:not(checked):hover + #hamburger > div::after {
  transform: scaleX(0.5);
}

/* Rotate On Hover When Checked */
#menu-wrap .toggler:checked:hover + #hamburger > div {
  transform: rotate(225deg);
}
#menu-wrap .toggler:checked:hover + #hamburger > div::after {
  transform: rotate(90deg);
}
#menu-wrap .toggler:checked:hover + #hamburger > div::before {
  transform: rotate(90deg);
}

/* Show Menu */

#menu-wrap .toggler:checked ~ #menu {
  visibility: visible;
}

#menu-wrap .toggler:checked ~ #menu > div {
  opacity: 1;
  transition-duration: var(--menu-speed);
}

/*----- SHOW LINES -----*/

#menu-wrap .toggler:checked ~ #menu > div > #menu-link > ul > li {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease-in-out;
}
#menu-wrap .toggler:checked ~ #menu > div > #menu-link > ul > li:nth-child(1) {
  transition-delay: 0.1s;
}
#menu-wrap .toggler:checked ~ #menu > div > #menu-link > ul > li:nth-child(2) {
  transition-delay: 0.2s;
}
#menu-wrap .toggler:checked ~ #menu > div > #menu-link > ul > li:nth-child(3) {
  transition-delay: 0.3s;
}
#menu-wrap .toggler:checked ~ #menu > div > #menu-link > ul > li:nth-child(4) {
  transition-delay: 0.4s;
}
#menu-wrap .toggler:checked ~ #menu > div > #menu-link > ul > li:nth-child(5) {
  transition-delay: 0.5s;
}

/*----- OPEN MENU STYLE -----*/

#menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#menu > div {
  background: var(--accent-color);
  width: 100%;
  height: 100%;
  display: flex;
  flex: none;
  opacity: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: all 0.4s ease;
}

#menu-link {
  text-align: center;
  max-width: 90vw;
  max-height: 100vh;
}

#menu-link > ul {
  display: flex;
  flex-direction: column;
}

#menu-link > ul > li {
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.1em;
  font-weight: 600;
  list-style: none;
  color: var(--light-color);
  font-size: 2.25rem;
  padding: 1rem;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.4s ease;
}

#menu-link > ul > li > a {
  color: inherit;
  text-decoration: none;
  transition: all 0.4s ease;
}

#menu-wrap ul:hover a {
  opacity: 0.5;
}

#menu ul > li > a {
  -webkit-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
}

#menu ul > li > a:hover {
  opacity: 1;
}

/*----- FOOTER MENU - SOCIAL -----*/

#menu-footer {
  position: absolute;
  bottom: 0;
  padding: 2rem;
}
#menu-footer > ul {
  display: flex;
  flex-direction: row;
  margin: 0;
  padding: 0;
}

#menu-footer > ul > a {
  display: inline;
  margin: 0 1rem;
}

#menu-footer .icon {
  width:40px;
  padding:0 15px;
}

.fl-icon-wrap-1 {
  -moz-animation: bounce 6s ease-in-out infinite;
  -webkit-animation: bounce 6s ease-in-out infinite;
  animation: bounce 6s ease-in-out infinite;
  animation-delay: -0.5s;
}

.fl-icon-wrap-2 {
  -moz-animation: bounce 6s ease-in-out infinite;
  -webkit-animation: bounce 6s ease-in-out infinite;
  animation: bounce 6s ease-in-out infinite;
  animation-delay: 3s;
}

.fl-icon-wrap-3 {
  -moz-animation: bounce 6s ease-in-out infinite;
  -webkit-animation: bounce 6s ease-in-out infinite;
  animation: bounce 6s ease-in-out infinite;
  animation-delay: 1.5s;
}
.fl-icon-wrap-4 {
  -moz-animation: bounce 6s ease-in-out infinite;
  -webkit-animation: bounce 6s ease-in-out infinite;
  animation: bounce 6s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes bounce {
  0%,
  57%,
  68%,
  100% {
    transform: translateY(0) scale(1, 1);
  }
  60% {
    transform: translateY(-20px) scale(0.9, 1.1);
  }
  63% {
    transform: translateY(0) scale(1.1, 0.9);
  }
  66% {
    transform: translateY(-10px) scale(0.9, 1.1);
  }
}

/*----- BOUTON - CONTACT -----*/
@media screen and (max-width: 480px) {
  .btn-container-menu {
    display: none;
  }
}
.btn-container-menu {
  --btn-bg-menu: var(--accent-color);
  --widthbox-menu: 200px;
  width: var(--widthbox-menu);
}
.bouton-noir .btn-container-menu {
  --btn-bg-menu: var(--dark-color);
  --widthbox-menu: 200px;
  width: var(--widthbox-menu);
}

#button-menu {
  border: 0;
  position: relative;
  min-width: var(--widthbox-menu);
  height: 60px;
  color: var(--light-color);
  font-family: "Outfit";
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgb(83, 88, 224, 0.85);
  /*----- Couleur hover -----*/
  cursor: pointer;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.bouton-noir #button-menu {
  background: rgb(24, 24, 24, 0.85);
}

#button-menu .text-menu,
button .icon-cont {
  position: relative;
  z-index: 2000;
}

#button-menu .icon-cont {
  font-size: 16px;
  --icon-size: 20px;
  position: relative;
  width: var(--icon-size);
  height: var(--icon-size);
  margin-left: 5px;
  transition: transform 500ms ease;
}

#button-menu .icon-cont .icon {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--icon-size);
  height: var(--icon-size);
  transition: transform 500ms ease, opacity 250ms ease;
}

#button-menu .icon-cont .icon--left {
  transform: translateX(-100%);
  opacity: 0;
}

#button-menu .icon-cont .icon svg {
  width: 100%;
  height: 100%;
  fill: #fff;
}

#button-menu::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--btn-bg-menu);
  z-index: 1000;
  transition: transform 500ms ease;
}

#button-menu:hover::after {
  transform: translateX(75%);
  /*----- à modifier selon la longueur du text -----*/
}

#button-menu:hover .icon-cont {
  transform: translateX(75%);
  /*----- à modifier selon la longueur du text -----*/
}

#button-menu:hover .icon-cont .icon--left {
  transform: translateX(-30%);
  /*----- à modifier selon la longueur du text - placement de la flèche -----*/
  opacity: 1;
}

#button-menu:hover .icon-cont .icon--right {
  transform: translateX(30%);
  /*----- à modifier selon la longueur du text - placement de la flèche -----*/
  opacity: 0;
}
