@import url(https://fonts.googleapis.com/css?family=Dosis:300,400);

@font-face {
    font-family: nos;
    src: url(../font/Nathanos-Yzld8.otf);
}

@font-face { 
    font-family: nus;
    src: url(../font/Comfortaa-VariableFont_wght.ttf);
}

html{
    display: block;
}

body{
	font-family: nus;
	margin: 0;
	justify-content: center;
	align-items: center;
}
 
header{
    text-align: center;
    height: 555px;
    width: 100%;
    background-image: url(../img/head.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    opacity: 0.8; 
	font-family: nos;
}

*background-image{
	width: 100%;
}

.logo{
	height: 100px;
	position:absolute;
	margin-top: 0px;
	margin-left: 0px;
	
}

header,h1{
   padding-top: 100px;
   color: goldenrod;
   font-size: 100px;
   text-align: center;
}

/* navigatie */
nav{
	height: 100px;
	width: 100%;
	background-color: #27292A;
}

*{
	padding: 0;
	margin: 0;
	text-emphasis: none;
	list-style: none;
	text-decoration: none;
}

nav ul{
	float: right;
	margin-right: 20px;
}

nav ul li{
	display: inline-block;
	line-height: 100px;
	margin: 0 5px;
}

nav ul li a{
	color: white;
	font-size: 25px;
	padding: 7 px 13 px;
	border-radius: 3px;
	text-transform: uppercase;
    font-family: 'Julius Sans One';   
}

 a.Active, nav ul li a:hover{
	background:goldenrod;
	transition: .5s;
}

main{
	margin-bottom: 50px;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-gap: 20px;
	display: flex;
	position:relative;
	align-items: center;
	justify-content: center;
}

/* content  */

content{
	width: 90%;
	display:flex;
	align-items: center;
	justify-content: center;
}

content img{
	transition: 0.5s;
	padding: 15px;
	width: 270px;
}

content img:hover {
	transform: scale(1.12);
}

/* Villa kaarten */
/*Villa 1*/
.box{
	width: 300px;
	height: 300px;
	border: 4px solid goldenrod;
	position: relative;
	display: flex;
	margin: 10px;
	display: inline;
	float: center;
}

h2{
	text-transform: uppercase;
	margin: 0;
	position: absolute;
	top: 13%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.box, img{
	margin-top: 50px;
}

 .box,p{
	padding-top: 0;
	font-size: 16px;
	margin-left: 10px;
	float: center;
	padding-bottom: 10px;
}

/* onderste rij */
aside{
	margin-bottom: 50px;
	margin-top: -100px;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-gap: 20px;
	display: flex;
	position:relative;
	align-items: center;
	justify-content: center;

}

footer{
	background-color: #27292A;
	width: 100%;
	height: 90px;
	color:white;
	text-align: center;	
}

footer p{
	padding-top: 25px;
	font-size: 25px;
}

.cop{
	text-align: right;
	color: white;
	font-size: 13px;
	margin-top: -35px;
	margin-right: 20px;
}

footer a{
	font-size: 13px;
	margin-top: -35px;
	margin-right: 20px;
}

/*Responsive layouts
/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
	.row, .navbar, main, .villa1, .villa2, .villa3{
	  flex-direction: column;
	}
}

/* max-width 640px, mobile-only styles */
@media only screen and (max-width: 40em) {
	nav, .logo, header, main, content, .villa1, .villa2, .villa3 footer{
		flex-direction: column;
	}
} 

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) { 
	nav, .logo, header, main, content, .villa1, .villa2, .villa3 footer{
		flex-direction: inherit;
	}  
}
  
/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
	nav, .logo, header, main, content, .villa1, .villa2, .villa3 footer{
		flex-direction: inherit;
	}
}