

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body{
    height: 100%;
    background-size: cover;
    background-position: center;
}

li{
	list-style: none;
}

/* HEADER */

header {
    position: relative;
    padding: 0 2rem;
	background: grey;
}

header a{
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
}

.navbar .links a:hover{
	color: #DBDADA;
	border-bottom: solid 2px orange;
}

.navbar{
    width: 100%;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo{
	display: flex;
	align-items: center;
}

.navbar .logo a{
	font-size: 1.5rem;
	font-weight: bold;
}

.navbar .links{
	display: flex;
	gap: 2rem;
}

.navbar .toggle_btn{
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
	display: none;
}

.action_btn{
	background-color: orange;
	color: #fff;
	padding: 0.5rem 1rem;
	border: none;
	outline: none;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: bold;
	cursor: pointer;
	transition: scale 0.2 ease;
}

.action_btn:hover{
	scale: 1.05;
	color: #fff;
}

.action_btn:active{
	scale: 0.95;
}

.dropdown_menu{
	margin-top: 10px;
	display: none;
	position: absolute;
	right: 2rem;
	top: 60px;
	height: 0;
	width: 300px;  
	background: grey;
	border-radius: 10px;
	overflow: hidden;
	transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open{
	height: 220px;
}

.dropdown_menu li {
	padding: 0.7rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dropdown_menu a:hover{
	color: #DBDADA;
	border-bottom: solid 2px orange;
}


.dropdown_menu .action_btn {
	width: 100%;
	display: flex;
	justify-content: center;
}

.dropdown_menu .login_btn {
	border-top: solid 1px #D1D2D2;
	margin-left: 10px;
	margin-right: 10px;
}

.navbar .image{
	width: 50px;
}

/* BODY */

.Section1{
	background-color: #EFEFEF;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 30px;
	flex-wrap: wrap;
	align-content: center;
	padding: 20px;
}

.Section1 .image{
	width: 400px;
}

.Section1 .welcome h1{
	font-size: 1.5rem;
	margin-top: 10px;
}

.Section1 .welcome h2{
	font-size: 0.8rem;
	color: grey;
	margin-bottom: 10px;
	margin-left: 10px;
	margin-right: 10px;
}

.Section1 .welcome{
	max-width: 400px;
	background-color: white;
	border: none;
	border-radius: 50px;
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px;
}

.Section1 .welcome .action_btn{
	background-color: orange;
	color: #fff;
	padding: 0.7rem 4rem;
	border: none;
	outline: none;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: bold;
	cursor: pointer;
	transition: scale 0.2 ease;
	text-decoration: none;
    color: #fff;
    font-size: 1rem;
}

.Section1 .welcome .action_btn:hover{
	scale: 1.05;
}

.Section2 {
	background-color: white;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-content: center;
	text-align: center;
	flex-wrap: wrap;
	gap: 20px;
	padding: 20px;
}

.Subsection1{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	text-align: center;
	flex-wrap: wrap;
	gap: 20px;
	padding: 20px;
}

.Section2 .voordelen{
	background-color: #EFEFEF;
	border: none;
	gap: 10px;
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px;
	font-size: 10px;
	color: grey;;
	font-size: 1rem;
	width: 300px;
}

.voordelen a{
    text-decoration: none;
	color: grey;
}

.Section2 .circle {
	margin-top: 20px;
	background-color: white;
	border: none;
	width: 4rem;
	height: 4rem;
	border-radius: 100px;
	display:flex;
	align-items: center;
	justify-content: center;
	color: grey;
	font-size: 30px;
}

.welcome .open {
	display: flex:
	align-items: center;
	justify-content: center;
	padding: 10px;
}

.welcome .open i{
    color: #ff0000;
	font-size: 10px;
}

/* FOOTER */

footer{
	position: relative;
    padding: 0 2rem;
	background: grey;
}

.copyright{
	color: white;
	padding: 10px;
}
.information{
	color: white;
	display: flex;
	justify-content: center;
	align-items: start;
	padding: 20px;
	align-content: center;
	flex-wrap: wrap;
	gap: 30px;
}

.information .part h2{
	border-bottom: solid 2px orange;
	font-size: 15px;
}

.information .part{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.information a{
	text-decoration: none;
    color: #fff;
    font-size: 1rem;
}

.socials{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 30px;
}

.socials a{
	font-size: 20px;
}

/* POPUP LOGIN */

.popup-overlay{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100vh;
	z-index:1;
	background: rgba(0,0,0,0.5);
	display:none;
}

.popup{
	position: absolute;
	top:-150%;
	left:50%;
	transform:translate(-50%,-50%) scale(1.15);
	width: 300px;
	background: #f5f5f5;
	z-index:2;
	opacity:0;
	box-shadow: 5px 5px 3px rgba(0,0,0,0.2);
	border-radius: 20px;
	transition:transform 300ms ease-in-out, opacity 300ms ease-in-out;
}

body.showLoginForm .popup-overlay{
	display:block;
}

body.showLoginForm .popup{
	top:50%;
	opacity:1;
	transform:translate(-50%, -50%) scale(1);
}
.popup .popup-close{
	display:flex;
	align-items:center;
	justify-content:center;
	position:absolute;
	top: -10px;
	right:-10px;
	width:40px;
	height:40px;
	background:#555;
	color:#f5f5f5;
	border-radius:50%;
	cursor:pointer;
}

.popup .popup-close a{
	font-size:20px;
}

.popup .popup-error{
	display:flex;
	align-items:center;
	justify-content:center;
	position:absolute;
	top: -10px;
	right:-10px;
	width:40px;
	height:40px;
	background:#555;
	color:#f5f5f5;
	border-radius:50%;
	cursor:pointer;
}

.popup .form .avatar{
	margin: 30px 0px 20px;
	text-align: center;
}

.popup .form .avatar img{
	width: 130px;
	border-radius: 50px;
}

.popup .form .header{
	text-align: center;
	font-size:20px;
	font-weight:600;
	color:#222;
	margin: 20px 0px;
}

.popup .form .element{
	padding: 5px 20px;
}

.popup .form .element label{
	display:block;
	font-size:14px;
	color:#222;
	margin-bottom:5px;
}

.popup .form .element input{
	width:100%;
	padding:8px 10px;
	box-sizing:border-box;
	outline:none;
	border:1px solid #aaa;
	background:#eee;
	border-radius:5px;
}

.popup .form .element .button{
	margin-top:5px;
	width:100%;
	padding:10px 0px;
	text-transform:uppercase;
	outline:none;
	border:none;
	font-size: 15px;
	font-weight:600;
	border-radius:5px;
	cursor:pointer;
	background:orange;
	color:#f5f5f5;
}


.element2 .btn{
	cursor: pointer;
	color: darkblue;
}

.popup .form .element2{
	margin-bottom:10px;
	padding: 5px 20px;
}

.popup .form .element button:hover{
	scale: 1.02;
	color: #fff;
}


/* LOADER */

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid orange;
    border-bottom-color: black;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
    } 

/* RESPONSIVE */

@media(max-width: 792px){
	.navbar .links,
	.navbar .action_btn{
		display: none;
	}
	.navbar .toggle_btn{
		display: block;
	}
	
	.dropdown_menu{
		display: block;
	}
}

@media(max-width: 576px){
	.dropdown_menu{
		left: 2rem;
		width: unset;
	}
	
	.Section1 .image{
		width: 300px;
	}
}
