* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html{scroll-behavior: smooth;}

@font-face {
    font-family: "nothing";
    src: url(' https://fonts.googleapis.com/css?family=Nothing+You+Could+Do&display=swap');
}
@font-face {
    font-family: "Muli";
    src: url('https://fonts.googleapis.com/css?family=Muli:200,300,300i,400,500,700&display=swap');
}
body {
    font-family: 'Muli', sans-serif;
    background-color: #fff;
}


header,
main {
    margin: 0;
    width: 100%;
    position: relative;

}


header {
    height: auto;
}

.img {
    position: relative;
    z-index: -1;
    width: 100%;
    height: 70vw;
    background-image: url("../imagenes/boceto_elena.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

main {
    background-color: #B8CCDF;
    background: linear-gradient(180deg, #FCFEFF, #A0B6CA);
    margin: 0 auto;
    box-shadow: 0px -1px #A0B6CA;
    border-radius: 50vw 50vw 0 0;
}

body>footer {
    border-top: 1px solid #B8CCDF;
    background-color: #EBF0F6;
    position: absolute;
    width: 100%;
}

h2 {
    font-family: 'Nothing You Could Do', cursive;
    font-weight: 400;
    color: #3E4758;
    padding: 1.5rem;
    line-height: 0.1em;

}

h1,h3,p,footer ul li a {
    font-family: 'Muli', sans-serif;
    font-weight: 200;
    padding: 0.1rem 1.5rem;
    color: rgba(57, 64, 80, 0.8);
    text-align: justify;
}
p.left{text-align: left;}
main>section>h2{

    margin-top: -2.5rem;
    font-weight: 400;
}
.circles>h2{ visibility: hidden;}

ul {list-style-type: none;}

a {
    text-decoration: none;
    color: black;
}

section {
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    font-family: 'Muli', sans-serif;
}

p {margin: 1.2rem 1.5rem;}
footer>aside>ul{
    width: 80%;
    margin: 1rem auto 0;
    display: flex;
    flex-direction: row;
    text-align: center;
}

footer>aside>ul li{margin: 0 0.5rem; align-self: center;}

footer>aside>ul li a { font-size:small; margin: 0; padding: 0; opacity: 0.5;}

footer>aside>ul li a img{width: 40px;}

footer>aside>ul li a:hover{ opacity: 1; }

div.wrapper>aside{display: none;}

footer>aside{display: block;}

footer>aside>ul li{
    flex-grow: 1;
    justify-content: space-around;
}
body>footer>aside>p{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}
span {
    padding: 0.05rem 1.5rem 0.05rem 0;
}

footer>aside>ul, footer>aside>p{
    width: 80%;
    margin: 0.5rem auto;
    line-height: 2rem;
}

.circles>article>h3,
.circles>footer {
    margin: -2rem auto;
    background-color: rgba(255, 255, 255, 0.7);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    width: 80vw;
    height: 80vw;
    border-radius: 50%;
    position: relative;
    text-align: center;
    box-shadow: 0px 6px 8px rgba(61, 63, 73, 0.9);
}

.circles>footer {
    width: 100vw;
    height: 140vw;
    border-radius: 50vw 50vw 0 0;
    padding: 5rem 3rem 0;
    margin-bottom: 0;
}

main>section>p { display: none;}

#contacto>p{
	display: block;
    text-align: center;
    margin: 0.75rem;
}

a.bloc,
.bloc {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    padding-top: 50%;
    font-size: 2rem;
    font-weight: 500;
    color: white;
    text-align: center;
    text-shadow: 1px 3px 3px black;
}
a.bloc:hover,.bloc:hover {
    text-shadow: 2px 6px 6px black;
    font-size: 2.2em;
    background-color: rgba(0,0,0,.3);
    transition: all 0.3s ease-in;
 }

.circles>article:nth-child(2)>h3  {
    background-image: url("../imagenes/animales.jpg");
    background-position: top right;
    margin-top: 0;
}

.circles>article:nth-child(3)>h3 {
    background-image: url("../imagenes/bananero2a.jpg");
}

.circles>article:nth-child(4)>h3 {
    background-image: url("../imagenes/george.jpg");
}

.circles article:nth-child(5)>h3 {
    background-image: url("../imagenes/torrejon500.jpg");
}
.circles p{display: none;}

fieldset {
    margin-top: 0.5rem;
    border: none;
}

label {
    font-size: 0.8rem;
}

input,
textarea {
    border: none;
    padding: 0.2rem;
    box-shadow: 0px 2px 2px #CDD6E7;
    margin: 0.2rem 0;
    width: 100%;
}

textarea {
    width: 100%;
    height: 40vw;
}

input[type="submit"] {
    color: white;
    background-color: #A0B6CA;
    width: 20%;
    position: absolute;
    bottom: 9%;
    left: 50%;
    transform: translateX(-50%);
}
input[type="submit"]:hover{background-color: #557490;}

/*Menú de navegación*/
header nav {
    width: 100%;
    background: linear-gradient(90deg, #848d96, rgba(180, 200, 219, 0.7));
    height: 50px;
    position: fixed;
    z-index: +5;
}

#menu-nav {
    background: linear-gradient(90deg, #848d96, transparent);
}

#menu_nav ul {
    background: linear-gradient(90deg, #848d96, transparent);
    list-style-type: none;
    font-size: 14px;
    display: flex;
    justify-content: center;
}

#menu_nav ul li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 17px 12px;
}

#menu_nav ul li a:hover {
    color: #FFFFFF;
    background: rgba(57, 64, 80, 0.6);
}

#menu_responsive {
    display: none;
    background: url(../imagenes/menu.png) no-repeat center center;
    width: 50px;
    height: 50px;
    position: absolute;
    right: 0px;
    top: 0px;
}

@media(max-width: 600px) {
    #menu_nav ul {justify-content: flex-start;}

    #menu_nav ul li a {padding: 17px;}

    #menu_responsive {display: block;}

    #menu_nav ul {
        overflow: hidden;
        padding-top: 50px;
        max-height: 0px;
        flex-direction: column;
    }

    #menu_nav ul li {border-top: 1px solid #4F545F;}

    #menu_nav ul li:last-child {
        border-bottom: 1px solid #4F545F;

    }

    #menu_nav ul li a {
        color: white;

    }

    #menu_nav ul li a:hover {

        background: linear-gradient(90deg, #4F545F, transparent);

    }


    #menu_nav ul.menu_nav_abierto {

        max-height: 400px;
        transition: max-height 0.4s;
    }

    .bajar {
        transition: all 0.4s;
    }
}

/*media queries*/

@media(min-width: 600px) {
    header {top: 0;}
    .img {
        top: -1.2rem;
        height: 45vw;
        background-image: url("../imagenes/paleta-pintor.jpg");
    }
    main {
        margin: 0 auto;
        box-shadow: none;
    	border-radius: 0;
    	border:none;
	}

	main>section{margin-top: 0;}

    h1, h2 {margin: 0 auto; padding-left: 0; width: 84vw;}

    main>section>h2{margin-top: 0;}

    main>section>p {display: block; margin: 2rem auto; width: 84vw;}

    .circles>article>p{
    	display: block;
    }

    .circles>article{
    	display: flex;
    	flex-direction: row;
    	align-items: center;
    	width: 100%;
    	padding-right: 5%;
        overflow: hidden;
    }

    .circles>article>h3 {
    	flex-grow: 1;
    	margin: 0 2rem 0 0;
    	width: 50vw;
    	height: 45vw;
    	border-radius: 0 50vw 50vw 0;
	}

    .circles>article>p{
    	flex-grow: 1;
    	width: 50vw;
    }

	.circles>footer {
		margin: 0 auto 0 0;
    	width: 100%;
    	height: 80vw;
    	border-radius: 0 50vw 0 0;
    	text-align: right;
	}

    .circles>article:nth-child(1){background-color: rgba(238,243,247,.5); border-top: 1px solid #D5DFE8;}

    .circles>article:nth-child(2){background-color: rgba(222,231,238,.5);border-top: 1px solid #B6CADA;}

    .circles>article:nth-child(3){background-color: rgba(208,220,230,.5);border-top: 1px solid #B1C4D4;}

    .circles>article:nth-child(4){

    	background-color: rgba(194,209,222,.5);
    	border-top: 1px solid #B1C4D4; 
    	border-bottom: 1px solid #9EB3C5;
    }

    .circles>article:nth-child(1)>h3{z-index: +4;}

    .circles>article:nth-child(2)>h3{z-index: +3;}

    .circles>article:nth-child(3)>h3{z-index: +2;}

    .circles>article:nth-child(4)>h3{z-index: +1;}


    .circles>footer>p{padding-left: 0rem;}

	fieldset {
	    margin-top: 4rem;
	    width: 80%;
        display: flex;
		flex-direction: column;
    	justify-content: flex-start;
        text-align: left;
	}

	input, textarea { width: 30vw;}

     textarea{
        height: 12vh; 
        width: 60vw;
    }

	input[type="submit"] { bottom: 7%;}

	#contacto>p { width: 60vw; }

   footer>aside>ul{width: 40%;}
  
}


@media(min-width: 1024px){

    header{ position: static; }

    header nav{display: none;}

    div.wrapper{display: flex;}

    div.wrapper>aside{

        display: block; 
        height: 100vh;
        flex-grow: 1;
        order: 1;
    }

    div.wrapper2{
        flex-grow: 2;
        order:2;
        display: flex;
        flex-direction: column;
    }

    main{
        margin: 0 0 0 20%; 
        width: 80%;
    }

    .img {
        position: fixed;
        top:0; left:0;  
        width:  100vw;
        height: 100vh;
        background-image: url("../imagenes/tallerpintura1600.jpg");
        z-index: -10;
    }

    header{
        padding-bottom: 10vw;
        padding-top: 20rem;

    }
    
    h1,h2,main>section>p {
        position: fixed;
        top: 4rem;
        left: 50vw;
        width: 55%;
        z-index: -1;
        text-align: center;
    }

    h2{top: 7rem;}

    main>section>p{
        top: 1rem;
        right: 2rem;
        left: 45%;
        text-align: justify;
        padding: 7rem 2rem 2rem 6rem;
        background-color: rgba(255,255,255,.9);
        border-radius: 50vw 0 0 50vw;
        box-shadow: 0px 3px 4px rgba(61, 63, 73, 0.7);
        z-index: -2;
    }
    
    ul#lista_aside {
        position: fixed;
        width: 20%;
        background: linear-gradient(180deg, rgba(255,255,255,0.75), rgb(180, 200, 219));
        box-shadow: 1px 1px 2px rgba(61, 63, 73, 0.7);
        height: 100vh;
        z-index: +1;
   }

    ul#lista_aside{
        display: flex;
        flex-direction: column;
    }  

    ul#lista_aside li a {
        display: block;
        text-decoration: none;
        padding: 7vh 5vw;
        text-align: center;
        border-top: 1px solid rgba(57, 64, 80, 0.2); 
    }

    ul#lista_aside li a:hover {
        background: linear-gradient(180deg, rgba(55, 75, 122, 0.6), rgb(57, 64, 80, 0.01));
    }

    .circles>article>h3 {
        flex-grow: 1;
        margin: 0 2rem 0 0;
        width: 30vw;
        height: 20vw;
        border-radius: 0 50vw 50vw 0;
    }
    .circles>article>p{
        flex-grow: 1;
        width: 40%;
        padding-right: 8%;
    }
    
    #contacto{
        height: 50vw;
        text-align: left;
        border-radius: 0 40vw 0 0;
        padding: 2rem;
    }

    #contacto p{
        text-align: left;
        font-size: 1.2rem;
        margin-left: 0;
    }

    a.bloc{padding-top: 25%;}

    fieldset{margin-top: 2.5rem;  width: 30vw;}

    label{margin: 0.3rem 0;}

    input{padding: 0.3rem;}

    form{width: 40vw;}

    input[type="submit"] {left:25%;}

    body>footer>p{margin-left: 21%;}
    
}

@media(min-width: 1600px){ 

    #contacto{
        height: 35vw;
        padding: 4rem 6rem;
        margin: 0;
    }
    main{margin-left: 20vw;}

    ul#lista_aside {
        width: 20vw;
   }

   body>footer>aside>ul, body>footer>aside>p{width: 50%;}

   article{ border-radius: 0 50vw 50vw 0; box-shadow: 0px 6px 8px rgba(61, 63, 73, 0.9);}

   main {background: linear-gradient(180deg, rgba(255,255,255,0), rgb(238,243,247));}

   section{background-color: rgba(255,255,255,0);width: 90%;margin-left: 0;}

   .circles>article:nth-child(2){background-color: rgba(238,243,247,.9); border-top: 1px solid #D5DFE8;}

    .circles>article:nth-child(3){background-color: rgba(222,231,238,.95);border-top: 1px solid #B6CADA;}

    .circles>article:nth-child(4){background-color: rgba(208,220,230,1);border-top: 1px solid #B1C4D4;}

    .circles>article:nth-child(5){
        background-color: rgb(194,209,222);
        border-top: 1px solid #B1C4D4; 
        border-bottom: 1px solid #9EB3C5;
    }

    .circles>footer{background-color: rgb(238,243,247);}

    textarea{
        height: 15vh; 
        width: 30vw;
    }

    body>footer>p{margin-left: 32%;}

    body>footer>aside>ul{width: 33%;}

    h1,h2,main>section>p {

        left: 50vw;
        width: 50%;
    }

    .img {
        background-image: url("../imagenes/tallerpintura1920.jpg");
    }
}