/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Template: generatepress
Author: Tutelevisor
Author URI: https://tutelevisor.es/
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 3.1.1721999057
Updated: 2024-07-26 15:04:17

*/

/* Reset global de márgenes y padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Evita el scroll lateral en pantallas pequeñas */
}

/* Ajuste de contenedores principales */
.site-content, .container, .wrapper, .main-content, .content-area {
    margin: 0 auto; /* Centra el contenido */
    padding: 0 15px; /* Espacio alrededor del contenido para evitar que toque los bordes */
    max-width: 100%;
    width: 100%;
}

/* Asegurar que las imágenes sean responsivas */
img {
    max-width: 100%;
    height: auto; /* Asegura que las imágenes no se distorsionen */
}

/* Media queries para pantallas más pequeñas */
@media (max-width: 600px) {
    body {
        font-size: 16px; /* Ajusta el tamaño de texto para pantallas pequeñas */
    }

    .container {
        padding: 0 10px; /* Reduce el espacio en los bordes para pantallas pequeñas */
    }

    .main-content {
        width: 100%; /* El contenido principal debe ocupar todo el ancho */
    }

    /* Si tienes barras laterales, puedes ocultarlas en pantallas pequeñas */
    .sidebar {
        display: none; /* Ocultar barras laterales en pantallas pequeñas para mejorar la legibilidad */
    }
}

/* Media queries para pantallas medianas */
@media (min-width: 601px) and (max-width: 900px) {
    .container {
        padding: 0 20px; /* Espacio para pantallas medianas */
    }

    .main-content {
        width: 90%; /* Ajuste del contenido en pantallas medianas */
    }
}

/* Ajuste para pantallas grandes (desktop y grandes tablets) */
@media (min-width: 901px) {
    .container {
        padding: 0 30px;
    }

    .main-content {
        width: 75%; /* El contenido ocupa 75% del ancho en pantallas grandes */
    }
}
