* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

h1{
    color: #404654;
    font-family: Georgia, serif;
    padding-bottom: 5px;
}

h2{
    color: #404654;
    font-family: Georgia, serif;
    padding: 5px;
}


/* BODY EN LAYOUT */
body {
    background-color: #f5f5f5;
    color: #000;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* minimaal schermhoogte */
}

/* Laat main alles tussen header en footer opvullen */
main {
    flex: 1;
}

/* HEADER */
header {
    background: #fff;
    padding: 20px 40px;
    border-bottom: 5px solid #000;
    min-height: 80px;
    max-height: 80px;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    gap: 15px;
    list-style: none;
}

nav a:hover,
nav a.active {
    background: #555;
}

nav a {
    text-decoration: none;
    background: #111;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    transition: background 0.2s ease;
}

.login-link {
    background: #111;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.login-link:hover {
    background: #555;
}

/* TITEL */
.titel {
    margin-top: 40px;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    font-family: Georgia;
}

.ondertitel {
    text-align: center;
    font-size: 20px;
}

.error {
    font-weight: bold;
    color: red;
}

/* INLOG FORM */
.inlog_form {
    width: 50vw;       /* originele breedte behouden */
    height: auto;      /* past zich aan inhoud aan */
    border: 2px solid black;
    border-radius: 4px;
    margin: 0 auto;
    padding: 1rem;
}

.inlog_submit {
    padding-top: 3vh;
}

.inlog_buttons {
    display: inline-block;
    width: 50vw;       /* originele breedte behouden */
    padding: 0.75rem 1rem;
    margin-bottom: 1vh;
    background-color: black;
    color: white;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

/* FOOTER */
footer {
    background: #454545;
    color: #fff;
    padding: 40px 20px;
    border-top: #0e0e0e 3px solid;
    margin-top: auto; /* plakt footer onderaan */
}

.footer-inner {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between; /* links - midden - rechts */
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-logo svg {
    width: 120px;
}

.footer-contact {
    text-align: center;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social img {
    width: 28px;
    height: 28px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #ddd;
}

/* RESPONSIVE */
@media (max-width: 800px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        margin-left: 0;
    }

    /* Form breedte iets aanpassen voor smalle schermen */
    .inlog_form,
    .inlog_buttons {
        width: 80vw;  /* kleine schermen */
    }
}
