/*
Theme name: Portfolio 
Description: Portfolio basado en mis trabajos rescatados al breakdown de mi disco duro.
Theme Version: 1.0
Author: Rodrigo Ruiz Jimenez
*/
@charset "utf-8";
* {
	box-sizing: border-box;
}
html {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0px;
    background-color: white;
}
body {
	margin: 0;
	padding: 0;
 
}
a {
    color: inherit;
    text-decoration:none;
}
/*-------------EL HACK CLEARFIX PARA LOS FLOTES----------*/
.clear:before, .clear:after {
  	content: "";
  	display: table;
}
.clear:after {
 	clear: both;
}
.clear {
  	zoom: 1;
}
/*-------------FINAL DEL CLEARFIX----------*/
/*--------VERSIÓN MÓVIL---------------*/
.wrapper {
    width: 90%;
    margin: 20px auto;
}
header {
    background-color: white;
    padding: 0px;
    max-height: 240px;
    
}
  
header .logo {
    text-align: center;
    margin-top: 15px;
}

header h1 {
    text-align: center;
    
}
nav ul {
    color: black; 
    padding: 0px;
    list-style: none;
    display: flex;
    flex-flow: row wrap;
    float: center;
    justify-content: center;
    margin-top: 30px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    text-align: center;

}
nav li {
    margin: 0 10px;
}
nav a {
    font-size: 14px;
    text-align: center;
    display: flex;      
   
}


main {
   font-weight: 400;
}

footer {
    background-color: white;
    padding: 20px 20px 0px;
}
footer p {
    color: black;
    font-size: 10px;
}
header, main, aside, footer {
    margin: 20px 0;
}
.inicio-flex  {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
}
.post-inicio{
    margin:0 0 0px 0;
}
.post-inicio img {
    filter:grayscale(100%);
    transition: all 400ms ease-in-out;
}
.post-inicio a:hover img {
    filter:grayscale(0)
}
.post-inicio h2{
    font-size: 10px;
    font-weight: 300;
    font-style: italic;
}
.post-inicio h2 a{
    transition: all 200ms ease-out;
}
.post-inicio h2 a:hover {
    color: #77244e;
}


/*--------VERSIÓN TABLET---------------*/
@media screen and (min-width: 600px) {
    header{
        margin: 0 0 0px 0;
    }
    nav ul{
        flex-flow: row wrap;
        justify-content: center;
     
    }
    nav a{
        font-size: 24px;
    }
    nav ul ul{
        display:none;
    }
    nav > ul a:hover ul{
        display: block;
    }
    .inicio-flex {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
    }
    .post-inicio{
        width: 32.4%;
    }
    .post-inicio img {
        width: 100%;
    }
}
/*--------VERSIÓN PC---------------*/
@media screen and (min-width: 1000px) {
    .wrapper{
        width:90%;
        margin: 20px auto;
    }
    nav ul{
        display: flex;
        flex-flow: row wrap;
        justify-content: left;
        font-weight: 700;
        float: right;
        font-size: 20px;
    }
    nav a {
    font-size: 18px;
}
    nav li{
        margin: 10px 20px 0 0;
    }
    .post-inicio {
        width: 23.4%;
    }
     div.logo { 
    float: left;
    }
   
    img {
    filter: grayscale(100);
    transition: all 400ms ease-in-out;
    
}
    img:hover {
    filter: grayscale(0);
  
}
    a {
    color: inherit;
    text-decoration: none;
}
    a:hover {
  color: blueviolet;
}
}