@charset "UTF-8";

.menu-container {
  position: fixed;
  z-index: 200;
  right: 0;
}

.menu {
  position: absolute;
  top: 50px;
  right: 3em;
  height: 60px;
  width: 60px;
}

@media (max-width: 768px) {
  .menu {
    top: 30px;
    right: 1.2em;
  }
}

.menu-link {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1002;
}
.menu-icon {
  position: absolute;
  width: 30px;
  height: 24px; /* Augmente la hauteur totale */
  margin: auto;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.menu-line {
  background-color: #fff;
  height: 3px;
  width: 100%;
  border-radius: 3px;
  position: absolute;
  left: 0;
  transition: all 0.15s ease-in-out;
}

.menu-line-1 {
  top: 0;
}

.menu-line-2 {
  top: 50%;
  transform: translateY(-50%);
}

.menu-line-3 {
  bottom: 0;
}

.menu.open .menu-line-1 {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu.open .menu-line-2 {
  opacity: 0;
}

.menu.open .menu-line-3 {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.menu.open .menu-line-1,
.menu.open .menu-line-3 {
  background-color: var(--orange);
}



/* ------------- */
.menu-circle {
  background-color: var(--orange);
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 50%;
  transform: scale(1.1);
  z-index: 1000;
  transition: transform 0.15s ease-in-out;
}

.menu:hover .menu-circle {
  transform: scale(1.4);
}

@media (max-width: 768px) {
  .menu:hover .menu-circle {
    transform: scale(1);
  }
}

.menu.open .menu-circle {
  transform: scale(60);
}

/* ------------- */
.menu-overlay {
  background-color: var(--cream);
  color: #333;
  height: 100vh;
  width: 100vw;
  position: fixed;
  text-align: center;
  transition: opacity 0.1s ease-in-out;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /*background-image: url("../img/logo/menu-img.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50vh;
  pointer-events: none;*/
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.lock-scroll {
  overflow: hidden;
}

/**
 * Nav menu
 */
.logo-top {
  height: 65px;
  margin: 0 0 1em;
  pointer-events: none;
}

.menu-overlay a {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 1.75em;
  text-align: center;
  text-transform: uppercase;
  color: var(--brown);
  line-height: 2.2;
  text-decoration: none;
  letter-spacing: 0;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.menu-overlay a:hover {
  font-weight: 500;
  color: var(--orange);
  letter-spacing: .12em;
}

.menu-overlay a.active {
  color: var(--orange);
  font-weight: 900;
  pointer-events: none;
}

.menu-overlay ul {
  display: block;
  list-style: none;
}

@media (max-width: 768px) {
  .menu-overlay a {
    font-size: 1.5em;
  }
  #social-nav {
    width: 80px;
  }
}

#social-nav {
  display: flex;
  justify-content: space-between;
  width: 100px;
  margin: auto;
}
@media (max-width: 768px) {
  #social-nav {
    width: 80px;
  }
}

#social-nav i {
  color: var(--brown);
  font-size: 1.5em;
  letter-spacing: 0;

}

#social-nav i:hover {
  color: var(--orange);
}

#social-nav a,
#social-nav a:hover {
  box-shadow: none;
  border-bottom: none;
  background: none;
}



/* remove BG on click on touch devices */
.menu-overlay li a {
  -webkit-tap-highlight-color: transparent;
}


.lock-scroll {
  overflow: hidden;
  height: 100vh;
}
