/*
Theme Name: HG_Framework
Theme URI: http://www.hectorgarrofe.com
Author: Hector Garrofe
Author URI: http://www.hectorgarrofe.com
Description: Un theme básico sobre el que construir todos mis proyectos.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hg_framework
*/

/* CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* variables */
:root {
  --color-main: 255, 255, 255;
  --text-color: #363636;
  --color-primario: 166, 166, 166;
  --color-secundario: #EBB510;
  --header-bg: #fff;
  --header-border: #dadada;
  --menu-link: #363636;
  --footer-text: #ebebeb;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

@font-face {
    font-family: 'blemoregular';
    src: url('fonts/blemo-webfont.woff2') format('woff2'),
         url('fonts/blemo-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body {
    line-height: 1;
    font-family: 'blemoregular';
    color: #999999;
    background-color: #010101;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* RESET END */

/* Estilos básicos */

.link{
	text-decoration: none;
}

article h1{
    font-family: 'blemoregular';
	font-optical-sizing: auto;
	font-style: normal;
	font-size: 40px;
	margin-bottom: 20px;
	color: #ffffff;
	line-height: 1.2em;
}

article h2{
    font-family: 'blemoregular';
	font-optical-sizing: auto;
	font-style: normal;
	font-size: 32px;
	margin-bottom: 20px;
	color: #ffffff;
	margin: 20px 0;
	padding-bottom: 10px;
}

article h3{
    font-family: 'blemoregular';
	font-optical-sizing: auto;
	font-style: normal;
	font-size: 24px;
	margin-bottom: 20px;
	color: rgba(var(--color-primario), 1);
	margin: 20px 0;
	padding-bottom: 10px;
	border-bottom: 4px solid rgba(var(--color-primario), 0.1);
}

article p{
    font-family: 'blemoregular';
	font-optical-sizing: auto;
	font-style: normal;
	font-size: 18px;
	line-height: 1.6em;
	margin-bottom: 20px;
}

p strong{
	font-weight: 700;
}

header#cabecera{
        float: left;
        width: 100%;
        background: #1C1C1E;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.header-container .logo {
    flex-grow: 1;
}

.header-container .main-navigation {
    display: flex;
    justify-content: flex-end;
}

.header-container .menu-container {
    display: flex;
}

.theme-toggle {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.theme-toggle input {
    height: 0;
    width: 0;
    visibility: hidden;
}

.theme-toggle label {
    cursor: pointer;
    width: 40px;
    height: 20px;
    background: #ddd;
    display: block;
    border-radius: 100px;
    position: relative;
}

.theme-toggle label:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}

.theme-toggle input:checked + label {
    background: rgba(var(--color-primario), 0.8);
}

.theme-toggle input:checked + label:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

.theme-toggle label:active:after {
    width: 20px;
}

body.dark-mode .theme-toggle label {
    background: #555;
}

#primary-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

#primary-menu .menu-item {
    margin-left: 40px;
}

#primary-menu .menu-item a,
#primary-menu a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s;
}

#primary-menu .menu-item a:hover{
	color: #30D158;
}

#primary-menu .current-menu-item a,
#primary-menu .current_page_parent a{
    color: #30D158;	
}

.header-container .logo img {
    max-height: 100px;
    height: auto;
    width: auto;
    margin: 15px 0;
}

article ul,
article ol {
    font-size: 16px;
    line-height: 1.8em;
    padding-left: 20px;
    box-sizing: border-box;
    margin-bottom: 20px;
    list-style-type: none; /* Desactiva el estilo de lista predeterminado */
}

article ul li,
article ol li {
    position: relative; /* Asegura que el contenido esté correctamente posicionado */
    padding-left: 20px; /* Añade padding para separar el texto del cuadrado */
}

article ul li::before,
article ol li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 11px; /* Ajusta la posición vertical del cuadrado */
    width: 6px; /* Ancho del cuadrado */
    height: 6px; /* Alto del cuadrado */
    background-color: rgba(var(--color-primario), 0.7); /* Color del cuadrado */
    display: inline-block;
}

article ul li strong,
article ol li strong{
	font-weight: 600;
}

/* Contenedor principal */
.container {
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

footer.site-footer{
        background: #1C1C1E;
        color: #ffffff;
        margin-top: 80px;
}

footer.site-footer .container{
	padding-top: 20px;
	padding-bottom: 40px;
	box-sizing: border-box;	
}

.footer-navigation {
    display: flex;
    justify-content: center; /* Centra los elementos horizontalmente */
    align-items: center;     /* Centra los elementos verticalmente */
    gap: 20px;               /* Espaciado entre elementos */
    flex-wrap: wrap;         /* Permite que los elementos se envuelvan en líneas múltiples */
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0px;               /* Espaciado entre elementos del menú */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-menu li {
    margin: 0;
    display: flex;
    justify-content: center; /* Centra horizontalmente el contenido del li */
    align-items: center;     /* Centra verticalmente el contenido del li */
}

.footer-menu a {
    color: var(--footer-text);
    text-decoration: none;
    padding: 10px 15px;      /* Añade un poco de padding para un mejor aspecto */
    transition: color 0.3s;  /* Transición suave para el cambio de color */
    display: flex;
    justify-content: center; /* Centra horizontalmente el contenido del enlace */
    align-items: center;     /* Centra verticalmente el contenido del enlace */
    text-align: center;      /* Centra el texto dentro del enlace */
}

.footer-menu a:hover {
    color: #f0f0f0;          /* Color al pasar el ratón, ajusta según tu diseño */
}

.site-info {
    text-align: center;
    margin-top: 20px;
    color: #fff;
    font-size: 12px;
}

.button{
	background: rgba(var(--color-primario), 0.8);
	padding: 10px 20px;
	box-sizing: border-box;
	color: #fff;
	text-decoration: none;
	transition: all 0.3s;
	display: inline-block;
}

.button:hover{
	background: rgba(var(--color-primario), 1);	
}

.button-container {
    text-align: right; /* Alinea el contenido del contenedor a la derecha */
    margin-top: 20px; /* Ajusta el margen superior para separar del contenido anterior */
}

.blog #content article{
	border-bottom: 4px solid rgba(var(--color-primario), 0.15);
	margin-bottom: 40px;
}

#breadcrumbs-container {
    display: flex;
    align-items: center; /* Centra verticalmente */
    justify-content: center; /* Centra horizontalmente */
    min-height: 30px; /* Ajusta según tus necesidades */
    background-color: #999999;
    padding: 10px; /* Espacio interno para mejor presentación */
	margin-bottom: 20px;
}

#breadcrumbs {
    margin: 0;
    color: #ffffff;
    font-size: 12px;
}

#breadcrumbs a{
	color: rgba(var(--color-primario), 1);
	text-decoration: none;
	color: #ffffff;
}

.featured-screen h2{
	margin-bottom: 20px;
}

#pixapins-x{
    display: block;
    margin: 0 auto;
    margin-bottom: 15px;
}

.home h1{
	font-size: 64px;
	color: #fff;
	text-align: center;
	display: inline-block;
	width: 100%;
	margin-top: 60px;
	margin-bottom: 40px;
}

#intro-text{
	max-width: 600px;
	text-align: center;
	margin: 0 auto;
	line-height: 24px;
}

#pixapins-appstore{
        margin: 60px auto;
        max-width: 180px;
}

/* Destacats */
#destacats{
        margin-top: 40px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 40px;
}

#destacats .destacat{
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
}

#destacats .destacat img{
        width: 100%;
        height: auto;
}

.destacat h2{
	color: #ffffff;
	font-size: 34px;
	margin-bottom: 40px;
}

.destacat p{
	margin-bottom: 40px;
}

#best-app-award{
	max-width: 200px;
	margin: 0 auto;
	margin-bottom: 120px;
}

@media (min-width: 768px){
        #destacats .destacat{
                width: calc(50% - 20px);
        }

        #destacats .destacat-2{
                margin-top: 470px;
        }
        
        #destacats .destacat-3{
                margin-top: -340px;
        }
        
        #destacats .destacat-4{
                margin-top: 100px;
        }
}

.page .entry-content a{
	color: #30D158;
	text-decoration: none;
}

/* Breakpoints RESPONSIVE */
@media (max-width: 1200px) {
    .container {
        max-width: 980px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 880px;
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 660px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 35px;
    }
}

@media (max-width: 400px) {
    .footer-navigation {
        flex-direction: column;    /* Disposición en columna en pantallas pequeñas */
        align-items: center;       /* Centra los elementos horizontalmente */
    }

    .footer-menu {
        flex-direction: column;    /* Disposición en columna para los elementos del menú */
        gap: 0px;                 /* Menor espacio entre elementos */
    }

    .footer-menu li {
        width: 100%;               /* Hacer que los li ocupen el 100% del ancho */
        justify-content: center;   /* Asegurar que el contenido esté centrado */
    }

    .footer-menu a {
        width: 100%;               /* Hacer que los enlaces ocupen el 100% del ancho */
    }
}
/* Contact form styles */
.wpcf7-form {
    width: 100%;
}
.wpcf7-form p {
    margin-bottom: 20px;
}
.wpcf7-form label {
    display: block;
    color: #ffffff;
    margin-bottom: 5px;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    background: #1C1C1E;
    border: 1px solid rgba(var(--color-primario), 0.5);
    color: #ffffff;
}
.wpcf7-form input[type="submit"] {
    background: rgba(var(--color-primario), 0.8);
    padding: 10px 20px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.wpcf7-form input[type="submit"]:hover {
    background: rgba(var(--color-primario), 1);
}
