
/* HEADER */
.navbar-nav {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-family: "Poppins";
  font-weight: 600;
  font-size: 20px;
}

.navbar-blur {
  backdrop-filter: blur(5px) !important;
}

.navbar-toggler {
  color: #f5f5f5 !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(255, 255, 255)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important; /* Color de las líneas */
}

.navbar-nav a {
  color: white;
}

.img-logo {
  width: 165px;
  height: 85px;
  border-radius: 5%;
}

#overlay {
  display: none;
  background-color: rgba(0, 0, 0, 0.99);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.navbar {
  transition: background-color 0.5s ease-out;
}

.navbar-black {
  background-color: black !important;
}

.navbar-nav .nav-item .nav-link {
  color: #ffffff;
  position: relative;
  overflow: hidden; /* Ocultar el desbordamiento para evitar que la línea subrayada se muestre inicialmente */
}

.navbar-nav .nav-item .nav-link::after {
  content: "";
  position: absolute;
  left: 50%; /* Iniciar desde el centro del enlace */
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease, left 0.3s ease; /* Agregar transición para el ancho y la posición */
}

.navbar-nav .nav-item .nav-link:hover::after {
  width: 100%; /* Extender la línea al 100% del ancho del enlace */
  left: 0; /* Mover la línea al borde izquierdo del enlace */
}

/* Estilo del logo */
.navbar-brand img {
  transition: transform 0.8s ease; /* Agregar transición para la transformación */
}

/* Rotación al hacer hover */
.navbar-brand:hover img {
  transform: rotate(360deg); /* Girar 360 grados */
}

/* RESPONSIVE */
@media (width <= 1028px) {
  /* HEADER */
  .navbar-nav {
    font-weight: 500;
    font-size: 16px;
  }

  .img-logo {
    width: 135px;
    height: 65px;
  }
}

@media (width <= 900px) {
  /* HEADER */
  .navbar-nav {
    font-weight: 500;
    font-size: 12px;
  }

  .img-logo {
    width: 110px;
    height: 55px;
  }
}

@media (width <768px) {
  /* HEADER */
  .navbar {
    display: block !important;
    position: fixed !important;
  }
  .navbar-nav {
    font-size: 20px;
  }

  #navbar-left {
    margin-top: 75px;
  }
}

@media (width <= 600px) {
  /* HEADER */
  .img-logo {
    width: 100px;
    height: 55px;
  }
}

@media (width <= 400px) {
  /* HEADER */
  .img-logo {
    width: 100px;
    height: 55px;
  }
}
