/**********/
/* GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    font-family: "Open Sans", "Odoo Unicode Support Noto", 'Arial', sans-serif;
    font: normal normal 24px 'Roboto Slab', 'Arial', 'serif';
    font-size: 1.125rem;
    text-align: left;
    font-weight: 400;
    line-height: 1.5;
}

.skip-link,
.visually-hidden {
    position: absolute;
}

.skip-link {
    left: 16px;
    top: 16px;
    z-index: 12000;
    padding: 12px 16px;
    border-radius: 999px;
    background: #fff;
    color: #222;
    text-decoration: none;
    transform: translateY(-140%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.visually-hidden {
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/*******/
/* NAV */
body > nav {
    position: fixed;
    width: 100px;
    height: 100%;
    background-color: #2c3e50;
    color: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s;
    justify-content: space-evenly;
    user-select: none;
    z-index: 10000;
}


body > nav > a {
    text-decoration: none;
    color: white;
    padding: 15px 14px;
    transition: background-color 0.3s;
    min-width: 300px;
    width: 100%;
    height: -webkit-fill-available;
    display: flex;
    align-items: center;
    cursor: pointer;
}
body > nav > a.activo {
    background-color: #ffffff15;
}
body > nav > a:hover {
    background-color: #ffffff10;
}
body > nav > a:active {
    background-color: #ffffff20;
}
body > nav > a:focus-visible {
    outline: 3px solid #f2e0ac;
    outline-offset: -3px;
    background-color: #ffffff18;
}

body > nav img,
body > nav svg {
    width: 68px;
    height: 8vh;
    vertical-align: middle;
    margin-right: 19px;
}
body > nav img {
    filter: invert(1);
}
body > nav svg {
    fill: #fff;
}

body > nav span {
    font-weight: bold;
    transition: all 0.3s ease-in;
}


/* Colores */
body > nav.color-naranja {
    background-color: #7e3620;
}
body > nav.color-gris {
    background-color: #333;
}

body > nav-background {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    background-color: #00000000;
    z-index: 1000;
    display: none;
    transition: all 0.3s;
}

body > nav-background.activo {
    width: 100%;
    height: 100%;
    display: block;
    background-color: #00000080;
    z-index: 9999;
}


/**********/
/* HEADER */
body > header {
    position: fixed;
    top: 0;
    margin-left: 100px;
    width: calc(100% - 100px);
    right: 0;
    height: 150px;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    justify-content: space-between;
    z-index: 1050;
}

body > header > div {
    display: flex;
    align-items: center;
    max-height: 100%;
    overflow-y: hidden;
}

body > header > .portada img,
body > header > .portada svg {
    height: 120px;
    width: auto;
    margin-left: 15px;
    max-width: 100%;
    max-height: 100%;
}

body > header div.portada {
    height: 130px;
    padding: 10px 0 10px 10px;
}
body > header div.portada > img {
    height: 100%;
}
body > header div.portada > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    zoom: 1.4;
}
body > header div.portada > div > span {
    margin-left: 13px;
    color: #4b4945;
    font-weight: bold;
    font-size: 30px;
    line-height: 1.1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    user-select: none;
    width: -webkit-fill-available;
}
body > header div.portada > div > span:nth-child(2) {
    font-size: 19.85px;
    margin-top: -5px;
    /* width: 100%; */
    font-weight: unset;
}


/********/
/* MAIN */
body > main {
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    margin-left: 100px;
    margin-top: 150px;
    color: #737373;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000;
}

body > main h1 {
    color: #484848;
    margin: 40px 0;
    text-align: center;
}

body > main h2 {
    color: #696969;
    margin-bottom: 15px;
}

body > main h3 {
    color: #696969;
    margin-bottom: 10px;
    margin-top: 25px;
}

body > main p {
    color: #4b4b4b;
    margin-bottom: 10px;
    line-height: 1.6;
}


/*************/
/* ARTICULOS */
article.basico {
    padding: 10px 45px;
    width: 100%;
    display: flex;
    justify-content: center;
}

article.basico > div {
    max-width: 1000px;
}

article.basdico > div > h3,
article.basdico > div > h2,
article.basdico > div > p,
article.basdico > div > img {
    margin-left: 5px;
}

article.basico > div > img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}


/**********/
/* FOOTER */
footer {
    text-align: center;
    background-color: #f2e0ac;
    color: #696969;
    font-size: 0.9rem;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    /** margin-top: 20px; */
    display: flex;
    flex-direction: column;
}

footer > div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
    flex-direction: row;
    width: 100%;
    justify-content: center;
}

footer > div > div {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    padding: 10px;
    box-sizing: border-box;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

footer h3 {
    text-align: center;
}

footer button {
    background-color: #7e3620;
    color: white;
    border: none;
    margin-top: 20px;
    padding: 10px 20px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: normal;
    transition: background-color 0.3s;
}
footer button:hover {
    background-color: #5c2615;
}
footer button:active {
    background-color: #4b1f10;
}
footer button:focus-visible,
footer input:focus-visible,
body > header .menu:focus-visible {
    outline: 3px solid #7e3620;
    outline-offset: 3px;
}

footer form {
    text-align: left;
    width: 100%;
}

.inline-input {
    display: flex;
    gap: 10px;
}

footer form .inline-input input {
    max-width: 400px;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border:  0;
    font-size: 1rem;
    background-color: transparent;
    border-bottom: 2px #333 solid;
    display: inline;
    width: 40%;
}

footer form .letraChica {
    font-size: 0.75rem;
    color: #333333ab;
}

.form-status {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #5c2615;
}

@media screen and (max-width: 1400px) {
    footer form .inline-input {
        flex-direction: column;
    }

    footer form .inline-input input {
        width: 100%;
    }
}

@media screen and (max-width: 840px) {
    footer > div {
        display: flex;
        flex-direction: column;
    }

    footer > div > div {
        width: 100%;
        margin: auto;
    }
}

@media screen and (min-width: 1100px) {
    body > header .menu {
        display: none;
    }

    body > nav:hover {
        width: 400px;
    }

    body > nav span {
        opacity: 0;
    }

    body > nav:hover span {
        opacity: 1;
    }
}

@media screen and (max-width: 1100px) {
    body > nav {
        left: -80vw;
        width: 80vw;
        background-color: #2c3e5060;
        justify-content: flex-start;
        max-width: 420px;
    }
    body > nav.activo {
        left: 0;
        box-shadow: 2px 0 8px rgba(0,0,0,0.2);
    }

    body > nav > a {
        height: auto;
    }




    body > header {
        margin-left: 0;
        width: 100%;
        height: 100px;
    }

    body > header .menu {
        margin-right: 16px;
        height: 80px;
        width: 63px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0;
        background: transparent;
        padding: 0;
        cursor: pointer;
    }

    body > header .menu > img,
    body > header .menu > svg {
        fill: #4b4945;
        height: 33px;
    }
    body > header .menu > svg > * {
        display: flex;
    }

    body > header > div img,
    body > header > div svg {
        height: 70px;
    }

    body > header div.portada > div > span {
        font-size: 15px;
        margin-bottom: 3px;
    }

    body > header div.portada > div > span:nth-child(2) {
        font-size: 9.9px;
    }

    body > main {
        margin-left: 0;
        margin-top: 100px;
    }
}


/**********/
/* CLASES */
.filado {
    display: flex;
    flex-direction: column;
}
.columnado {
    display: flex;
    justify-content: center;
    align-items: center;
}
.galeria {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

