:root {
    --primary-font: 'Roboto', sans-serif;
    --primary-color: white;
    --secondary-color: rgba(0, 0, 0, 0.5);
    --footer-bg: rgba(0, 0, 0, 0.8);
    --header-height: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--primary-font);
}

/* Navigationsbar start */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    z-index: 10;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    max-height: var(--header-height);
    padding: 0 20px;
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    position: relative;
    height: 5rem;
}

nav li:first-child {
    margin-right: auto;
    max-width: 100px;
    height: auto;
}

nav a {
    height: 5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: var(--primary-color);
    padding: 0 2rem;
    font-size: 1.5rem;
}

.navimg {
    width: 10rem;
    padding-left: 50px;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
}

.burger-menu span {
    height: 3px;
    width: 25px;
    background: var(--primary-color);
    margin: 4px;
    border-radius: 2px;
}

/* Dropdown menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 5rem;
}

.dropdown-content a {
    color: var(--primary-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero billede start */
h1 {
    display: flex;
    justify-content: center;
    padding: 50px 0;
    font-size: 100px;
}

article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

p {
    padding: 20px 200px;
    display: flex;
    justify-content: center;
    text-align: left;
    font-size: xx-large;
}

.imgsize {
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* footer */
.footer {
    background: var(--footer-bg);
    color: var(--primary-color);
    padding: 20px 0;
    text-align: center;
}

.footer-logo-section {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.footer-logo-img {
    width: 100px;
}

.footer-social-section {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon {
    font-size: 2rem;
    color: antiquewhite;
}

.footer-bottom {
    font-size: 0.8em;
    display: flex;
    justify-content: center;
}

/* Media queries for responsive design */
@media (max-width: 1024px) {
    nav a {
        font-size: 1rem;
    }

    h1 {
        font-size: 50px;
    }

    p {
        padding: 10px 50px;
        font-size: x-small;
    }

    .footer-social-section {
        flex-direction: column;
        gap: 10px;
    }

    .social-icon {
        font-size: 1.5rem;
    }

    .footer-bottom {
        font-size: 0.7em;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: var(--header-height);
        left: 0;
        padding: 0;
        z-index: 100;
    }

    nav ul.show {
        display: flex;
    }

    nav li {
        margin: 1rem 0;
    }

    nav a {
        padding: 0.5rem 1rem;
        font-size: 1em;
    }

    .navimg {
        display: none;
    }

    .dropdown-content {
        position: relative;
        background-color: var(--secondary-color);
        box-shadow: none;
        display: none;
        width: 100%; /* Make dropdown full width in mobile view */
    }

    .dropdown.show .dropdown-content {
        display: block;
    }
}

@media (max-width: 425px) {
    body {
        display: flex;
        flex-direction: column;
    }

    .burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 40px;
        width: 40px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: var(--header-height);
        left: 0;
        padding: 0;
        z-index: 100;
    }

    nav ul.show {
        display: flex;
    }

    nav li {
        width: 100%;
        text-align: center;
        margin: 1rem 0;
    }

    nav a {
        padding: 0.5rem 1rem;
        font-size: 1em;
        width: 100%;
        color: white;
        text-decoration: none;
        display: block;
    }

    .navimg {
        padding-left: 0;
        margin-bottom: 1rem;
    }

    h1 {
        font-size: 30px;
        padding: 1rem;
    }

    p {
        padding: 5px 20px;
        font-size: small;
    }

    .footer-social-section {
        flex-direction: column;
        gap: 10px;
    }

    .social-icon {
        font-size: 1.5rem;
    }

    .footer-bottom {
        font-size: 0.7em;
    }
}
