html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* GEEN verticale scrollbalk meer */
body {
    /* font-family: Arial, sans-serif; */
    background: url('../background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    /* justify-content: center;
    align-items: flex-start;       */
	/* niet meer in het midden, maar bovenaan */
    min-height: 100vh;
    position: relative;
    /* font-size: 14px;              /* alles wat kleiner */ */
    /* overflow-y: hidden;            */
	/* verbergt de verticale scrollbalk */
    padding: 0 10px;              /* alleen horizontale ruimte, geen verticale padding */

	/*waarom niet centreren?*/
	/* justify-content:center; */
	align-items:center;
}

.container {
    background-color: rgba(255, 255, 255, 0.92); /* Semi-transparent white background */
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 8vh 12vh;
    width: 520px;
    max-width: 90vw;
	margin:0 auto;
    /* margin-top: 80px;             /* container wat lager van boven -> optisch “hoger” op scherm dan perfect gecentreerd */ */
    scale: 1.1;
}


h2 {
    text-align: center;
	color:var(--secondary-color);
	margin-top: 0px;
	letter-spacing:3%;
}

form {
    margin-top: 10px;
}

label{
	font-size:1.6rem;
	font-weight:100;
	margin-bottom:5px;
	display:block;
	margin-top:10px;
}





.password-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.password-container input[type="password"],
.password-container input[type="text"] {
    width: 100%;
    padding-right: 40px; /* ruimte voor het oogje */
    box-sizing: border-box;
}

.password-container .toggle-password {
    position: absolute;
   right: 0px;
  transform: translate(85%, 6px);
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
}

.password-container .toggle-password:hover i {
    color: var(--secondary-color);
	opacity:1;
}

input[type="submit"], button[type="button"], button[type="submit"]{
	text-transform:uppercase;
	text-align:center;
}





p.error {
    color: red;
    text-align: center;
}

.links, .tabs {
    margin-top: 24px;
    text-align: center;
}

.tabs{
	border-bottom: 2px var(--lightGrey-color) solid;
	padding-bottom:8px;
}

.links{
	border-top: 2px var(--lightGrey-color) solid;
	padding-top: 15px;
}



.links a, .tabs a {
    text-decoration: none;
    margin: 0 10px;
	letter-spacing:2%;
	font-size:1.9rem;
}

a.active{
	border-bottom: 4px var(--primary-color) solid;
	padding-bottom:5px;
}

.links-blauw a {
    color: var(--primary-color);
}

.links a {
    border-bottom: 1px solid var(--secondary-color);
}

.links a:hover {
    color: var(--primary-color);
	border-bottom: 1px solid var(--primary-color);
}

.corner-image {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 220px;
    /* height: 125px;
    object-fit: cover;
    border-radius: 15px; */
}

/* ---------- Chromebook / kleinere laptops ---------- */
@media (max-width: 1024px) {
    .container {
        /* padding: 25px;
        width: 300px;
        margin-top: 30px; */
    }

    .corner-image {
        width: 150px;
        height: 75px;
    }
}

/* ---------- Tablets / grotere smartphones ---------- */
@media (max-width: 768px) {
    body {
        padding: 0 10px;          /* nog steeds geen verticale padding */
    }

    .container {
        width: 100%;
        max-width: 380px;
        padding: 20px;
        margin-top: 25px;
    }

    h2 {
        font-size: 3rem;
    }

    /* input[type="text"],
    input[type="email"],
    input[type="password"],
	input[type="datetime-local"],
	input[type="date"],
	input[type="search"]
	{
        padding: 7px;
        font-size: 0.85rem;
    } */

	main input[type="text"], 
	.input-group input[type="text"], 
	main input[type="email"], 
	.input-group input[type="email"], 
	main input[type="password"], 
	.input-group input[type="password"], main  .input-group input[type="datetime-local"], main input[type="date"], .input-group input[type="date"], .input-group {
		padding:0.75rem;
	}

	.input-group i{
		display:none;
	}

    input[type="submit"] {
        padding: 8px;
        /* font-size: 0.9rem; */
    }

    .corner-image {
        /*display: none;             op echt kleine schermen: extra ruimte winnen */
		width:150px;
		right:50%;
		top:40px;
		transform:translateX(50%);
    }
}
