/* General body styling */
body {
    font-family: Georgia, serif;
    background: url('../images/background2.jpeg') no-repeat center center fixed; /* Background image */
    background-size: cover; /* Ensure the image covers the entire background */
    color: white; /* White text for contrast */
    text-align: center;
    margin: 0;
    padding: 20px;
}

/* Headings and text */
h1, h3, p {
    color: white; /* White color for visibility */
}

/* Menu styling */
.menu {
    margin-top: 50px;
}

/* Board styling for grid layout */
#board {
    display: grid;
    grid-template-columns: repeat(3, 100px); /* 3x3 grid */
    grid-gap: 5px;
    margin: 20px auto;
}

/* Individual cell styling */
.cell {
    width: 100px;
    height: 100px;
    border: 2px solid white; /* White border */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
    color: white; /* White text */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em; /* Large text */
    cursor: pointer;
    transition: background-color 0.3s; /* Smooth hover effect */
}

/* Cell hover effect */
.cell:hover {
    background-color: navy; /* Navy blue background on hover */
}

/* Button styling */
button {
    background-color: navy; /* Navy blue background */
    color: white; /* White text */
    border: none; /* Remove border */
    border-radius: 10px; /* Rounded corners */
    padding: 15px 30px; /* Padding for size */
    font-size: 1em; /* Medium font size */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s; /* Smooth hover and click effects */
    margin: 10px 0; /* Spacing */
    text-decoration: none;
    display: inline-block; /* Inline buttons */
}

/* Button hover effect */
button:hover {
    background-color: #003366; /* Darker navy on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

/* Button focus effect */
button:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0 0 5px #003366; /* Subtle shadow */
}

/* Status message styling */
#status {
    margin-top: 20px;
    font-size: 1.2em; /* Larger text size */
    color: red; /* Red for status messages */
}

/* Responsive menu adjustments */
.menu {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive grid */
    gap: 20px;
    margin: 50px auto;
    max-width: 1200px; /* Centered and responsive */
}

/* Project card styling */
.project {
    text-align: center;
    text-decoration: none;
    color: inherit; /* Inherit text color */
    border: 1px solid white;
    border-radius: 10px; /* Rounded corners */
    overflow: hidden;
    transition: transform 0.3s; /* Smooth zoom effect */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
}

/* Project hover effect */
.project:hover {
    transform: scale(1.05); /* Slight zoom */
}

/* Project image styling */
.project-image {
    width: 100%; /* Full width */
    height: auto; /* Maintain aspect ratio */
    border-bottom: 2px solid navy; /* Navy separator */
}

/* Logo styling */
.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.logo-image {
    width: 50px;
    height: auto;
}

/* Styling for the text box that will hold the story */
#story-box {
    width: 70%; /* Full width */
    height: 300px; /* Set height for the text box */
    border: 2px solid white; /* White border for contrast */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    color: white; /* White text for visibility */
    padding: 10px; /* Add some padding inside the box */
    font-size: 1.2em; /* Larger text for readability */
    font-family: Georgia, serif; /* Same font as body */
    resize: none; /* Prevent resizing */
    overflow-y: auto; /* Add scroll bar for overflow */
    text-align: left; /* Align text to the left */
    margin-top: 20px; /* Space from other content */
    
}
