/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #111;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  padding: 10px 0;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.navbar.visible {
  transform: translateY(0);
}

.logo {
  width: 100%;
}

.navbar--img {
  width: 100% !important;
  height: auto !important;
  max-width: 200px;
  margin-bottom: 10px;
}

.nav-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding: 0 40px;
  width: 100%;
}

.nav-item {
  font-size: 14px;
  color: #8a8b8d;
  text-transform: lowercase;
  cursor: pointer;
  font-family: 'pp-medium-m';
  transition: all 1.3s;
  position: relative;
}

.nav-item.left {
  text-align: left;
  flex: 1;
}

.nav-item.center {
  text-align: center;
  flex: 1;
}

.nav-item.right {
  text-align: right;
  flex: 1;
}

.nav-item.left .hover-svg {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(0%, -50%);
  width: 100px;
  height: 100px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; 
}

.nav-item.center .hover-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; 
}

.nav-item.right .hover-svg {
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translate(0%, -50%);
  width: 100px;
  height: 100px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; 
}

.nav-item:hover .hover-svg {
  opacity: 1;
}

.hover-svg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Estilo inicial del navbar */
.logo {
  text-align: center;
}

.work .navbar nav{
  width: 100%;
}

.work .navbar {
  position: relative; 
  width: 100%;
  background-color: #080a0f;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  padding: 10px 0;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
  transform: none;
}

.work .navbar.sticky {
  position: fixed; 
  top: 0;
  background-color: #080a0f;
  color: white;
  padding: 2px 0;
  transform: translateY(0);
}

.work .navbar.sticky a {
  color: white;
}

.studio .navbar nav{
  width: 100%;
}

.studio .navbar {
  position: relative; 
  width: 100%;
  background-color: #080a0f;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  padding: 10px 0;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
  transform: none;
}

.studio .navbar.sticky {
  position: fixed; 
  top: 0;
  background-color: #080a0f;
  color: white;
  padding: 2px 0;
  transform: translateY(0);
}

.studio .navbar.sticky a {
  color: white;
}

.work-detail .navbar nav{
  width: 100%;
}

.work-detail .navbar {
  position: relative; 
  width: 100%;
  background-color: #080a0f;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  padding: 10px 0;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
  transform: none;
}

.work-detail .navbar.sticky {
  position: fixed; 
  top: 0;
  background-color: #080a0f;
  color: white;
  padding: 2px 0;
  transform: translateY(0);
}

.work-detail .navbar.sticky a {
  color: white;
}

.navbar-placeholder {
  display: none; 
}

.navbar.sticky + .navbar-placeholder {
  display: block;
}

.menu--div__elements {
  background-color:#000;
  position: absolute;
  z-index: 9;
  width: 100%;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: end;
  flex-wrap: wrap;
  top: -220px;
  left: 0;
  z-index: -1;
  opacity: 0;
  height: 0;
  
}

.menu--nav {
  position: relative;
  z-index: 10;
}

.ul--menu {
  list-style: none;
  padding-left: 0px;
  width: 100%;
  max-width: 390px;
  display: flex;
  flex-direction: column;
}

.ul--menu>a{
  display: block;
  cursor: pointer;
  color: #fff;
  font-size: 8.5rem;
  font-family: 'kaneda-black';
  line-height: 1;
}

.menu--div__lista {
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 70px;
}

.menu--line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%,0);
  width: 100px;
}

.menu--line ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 50px;
  list-style: none;
}

.menu--line ul li a{
  color: #4c4d52;
  font-family: 'pp-light-m';
  font-size: 22px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.menu--line ul li a:hover{
  color: #fff;
}

.menu--spray {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0%,-40%);
  width: 100px;
  height: 380px;
  background-repeat: no-repeat;
}

.hamburguer {
  height: 30px;
  width: 30px;
  position: fixed;
  z-index: 99;
  right: 10px;
  top: 10px;
  cursor: pointer;
}

.hamburguer .cls-1 {
  fill: #aeaeb0;
}

.a--menu {
  position: relative;
  cursor: pointer;
  color: #fff;
  font-size: 32px;
  font-family: 'pp-medium-m';
  margin-bottom: 0;
  margin-right: auto;
  padding: 0;
}

.a--menu .cls-everything, .a--menu .cls-work, .a--menu .cls-studio, .a--menu .cls-contact-m, .a--menu .cls-jobs-m  {
  stroke-dasharray:  2000; 
  stroke-dashoffset: 2000; 
  transition: stroke-dashoffset 2s ease-out; 
  stroke-width: 3;
}

.a--menu:hover .efecto svg .cls-everything, .a--menu:hover .efecto svg .cls-work, .a--menu:hover .efecto svg .cls-studio, .a--menu:hover .efecto svg .cls-contact-m, .a--menu:hover .efecto svg .cls-jobs-m {
  stroke-dashoffset: 0; 
}

.a--menu .efecto {
  left: -15px;
  top: -5px;
  position: absolute;
  width: calc(100% + 30px);
}

.a--menu .efecto--everything {
  left: -15px;
  top: -15px;
  position: absolute;
  width: calc(100% + 30px);
}

.efecto svg {
  pointer-events: none;
}

.a--menu {
  transition: all 0.3s ease;
}

.a--menu:hover {
  color: #aeaeb0
}

.svg-menu-general {
  position: absolute;
  left: -8px;
  top: -10px;
  width: 100px;
}

.svg-menu-general.svg-menu-contact {
  position: absolute;
  left: -8px;
  top: 5px;
  width: 100px;
}

.svg-menu-general.studio {
  left: -15px;
  top: -22px;
  width: 70px;
}

.svg-menu-general.work {
  left: -25px;
  top: -10px;
}

.nav-items .navbar--a__general .svg-everything {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  transition: stroke-dashoffset 1.3s ease-out;
} 

.nav-items .navbar--a__general:hover .svg-everything {
  stroke-dashoffset: 0;
} 


.nav-items .navbar--a__general .svg-contact {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  transition: stroke-dashoffset 1.3s ease-out;
} 

.nav-items .navbar--a__general:hover .svg-contact {
  stroke-dashoffset: 0;
} 

svg.svg-studio {
  height: 115px;
  top: 30%;
}

.menu--div__mails {
  display: flex;
  align-items: start;
  flex-direction: column;
  align-self: end;
  padding-bottom: 70px;
  padding-right: 180px;
  opacity: 0;
  pointer-events: none;
  transition: all 1.3s ease;
}

.mail--titulo {
  color: #e0e0e0;
  font-family: 'kaneda-black';
  font-size: 35px;
  margin-bottom: 0;
}

.mail--subtitulo {
  color: #e0e0e0;
  font-family: 'pp-light-m';
  font-size: 16px;
  margin-bottom: 0px;
}

.mail--txt {
  color: #8a8b8d;
  font-family: 'kaneda-black';
  font-size: 32px;
  margin-bottom: 0px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mail--txt:hover {
  color: #ababab;
}

.mail--txt__md {
  color: #8a8b8d;
  font-family: 'pp-light-m';
  font-size: 22px;
  margin-bottom: 0px;
}

.contenedor--svg {
  position: relative;
}

.contenedor--svg svg {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
}

.line-mail, .line--md, .line-arrow  {
  stroke-dasharray:  2000; 
  stroke-dashoffset: 2000; 
  transition: stroke-dashoffset 0.6s ease-out; 
}

.line-mail, .line--md {
  stroke-width: 2px;
}

.line-arrow  {
  stroke-width: 1px;
}

.contenedor--svg:hover .line-mail, .contenedor--svg:hover .line--md, .contenedor--svg__arrow:hover .line-arrow {
  stroke-dashoffset: 0; 
  transition: stroke-dashoffset 1.2s ease-out; 
}

.contenedor--svg__arrow {
  display: flex;
}

.contenedor--svg__arrow span {
  flex: 1;
  flex-grow: 1;
  cursor: pointer;
}

.contenedor--svg__arrow svg {
  height: 30px;
  left: initial;
  right: 0;
  width: 30px;
}

.menu--trigger span:hover .line-arrow {
  stroke-dashoffset: 0; 
}

.menu--div__mails.menu--div__show {
  opacity: 1;
  pointer-events: all;
}