/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #d7d7d7;
    transition: opacity 0.5s ease-out, background-color 0.5s ease-out;
}

/* Fade-out effect */
.fade-out {
    opacity: 0;
    background-color: #333;
}

/* Header */
header {
    background: linear-gradient(135deg, #333 0%, #4a4a4a 100%);
    color: #eee;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-self: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
}

.logo-container {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.header-logo {
    margin-top: 8px;
    height: 42px;
    width: auto;
}

.centered-nav {
    flex-grow: 1;
    display: flex;
    justify-content: left;
    padding-left: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

header nav a {
    color: #eee;
    text-decoration: none;
    font-weight: 100;
    transition: color 0.3s ease;
    padding: 5px;
}

header nav a:hover {
    color: #eee;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-content {
        font-size: smaller;
        padding-top: 0px; /* Make room for the logo */
        gap: 3px;
    }
    
    .header-logo {
        margin-top: 8px;
        height: 32px;
        width: auto;
    }

    .logo-container {
        position: fixed;
        top: 10px;
        left: 5px;
        height: 16px;
        
    }

    .centered-nav {
        justify-content: center;
    }
}

/* Main Content */
main {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
    background-color: #eee;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
}

main h1,
main h2 {
    color: #333;
    margin-top: 20px;
}

/* Privacy Policy Section */
#privacy-policy {
    margin-bottom: 40px;
}

#privacy-policy p {
    margin: 15px 0;
}

#lastupdated {
    color: #aaa;
    font-size: 0.9em;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: 100;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #333 0%, #4a4a4a 100%);
    color: #aaa;
    padding: 5px 0;
    font-size: 0.8rem;
    text-align: center;
    /*position: sticky;*/
    bottom: 0;
    z-index: 1000;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content a {
    color: #eee;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 5px;
    }
}