


/* ######################################################################### */
/*              STATIC FIXED HORIZONTAL TOP NAVEGATION BAR                   */
/* ######################################################################### */

.navbar-div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  min-height: 55px;
  /* line-height: 40pxpx; */
  align-items: center;
  justify-content: space-between;
  background: var(--background7);
  /* background: var(--background9); */
  opacity: 0.8;
  box-shadow: 0px 3px 10px rgba(0,0,0,0.2);
  /* background:#f6f5f3; */
  position: sticky;       /* fija la barra d navegación al comienzo de la página */
  top: 0px;                 /* margen del borde superior al límite de fijado de la barra de navegación */
  z-index: 2;
}

    .navbar-div-group1 {
        display: flex;
        flex-direction: row;
        width: fit-content;
    }

        .navbar-isotype {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-left: 20px;
            /* margin-left: clamp(0.6944rem, 1.3021vw, 1.25rem); */
        }

          .navbar-isotype img {
            height: 36px;
            height: clamp(1.25rem, 2.3438vw, 2.25rem);
            width: 48px;
            width: clamp(1.6667rem, 3.125vw, 3.000rem);
          }


        .navbar-title {
          margin-left: 20px;
          margin-left: clamp(0.6944rem, 1.3021vw, 1.25rem);
        }
          .navbar-title p {
              font-size: 30px;
              font-size: clamp(1.125rem, 1.9531vw, 1.875rem);
              /* line-height: 35px; */
              font-family: 'Montserrat', sans-serif;
              font-weight: 400;
              color: #ffffff;
              color: var(--ahpapp-home-title0-color);
          }

        .navbar-div-group2 {
            display: flex;
            flex-direction: row;
            width: fit-content;
            justify-content: right;
            align-items: center;
            margin-right: 100px;
        }

            .navbar-div-group2 a {
            font-family: 'Montserrat', sans-serif;
            text-decoration: none;
            color: var(--ahpapp-navbar-text-color);
            font-weight: 500;
            font-weight: normal;
            font-size: 1.2rem;
            font-size: clamp(0.9375rem, 1.3021vw, 1.25rem);
            padding: 0.2rem;
            text-align: center;
            border-radius: 1.2rem;
            }

            .navbar-div-group2 a:hover {
              font-weight: bolder;
                color: #d1dfed;
                color: #e1f7ce;
                background-color: rgb(220, 244, 203, 0.6);
                text-shadow: 4px 4px 2px rgba(0,0,0,0.6);
                border-radius: 1.2rem;
                transition: 0.8s;
            }

                #home {
                    width: 100px;
                    width: clamp(4.6875rem, 6.5104vw, 6.25rem);
                }

                #about {
                    width: 150px;
                    width: clamp(7.0313rem, 9.7656vw, 9.375rem);
                }

                #solver {
                    width: 220px;
                    width: clamp(10.3125rem, 14.3229vw, 13.75rem);
                }

    @media (max-width: 1000px) {

    .navbar-div {
      padding-top: 10px;
      padding-bottom: 5px;
    }

        .navbar-isotype {
          display: flex;
          justify-content: left;
          align-items: center;
        }

        .navbar-title p {
          font-weight: 600;
          color: var(--ahpapp-home-title0-little-color);
        }

        .navbar-div-group2 {
            display: flex;
            flex-direction: row;
            width: 100%;
            justify-content: left;
            align-items: center;
            margin-right: 0px;
            margin-left: 30px;
            margin-top: 10px;
            margin-bottom: 5px;
        }

    }

/* ######################################################################### */
/*                LATERAL FLOATING NAVEGATION BAR (NOT IN USE)               */
/* ######################################################################### */
.navbar {
  width: 250px;
  position: fixed;
  z-index: 12;
  /* box-shadow: 0 1px 4px rgb(146 161 176 / 15%); */
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 62px;
  width: 250px;
}

.navbar .menu-items {
  display: flex;
}

.navbar .nav-container li {
  list-style: none;
}

.navbar .nav-container a {
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  color: var(--ahpapp-navbar-lines-color);
  font-weight: 500;
  font-size: 1.2rem;
  padding: 0.2rem;
}

.navbar .nav-container a:hover{
    font-weight: bolder;
    color: #d1dfed;
    color: #e1f7ce;
    text-shadow: 4px 4px 2px rgba(0,0,0,0.6);
}

.nav-container {
  display: block;
  position: relative;
  height: 60px;
}

.nav-container .checkbox {
  position: absolute;
  display: block;
  height: 32px;
  width: 32px;
  top: 8px;
  left: 6px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.nav-container .hamburger-lines {
  display: block;
  height: 26px;
  width: 32px;
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-container .hamburger-lines .line {
  display: block;
  height: 4px;
  width: 100%;
  border-radius: 10px;
  background: #0e2431;
  background: #2a85a5;
  background: var(--ahpapp-navbar-lines-color);
  /* box-shadow: 4px 4px 2px rgba(0,0,0,0.6); */
}

.nav-container .hamburger-lines .line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
  transition: transform 0.2s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}

.navbar .menu-items {
  padding-top: 70px;
  /* box-shadow: inset 0 0 2000px rgba(255, 255, 255, 0.8); */
  box-shadow: inset 0 0 2000px rgba(15, 53, 105, 0.8);
  box-shadow: inset 0 0 2000px rgba(165, 247, 162, 0.8);
  box-shadow: inset 0 0 2000px rgba(233, 237, 232, 0.8);
  /* color: rgb(255, 215, 0); */
  height: 300vh;
  width: 100%;
  transform: translate(-150%);
  display: flex;
  flex-direction: column;
  margin-left: -40px;
  padding-left: 50px;
  transition: transform 0.5s ease-in-out;
  text-align: left;
}

.navbar .menu-items li {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.logo {
  position: absolute;
  top: 5px;
  right: 15px;
  font-size: 1.2rem;
  color: #0e2431;
}

.nav-container input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}

.nav-container input[type="checkbox"]:checked ~ .logo{
  display: none;
}