:root {
    --D: #5a393e;
    --L: #ece3dd;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--L);
    color: var(--D);
}

.content {
    max-width: 1200px;
    padding-left: 50px;
    padding-right: 50px;
    margin: auto;
}

/* Header */

header {
    background-color: var(--L);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

header .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img {
    height: 40px;
}

nav a {
    text-decoration: none;
    color: var(--D);
    margin-left: 30px;
}

nav a.active {
    text-decoration: underline;
}

/* Typography */

h1 {
    font-size: 56px;
}

h2 {
    font-size: 45px;
}

h3 {
    font-size: 33px;
}

p {
    font-size: 21px;
}

button {
    background-color: var(--D);
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
}

/* Hamburger */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 4px;
    background: var(--D);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hamburger → X animatie */

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: var(--L);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--L);
}

/* Mobile */

@media (max-width: 630px) {

    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--D);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 1000;
    }

    nav.open {
        right: 0;
    }

    nav a {
        font-size: 32px;
        margin: 20px 0;
        color: var(--L);
    }

}

@media (max-width: 444px) {

    header img {
        height: 32px;
    }

    .hamburger {
        scale: 0.8;
    }

    nav a {
        font-size: 26px;
        margin: 18px 0;
        color: var(--L);
    }

}