@charset "UTF-8";
/* CSS Document */

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 {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
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;
}

/* CSS Reset */

*{
	box-sizing: border-box;
}

img{
	max-width: 100%;
}

body{
	background-image: url("images/fondo.jpg");
	background-size: cover;
	background-position: center;
	
}

.modulo{
	position: relative;
	overflow: hidden;
}

.principal{
	width: 50%;
	float: left;
}

#contenedor{
	padding: 30px 100px ;
	
}

#youtube{
	width: 85%;
	height: 700px;
}

h1{
	color: #da517e;
	font-size: 35pt;
	text-align: center;
	padding: 30px;
	font-family: Homemade Two;
	line-height: 1.3;
}

#txt1{
	text-align: center;
	font-size: 20pt;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	padding: 30px;
	
}

h2, h3, h4{
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	color: #009966;
	font-size: 24pt;
	font-weight: 700;
	
}

#textos{
	display: flex;
	justify-content: space-around;
	margin-top: 400px;
	line-height: 1.2;
	
	 
}

#tarjeta2 p {
	font-family: Homemade Two;
	color: #da517e;
	font-size: 30pt;
	margin-top: 70px;
	
}

#textos p{
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size: 18pt;
}

#textos2{
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size: 18pt;
}

#tarjeta4{
	padding: 0px 50px 30px 0px;
}

#tarjeta5{
	padding: -0px 0px 30px 50px;
}

#img1 img{
	width: 30%;
}

#tarjeta2, #tarjeta3{
	margin-top: 230px;
}

h4{
	display: flex;
	align-content: center;
	justify-content: space-around;
	padding: 30px;
	margin-top: 100px;
	
}

h4 img{
	margin-top: -100px;
}

#tarjeta5 ul li{
	padding: 5px;
}

#tarjeta5 ul li img{
	 position: relative;
	top: 22px
		
	}

@media screen and (max-width:1450px){
	#youtube{
		width: 80%;
		height: 550px;
	}
	
	#tarjeta2 p {
	font-family: Homemade Two;
	}
	
	#tarjeta2, #tarjeta3{
	margin-top: 220px;
}
}

@media screen and (max-width:1210px){
	#youtube{
		height: 450px;
	}
	
	#textos p{
		font-size: 16pt;
	}
	#tarjeta2 p {
	font-family: Homemade Two;
		font-size: 28pt; 
	}
	#tarjeta2, #tarjeta3{
	margin-top: 160px;
}
}

@media screen and (max-width:1030px){
	
	#youtube{
		height: 365px;
	}
	
	#textos p{
		font-size: 14pt;
	}
	
	#tarjeta2 p {
	font-family: Homemade Two;
		font-size: 28pt; 
	}
	#img1 img{
	width: 40%;
}
	
	#tarjeta2, #tarjeta3{
	margin-top: 160px;
}
	
	h2, h3, h4{
	
	font-size: 20pt;
	
	
}
}

@media screen and (max-width:770px){
	.principal{
		float: none;
		width: 100%;
	}
	#youtube{
		height: 250px;
	}
	
	h1{
		font-size: 26pt;
	}
	
	#txt1 br{
		display: none;
	}
	
	#txt1{
		font-size: 16pt;
	}
	

	
#textos{
	display: block;
}

#tarjeta3{
	margin-top: 40px;
}

#tarjeta3 img{
	
	width: 65%;
	margin-left: 110px;
	
}
	
	#textos2{
		font-size: 14pt;
	}

}

@media screen and (max-width:500px){
	
	#contenedor{
	padding: 30px 50px ;
	
}
	
	#youtube{
		width: 100%;
		height: 218px;
	}
	
	h1 br{
		display: none;
	}
	
	h1{
		font-size: 24pt;
	}
	
	#txt1{
		padding: 2px;
	}
	
	#txt1 p{
		font-size: 14pt;
		
	}
	
	#textos2{
		overflow: visible;
	}
	
	#tarjeta3 img{
		margin-left: 70px;
	}
	#img1 img{
	width: 45%;
}
	
	#tarjeta5{
	padding: 0px 0px 0px 0px;
}
	
	h4{
		margin-top: 50px;
	}
	
	h4 img{
		width: 50%;	
		height: 50%;
		margin-top: -40px
}
	
}
@media screen and (max-width:350px){
	#contenedor{
		padding: 20px;
	}
	
	#youtube{
		height: 150px;
	}
	
	h1{
		font-size: 15pt;
		padding: 0px;
		margin-top: 30px;
		
	}
	#txt1 p{
		font-size: 10pt;
		margin-top: 30px;
	}
	
	#textos{
		margin-top: 200px;
		
	}
	
	#textos p{
		font-size: 11pt;
	}
	
	#tarjeta2 p {
	font-family: Homemade Two;
		font-size: 20pt; 
		margin-left: 20px;
	}
	h2, h3, h4{
	
	font-size: 14pt;
}
	
	#tarjeta3 img{
		margin-left: 25px;
		width: 80%;
	}
	
	#textos2 {
		font-size: 11pt;
		
	}
	
	#tarjeta5 span{
		margin-left: 72px;
	}
}