body {
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

header {
    color: white;
    text-align: center;
    font-weight: 600;
    z-index: 2;
}

.slogan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 8px;
    z-index: 2;
}

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  color: white;
  padding: 0.5rem ; 
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  background-color: white;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slogan-text {
    margin-top: 20px;
    z-index: 2;
}

.links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    color: #0D73BA;
    text-decoration: none; 
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
    
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -2px; 
    left: 0;
    background-color: #0D73BA;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #00bfff;
    
}

.nav-button {
    border: 2px solid white;
    background-color: #2b6aac;
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 0.6rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 1em;
}

.login-button{
  border: 2px solid white;
  background-color: #2b6aac;
  color: white;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 0.6rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-left: 1em;
}

.logo {
    height: 3.6rem;
    margin-right: 2rem;
}

.logo-oculto{
    height: 3.6rem;
    display: none;
}


#whatsapp-icon {
    position: fixed;
    bottom: 0.5rem;
    right: 1rem;
    z-index: 9999;
}

#whatsapp-icon img {
    width: 3.6rem;
    height: 3.6rem;
}

.cerrar {
    display: none;
}

.toogle {
    display: none;
}

.button-oculto{
  display: none;
}

.planet-icon {
    color: #0D73BA; 
    font-size: 30px;
  }

/*Para cambiar  de idioma */

ul li {
    list-style: none;
    margin: 0 auto;
    border-left: 2px solid #0D73BA;
    display: inline-block;
    padding: 0 15px;
    position: relative;
    text-decoration: none;
    text-align: center;
    font-family: arvo;
  }

  li a {
    color: black;
  }

  li a:hover {
    color: #0D73BA;
  }

  li:hover {
    cursor: pointer;
  }

  ul li ul {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    padding-left: 0;
    left: 0;
    display: none;
    background: white;
  }

  ul li:hover > ul,
  ul li ul:hover {
    visibility: visible;
    opacity: 1;
    display: block;
    min-width: 250px;
    text-align: left;
    padding-top: 20px;
    box-shadow: 0px 3px 5px -1px #ccc;
  }

  ul li ul li {
    clear: both;
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
    border-style: none;
  }

  ul li ul li a:hover {
    padding-left: 10px;
    border-left: 2px solid #3ca0e7;
    transition: all 0.3s ease;
  }


a {

  text-decoration: none;

  &:hover {
      color: #3CA0E7;
  }

}

ul li ul li a { transition: all 0.5s ease; }

.menu{
  display: none;
}

@media screen and (max-width: 1000px) {
  .toogle {
      display: flex;
      cursor: pointer;
      padding: 10px;
      border-radius: 18px;
      margin-right: 10px;
      color: #fff;
  }
  
  .togle .active{
      display: flex;
  }
  .togle {
      display: none;
  }

  .togle img{
    color: #ffffff;
    background-color: white;
  }

  .cerrar{
      display: flex;
      width: 100%;
      justify-content: end;
      margin-right: 20px;
  }

  .links {
      position: fixed;
      width: 100%;
      height: 100%;
      padding: 20px 0px 30px 0px;
      top: 65px;
      left: 0;
      display: flex;
      visibility: hidden;
      opacity: 0;
      flex-direction: column;
      background-color: white;
      transition: .3s ease;
      text-align: left;

  }
  .menu {
    display: flex; 
    justify-content: center;
    align-items: center; 
    color: white;
    margin-right: 10px;
    
  }
  .links.active {
      visibility: visible;
      opacity: 1;
  }

  .nav-link {
    font-size: 1.3rem;
      margin: 0rem 0.8rem;
      width: 80%;
      text-align: left;
      color: #0D73BA;
      border-bottom: 1px solid #dadde0;
  }
  
  .logo{
    display: none;
  }

  .logo-oculto{
   display: block;
  }

  .menu .toggle img {
    filter: invert(100%) brightness(200%);
  }

  #whatsapp-icon {
    z-index: 1;
}

}
@media screen and (max-width: 800px) {
  .img-logo p {
      font-size: 25px;
  }
  .menu .toggle img {
    filter: invert(100%) brightness(200%);
  }
  .nav-bar {
      background: #92b5da;
      padding: 0.5rem ;
      display: flex;
      justify-content: space-between;
  }

  .logo-oculto {

      height: 3rem;
  }
 
  .button-oculto{
    display: block;
    border: 2px solid white;
    background-color: #2b6aac;
    color: white;
  
    font-weight: bold;
    padding: 0.6rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .nav-button{
      display: none;
  }


}
