body{
	margin:0;
	padding:0;
	
	width:100%;
	
	background: linear-gradient(to bottom right, rgba(0,0,0,.3), rgba(0,0,0,0) 35%),
				linear-gradient(to top right, rgba(0,0,0,.3), rgba(0,0,0,0) 35%),
				linear-gradient(to bottom left, rgba(0,0,0,.3), rgba(0,0,0,0) 35%),
				linear-gradient(to top left, rgba(0,0,0,.3), rgba(0,0,0,0) 35%),
				url("../background06.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-color: #464646;
	}
	
#main{
	transition: margin-top .5s;
	margin-top:300px;
}
#menu{
	display:flex;
	flex-direction:row;
	justify-content:space-between;
	align-items:center;
	
	overflow:hidden;
	
	width:100%;
	
	background-color:rgba(0,0,0,0.8);
	
	transition: 0.5s;
}

#menu a:before{
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

#menu a:hover:before{
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

/* TOP */

#top{
	width:100%;
	position:fixed;
	top:0%;
	transition: top 0.5s;
}

	#titleTop{
	transition: margin-top .5s;
	
	display:flex;
	flex-direction:row;
	flex-wrap:nowrap;
	justify-content:space-between;
	align-items:center;
	
	width:100%;
	height:75px;
	
	background: linear-gradient(to top, rgba(0,0,0,0),rgba(0,0,0,0.3),rgba(0,0,0,0.8));
	}

	#title, #topicon{
	color:white;
	font-style:normal;
	}
	#topicon:hover{
	color: #988686;
	 -webkit-transition: 0.5s ease;
            transition: 0.5s ease;	
	}
	#topicon{
	margin-right:15px;
	font-size: 45px;
	}
	#title{
	margin-left:15px;
	font-size: 32px;
	}

@media all and (orientation: landscape) and (max-width: 800px) {
  #topicon{
	position:absolute;
	top:15px;
	right:0;
}
	#title{
		position:absolute;
		top:15px;
		left:0;
	}
	
	#menucontainer{

		display:flex;
		margin-top:100px;
		padding-bottom:15px;
		flex-direction:row;
		flex-wrap:wrap;
		justify-content:space-between;
	}
	#menucontainer a{
	font-size:18px;
	display:flex;
	justify-content:center;
	align-items:center;
	
	width:50%;
	height:48px;
	text-align:center;
	}
}@media all and (orientation: portrait) and (max-width: 800px) {
	#menucontainer{
		display:flex;
		padding-top:15px;
		padding-bottom:15px;
		flex-direction:row;
		flex-wrap:wrap;
		justify-content:space-between;
	}
	
#menucontainer a{
	font-size:18px;
	display:flex;
	justify-content:center;
	align-items:center;
	
	width:50%;
	height:48px;
	text-align:center;
}
}
a {
	position: relative;
	
	text-decoration: none;
	font-size: 25px;
	color: white;
}

a:hover{
    -webkit-transition: 0.5s ease;
            transition: 0.5s ease;
	color: #cccccc;
}

#menu a:before{
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #cccccc;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

#menu a:hover:before{
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

/* FOOTER */
	
footer{
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	justify-content:flex-end;
	align-items:center;
	
	width:100%;
	height:50px;
	
	position:fixed;
	bottom:0;	
}

footer a{
	font-size:18px;
	margin-left:10px;
	color:white;
}
footer a:hover{
	color: rgba(250, 250, 250, 0.5);
}
	
#footercontainer{
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	justify-content:flex-end;
	align-items:center;
	
	width:100%;
	padding-right:15px;
}
#creditweb{
	color:rgba(250,250,250,0.4);
	font-size:9px;
	position:absolute;
	bottom:0%;
	left:0%;
	margin-left:15px;
	margin-bottom:20px;
}


	
	
