/* styles.css */

/* Basic reset */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #FFFFFF; /* White background */
    color: #333333; /* Charcoal text color */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the body takes up the full viewport height */
    background-image: url("../images/hilbertcurvelemon_translucent.png"); /* Adjusted path */
    background-repeat: repeat;
    background-size: 400px 400px; 
    background-position: center;
}

header, footer {
    background-color: #008080; /* Teal */
    color: #FFFFFF;
    padding: 10px 20px;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #ffffff; /* White text color for links */
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

main {
    flex: 1; /* This allows the main content to grow and fill the space */
    padding: 20px;
    text-align: center;
}

/* Bulletin Board Styles */
.bulletin-board {
    color: white;
    background-color: #008080; /* Light yellow background */
    border: 5px solid #8aa802; /* Darker yellow border */
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left; /* Align text to the left */
    max-width: 600px; /* Narrower width on desktop */
    margin-left: auto;
    margin-right: auto; /* Center the bulletin board */
}

.bulletin-board h2 {
    margin-top: 0;
    color: #00ff95; /* Charcoal color for heading */
    text-align:center;
}

.bulletin-board ul {
    list-style-type: disc;
    padding-left: 20px; /* Indent list items */
}

.bulletin-board li {
    margin-bottom: 10px;
    font-size: 18px; /* Slightly larger font size */
}

footer {
    background-color: #008080; /* Teal footer */
    color: #FFFFFF;
    text-align: center;
    padding: 10px 20px;
}

/* About the Teacher Styles */
.about-teacher {
    background-color: #f0f0f0; /* Light grey background */
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left; /* Align text to the left */
    max-width: 800px; /* Limit the width */
    margin-left: auto;
    margin-right: auto; /* Center the section */
}

.about-teacher h2 {
    margin-top: 0;
    color: #333333; /* Charcoal color for heading */
}

.about-teacher p {
    margin-bottom: 10px;
    font-size: 18px; /* Slightly larger font size */
    color: #555555; /* Slightly darker grey for text */
}

/* Button styles */
/* Button grid styles */
.button-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 20px; /* Spacing between buttons */
    justify-items: center; /* Center buttons within their grid cells */
    margin: 20px 0;
}

.big-button {
    background-color: #009ece; /* Light blue */
    color: #FFFFFF;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    border-radius: 10px;
    width: 180px; /* Fixed width for buttons */
    transition: background-color 0.3s ease;
}

.big-button:hover {
    background-color: #008080; /* Teal on hover */
}

/* Mobile Styles */
@media screen and (max-width: 600px) {
    header, footer {
        padding: 15px;
        font-size: 18px;
    }

    nav ul {
        padding: 0;
        text-align: center;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 20px;
    }

    main {
        padding: 15px;
        font-size: 18px;
    }

    .button-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on small screens */
        gap: 10px; /* Reduce gap to save space */
    }

    .big-button {
        width: 140px; /* Reduce button width on small screens */
        padding: 15px; /* Reduce padding to prevent overlap */
        font-size: 18px; /* Slightly smaller font size */
    }

    .bulletin-board {
        margin-top: 20px;
        padding: 15px;
        font-size: 16px; /* Slightly smaller font size for mobile */
    }
}
