/* Style the video to cover the entire window */
#backgroundVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1; /* Ensure the video is behind other content */
    object-fit: cover; /* Ensure the video covers the entire area */
}

/* Style for the top bar and navigation bar */
.top-bar {
    background-color: black; /* Black background for the top bar */
    width: 100%;
    position: relative; /* Fix to the top of the screen */
    top: 0; /* Align to the top of the screen */
    left: 0; /* Align to the left of the screen */
    z-index: 1; /* Ensure it is on top of other content */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 0; /* Adjust padding for better spacing */
    min-height: 12px; /* Minimum height to ensure enough space */
    height: auto; /* Allow it to adjust as needed */
}

nav {
    padding: 1rem 0; /* Adjust padding for scaling */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Arrange list items horizontally */
    justify-content: center; /* Center the items */
    width: 100%; /* Make sure it scales with the browser */
    max-width: 1200px; /* Optional: limit the max width */
}

nav li {
    margin: 0 2vw; /* Use viewport width units for responsiveness */
}

nav a {
    text-decoration: none;
    color: white; /* White text color */
    font-size: 1rem; /* Base font size */
}

body {
    background-color: black;
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    font-family: Montserrat, sans-serif;
    font-size: 18px; /* Base font size */
    line-height: 1.5;
}

header {
    text-align: center;
}

h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

a {
    color: #C724B1;
    text-decoration: none;
}

.logo-container img {
    width: 10vw; /* Responsive width for the logo */
    max-width: 60px; /* Limit maximum size */
    height: auto;
}

/* Main content padding to prevent overlap with top bar */
main {
    padding-top: 30px; /* Adjust padding to start content below the top bar */
}

/* About section styling */
#about {
    text-align: center;
    margin: 50px auto; /* Center the section horizontally with margin */
    max-width: 800px; /* Limit the width for better readability */
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background to improve text visibility */
    border-radius: 10px; /* Rounded corners for better aesthetics */
    color: white; /* Ensure text is visible */
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Adds spacing between the image and text */
    flex-wrap: wrap; /* Ensures responsiveness */
}

.about-photo {
    width: 150px; /* Adjust size as needed */
    height: auto;
    border-radius: 10px; /* Optional: Adds rounded corners */
}

#about p {
    line-height: 1.5;
    margin-bottom: 20px;
    color: white; /* Ensure text color is white */
    font-size: 1.1rem; /* Slightly larger font for readability */
}

.game-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.game {
    flex: 0 1 45%; /* Adjust width as needed */
    margin-bottom: 30px;
}

.game.left {
    order: 1;
}

.game.right {
    order: 2;
}

/* Additional styling for game elements */
.game h3 {
    color: #C724B1;
    margin-bottom: 10px;
}

.game img {
    max-width: 100%;
    margin-bottom: 10px;
}

.game p {
    margin-bottom: 10px;
}

.game a {
    display: inline-block;
    background-color: #C724B1;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.instagram-embed {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto; /* Centers the embed horizontally */
    max-width: 500px; /* Adjust as needed */
}


/* Media queries for responsive adjustments */
@media (max-width: 768px) {
    nav a {
        font-size: 4vw; /* Larger font size for smaller screens */
    }

    .logo-container img {
        width: 20vw; /* Larger logo for smaller screens */
    }

    .top-bar {
        height: auto; /* Allow height to adjust on smaller screens */
        padding: 20px 0; /* Adjust padding for smaller screens */
    }

    main {
        padding-top: 180px; /* Adjust padding for smaller screens */
    }

    #about {
        max-width: 90%; /* Make the section take more width on smaller screens */
    }
}
