/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Basic styling */
body {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 200; /* Light weight */
    line-height: 1.3;
    background-color: #ffffff;
    color: #333333;
}

header {
    padding: 20px; /* Add padding to the header for spacing */
}

.logo img {
    max-height: 60px; /* Adjust as needed */
}

/* NAV – rettet så den matcher “rigtige” version (ingen sticky, ingen højde) */
nav {
    margin: 0px 0; /* holdes tæt på toppen */
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    padding: 0; /* Reset padding to ensure it doesn't affect centering */
}

nav ul li {
    margin-right: 40px;
}

nav ul li a {
    text-decoration: none;
    color: #171717; /* Regular color */
    font-weight: 350; /* Regular weight */
    font-size: 11px;
}

nav ul li a:hover {
    color: #e32415; /* Change text color on hover */
}

nav ul li a.active {
    font-weight: regular;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Adjust min-height to fill viewport */
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1100px; /* Adjust max-width as needed */
    padding: 20px; /* Add padding for better spacing */
    text-align: left; /* Align text to left */
}

.about-image {
    flex: 2; /* Take up available space */
    text-align: center; /* Center align content */
    margin-right: 35px; /* Add margin between image and text */
}

.about-image img {
    max-width: 100%; /* Ensure image scales properly */
    height: auto; /* Maintain aspect ratio */
}

.about-text {
    flex: 2; /* Take up twice the space as the image */
}

/* Mobile styles */
@media (max-width: 768px) {

    body {
        font-size: 10px; /* Increase base font size for readability on mobile */
    }

    header {
        padding: 20px; /* Add padding to the header for spacing */
    }

    /* NAV – behold samme struktur, ingen sticky eller padding */
    nav {
        margin: 0;
    }

    nav ul {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    nav ul li {
        margin: 0 0 100px 0;
    }

    nav ul li a {
        font-size: 9px;
    }

    .about-content {
        flex-direction: column; /* Stack items vertically on small screens */
        text-align: left; /* Center-align text for better mobile view */
    }

    .about-image {
        margin-right: 0; /* Remove margin between image and text */
        margin-bottom: 20px; /* Add space below image */
    }

    .about-text {
        flex: 1; /* Allow text to take up available space */
    }
}
