/* by Matheus Souza */

/* Estilo del Logo */
img.img_logo {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    margin: 4px 12px;
    z-index: 2;
}

/* Estilo del Menu */
nav ul { display: flex; }

nav ul li {
    list-style: none;
    padding: 16px;
}

nav ul li a {
    color: #043F2D;
    font-family: Birthstone;
    font-size: 64px;
    text-decoration: none;
    text-align: center;
}

/* Hover Efect de los Enlaces */
nav ul li a { position: relative; }

nav ul li a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background-color: #043F2D;
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

nav ul li a:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}
/* Fin Hover Efect */

/* Hamburger Menu */
nav .boton  {
    display: none;
    height: min-content;
    margin: 5px 20px 0px 0px;
    cursor: pointer;
    z-index: 3;
}

nav .boton .barra {
    width: 50px;
    height: 8px;
    margin-bottom: 10px;
    background-color: #043F2D;
    border-radius: 10px;
    transition: 0.5s;
    z-index: 3;
}

header input { display: none; }

header input:checked ~ nav ul {
    transform: translateY(0);
    z-index: 1;
}

header input:checked ~ nav .boton .barra:nth-child(1){ position: absolute; transform: rotate(45deg); }
header input:checked ~ nav .boton .barra:nth-child(2){ display: none; }
header input:checked ~ nav .boton .barra:nth-child(3){ transform: rotate(-45deg); }

@media (max-width: 800px) {
    nav ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        background-color: #F4E1C1;
        width: 100%;
        max-width: 100vw;
        top: 90px;
        right: 0;
        transform: translateY(-100%);
        z-index: -1;
        transition: 0.5s;
        padding-left: 0px;
    }

    nav ul li { text-align: center; }

    nav ul li a { font-size: 48px; }

    nav .boton  { display: grid !important; }
}
/* Fin Hamburger Menu */
/* Fin Estilo del Menu */

/*Responsive for Mobile*/
@media (max-width: 800px) {
    img.img_logo {
        width: 75px;
        height: 75px;
    }
}