/* Grundopsætning */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #e0e0e0; /* bedre kontrast */
}

/* Header – fast i toppen */
header {
    background: #333;
    height: 60px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
}

.header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 20px;
    font-weight: bold;
    pointer-events: none; /* så klik går igennem til burger/login */
}


/* Menu container */
.menu {
    display: flex;
    align-items: center;
    justify-content: space-between; /* burger venstre, login højre */
    width: 100%;
    padding: 0 20px;
}

/* Burger ikon */
.burger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.burger div {
    width: 28px;
    height: 3px;
    background: white;
    margin: 5px 0;
}

/* MENU DROPDOWN PANEL */
#menu-links {
    display: none;
    position: absolute;
    left: 0;
    top: 60px;
    background: #333;
    width: 260px;
    padding: 20px 0;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    list-style: none;
    margin: 0;
    z-index: 3000;
}

#menu-links.show {
    display: block;
}

#menu-links li {
    padding: 12px 20px;
}

#menu-links a {
    color: white !important;
    text-decoration: none;
    font-size: 18px;
}

#menu-links a:hover {
    text-decoration: underline;
}

/* LOGIN KNAP */
.login-btn {
    width: 26px;
    height: 26px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M12 12c2.7 0 5-2.3 5-5s-2.3-5-5-5-5 2.3-5 5 2.3 5 5 5zm0 2c-3.3 0-10 1.7-10 5v3h20v-3c0-3.3-6.7-5-10-5z'/></svg>");
}



.login-btn:hover {
    text-decoration: underline;
}

/* LOGIN PANEL */
.login-panel {
    display: none;
    position: absolute;
    right: 0;              /* helt til højre */
    top: 60px;             /* under header */
    background: #333;
    padding: 20px;
    width: 260px;
    border-radius: 0;      /* kantede hjørner */
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    z-index: 3000;
}

.login-panel.show {
    display: block;
}

.login-panel h3 {
    color: white;
    margin-top: 0;
}

.login-panel input {
    width: 90%;
    padding: 8px;
    margin: 8px 0;
    border: none;
    border-radius: 0;      /* kantede hjørner */
}

.login-panel button {
    width: 100%;
    padding: 10px;
    background: #555;
    color: white;
    border: none;
    border-radius: 0;      /* kantede hjørner */
    cursor: pointer;
}

.login-panel button:hover {
    background: #777;
}

/* Indholdsbokse med tydelig kontrast */
section {
    padding: 40px;
    max-width: 900px;
    margin: 100px auto 20px auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

h1, h2 {
    color: #333;
}
