/*
Theme Name: Juanma Gómez
Theme URI: https://juanmariagomezcajal.es/
Author: @tlayoyo
Author URI: https://juanmariagomezcajal.es/
Description: Theme for Juanma Gómez
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: puravar
*/

:root {
    --primary: #1a1b2c;
	--secondary: #d1723d;
    --bg-secondary: #db9168;
    --bg: #ede3b9;
	--radius: 0;
}
@font-face {
	font-family: 'Syne';
	src: url('assets/fonts/Syne-ExtraBold.ttf');
	font-weight: 600;
	font-style: bold;
	font-display: swap;
}
@font-face {
    font-family: 'Syne';
	src: url('assets/fonts/Syne-Bold.ttf');
	font-weight: 500;
	font-style: bold;
	font-display: swap;
}
@font-face {
    font-family: 'Syne';
	src: url('assets/fonts/Syne-SemiBold.ttf');
	font-weight: 400;
	font-style: bold;
	font-display: swap;
}
@font-face {
    font-family: 'Syne';
	src: url('assets/fonts/Syne-Medium.ttf');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
    font-family: 'Syne';
	src: url('assets/fonts/Syne-Regular.ttf');
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}

/*-----------------------------------------------------------------------------------*/
/*Main*/
/*-----------------------------------------------------------------------------------*/
body {
	font-family: 'Syne';
	font-weight: 300;
	background: var(--bg);
	padding: 1rem;
	margin: 0;
	color: var(--primary);
	font-size: 18px;
	line-height: 1.5;
}
ol, ul {
	padding-left: 40px;
	margin: 1em 0
}
hr {
	height: 1px;
	background: var(--primary);
	margin: 2rem 0;
	outline: 0;
	border: 0!important;
}
textarea,
input {
	border: 1px solid var(--secondary);
	padding: 1rem;
	outline: 0;
	font-family: 'Syne';
	font-size: 1rem;
	margin-top: 0.5rem;
	width: calc(100% - 2rem);
}
input[type=submit] {
	background: var(--bg-secondary);
	max-width: 300px;
}
/*-----------------------------------------------------------------------------------*/
/*Fonts*/
/*-----------------------------------------------------------------------------------*/
h1, h2, h3 {
	font-weight: 500;
	margin-bottom: 1em;
}	
h1 {
	font-size: 48px;
}
h2 {
	font-size: 30px;
}
h3 {
	font-size: 20px;
}
p {
	margin: 1rem 0;
	line-height: 1.3;
}
a {
	color: var(--primary);
}
@media screen and (max-width: 780px) {
	.small {
		font-size: 12px
	}
}
/*-----------------------------------------------------------------------------------*/
/*Buttons*/
/*-----------------------------------------------------------------------------------*/
.btn,
button {
    color: var(--bg);
	background: var(--secondary);
	font-family: 'Syne';
	border: none;
	padding: 1rem;
	border-radius: var(--radius);
	cursor: pointer;
	transition: all 0.1s ease-in-out;
	text-decoration: none;
	display: inline-block;
}
.btn:hover {
	background: var(--bg-secondary);
}	
.btn {
	display: inline-block;
}

		
/*-----------------------------------------------------------------------------------*/
/*Grid*/
/*-----------------------------------------------------------------------------------*/	    
@media screen and (min-width: 780px) {
	.flex {
		display: flex;
	}
	.row {
		column-count: 2;
		column-gap: 1rem;
		column-rule: none;
	}
	.col_70 {
		width: 70%;
	}
	.col_60 {
		width: 60%;
	}
	.col_50 {
		width: 50%;
	}
	.col_40 {
		width: 40%;
	}
	.col_30 {
		width: 30%;
	}
	.col_20 {
		width: 20%;
	}
}
.container {
	max-width: 1100px;
	margin: 0 auto
}
.container_big {
	max-width: 990px;
	margin: 0 auto
}
.container_sm {
	max-width: 680px;
	margin: 0 auto
}
/*-----------------------------------------------------------------------------------*/
/*General Elements*/
/*-----------------------------------------------------------------------------------*/
/* 
  ***********************************************
    *Header*
  ***********************************************
*/
.main-header {
	margin: 4rem 0
}
.top-nav {
	position: absolute;
	top: 0.5rem;
	right: 1.5rem;
}
.main-nav .current-menu-item a {
	color: var(--secondary)
}
.main-nav .brand--jg {
	display: block;
}
.d-lg {
	background: var(--bg);
}

@media screen and (min-width: 780px) {
	.main-nav {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
}
@media screen and (max-width: 780px) {
	.main-nav {
		text-align: center;
	}
	.main-nav .brand--jg {
		margin: 1rem 0 1rem;
	}
}
/* 
  ***********************************************
    *Footer*
  ***********************************************
*/
.footer--jg .flex {
	gap: 1.5rem
}
.footer_link {
	margin-top: 2rem
}


/*-----------------------------------------------------------------------------------*/
/*Components*/
/*-----------------------------------------------------------------------------------*/
.brand--jg {
	display: inline-block
}
.brand--jg img {
	width: 270px;
}

.menu--jg ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
  	gap: 1.5rem;
  	justify-content: center;
}
.menu--jg a {
	text-decoration: none;
}

.card {
	border: 3px solid var(--secondary);
	border-radius: var(--radius);
	padding: 2rem;
	margin-bottom: 1rem;
	break-inside: avoid-column;
}
.card a {
	text-decoration: none
}
.center {
	text-align: center
}
.sz-100 {
	width: 100%;
}
.mx-100px {
	max-width: 100px;
}

.separator {
	margin: 0.5rem 0
}

.spacer {
	margin: 4rem 0
}
	
.bg_secondary {
	background: var(--bg-secondary);
}

/*-----------------------------------------------------------------------------------*/
/*Pages*/
/*-----------------------------------------------------------------------------------*/
/* 
  ***********************************************
    *Parts articles & pages*
  ***********************************************
*/
.snippet--jg a {
	text-decoration: none;
}
.thumbnail--jg img {
	width: 100%;
	height: auto
}
.list-items--jg p {
    border-bottom: 1px solid var(--bg-secondary);
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
}
/* 
  ***********************************************
    *Home*
  ***********************************************
*/
@media screen and (min-width: 780px) {
	.title--home {
		font-size: 60px;
	}
	.float--text {
		position: relative;
		z-index: 2;
	}
	.heroe--home .container {
		position: relative;
		min-height: 400px
	}
	.float--text {
		width: 60%;
	}
	.video--bg {
		position: absolute;
		width: 717px;
		top: 50%;
    	transform: translateY(-50%);
		right: 0;
		z-index: 1;
	}
}

/* 
  ***********************************************
    *Re-writes*
  ***********************************************
*/
.wp-block-latest-posts__list {
	font-size: 1.2rem;
}
.wp-block-latest-posts__list li {
	margin-bottom: 1rem
}