@font-face {
    font-family: "KG Second Chances Sketch";
    src: url("/fonts/kg_second_chances/KGSecondChancesSketch.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "KG Second Chances Solid";
    src: url("/fonts/kg_second_chances/KGSecondChancesSolid.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Garet";
    src: url("/fonts/Normale.teskt/Garet-Book.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: "Garet";
    src: url("/fonts/Dikgedrukte.tekst/Garet-Heavy.otf") format("opentype");
    font-style: normal;
    font-weight: 800;
}

body, html {
    margin: 0;
    overflow-x: hidden;
    background-color: #9CC5FB;
    cursor: url("/media/cursor2x-72.png") 18 18, auto;
}

/* Projecten Navbar Styles */
.navbar {
    background-color: transparent;
    color: #072163; /* Dark text color */
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    padding: 8px 28px;
    margin: 8px 16px 0;
    width: calc(100% - 32px);
    box-sizing: border-box;
    border-radius: 14px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
}

a,
button,
.burger {
    cursor: url("/media/cursor2x-72.png") 18 18, pointer;
}

.logo a {
    text-decoration: none;
    font-family: "KG Second Chances Solid", Arial, sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: #072163; /* Dark text color */
}

/* Navbar Links */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px; /* Reduced spacing for a balanced layout */
    font-size: 28px;
    transition: all 0.3s ease;
}

/* Links Styling */
.nav-links a {
    text-decoration: none;
    color: #072163; /* Dark text color */
    font-family: "KG Second Chances Sketch", Arial, sans-serif; /* Ensure consistency */
    font-weight: 400; /* Matches the requested style */
    transition: color 0.3s;
}

.nav-links a.is-active,
.logo a.is-active {
    font-family: "KG Second Chances Solid", Arial, sans-serif;
}

.nav-links a:hover {
    color: #072163; /* Hover effect with a subtle color shift */
}

/* Burger Menu Button */
.burger {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    color: #072163;
}

.burger span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: currentColor; /* Matches text color */
    border-radius: 2px;
    transition: all 0.3s ease; /* Smooth animation for lines */
}

/* Burger Animation */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .burger {
        display: flex; /* Show burger menu button on mobile */
        position: relative;
        z-index: 60;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        left: 0;
        width: min(70vw, 360px);
        height: 100vh;
        margin: 0;
        padding: 88px 22px 24px;
        box-sizing: border-box;
        gap: 16px;
        font-size: 24px;
        background-color: #9CC5FB;
        border-right: 1px solid rgba(7, 33, 99, 0.25);
        transform: translateX(-104%);
        transition: transform 0.28s ease;
        z-index: 50;
    }

    .nav-links.mobile {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 24px; /* Adjust for smaller screens */
        text-align: left;
    }
}

body, html {
    margin: 0;
    overflow-x: hidden;
}

/* Navbar styles (already included in your existing CSS) */

/* About Container */
.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #9CC5FB;
    padding: 40px;
    padding-left: 80px;
    padding-right: 80px;
    gap: 20px;
}

/* Text Section */
.about-text {
    width: 48%;
    color: #072163;
}

.about-text h1 {
    font-size: 96px;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-text .over-title {
    font-family: "Garet", Arial, sans-serif;
    font-weight: 800;
}

.about-text .mij-title {
    font-family: "KG Second Chances Sketch", Arial, sans-serif;
    font-weight: 400;
}

.about-text p {
    font-size: 24px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text .intro-strong {
    font-family: "Garet", Arial, sans-serif;
    font-weight: 800;
}

.about-text .intro-light {
    font-family: "Garet", Arial, sans-serif;
    font-weight: 300;
}

/* Image Section */
.about-image {
    width: 42%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -40px;
}

.about-image img {
    width: 500px;
    height: 500px;
    border-radius: 50%; /* Makes the image round */
    object-fit: cover; /* Ensures the image maintains aspect ratio */
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        margin: 6px 10px 0;
        width: calc(100% - 20px);
        padding: 8px 14px;
    }

    .logo a {
        font-size: 26px;
    }

    .about-container {
        flex-direction: column; /* Stack items vertically */
        text-align: center;
        padding: 90px 20px 30px;
    }

    .about-text {
        width: 100%; /* Full width for text */
    }

    .about-text h1 {
        font-size: clamp(52px, 14vw, 72px);
        margin-bottom: 14px;
        line-height: 1;
    }

    .about-text p {
        font-size: 18px;
        line-height: 1.6;
    }

    .about-image {
        width: 100%; /* Full width for the image */
        margin-top: 20px; /* Add spacing above the image */
        margin-left: 0;
    }

    .about-image img {
        width: min(62vw, 260px);
        height: min(62vw, 260px);
    }
}

