/* Global */
body {
    font-family: 'Josefin Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.menu {
    background-color: #fff;
    color: #fff;
    padding: 1em;
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin-left: 20px;
}

nav a {
    text-decoration: none;
    color: #000;
}

header h1 {
    font-size: 20px;
    margin: 0;
    margin-top: 10px;
    margin-left:10px;
    color: #C88FD3; /* Purple color for the text */
    font-family: 'Josefin Sans', Arial, sans-serif;
}

.footerindex {
    background-color: #f0f0f0; /* Light gray color for the footer */
    padding: 10px;
    text-align: center;
    margin-top: 200px;

}






/* index  */
.center-content {
    text-align: center;
    margin-top: 20vh; /* Adjust the margin as needed for vertical centering */
    display: flex;
    flex-direction: row; /* Arrange items in a row */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
}

.text-container {
    text-align: left; /* Align text to the left */
}

.big-text, .small-text {
    color: #C88FD3; /* Apply purple color to text */
    margin: 0; /* Reset margin for better appearance */
}

.pixel-me {
    max-width: 100%; /* Make the image responsive within its container */
    height: auto; /* Maintain the image's aspect ratio */
    width: 250px; /* Set a specific width for the image */
    margin-left: 20px; /* Add some space between text and image */
}





.big-text {
    font-size: 70px;
    font-weight: bold;
    margin: 0; /* Remove default margin */
}

.small-text {
    font-size: 18px;
    color: #C88FD3; /* Same color as big text */

}


.purple-text {
    color: #C88FD3; /* Purple color for the text */
    font-family: 'Josefin Sans', Arial, sans-serif;
}


.section {
        max-width: 800px;
        margin: 20px auto;
        padding: 0 20px;
}






/* stuff i made */
.stuff-content {
    height: 50vh;
}

/* Add styles for the '.box-container' class */
.box-container {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px;
}

/* Adjust the styles for the '.box' class */
.box {
  text-align: center;
  border: 2px solid #000;
  border-radius: 10px;
  width: calc(10% - 10px);
  max-width: calc(10% - 10px);
  height: calc(10% - 10px); /* Set the height to match the width */
  max-height: calc(10% - 10px); /* Set the max-height to match the width */
  box-sizing: border-box;
  margin: 0 5px 10px 0; /* Adjust the margin to control space between boxes */
}

.box img {
    max-width: 100%;
    height: auto;
}

.box p {
    margin-top: 10px;
    color: #C88FD3;
    font-size: 16px;
    background-color: #f0f0f0;
    padding: 10px;
}

/* Add styles for the '.top-text' class */
.top-text {
    text-align: center;
    padding: 5px;
}

.top-text h2 {
    font-size: 24px;
    color: #C88FD3;
}

.top-text p {
    font-size: 15px;
    color: #555;
}

.footerstuff {
    background-color: #f0f0f0;
    padding: 10px;
    text-align: center;
    margin-top: 100px; /* Adjust margin-top to create space above the footer */
 }

/* Media query for smaller screens */
@media (max-width: 1200px) {
    .box {
        width: calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

/* Media query for even smaller screens */
@media (max-width: 768px) {
    .box {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
}


/*game.js*/
.game-title {
    text-align: center;
    color: #C88FD3; /* This purple color is used elsewhere in your CSS */
    font-size: 32px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: 'Josefin Sans', Arial, sans-serif;
}

#message {
    font-size: 24px;
    color: green;
    text-align: center;
    margin-top: 20px;
    font-family: 'Josefin Sans', sans-serif;
}

/* Maze Game Specific Styles */
canvas#mazeCanvas {
    display: block;
    margin: 0 auto; /* Center horizontally in the container */
    background-color: #ffffff;
    border: 3px solid #C88FD3; /* Matching the purple theme */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%; /* Ensure the canvas fits the screen */
    height: auto; /* Maintain aspect ratio */
}

/* Style to center the canvas container within the main element */
.canvas-container {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    height: 50%; /* Takes full height of the container */
    margin: 0 auto; /* Ensures it stays in the center horizontally */
    width: 100%; /* Takes full width to properly center */
}


.game-menu {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.game-menu button {
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #666;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Josefin Sans', sans-serif;
}

.game-menu button:hover {
    background-color: #555;
}
