body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: auto; /* Allow the page to expand naturally */
    min-height: 100%; /* Ensure content takes at least full screen height */
    overflow: auto; /* Allow scrolling */
}

body {
    background-image: none !important; /* Förhindra laddning av någon bakgrundsbild */
    background-color: #620b21; /* Sätt din önskade bakgrundsfärg */
    background-size: cover;
    background-position: center;
}

.navbar {
    width: 100%;
    padding: 15px 50px;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.logo span {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffcc00;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
}

.close-btn {
    display: none; /* Hidden by default */
    font-size: 30px;
    background: none;
    border: none;
    color: #ffcc00;
    cursor: pointer;
    margin-top: 20px; /* Adjust if needed */
}

.overlay-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none; /* Hidden by default */
    z-index: 500; /* Behind the nav menu */
}
.logout-btn {
    background-color: #ffcc00;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    color: #000;
    margin-left: 20px;
    transition: background-color 0.3s;
}

.logout-btn:hover {
    background-color: #e6b800;
}

/* Media query for small screens */
@media (max-width: 768px) {
    body, html {
        overflow-y: auto; /* Ensure scrolling is allowed on mobile */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 200px;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px; /* Adjusted */
        display: none; /* Hidden by default */
        z-index: 1000; /* Above content */
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        color: #ffffff; /* Changed text color for better contrast */
        font-size: 22px;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .close-btn {
        display: block; /* Show the close button on mobile */
    }

    .overlay-background.active {
        display: block; /* Show overlay when menu is active */
    }
}

.landing {
    background: none; /* Ta bort eventuell bakgrund */
    min-height: 100vh; /* Ensure landing section always takes full screen height */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.overlay {
    background: none; /* Ta bort eventuell bakgrund */
    /* Bakgrundsfärgen borttagen */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    box-sizing: border-box;
}

.landing-content {
    color: #fff;
    max-width: 600px;
    padding: 20px;
    box-sizing: border-box;
}

.landing-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.landing-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.button-group {
    display: flex;
    justify-content: center;
}

.btn {
    background: #ffcc00;
    color: #000;
    padding: 15px 30px;
    text-decoration: none;
    margin: 0 10px;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #e6b800;
}

.managerzone-logo {
    height: 24px; /* Same height as the navbar text */
    width: auto; /* Maintain aspect ratio */
    vertical-align: middle; /* Aligns the image vertically in the navbar */
    transition: opacity 0.3s; /* Smooth hover effect */
}

.managerzone-logo:hover {
    opacity: 0.8; /* Slightly fades the image on hover */
}
