

body {
    background-color: darkgrey;
}

.album-grid {
    display: grid;
    /* This creates columns that resize automatically */
    grid-template-columns: repeat(3, 1fr);
    width: 95%;
    margin: 0 auto;
}

.photo-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s; /* Move transition here for smoother exit too */
}


.gallery-img {
    width: 100%; /* Makes the image fit inside the card */
    height: auto;
    border-radius: 8px; /* Optional: rounds the corners slightly */
}

.photo-card:hover {
    transform: scale(1.05); /* Makes the card slightly bigger when hovered */
    transition: 0.3s; /* Makes the movement smooth */
    box-shadow: 0px 4px 15px rgba(0,0,0,0.2);
}






.league-logo {
    display: block;
    margin: 0 auto;
    max-width: 50%   /* Ensures it doesn't overflow on small screens */

}

.madisonville-flier {
    display: block;
    margin: 0 auto;
    max-width: 50%   /* Ensures it doesn't overflow on small screens */

}





h1 {
    text-align: center;
    margin-top: 20px;
    color: #000000; 
}

h2 {
    text-align: center;
    margin-top: 20px;
    color: #000000; 
}

h3 {
    text-align: center;
    margin-top: 20px;
    color: #000000; 
}

h4 {
    text-align: center;
    margin-top: 20px;
    color: #000000; 
}

p {
    text-align: center;
    margin-top: 20px;
    color: #000000; 
}



.button-forms {
    display: flex;
    justify-content: center; /* Centers the button horizontally */
    align-items: center;     /* Centers it vertically if the box is tall */
    padding: 20px 0;         /* Adds some breathing room above and below */
    width: 100%;
}



/* Centering the entire bar */
.navbar {
    display: flex;
    justify-content: center; /* Centers items horizontally */
    align-items: center;     /* Centers items vertically */
    gap: 15px;               /* Adds space between the buttons */
    width: 100%;             /* Fits the screen width automatically */
    padding: 20px 0;
}







/* Force all calendar tables to be identical */
.calendar-year {
    width: 100%;
    table-layout: fixed;      /* Crucial: Forces equal column widths */
    border-collapse: collapse;
    margin-bottom: 20px;      /* Space between the 3 table blocks */
}

/* Set the Header (Month Name) height */
.calendar-year th {
    background-color: goldenrod;
    color: black;
    height: 50px;
    border: 3px solid #000000;
}

/* Set the Body (Event Box) height */
.calendar-year td {
    background-color: white;
    height: 150px;            /* Forces every row to be the same height */
    border: 3px solid #000000;
    vertical-align: top;      /* Keeps text at the top */
    padding: 10px;
    font-family: sans-serif;
    font-weight: bold;
    word-wrap: break-word;    /* Prevents long names from breaking the grid */
}

/* Optional: Center the text inside the boxes */
.calendar-year td {
    text-align: center;
}









/* Centers the entire section on the page */
.location-container {
    text-align: center;
    padding: 40px 20px;
    width: 100%;
}










/* The container - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Style the clickable button itself */
.dropbtn, .nav-button {
    background-color: #000000;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

/* The actual dropdown menu (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: goldenrod;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
}

/* Style the links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ffffff;
}

/* SHOW the dropdown menu when you move the mouse over the container */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the main button color when the dropdown is shown */
.dropdown:hover .dropbtn {
    background-color: #1f2022;
}






/* Table Styles */
.nwc-table {
    width: 100%;
    border-collapse: collapse; /* Merges borders into single lines */
    margin: 20px 0;
    font-family: sans-serif;
    background-color: white;
}

.nwc-table th, .nwc-table td {
    padding: 12px 15px;
    border: 1px solid goldenrod;
    text-align: left;
}

/* Header styling to match your blue buttons */
.nwc-table thead tr {
    background-color: goldenrod;
    color: black;
    font-weight: bold;
}

/* Zebra striping (makes rows easier to read) */
.nwc-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

/* Hover effect for rows */
.nwc-table tbody tr:hover {
    background-color: #e9ecef;
}

/* Style for the email links inside the table */
.nwc-table a {
    color: blue;
    text-decoration: none;
    font-weight: bold;
}

.nwc-table a:hover {
    text-decoration: underline;
}







.form-container {
    max-width: 500px;
    margin: 40px auto;
    background: white;
    padding: 20px;
    border: 3px solid #000000;
    border-radius: 10px;
    box-shadow: 6px 6px 0px goldenrod;
}

.form-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-container input, .form-container select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Crucial for equal sizing */
}
