/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Video Background */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Navbar */
/* Navbar Styling */
/* Navbar Styling */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.8); /* Slight transparency */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

/* Logo container */
.nav-left {
    display: flex;
    align-items: center;
}

/* Logo Image */
.nav-logo {
    height: 40px; /* Adjust size */
    width: auto;
    border-radius: 5px; /* Optional rounded corners */
    margin-right: 10px; /* Space between logo and text */
}

/* Logo Text */
.logo-text {
    font-size: 22px;
    font-weight: bold;
    color: white;
    font-family: Arial, sans-serif;
}

/* Navbar Links */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #28a745; /* Green on hover */
}


/* Home Content */
/* Wrapping container to align home-container and image */
/* Wrapping container to align home-container and image */
.home-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensures content is left and image is right */
    max-width: 1200px; /* Prevents stretching on large screens */
    margin: 80px auto 0 auto; /* 250px margin from the top */
    padding: 20px;
}

/* Adjusted home-container for better positioning */
.home-container {
    position: relative;
    background: linear-gradient(to right, rgba(0, 150, 50, 0.6), rgba(50, 200, 250, 0.6)); /* Green to Light Blue gradient */
    padding: 40px;
    border-radius: 10px;
    color: white;
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    max-width: 650px;
    width: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Image styling - now properly aligned to the right */
.img-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 images per row */
    gap: 20px; /* Space between images */
    justify-content: center;
    align-items: center;
    margin-top: 50px; /* Adjust spacing */
}

.home-image {
    max-width: 200px; /* Adjust size */
    height: 150px; /* Keep square ratio */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.home-image:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}


/* Title */
h1 {
    font-size: 36px;
}

/* Description */
p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Start Game Button */
button {
    padding: 12px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

button:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    text-align: center;
    padding: 5px;
    background-color: rgba(51, 51, 51, 0.8);
    color: white;
    font-size: 14px;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 30px;
    line-height: 20px;
}
