/*Mobile First*/

#header {
    align-items: center;
    background-color: #453e3e59;
    display: flex;
    padding: 0 1rem;
    justify-content: space-between;
    width: 100%;
}


.user_loged_in {
    display: none;
}

.menu_toggle{
    background-color: #e0280a;
    border: none;
    border-radius: .7rem;
    color:#ffffff;
    font-size: 2.2rem;
    margin: 0 1rem;
    width: 3rem;
}

.fullscreen_display {
    background-color: rgb(253, 255, 255);
    bottom: 0;
    box-shadow: 0 0 0 100vmax rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    opacity: 0;
    position: fixed;
    top: 0;
    right: 0;
    width: 60%;
    transform: translateX(100vh);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    visibility: hidden;
    z-index: 1000;
}

.fullscreen_display.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0); /* Aparece desde la derecha */
}

.fullscreen_display.hiding {
    opacity: 0;
    transform: translateX(100%); /* Se esconde hacia la derecha */
}

ul {
    align-items: start;
    color: #e0280a;
    display: flex;
    flex-direction: column;
    font-size: 2rem;
    font-weight: 700;
    list-style: none; 
    margin:0 0 2rem 0;
    padding: 0;
    width: 100%;
}

ul ul {
    margin-bottom: 1.5rem;
}

ul ul li{
    font-family: "Lato", sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-left: 2.5rem;
}


.second_lvl_ul ul li a{
    display: flex;
    align-items: end;
}

nav ul li a{
    text-decoration: none;
    color:#453e3e
}


#logo_container {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 1rem auto;
    width: 100%;
    height: 100%;
}

#logo_celer {
    height: 5rem;
    width: 5rem;
}

#login_container{
    margin-top: 2rem;
}


#login_frm {
    align-items: center;
    column-gap: 1rem;
    color: white;
    display: flex;
    flex-direction: column;
    font-family: "Lato", sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    row-gap: 1rem;
    width: 100%;
}

#login_frm input{
    border: solid .1rem rgba(128, 128, 128, 0.329);
    border-radius: .5rem;
    height: 3rem;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 90%;
}


input:focus { 
    outline: none; 
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

#header label {
    color: #453e3e;
    font-family: "Lato", sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
}

.header_btn {
    border: solid .1rem rgba(128, 128, 128, 0.329);
    border-radius: .5rem;
    background-color: #e0280a;
    color: white;
    font-family: "Lato", sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    height: 3rem;
    padding: 0 ;
    width: 80%;
}

@media screen and (min-width: 768px){

    #header{
        width: 100%;
        justify-content: space-between;
    }

    #logo_container {
        justify-content: flex-start;
        padding-left: 1rem;
    }

    .fullscreen_display {
        background-color: transparent;
        box-shadow: none; 
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        gap: 1rem;
        padding: 0 auto;
        opacity: 1;
        overflow-x: hidden;
        position: relative;
        transform: translateX(0%);
        visibility: visible;
        width: 100%;
    }

    .fullscreen_display button {
        padding: 0 2rem;
        width: 15rem;
    }

    #login_container{
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0;
        width: 80%;
    }

    #login_frm{
        width: 90%;
        display: flex;
        justify-content: space-evenly;
        flex-direction: row;
    }

    #login_frm input{
        margin: 0;
        width: 30%;
    }

    .menu_toggle{
        display: none;
    }

    ul{
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }

    ul ul{
        background-color: #e0280a;
        color: #ffffff;
        font-weight: 400;
        width: 10rem;
    }
    
    ul ul li{
        visibility: hidden;
        width: 90%;
    }

}
    
