.navbar {
  position: fixed;
    width: 100%;
    height: 70px;
    background-color: ghostwhite;
    padding: 10px;
    z-index: 2;
  }

  .contentnavbar {
    padding: 0px 20px;
    width: 100%;
    height: 100%;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 3fr;

  }

  .leftcontentnavbar,
  .rightcontentnavbar {
    width: 100%;
    height: 100%;
  }

  .leftcontentnavbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .contenedor-in-left{
    display: none; 
    gap: .5rem;    }

  .rightcontentnavbar {
    display: flex;
    justify-content: flex-end;
  }

  .nav-menu {
    list-style: none;
    /* quitar los bullets */
    display: flex;
    /* poner los items en fila */
    gap: 20px;
    /* espacio entre items */
    margin: 0;
    padding: 0;
    align-items: center;
  }

  .nav-menu li a {
    text-decoration: none;
    padding: 10px 15px;
    color: rgb(0, 121, 131);
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
    display: inline-block;
  }
  
  .boton-contactos {
    background-color: #25d365;
  }

  @media (hover: hover) and (pointer: fine) {
.nav-menu li a:hover {
  transform: scale(1.1);
  color: rgb(3, 150, 163);
}
}

  

  .boton-contactos-sm{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25d365;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    color: rgb(0, 121, 131);

  }

  .logo-link {
    display: inline-block;
    transition: transform 0.2s ease;
  }

  .logo-link img {
    height: auto;
    width: 145px;
  }

  .logo-link:hover {
    transform: scale(1.1);
    /* o el color del fondo del navbar */
  }


  .boton-expandir {
    width: 70px;
    color: rgb(0, 121, 131);
    height: 50px;
    font-size: large;
    background-color: transparent;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
    border: none;
  }

  .boton-expandir:hover {
    background-color: rgb(0, 121, 131, 0.2);
    transform: scale(1.1);
  }

  @media (max-width: 600px) {
    .navbar{
      height: auto;
      z-index: 2;
    }
    .contentnavbar {
      gap: 1rem;
      grid-template-columns: 1fr;
    }

  .contenedor-in-left {
    display: flex;
  }

  

    .rightcontentnavbar {
      display: none;
    justify-content: center;
    align-content:center;
      background-color: aliceblue;
      z-index: 2;
    }

    .rightcontentnavbar.show {
        display: flex;
      }
      
    .nav-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .nav-menu li{
    flex-grow: 1;
    width: 100%;
  }
  .nav-menu li *{
    width: 100%;
    
  }
  
  .boton-contactos {
    display: none !important;
  }
  
  }

  @media (min-width: 601px) {
    .rightcontentnavbar {
      display: flex;
    }
  }