@import url('https://fonts.googleapis.com/css2?family=BioRhyme:wght@200..800&display=swap');

:root {
    --naranja-fondo-header: #f17f2d;
    --gris-oscuro: #292823;
    --blanco: #f1f2ec;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* html, body {
    overflow-x: hidden;
} */

header {
    width: 100vw;
    height: fit-content;
    min-width: 287px;
}

.todo_header {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main_header {
    width: 100%;
    height: 130px;
    display: flex;
    justify-content: space-between;
    background-color: var(--naranja-fondo-header);
    border-bottom: 3px solid #292823bf;
}

.logo_header {
    width: 18%;
    padding-left: 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo_header_img {
    width: 100%;
    display: flex;
    align-items: center;
}

.logo_header_img img {
    display: block;
    max-height: 130px;
    max-width: 198px;
    width: 100%;
}

.slogan {
    width: 54%;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}

.texto_slogan {
    text-align: center;
    font-size: 35px;
    font-family: "BioRhyme", serif;
    font-weight: bold;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "width" 100;
    padding: 5px;
    text-decoration: underline;
    border-radius: 2px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.349),
        0 0 20px var(--blanco);
}

.todo_botones {
    width: 18%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.todo_botones .botones {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 74px;
}

.todo_botones .botones button {
    width: 125px;
    padding: 4px 10px;
    font-size: 20px;
    border-radius: 4px;
    font-weight: bold;
    border: 1px solid white;
    background-color: #ee9a5f;
    transition: background-color 0.1s, color 0.2s, box-shadow 0.05s;
}

.todo_botones .botones button:hover,
.todo_botones .botones button:active {
    cursor: pointer;
    border: 2px solid white;
    background-color: #ee9657;
    color: white;
    padding: 3px 10px;
    box-shadow: 1px 1px 8px rgba(255, 255, 255, 0.863);
}

#btn-logon {
    background-color: transparent;
    color: inherit;
    font-size: inherit;
    border: none;
    padding: 0;
    text-decoration: none;
}

.subheader {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 3px solid var(--gris-oscuro);
    background-color: var(--blanco);
}

.subheader .categorias {
    padding: 10px;
    width: 90%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.categorias .categoria {
    font-size: 26px;
    padding: 8px 15px;
    background-color: #5bb7c54a;
    border-radius: 5px;
    transition: background-color 0.2s, transform 0.2s, color 0.2s, box-shadow 0.05s, border 0.2s;
    border: 2px solid #468c974a;
    color: #233438;
}

.categorias .categoria:hover,
.categorias .categoria:active {
    cursor: pointer;
    transform: translateY(-4px);
    background-color: #49bcce81;
    border: 2px solid #233438c3;
    box-shadow: 2px 2px 7px #292823;
    color: #0f2225;
    text-decoration: underline;
}

.subheader-visible .subheader {
    display: flex;
}

.todo_flecha {
    display: none;
}

.flecha {
    background-color: var(--blanco);
    border: none;
    height: 30px;
    cursor: pointer;
}

.flecha img {
    width: 30px;
    height: 30px;
}

.subheader-visible .flecha img {
    transform: rotate(180deg);
}

.profile.botones{
    justify-content: center;
    display: none;
}

@media(max-width: 1350px) {
    .texto_slogan {
        font-size: 32px;
    }
}

@media(max-width: 1280px) {
    .texto_slogan {
        font-size: 30px;
    }

    .todo_botones .botones button {
        width: 130px;
        padding: 4px 9px;
        font-size: 18px;
    }
}

@media(max-width: 1225px) {
    .texto_slogan {
        font-size: 28px;
    }
}

@media(max-width: 1102px) {
    .main_header {
        flex-direction: column;
        height: fit-content;
        justify-content: center;
    }

    .logo_header,
    .slogan,
    .todo_botones {
        width: 100%;
        justify-content: center;
    }

    .logo_header {
        padding: 0;
    }

    .logo_header_img {
        width: 100%;
        justify-content: center;
    }

    .logo_header_img img {
        margin-top: 20px;
        margin-bottom: 10px;
        max-width: 300px;
        max-height: 250px;
        height: 100%;
    }

    .todo_botones .botones {
        flex-direction: row;
        justify-content: space-between;
        height: 70px;
        width: fit-content;
        padding: 20px 0 15px;
    }

    .todo_botones .botones .boton:nth-child(1) {
        margin-right: 10px;
    }

    .todo_botones .botones .boton:nth-child(2) {
        margin-left: 10px;
    }
}

@media(max-width: 777px) {
    .texto_slogan {
        font-size: 25px;
        width: 80%;
    }

    .subheader {
        display: none;
    }

    .todo_flecha {
        display: flex;
        justify-content: center;
        width: 100%;
        background-color: var(--blanco);
    }

    .subheader .categorias {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    .subheader .categorias .categoria {
        width: 100%;
        border-left: none;
        border-right: none;
        border-bottom: none;
        border-radius: 0;
        text-align: center;
    }

    .subheader .categorias .categoria:hover,
    .subheader .categorias .categoria:active {
        box-shadow: none;
        transform: none;
        border-color: #468c974a;
        text-decoration: underline;
    }

    .logo_header_img img {
        min-width: 290px;
    }
}