/* Basic Reset */
body, h1, h2, p, button, div, img {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
}

/* Page Structure */
.page-body {
    background-color: #f3f4f6; /* Light gray background */
    color: #333; /* Dark gray text */
}

.page-header {
    background-color: white;
    padding: 1rem;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribute space between logo and navigation */
}

.logo-container {
}

.logo-image {
    height: 4rem;
}

.headline-container {
    text-align: center; /* Center headline and subtitle */
}

.main-headline {
    font-weight: bold;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.sub-headline {
    font-size: 1rem; /* Reduced subtitle font size */
    color: #666;
}

.nav-menu {
    display: flex; /* Horizontal navigation */
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin-left: 1rem; /* Space between navigation items */
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1rem;
    border: 1px solid #ccc; /* Add border for visual */
    border-radius: 5px;
}

.nav-menu li a:hover {
    background-color: #f0f0f0;
}

.page-main {
    padding: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.box-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.box {
    background-color: white;
    padding: 1rem;
}

.test-button {
    background-color: white;
    padding: 1rem;
    border: 1px solid #ccc; /* Add a border for better visual */
}

.page-footer {
    background-color: white;
    padding: 1rem;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex; /* Use flexbox to arrange items horizontally */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
}

.copyright {
    font-size: 0.875rem;
    margin-right: 0.5rem; /* Add space between text and image */
}

.footer-logo-image {
    height: 2rem; /* Ensure the image height is set correctly */
    margin-left: 0.5rem; /* Add space between text and image */
}

/* Language Dropdown Styles */
.language-dropdown-container {
    position: relative;
}

.language-button {
    background-color: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: none; /* Initially hidden */
    min-width: 120px; /* Set a minimum width */
}

.language-dropdown ul {
    list-style: none;
    padding: 0.5rem;
    margin: 0;
}

.language-dropdown li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    white-space: nowrap; /* Prevent line breaks */
}

.language-dropdown li a:hover {
    background-color: #f0f0f0;
}
/* Sponsor Link */
.sponsor-link {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.sponsor-link:hover {
    background-color: #0056b3;
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column; /* Stack logo and titles vertically */
        align-items: center; /* Center items horizontally */
    }

    .logo-container {
        margin-right: 0; /* Remove right margin */
        margin-bottom: 1rem; /* Add bottom margin for spacing */
    }

    .headline-container {
        text-align: center; /* Center titles */
    }

    .nav-menu {
        margin-top: 1rem; /* Add top margin for spacing */
        flex-direction: column; /* Stack navigation items vertically */
        align-items: center; /* Center navigation items */
    }

    .nav-menu li {
        margin-left: 0; /* Remove left margin */
        margin-bottom: 0.5rem; /* Add bottom margin for spacing */
    }

    .footer-content {
        flex-direction: column; /* Stack text and image vertically */
    }

    .copyright {
        margin-right: 0; /* Remove right margin */
        margin-bottom: 0.5rem; /* Add bottom margin for spacing */
    }

    .footer-logo-image {
        margin-left: 0; /* Remove left margin */
    }

    .language-dropdown-container {
        width: 100%;
    }

    .language-dropdown {
        position: static;
        top: auto;
        right: auto;
        width: 100%;
        box-shadow: none;
        border: none;
    }

    .language-button {
      width: 100%;
    }
}