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

html{
    font-family: 'Roboto', sans-serif;
}

h1{
    background-image: linear-gradient(to right, #b91c1c, 80% , #ef4444);
    background-clip: text;
    color: transparent; 
    font-size: 1.5rem; 
}

header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 2px solid #ddd;
}
header button{
    background-color: transparent;
    border: none;
}
.hamburger { 
    display: none; 
    font-size: 1.5rem; 
    cursor: pointer; 
}

nav{
    width: 250px;
    min-width: 250px;
    height: 100vh;
    border-right: 2px solid #ddd;
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
    background: white;
}

.listItem {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #4b5563;
    padding: 0.9rem 1.5rem;
    margin: 4px 12px;
    width: auto;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}
a{
    text-decoration: none;
}

.listItem:hover {
    background-color: #fef2f2;
    color: #dc2626;
    transform: none;
}

.listItem.active {
    background-color: #dc2626;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.3);
}

main{
    height: 100%;
    display: flex;
    width: 100%;
}

.searchHeader {
    background-color: white;
    display: flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    width: 350px;
    transition: all 0.2s ease;
}

.searchHeader:focus-within {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.searchHeader input {
    border: none;
    background: transparent;
    outline: none;
    margin-left: 10px;
    width: 100%;
    font-size: 0.95rem;
    color: #334155;
    font-weight: normal;
}

.indexMain{
    background-color: #f8fafc; /* Standard background */
    width: 100%;
    color: #334155; /* Dark text */
    padding: 2rem;
    overflow-y: auto; /* Ensure scroll */
}

.welkom{
    background-color: #fff;
    margin: 10px 0 20px;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    color: #1e293b;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    line-height: 1.6;
}

h2 {
    color: #dc2626; /* Red title */
    margin-bottom: 1rem;
}

ul, ol{
    margin-left: 20px;
    background: white;
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

li {
    margin-bottom: 10px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .hamburger { display: block; }
    
    nav {
        position: absolute;
        left: -100%;
        top: 70px;
        width: 100%;
        z-index: 1000;
        transition: 0.3s ease;
        height: calc(100vh - 70px);
    }
    nav.nav-active { left: 0; }
    .searchHeader { display: none; }
}