* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: slow;
}

body {
    max-width: 100%;
    height: 100%;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

h1{font-size:36px;}h2{font-size:30px}h3{font-size:24px}h4{font-size:20px}h5{font-size:18px}h6{font-size:16px}
h1,h2,h3,h4,h5,h6{font-family: "Trebuchet MS", Helvetica, sans-serif;font-weight:400;margin:10px 0}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    transition: all 0.4s ease;
    background: #FFF;
    z-index: 1000;
}

/* Header in vaste (gescrollde) toestand */
header.scrolled {
    background-color: #FFF;
    height: 60px;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* ==== Logo ==== */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 100px;
    width: auto;
    transition: height 0.4s ease;
    border-radius: 8px;
}

/* Bij scrollen wordt het logo kleiner */
header.scrolled .logo {
    height: 40px;
}

#open_menu {
    display: none;
}

nav a {
    color: #222;
    text-decoration: none;
    margin-left: 60px;
    font-weight: bold;
}

.bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    z-index: -1;
}

main {
    margin: 120px auto 0 auto;
    width: 100%;
    max-width: 900px;
    flex: 1;
}

main.scrolled {
    margin: 60px auto 0 auto;
}

main a:link, main a:visited {
    color: #C0C0C0;
    text-decoration: none;
}

main a:hover {
    text-decoration: underline;
}

main label {
    width: 120px;
    display: inline-block;
    vertical-align: middle;
}

p.error {
    width: 100%;
    max-width: 450px;
    background: red;
    color: white;
    padding: 3px;
}

footer {
    background:#C0C0C0;
    margin: 0;
    width: 100%;
    text-align:center;
    line-height: 60px;
    clear: both;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}
footer a {color:#000;text-decoration:none;}
footer span {cursor:pointer;}

/* Phone / Portrait */
@media screen and (max-width: 450px) and (orientation:portrait) {
#open_menu {
    display: block;
    position: absolute;
    top: 3px;
    right: 10px;
    font-size: 40px;
    font-weight: bold;
}

nav {
   width: 230px;
   display: none;
   position: absolute;
   top: 50px;
   right: 8px;
   background-color: #2196F3;
   z-index: 1200;
   border: 1px solid #333;
}

nav a {
    display: block;
    margin: 6px 3px;
}

}

@media screen and (max-width: 768px) and (orientation:landscape) {
#open_menu {
    display: block;
    position: absolute;
    top: 3px;
    right: 10px;
    font-size: 40px;
    font-weight: bold;
}

nav {
   width: 230px;
   display: none;
   position: absolute;
   top: 50px;
   right: 8px;
   background-color: #2196F3;
   z-index: 1200;
   border: 1px solid #333;
}

nav a {
    display: block;
    margin: 6px 3px;
}

}

@media screen and (max-width: 768px) and (orientation:portrait) {
#open_menu {
    display: block;
    position: absolute;
    top: 3px;
    right: 10px;
    font-size: 40px;
    font-weight: bold;
}

nav {
   width: 230px;
   display: none;
   position: absolute;
   top: 50px;
   right: 8px;
   background-color: #2196F3;
   z-index: 1200;
   border: 1px solid #333;
}

nav a {
    display: block;
    margin: 6px 3px;
}
}
