/* Estilos davidchanza.es */
/* RESETS */
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,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dd,dl,dt,li,ol,ul,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    line-height: 1;
    font-family: inherit;
    /*text-align: left;*/
    vertical-align: baseline;
}

a img,:link img,:visited img{border: 0;}
table{border-collapse: collapse;border-spacing: 0;}
ol,ul{list-style: none;}
q:before, q:after,blockquote:before, blockquote:after{content: "";}
.left{float:left;display:inline;}
.right{float:right;display:inline;}
.unfloat{clear:both;}
.oculto{display:none;}

body {
	background-color: #FFFFFF;
	font-family: 'Open Sans', sans-serif;
}

main {
	position: absolute;
	height: 350px;
	width: 830px;
	left: 50%;
	margin-left: -420px;
	top: 50%;
	margin-top: -175px;
}

img {
	position: relative;
	float: left;
	margin-right: 10px;
	width: 350px;
	height: 350px;
}

h1, h1 a, h1 a:link, h1 a:hover, h1 a:visited {
	position: relative;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 40px;
	color: #4A4A4A;
	margin-bottom: 10px;
	text-decoration: none;
}

ul {
	position: relative;
	margin-bottom: 20px;
	font-size: 17px;
	left: 3px;
}

	ul li {
		position: relative;
		margin-bottom: 5px;
		
	}
	
	ul li a:link, ul li a:visited {
		color: #9B9B9B;
		text-decoration: none;
	}
	
	ul li a:hover {
		color: #4A4A4A;
		text-decoration: none;
	}

@media (max-width: 780px)
{
	main {
		position: relative;
		height: 100%;
		width: 100%;
		left: auto;
		top: auto;
		margin-left: 0px;
		margin-top: 0px;
		text-align: center;
	}
	
	img {
		position: relative;
		float: none;
		display: block;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 20px;
		width: 200px;
		height: 200px;
	}
	
	h1, h1 a, h1 a:link, h1 a:hover, h1 a:visited  {
		text-align: center;
		font-size: 25px;
		color: #4A4A4A;
		margin-bottom: 20px;
		text-decoration: none;
	}
	
	ul {
		 display: block;
	}
	
	ul li {
		text-align: center;
	}
}

@media (prefers-color-scheme: dark)
{
	body {
		background-color: #2b2929;
	}
	
	h1, h1 a, h1 a:link, h1 a:hover, h1 a:visited {
		color: #FFFFFF;
	}
	
	ul li a:hover {
		color: #FFFFFF;
	}
}