/*!
Theme Name: The Space Studio
Theme URI: http://juanmarciase.com/
Author: Juanma Garcia
Author URI: http://juanmarciase.com/
Description: Portfolio Website
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: essence
Tags: graphic design, portfolio, branding, web design
*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

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 {
	outline: none;
    box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	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;
}

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}


/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}


/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #333;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
    font-size: 1rem;
    line-height: 1.6em;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	color: #111;
}

p {
    hyphens: none;
}

dfn, cite, em, i {
	font-style: italic;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
    font-size: 100%;
    padding: 1em;
	/* Fallback for when there is no custom background color defined. */
}

@media only screen and (min-width: 699px) {
    
    body {
        max-width: 1280px;
        margin: 0 auto;
        padding: 2em;
    }  
}

hr {
	background-color: #c0c0c0;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	list-style: none;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	max-width: 100%;
    border-style: none;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

a {
    text-decoration: none;
    transition: all 0.3s;
    color: #666;
}

a:hover {
    color: #111;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.main-navigation {
    background-color: #fff; 
}

@media only screen and (max-width: 699px) {
    
    .site-header {
        position: relative;
    }

    .main-navigation { 
        position: absolute; 
        top: 25px;
        width: 100%;
        max-height: 0; 
        overflow: hidden; 
        line-height: 1.4em;
        z-index: 10;
    } 
    
    .main-navigation li:last-child {
        padding-bottom: 0.25em;
    }
    
    .main-navigation.menu-desplegado { 
        max-height: 200px;
    } 

}

@media only screen and (min-width: 699px) { 

    .main-navigation ul {
	   display: flex;
    }
    
    .lanzador-menu {
        display: none;
    }
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Site header
--------------------------------------------------------------*/

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
	margin-bottom: 3em;
}

.site-title a {
    color: #111;
}

.site-description {
    display: none;
}

@media only screen and (min-width: 699px) {
   
    .site-header {
        justify-content: flex-start;
    }
    
    .site-header ul {
        display: flex;
        margin-left: 3em;
    }
    
    .site-header li {
        padding-right: 1em;
    }
     
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
    margin-bottom: 6em;
}

.blog .site-main,
.archive .site-main {
    display: grid;
    grid-gap: 1em;
    grid-template-columns: 1fr;
}

.blog .site-main h3,
.archive .site-main h3 {
    font-weight: 500;
}

.blog .site-main img,
.archive .site-main img {
    opacity: 1;
    transition: all 0.3s;
}

.blog .site-main img:hover,
.archive .site-main img:hover {
     opacity: 0.8;
}

.entry-meta {
    border-top: 1px solid #ccc;
    padding-top: 0.25em;
    margin-top: 0.25em;
}

.entry-title h3 a{
    color: #111;
}


@media only screen and (min-width: 699px) {
    
    .blog .site-main,
    .archive .site-main {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1.5em 2em;
    }
    
    .archive-header {
        grid-column: 1 / -1;
    }
    
    .entry-meta {
        padding-top: 0.5em;
        margin-top: 0.5em;
    }
    
}


/*--------------------------------------------------------------
# Page about
--------------------------------------------------------------*/

.about-site h2 {
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 3em;
}

.about {
    display: grid;
    grid-gap: 3em;
}

.about div {
    border-top: 1px solid #ccc;
    padding-top: 0.25em;
    margin-top: 0.25em;
}

.about div:first-child p + p {
    margin-top: 1em;
}

.team {
    display: grid;
    grid-gap: 1em;
}

.about div:nth-child(2) div {
    border-top: none;
    padding-top: 0em;
    margin-top: 0em;
}

.about h3 {
    font-weight: 500;
    margin-bottom: 1em;
}

.about h4 {
    font-weight: 500;
}


@media only screen and (min-width: 699px) {
        
    
    .about {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 3em 1.5em;
    }
    
    .team {
        grid-template-columns: repeat(2, 1fr);
    }
   
}

@media only screen and (min-width: 999px) {
    .about-site {
        display: grid;
        grid-gap: 1.5em;
        grid-template-columns: repeat(2, 1fr);
    }
    
    
    .about {
        grid-column: 1/-1;
        grid-row: 2;
    }

}

/*--------------------------------------------------------------
# Page Contact
--------------------------------------------------------------*/

.contact-site h2 {
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 3em;
}

.contact {
    display: grid;
    grid-gap: 1.5em;
}

.contact div {
    border-top: 1px solid #ccc;
    padding-top: 0.25em;
    margin-top: 0.25em;
}

.contact h3,
.nombre {
    font-weight: 500;
}

.contact p {
    margin-bottom: 1em;
}

@media only screen and (min-width: 699px) {
        
    
    .contact {
        grid-template-columns: repeat(2, 1fr);
    }
   
}


@media only screen and (min-width: 999px) {
    
     .contact-site {
        display: grid;
        grid-gap: 1.5em;
        grid-template-columns: repeat(2, 1fr);
    }
    
    
    .contact {
        grid-template-columns: repeat(4, 1fr);
        grid-column: 1/-1;
        grid-row: 2;
    }


}

/*--------------------------------------------------------------
# Site footer
--------------------------------------------------------------*/

.site-info {
    display: flex;
    justify-content: space-between;
    color: #111;
}


/*--------------------------------------------------------------
# Single
--------------------------------------------------------------*/

.single-images {
    display: grid;
    grid-gap: 1em;
    margin-bottom: 3em;
}

.single-footer {
    border-top: 1px solid #ccc;
    padding-top: 0.25em;
    display: grid;
    grid-gap: 1em;
    grid-template-columns: 1fr;
}

.single-footer img {
    opacity: 1;
    transition: all 0.3s;
}

.single-footer img:hover {
     opacity: 0.8;
}

@media only screen and (min-width: 699px) {

    .single-footer {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .single-footer h2 {
        grid-column: 1 / -1;
    }
}

@media only screen and (min-width: 999px) {
    
    .single-content {
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 3em 2em;
    }
    
}


/*--------------------------------------------------------------
# Page 404
--------------------------------------------------------------*/

