/* Importaciones */
@import url('header.css');
@import url('articulos.css');
@import url('style.celular.css');

/* Variables */
:root {
    --var: #000;
}

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

html, body {
    height: 100vh;
    width: 100vw;
}

body {
    font-family: "Open Sans", "Odoo Unicode Support Noto", 'Arial', sans-serif;
    font-size: 1.125rem;
    text-align: left;
    font-weight: 400;
    line-height: 1.5;
    background-color: #f4f4f4;
    color: #212529;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    overflow: hidden;
}

/* Estilos para elementos específicos */
main {
    overflow-y: auto;
}

footer {
    display: block;
    background-color: #333;
    color: #ddd;
    padding: 10px;
}

nav {
    user-select: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
    font-family: "Arial";
    font-weight: revert;
    line-height: 1.2;
    color: #353535;
}

h1 {
    margin-bottom: 0;
    font-size: calc(2.35rem + 1.2vw);
}

h2 {
    font-size: calc(1.35rem + 1.2vw);
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    user-select: none;
}

/* Clases generales */
.contenido > article {
    padding: 20px 50px;
    display: flex;
    justify-content: center;
}

.contenido > article:first-child {
    padding-top: 40px;
}

.contenido > article:last-child {
    padding-bottom: 40px;
}

.contenido > article > * {
    max-width: 1000px;
    width: 100%;
}

.contenido > .articulo-total {
    max-width: 100%;
    width: 100%;
    padding: 0;
}
.contenido > .articulo-total img {
    max-width: 100vw;
    width: auto !important;
    height: auto !important;
    max-height: calc(100vh - 74px) !important;
}

.imagen-fondo {
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.fixed_element {
    position: fixed;
    width: 100%;
    z-index: 1000;
    bottom: auto;
    top: 0;
    right: 0;
}

.pantalla-completa {
    position: fixed;
    width: 100vw;
    height: 100vh;

    top: 0;
    left: 0;

    z-index: 9998;
}

.ventana {
    box-shadow: 2px 2px 3px rgb(0 0 0);
}

.cerrar {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 11;
    background-color: #00000030;
}

.box-precio {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

.btn-precio {
    border: solid #111 1px;
    padding: 10px 20px;
    text-align: center;
    margin: 10px;
    cursor: pointer;
}

.btn-precio:hover {
    background-color: #4f938920;
    transition: background-color 0.2s;
}

@media only screen and (min-width: 920px) {
    .btn-precio {
        display: inline-block;
        width: 18%;
        font-size: 1vw;
    }
    .btn-precio:first-child {
        margin-left: 0;
    }
    .btn-precio:last-child {
        margin-right: 0;
    }
}

@media only screen and (max-width: 920px) {
    .box-precio {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .btn-precio {
        display: block;
        width: 100%;
        font-size: 3vw;
        padding: 10px 0;
        margin: 5px 10px;
    }
}

/* Clases específicas */
.contenido_img_txt {}

.contenido_txt_img {}

.div-a {
    width: 100%;
    padding: 30px;
}

.btn {
    cursor: pointer;
}

.center, .center-v, .center-h {
    display: flex;
}

.center {
    align-items: center;
    justify-content: center;
}

.center-v {
    align-items: center;
    align-content: center;
}

.center-h {
    justify-content: center;
}

.invertir-h {
    display: flex;
    flex-direction: row-reverse;
}

.invertir-v {
    display: flex;
    flex-direction: column-reverse;
}

.no-copy {
    user-select: none;
}

.columnas, .columnas-responsive, .filas {
    display: flex;
}

.columnas > *, .columnas-responsive > *, .filas > * {
    margin: 20px;
}

.columnas > *:first-child, .columnas-responsive > *:first-child, .filas > *:first-child {
    margin-right: 0;
}

.none {
    display: none;
}

/* Fondos de color */
.fondo-color-oscuro-a {
    background-color: #343b45;
    color: #fff;
}

.fondo-color-oscuro-a * {
    color: #fff;
}

.fondo-color-marron-oscuro {
    background-color: #352e2e;
}

.fondo-color-marron-claro {
    background-color: #5b5252;
}

.fondo-color-marron-oscuro, .fondo-color-marron-claro {
    color: #fff;
}

/* Ajustes */
article img {
    max-height: calc(100vh - 200px);
    max-width: calc(100vw - 80px);
}

*[focus="true"] {
    border: solid 3px #000 !important;
}

*[en-produccion="true"] {
    display: none !important;
}
*[en-produccion="editando"] {
    opacity: 0.3;
    transition: opacity 0.2s;
}
*[en-produccion="editando"]:hover {
    opacity: 1;
}

/* Estilos para PC */
@media only screen and (min-width: 768px) {
    @import url('general-pc.css');
    .contenido > article {
        padding: 70px 50px;
    }
}

