body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: black;
    overflow: hidden;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.video-background video {
    transform: rotate(90deg);
    transform-origin: center;
}

.menu {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-button {
    background-color: rgba(0, 0, 0, 0.8); /* Black background with 80% opacity */
    color: white;
    text-decoration: none;
    font-size: 16px; /* Adjust font size as needed */
    border: none;
    cursor: pointer;
    margin: 15px;
    padding: 10px 20px; /* Adjust padding to ensure content fits well */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* 3D shadow effect */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 150px; /* Uniform width for all buttons */
    height: 65px; /* Height is 50% of the width */
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-align: center; /* Ensure text is centered */
}

/* Smooth transition for video background blur */
.video-background video {
    transition: filter 1s ease-in-out; /* Smooth transition for blur */
}


.menu-button:hover {
    background-color: rgba(0, 0, 0, 1); /* Fully opaque on hover */
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
}

/* Adjust menu container for center alignment of buttons */
.menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: row; /* Change to row for top row buttons */
    flex-wrap: wrap; /* Allow wrapping for different screen sizes */
    justify-content: center; /* Center buttons horizontally */
    align-items: center; /* Center buttons vertically */
    width: auto; /* Auto width based on content */
    height: auto; /* Auto height based on content */
}

/* Specifically for button alignment, no changes needed from above */



/* Specific adjustments for button positioning might be needed based on the video aspect ratio */
