/* Contenedor general que permite encerrar todo el nav y ubicarlo en parte especifica de la pantalla para poder utilizarla en otras pantallas*/
.nav{
    background-color: var(--secondary-color);
    position: fixed;
    top: 30px; /* leave space based on scrolling text height */
    left: 0;
    width: 100%;
    z-index: 101;
}

/* display styles for logo and burguer menu */
.nav__container{
    width: min(90%, 1200px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* height: 80px; */
    height: 50px;
}

/* Position withing the webpage of logo and burguer menu */
.nav__figure, .nav__toggle{
    z-index: 10;
}

/* Contenedor del: Logo de AM CAIPIN EN EL NAVBAR */
.nav__figure{
    max-width: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Img: Logo de AM CAIPIN EN EL NAVBAR */
.nav__logo {
    width: 34px;
}

/* burguer menu styles */
.nav__toggle {
    width: 45px;
    height: 45px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0px;
    transition: background-image 0.5s;
}

/* Img of burguer menu itself */
.nav__icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0px;
}

/* burguer menu options style */
.nav__list{
    margin-top: 80px;
    transform: translate(-100%);
    list-style-type: none;
    position: fixed;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem 5%;
    background-color: var(--secondary-color);
    transition: transform 0.5s;
    z-index: 9;
}

/* Every item in the burguer menu it's an anchor tag, so... */
.nav__link {
    color: var(--primary-color-soft);
    text-decoration: none;
}