body {
	background-color: white;
	font-family: 'Open Sans', sans-serif;
}

@font-face{ 
            font-family:'titulos'; 
            src:url('fuente/BAARS.ttf');
			format:('truetype');     
}			
        
h1, h2 {
	font-family: "titulos";
	text-align: center;
}


blockquote {
	font-style: italic;
}

a {
	text-decoration: none;
}



header {
	width: 960px;
	height: 300px;
	background-image: url(imagenes/header.jpg);
	margin-left: auto;
	margin-right: auto;
}

#firma {
	width: 150px;
	height: 87px;
	margin-left: 20px;
	margin-top: 20px;
	float: left;
}

#firma img:hover {
	opacity: 0.6;
	transition: 1s;
}

#botonera {
	width: 282px;
	height: 45px;
	background-color: #ffffff;
	float: right;
	margin-top: 20px;
	margin-right: 20px;
}

#botonera ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#botonera ul li {
	display: inline;
}

#botonera ul li a {
	display: inline-block;
	color: black;
	text-decoration: none;
	font-weight: bold;
	font-size: 18px;
	padding: 10px 9px;
}

#botonera ul li a:hover {
	background-color: #C0C0C0;
	color: #ffffff;
}

section {
	width: 960px;
	height: 950px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	background-color: #ECECEC;
	margin-top: 30px;
}

#bio {
	width: 465px;
	height: 450px;
	background-color: #ECECEC;
	float: left;
	padding: 20px;
	box-sizing: border-box;
}

#bio p {
	margin: 0;
	text-align: justify;
}

#foto {
	width: 465px;
	height: 450px;
	background-image: url(imagenes/oski.jpg);
	float: right;
	background-size: cover;
}

#obra {
	width: 960px;
	height: 80px;
	float: left;
	margin-top:50px;
}

#obra1 {
	width: 960px;
	height: 277px;
	background-image: url(imagenes/obra.jpg);
	margin-bottom: 20px;
	float: left;
}

.mas {
	width: 180px;
	height: 30px;
	float: right;
	text-decoration: none;
}

.mas a {
	text-decoration: none;
	display: block;
	color: white;
	background-color: gray;
	text-align: center;
	padding-top: 10px;
	width: 180px;
	height: 30px;
	font-weight: bold;
}

.mas a:hover {
	transition: 2s;
	-webkit-transition: 2s;
	-moz-transition: 2s;
	background-color: #fff;
	color: gray;
}

#novedades {
	width: 960px;
	height: 450px;
	background-color: white;
	border: 5px solid;
	border-color: #ECECEC;
}

#brutas {
	width: 360px;
	height: 360px;
	background-image: url(imagenes/dure.jpg);
	background-size: cover;
	float: left;
}

#nuevo {
	width: 465px;
	height: 360px;
	background-color: #ffffff;
	float: right;
	padding-right: 30px;
	box-sizing:border-box;
	text-align: justify;
}

#contacto {
	width: 960px;
	height: 400px;
	margin-left: auto;
	margin-right: auto;
	background: rgba(112,111,112,1);
background: -moz-linear-gradient(left, rgba(112,111,112,1) 0%, rgba(255,255,255,1) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(112,111,112,1)), color-stop(100%, rgba(255,255,255,1)));
background: -webkit-linear-gradient(left, rgba(112,111,112,1) 0%, rgba(255,255,255,1) 100%);
background: -o-linear-gradient(left, rgba(112,111,112,1) 0%, rgba(255,255,255,1) 100%);
background: -ms-linear-gradient(left, rgba(112,111,112,1) 0%, rgba(255,255,255,1) 100%);
background: linear-gradient(to right, rgba(112,111,112,1) 0%, rgba(255,255,255,1) 100%);
	padding: 20px;
	box-sizing: border-box;
}


#frase {
	width: 960px;
	height: 250px;
	background-color: #fff;
}

#megafono {
	width: 640px;
	height: 250px;
	background-image: url(imagenes/frase.jpg);
	background-size: cover;
	float: left;
   -webkit-animation-name: animacionfrase;
   -webkit-animation-duration: 7s;
   -webkit-animation-iteration-count: infinite;
   -webkit-animation-direction: alternate;
	position:relative;
}

@-webkit-keyframes 'animacionfrase' {
   from {
		width: 1px;
		opacity:0;
   }
   
   to {
  	  width:640px;
	  opacity:1;
   }
} 

#bigotes {
	width: 300px;
	height: 250px;
	float: right;
	background-image: url(imagenes/bigotes.jpg);
	background-size: cover;
   -webkit-animation-name: animacionbigote;
   -webkit-animation-duration: 5s;
   -webkit-animation-iteration-count: infinite;
   -webkit-animation-direction: alternate;
	position:relative;
}

@-webkit-keyframes 'animacionbigote' {
   from {
		width: 1px;
		opacity:0;
   }
   
   to {
   	  width:300px;
	  opacity:1;
   }
} 

#formulario {
	width: 600px;
	height: 400px;
	float: right;
}

#datos {
	width: 300px;
	height: 400px;
	padding: 10px;
	box-sizing: border-box;
	float: left;
}

input, textarea {
	display: block;
	padding: 10px;
	width: 100%;
	margin-bottom: 10px;
	box-shadow: 5px 5px 2px gray;
	-webkit-box-shadow: 5px 5px 2px gray;
}



footer {
	width: 960px;
	height: 100px;
	background-color: black;
	margin-left: auto;
	margin-right: auto;
	font-size: 90%;
}


#firmabajo {
	width: 140px;
	height: 100px;
	background-image: url(imagenes/firma_b.png);
	float: left;
	background-repeat: no-repeat;
	background-size: 100%;
	margin-top:20px;
	margin-left: 20px;
}

#redes {
	width: 300px;
	height: 60px;
	background-color: #000000;
	float: right;
	margin-left: 490px;
	margin-right: 10px;
	color: white;
	text-align: right;
}

#redes img {
	width: 30px;
	padding: 10px;
	vertical-align: middle;
}

#redes img:hover {
	transition: 1s;
	-webkit-transition: 1s;
	-moz-transition: 2s;
	opacity: 0.4;
}


#copy {
	width: 300px;
	height: 30px;
	background-color: #000000;
	float: right;
	color: #ECECEC;
	text-align: right;
	margin-bottom: 10px;
	margin-right: 20px;
}







#sectionbio {
	width: 960px;
	height: 3800px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	background-color: #ECECEC;
	margin-top: 30px;
}

#biografia {
	width: 960px;
	height: 2550px;
	padding: 20px;
	box-sizing: border-box;
}

#img1 {
	text-align: center;
	height: 160px;
}

#img1 img {
	border: 2px solid black;
	border-radius: 5px;
	margin: 20px;
	height: 120px;
}

#img2 {
	text-align: center;
	height: 290px;
}

#img2 img {
	border: 2px solid black;
	border-radius: 5px;
	margin: 20px;
	height: 250px;
}

#img3 {
	text-align: center;
	height: 290px;
}

#img3 img {
	border: 2px solid black;
	border-radius: 5px;
	margin: 20px;
	height: 250px;
}

.slider {
	width:70%;
	height: 600px;
	margin: auto;
	overflow: hidden;
}
.slider ul {
	display: flex;
	padding: 0;
	width: 400%;
	animation: cambio 20s infinite alternate linear;
}

.slider ul li {
	list-style: none;
	width: 100%;
}

.slider img {
	width: 100%;
}

@keyframes cambio {
	0% {margin-left:0;}
	20% {margin-left:0;}
	
	25% {margin-left:-100%;}
	45% {margin-left:-100%;}
	
	50% {margin-left:-200%;}
	70% {margin-left:-200%;}
	
	75% {margin-left:-300%;}
	100% {margin-left:-300%;}
}


#cine {
	width:380px;
	height: 300px;
	float: left;
	padding: 20px;
	box-sizing: border-box;
}

#video {
	width:570px;
	height: 300px;
	float: right;
	padding: 20px;
	box-sizing: border-box;
}

#video iframe {
	width: 100%;
}





#sectionobra {
	width: 960;
	height: 2000px;
	margin-left: auto;
	padding: 10px;
	text-align: center;
}

#librosuno img{
	margin: 15px;
	height: 260px;
}


#librosdos img {
	margin: 15px;
	height: 360px;
}

#librostres img {
	margin: 15px;
	height: 260px;
}

#traducciones img {
	margin: 15px;
	height: 260px;
}

#fasciculos img {
	margin: 15px;
	height: 260px;
}






















@media all and (min-width: 600px) and (max-width:1023px) {
	
header {
	width: 580px;
	height: 200px;
	background-size: 100%;
	background-repeat: no-repeat;
}

#firma {
	width: 80px;
}

#firma img {
	width: 100%;
}

#botonera {
	width: 222px;
	height: 38px;
	margin: 10px;
}


#botonera ul li a {
	font-size: 14px;
	padding: 8px;
}

section {
	width: 580px;
	height: 1100px;
	margin-top:0px;
}

#bio {
	width: 580px;
	height: 250px;
}


#foto {
	width: 580px;
	}

#obra {
	width: 580px;
	height: 80px;
	float: left;
	margin-top:50px;
}

#obra1 {
	width: 580px;
	height: 180px;
	background-size: 100%;
	background-repeat: no-repeat;
}



#frase {
	width: 580px;
	height: 200px;
	background-color: #fff;
}

#megafono {
	width: 400px;
	height: 200px;
	float: left;
 }

@-webkit-keyframes 'animacionfrase' {
   from {
		width: 1px;
   }
   to {
  	  width:400px;
   }
} 

#bigotes {
	width: 160px;
	height: 200px;
	float: right;
}

@-webkit-keyframes 'animacionbigote' {
   from {
		width: 1px;
   }
   
   to {
   	  width:160px;
   }
} 


#formulario {
	width: 600px;
	height: 400px;
	float: right;
}


#contacto {
	width: 580px;
	height: 400px;
	padding: 10px;
}

#formulario {
	width: 350px;
}

#datos {
	width: 180px;
	}



footer {
	width: 580px;
	font-size: 80%;
}


#firmabajo {
	width: 50px;
}

#redes {
	width: 300px;
	margin-left: 200px;
	}




#novedades {
	width: 580px;
	height: 720px;
	padding: 10px;
}

#brutas {
	width: 580px;
	height: 360px;
}

#nuevo {
	width: 580px;
	height: 250px;
}




#sectionbio {
	width: 580px;
	height: 4650px;
	margin-top:0px;
}

#biografia {
	width: 580px;
	height: 3400px;
}

#img2 {
	height: 190px;
}

#img2 img{
	height: 150px;
}

.slider {
	height: 350px;
}

#cine {
	width:580px;
	height: 500px;
	float: none;
	}



#sectionobra {
	width: 580px;
	height: 1400px;
}
#librosuno img{
	margin: 5px;
	height: 170px;
}

#librosdos img {
	margin: 5px;
	height: 240px;
}

#librostres img {
	margin: 5px;
	height: 200px;
}

#traducciones img {
	margin: 5px;
	height: 200px;
}

#fasciculos img {
	margin: 5px;
	height: 200px;
}

} /*fin media*/
















/*Para celulares*/
@media all and (max-width: 599px) {
	
header {
	width: 90%;
	height: auto;
	background-color: #ECECEC;
	background-image: none;
	}

#firma {
	margin-left: auto;
	margin-right: auto;
	float: none;
	
}

#botonera {
	width: 100%;
	height: auto;
	float: none;
	}


#botonera ul li {
	display: block;
}

#botonera ul li a {
	display: block;
	width: 100%;
	text-align: center;
	padding: 5px 0px;
}

section {
	width: 90%;
	height: auto;
}

#bio {
	width: 100%;
	height: auto;
	float: none;
}

#foto {
	width: 100%;
	height: 240px;
	float: none;
}

#obra {
	width: 100%;
	height: auto;
	float: none;
}

#obra1 {
	width: 100%;
	height: 100px;
	background-size: 100%;
	background-repeat: no-repeat;
	float: none;
}

.mas {
	float: none;
	margin: auto;
	height: 50px;
}

#frase {
	width: 90%;
	height: auto;
	background-color: #fff;
}

#megafono {
	width: 100%;
	height: 170px;
	float: none;
	margin-bottom: 10px;
}

@-webkit-keyframes 'animacionfrase' {
   from {
		width: 0%;
   } 
   to {
  	  width:100%;
   }
} 

#bigotes {
	width: 100%;
	height: 300px;
	float: none;
}

@-webkit-keyframes 'animacionbigote' {
   from {
		width: 0%;
   }
   to {
   	  width:100%;
   }
} 

#formulario {
	width: 600px;
	height: 400px;
	float: right;
}


#novedades {
	width:  90%;
	height: auto;
}

#brutas {
	width: 100%;
	height: 360px;
	float: none;
}

#nuevo {
	width: 100%;
	height: 360px;
	float: none;
	padding: 10px;
}

#contacto {
	width: 90%;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	padding: 20px;
}

#formulario {
	width: 100%;
	height: 340px;
	float: none;
}

#datos {
	width: 100%;
	height: 100px;
	float: none;
}




footer {
	width: 90%;
	height: auto;
	padding: 5px;
}


#firmabajo {
	width: 100%;
	height: 50px;
	float: none;
	background-size: 20%;
}

#redes {
	width: 100%;
	height: auto;
	float: none;
	margin-left:0px;
	margin-right:0px;
	text-align: center;
}



#copy {
	width: 100%;
	height: auto;
	float: none;
	text-align: center;
	margin-bottom: 0px;
	margin-right: 0px;
}







#sectionbio {
	width: 90%;
	height: auto;
}

#biografia {
	width: 100%;
	height: auto;
}


#img2 {
	width: 100%;
	height: auto;
}

#img2 img {
	height: 200px;
}


.slider {
	height: auto;
}




#cine {
	width:100%;
	height: auto;
	float: none;
}

#video {
	width:100%;
	height: auto;
	float: none;
}




#sectionobra {
	width: 90%;
	height: auto;
}

} /*fin media*/