*
{
	margin: 0;
	padding: 0;
}
body
{
	background-color: black;
}
.fundo_index
{
	margin-top: 30px;
	background-image: url(fundo.jpg);	
	background-repeat: no-repeat;
	background-size: center;
	text-align: center;
	margin-left: 20%;
	margin-right: 20%;
	height: 450px;
}
img.resize3 {
	margin-top: 55px;
	display: block;
	max-width:50%;
	max-height:50%;
	margin-left: auto;
	margin-right: auto;
	
}
h1
{
	margin-top: 50px;
	margin-left: auto;
	margin-right: auto;
	color: white;
	text-transform: uppercase;
	font-size: 70px;
	text-align: center;
	width: 50%;
}
h2
{
	margin-left: auto;
	margin-right: auto;
	color: white;
	font-size: 30px;
	text-align: center;
}
.button
{
	position: fixed;
	width: 10%;
}
.button li a
{
	display: inline-block;
	text-align: left;
	color: white;
	border: white;
	text-decoration: none;
	padding: 5px 20px;
	font-family: "Roboto", sans-serif;
	font-size: 15px;
}
.button li a:hover
{
	border: 1px solid white;
}
#Sobre_mim
{
	margin-top: 40px;
	color: white;
	text-decoration: none;
	text-align: center;
	font-family: "Roboto", sans-serif;
	font-size: 30px;
	height: 50px;

}
#Galeria
{
	margin-top: 50px;
	font-size: 30px;
	color: white;
	text-align: center;
}
#Contactos
{
	margin-top: 5px;
	color: white;
	text-decoration: none;
	text-align: center;
	padding: 10px 10px;
	font-family: "Roboto", sans-serif;
	font-size: 30px;
}
img.resize {
	display: block;
	max-width:50%;
	max-height:50%;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
	margin-top: 700px;
}
img.resize5 {
	display: block;
	max-width:50%;
	max-height:50%;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
	margin-top: 400px;
}
img.resize3 {
	display: block;
	max-width:50%;
	max-height:50%;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
}
img.resize4 {
	display: block;
	max-width:50%;
	max-height:50%;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
	margin-top: 1050px;
}
img.resize2 {
	display: block;
	max-width:20%;
	max-height:20%;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
	margin-bottom: 20px;	
}
#legenda1,#legenda2,#legenda3,#legenda4
{
	color: white;
	text-align: center;
	padding: 10px 10px;
	font-family: "Roboto", sans-serif;
	font-size: 20px;
	height: 100px;
}

#legenda5
{
	color: white;
	text-align: center;
	padding: 10px 10px;
	font-family: "Roboto", sans-serif;
	font-size: 15px;
}
#legenda0
{
	height: 10px;
}
#legenda1 h5,#legenda3 h5,#legenda4 h5,#legenda2 h5
{
	color: white;
	text-decoration: none;
	text-align: left;
	font-family: "Roboto", sans-serif;
	font-size: 15px;
	margin-left: 35%;
	margin-right: 35%;
	margin-bottom: 10px;	
}
#historia1,#historia2,#historia3,#historia4,#historia5
{
	color: white;
	text-decoration: none;
	text-align: justify;
	font-family: "Roboto", sans-serif;
	font-size: 15px;
	text-indent: 50px;
	margin-left: 25%;
	margin-right: 25%;
}
#legenda5 h5
{
	color: white;
	text-decoration: none;
	text-align: left;
	font-family: "Roboto", sans-serif;
	font-size: 15px;
	margin-left: 35%;
	margin-right: 35%;	
}
#legenda5
{
	margin-bottom: 100px;	
}
#texto
{
	color: white;
	text-decoration: none;
	text-align: justify;
	font-family: "Roboto", sans-serif;
	font-size: 15px;
	text-indent: 50px;
	margin-left: 25%;
	margin-right: 25%;
	margin-bottom: 10px;
}
#email
{
	color: white;
	text-decoration: none;
	text-align: center;
	font-family: "Roboto", sans-serif;
	font-size: 20px;
	margin-bottom: 5px;
}
.footer {
   position: fixed;
   left: 0;
   bottom: 0;
   width: 100%;
   background-color: gray;
   color: white;
   text-align: center;
}
@media screen and (min-width: 1824px){
	.button{
		width: 10%;
	}
	.button li a
	{
		display: inline-block;
		padding: 20px 20px;
		font-size: 200%;
	}
	
	#Galeria,#Sobre_mim
	{
		font-size: 400%;
		margin-top: 5%;
	}
	#Contactos
	{
		font-size: 200%;
		margin-top: 0%;
	}
	#legenda0,#legenda1,#legenda2,#legenda3,#legenda4,#legenda5
	{
		font-size: 200%;
		margin-bottom: 5px;
		height: 50%;
	}
	#legenda0 h5,#legenda1 h5,#legenda2 h5,#legenda3 h5,#legenda4 h5,#legenda5 h5
	{
		font-size: 100%;
		margin-bottom: 50px;
	}
	#legenda0 p,#legenda1 p,#legenda2 p,#legenda3 p,#legenda4 p
	{
		font-size: 100%;
	}
	#historia5
	{
		font-size: 90%;
		margin-bottom: 10%;
	}
	#historia1,#historia2,#historia3,#historia4
	{
		font-size: 90%;
		margin-bottom: 0%;
	}
	#legenda5 p{
		font-size: 100%;
	}
	img.resize2 {
		margin-bottom: 60px;
	}
	img.resize4 {
		margin-top: 100px;
	}
	img.resize5 {
		margin-top: 100px;
	}
	img.resize {
		margin-top: 100px;
	}
	#texto
	{
		font-size: 150%;
		margin-bottom: 5%;
	}
	
	#nome,#email
	{
		font-size: 200%;
		margin-top: 0%;
		
	}
	img.resize3 {
		margin-top: 10%;
	}
	h1{
		margin-top: 5%;
		font-size: 700%;
	}
	h2{
		font-size: 300%;
	}
}
@media screen and (max-width: 1024px){
	.button{
		width: 10%;
	}
	.button li a
	{
		display: inline-block;
		padding: 5px 10px;
		font-size: 70%;
	}
	
	#Galeria,#Sobre_mim
	{
		font-size: 100%;
		margin-top: 5%;
	}
	#Contactos
	{
		font-size: 70%;
		margin-top: 0%;
	}
	#legenda0,#legenda1,#legenda2,#legenda3,#legenda4
	{
		font-size: 70%;
		margin-bottom: 5px;
		height: 50%;
	}
	#historia1,#historia2,#historia3,#historia4,#historia5
	{
		font-size: 90%;
		margin-bottom: 0%;
	}
	#legenda5
	{
		font-size: 70%;		
	}
	
	#legenda0 p,#legenda1 p,#legenda2 p,#legenda3 p,#legenda4 p
	{
		font-size: 90%;
		margin-bottom: 20px;
	}
	#legenda0 h5,#legenda1 h5,#legenda2 h5,#legenda3 h5,#legenda4 h5,#legenda5 h5
	{
		font-size: 90%;
		margin-bottom: 20px;
	}
	#legenda5 p{
		font-size: 90%;
	}
	img.resize2 {
		margin-bottom: 60px;
	}
	img.resize4 {
		margin-top: 100px;
	}
	img.resize5 {
		margin-top: 100px;
	}
	img.resize {
		margin-top: 100px;
	}
	#texto
	{
		font-size: 70%;
		margin-bottom: 5%;
	}
	
	#email
	{
		font-size: 70%;
		margin-top: 0%;
		
	}
	
	h1{
		margin-top: 5%;
		font-size: 200%;
	}
	h2{
		font-size: 100%;
	}
}
@media screen and (max-width: 768px){
	.button{
		width: 10%;
	}
	.button li a
	{
		display: inline-block;
		padding: 2px 10px;
		font-size: 40%;
	}
	
	#Galeria,#Sobre_mim
	{
		font-size: 80%;
		margin-top: 5%;
	}
	#Contactos
	{
		font-size: 50%;
		margin-top: 0%;
	}
	#legenda0,#legenda1,#legenda2,#legenda3,#legenda4,#legenda5
	{
		font-size: 70%;
		margin-bottom: 10px;
		height: 50%;
	}
	
	#legenda0 p,#legenda1 p,#legenda2 p,#legenda3 p,#legenda4 p,#legenda5 p
	{
		font-size: 65%;
	}
	#legenda0 h5,#legenda1 h5,#legenda2 h5,#legenda3 h5,#legenda4 h5,#legenda5 h5
	{
		font-size: 65%;
		margin-bottom: 25px
	}
	#historia1,#historia2,#historia3,#historia4,#historia5
	{
		font-size: 65%;
		margin-bottom: 0%;
	}
	img.resize2 {
		margin-bottom: 60px;
	}
	img.resize4 {
		margin-top: 100px;
	}
	img.resize5 {
		margin-top: 100px;
	}
	img.resize {
		margin-top: 100px;
	}
	#texto
	{
		font-size: 7px;
		margin-bottom: 5%;
	}
	
	#nome,#email
	{
		font-size: 50%;
		margin-top: 0%;
		
	}
	img.resize3 {
		margin-top: 10%;
	}
	h1{
		margin-top: 5%;
		font-size: 200%;
	}
	h2{
		font-size: 150%;
	}
}
@media screen and (max-width: 480px) {
	.button{
		width: 10%;
	}
	.button li a
	{
		display: inline-block;
		padding: 0px 0px;
		font-size: 25%;
	}
	
	#Galeria,#Sobre_mim
	{
		font-size: 50%;
		margin-top: 5%;
	}
	#Contactos
	{
		font-size: 50%;
		margin-top: 0px;
		line-height: 1%;
	}
	#legenda0,#legenda1,#legenda2,#legenda3,#legenda4,#legenda5
	{
		font-size: 50%;
		margin-bottom: 5%;
		height: 50%;
	}
	
	#legenda0 p,#legenda1 p,#legenda2 p,#legenda3 p,#legenda4 p,#legenda5 p
	{
		font-size: 60%;
	}
	#legenda0 h5,#legenda1 h5,#legenda2 h5,#legenda3 h5,#legenda4 h5,#legenda5 h5
	{
		font-size: 60%;
		margin-bottom: 10px
	}
	#historia1,#historia2,#historia3,#historia4,#historia5
	{
		font-size: 60%;
		margin-bottom: 0%;
		text-indent: 10px;
	}
	img.resize2 {
		margin-bottom: 60px;
	}
	img.resize4 {
		margin-top: 10px;
	}
	img.resize5 {
		margin-top: 10px;
	}
	img.resize {
		margin-top: 10px;
	}
	#texto
	{
		font-size: 5px;
		margin-bottom: 10%;
	}
	
	#nome,#email
	{
		font-size: 30%;
		margin-top: 0px;
		
	}
	img.resize3 {
		margin-top: 10%;
	}
	h1{
		margin-top: 5%;
		font-size: 130%;
	}
	h2{
		font-size: 60%;
	}
}