body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Your Galaxy Font', sans-serif;
}

.nav-container {
    max-width: 1200px;
    background: none;
    padding: 10px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

.logo img {
    max-height: 100px;
    margin-left: 20px;
}

.menu-buttons {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.menu-buttons li {
    margin: 0 10px;
}

.menu-buttons a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.main-container {
    background-image: url('../img/main.png');
    background-size: cover;
    background-position: center;
    max-width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    overflow: auto;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

.alxy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: absolute; /* Change to absolute */
    top: 0; /* Adjust as needed */
    left: 50%; /* Adjust as needed */
    transform: translateX(-50%);
    z-index: 2; /* Set a higher z-index for .alxy-container to appear on top */
}

.alxy-box-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #202528;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 12px 8px rgba(0, 0, 0, 0.1), 12px 0 8px rgba(0, 0, 0, 0.1), -12px 0 8px rgba(0, 0, 0, 0.1);
}

.alxy-logo img {
    max-width: 70px;
    height: auto;
}

.alxy-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    margin: 0 20px;
}

.alxy-nav-link {
    font-weight: bold;
    color: white;
    text-decoration: none;
    cursor: pointer;
    margin: 0 15px;
    outline: none;
    position: relative;
    display: inline-block;
}

.alxy-nav-link.active {
    color: #25dc21;
    font-weight: bold;
}

.alxy-nav-link:hover {
    color: #25dc21;
    text-decoration: none;
}

.alxy-nav-link,
.alxy-cta {
    position: relative;
    display: inline-block;
}

.alxy-nav-link a {
    color: inherit;
    text-decoration: none;
}

.alxy-nav-link span {
    position: relative;
    padding-bottom: 5px;
}

.alxy-nav-link::before,
.alxy-nav-link::after,
.alxy-nav-link span::before,
.alxy-nav-link span::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #25dc21;
    transition: width 0.3s ease, left 0.3s ease, right 0.3s ease;
}

.alxy-nav-link span::before,
.alxy-nav-link span::after {
    left: 50%;
    transform: translateX(-50%);
}

.alxy-nav-link span::before {
    transform-origin: left bottom;
}

.alxy-nav-link span::after {
    transform-origin: right bottom;
}

.alxy-nav-link span:hover::before,
.alxy-nav-link span:hover::after {
    width: 100%;
}

/* Styles for mobile menu icon */
.alxy-mobile-menu-icon {
    display: none;
    cursor: pointer;
}

/* Media query for screens below a certain width (e.g., 768px) */
@media (max-width: 768px) {
    .alxy-box-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .alxy-mobile-menu-icon {
        display: block;
    }

    .alxy-navigation {
        display: none;
        position: absolute;
        top: 20%;
        left: 0;
        background-color: #202528;
        border-radius: 8px;
        box-shadow: 0 12px 8px rgba(0, 0, 0, 0.1), 12px 0 8px rgba(0, 0, 0, 0.1), -12px 0 8px rgba(0, 0, 0, 0.1);
        z-index: 1;
    }

    .alxy-navigation.active {
        display: flex; /* Show the menu when active */
    }

    .alxy-nav-link {
        display: block; /* Display menu items vertically */
        padding: 10px 20px; /* Add padding for better spacing */
        color: white;
        text-decoration: none;
    }

    .alxy-nav-link:hover {
        background-color: #333; /* Adjust hover background color as needed */
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 5px; /* Adjust padding for smaller screens */
    }

    .menu-buttons li {
        margin: 0 5px; /* Adjust margin for spacing between menu items on smaller screens */
    }
}
