/* General Styles */
body {
    font-family: 'Montserrat', sans-serif; /* Modern and bold font */
    margin: 0;
    padding: 0;
    background-color: #1e1e1e; /* Dark hockey rink color background */
    color: #fff; /* White text for contrast */
}

/* Header */
header {
    background-color: #14213d; /* Dark blue to represent a hockey arena feel */
    color: white;
    padding: 20px;
    text-align: center;
    border-bottom: 5px solid #fca311; /* Hockey-inspired accent color */
}

header h1 {
    margin: 0;
    font-size: 2.5rem; /* Bigger, bold heading */
    text-transform: uppercase;
    letter-spacing: 2px; /* Adds spacing between letters for boldness */
    text-shadow: 3px 3px #000; /* Subtle shadow for depth */
}

/* Navigation */
nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
    background-color: #0d1b2a; /* Dark background */
    border-bottom: 2px solid #fca311; /* Orange bottom border */
}

nav ul li {
    margin: 0 15px;
    border: none; /* Remove any default border */
}

nav ul li a {
    color: #fca311;
    text-decoration: none; /* Removes underline */
    font-weight: bold;
    text-transform: uppercase;
    padding: 15px 20px;
    display: block;
    transition: background-color 0.3s;
    border: none; /* Removes any border */
}

nav ul li a:hover {
    background-color: #fca311; /* Changes background on hover */
    color: #0d1b2a;
}

nav ul li a:focus {
    outline: none; /* Removes focus outline */
}

/* Removing any white lines or borders across all devices */
nav ul li {
    border: none;
}

nav ul li a {
    border-bottom: none;
}

/* Main Content */
main {
    padding: 20px;
    text-align: center;
    min-height: calc(100vh - 150px); /* Ensures content fills screen */
    padding-bottom: 60px; /* Padding for mobile footer space */
}

/* Footer */
footer {
    background-color: #14213d;
    color: #fca311;
    text-align: center;
    padding: 15px 0;
    border-top: 2px solid #fca311;
    margin-top: 20px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    border: 1px solid #fca311; /* Orange borders for tables */
    padding: 12px;
    text-align: center;
}

table th {
    background-color: #0d1b2a; /* Dark header background */
    font-weight: bold;
    text-transform: uppercase;
}

table td {
    background-color: #14213d; /* Dark blue background for table cells */
}

/* Teams Page Specific Styling */
h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fca311; /* Accent color for headings */
    padding: 10px;
    border-bottom: 2px solid #fca311; /* Solid accent color line */
}

ul {
    list-style-type: none;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 30px;
}

li {
    font-size: 1.2rem;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    word-wrap: break-word;
}

ul li:last-child {
    border-bottom: none;
}

/* CSS for the header image */
img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto; /* Center the image */
}

@media screen and (min-width: 500px) {
    img {
        max-width: 500px; /* Max width for larger screens */
    }
}


/* Footer Fixes */
@media (min-width: 768px) {
    main {
        max-width: 800px;
        margin: 0 auto;
    }
}

/* Mobile-Responsive Improvements */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column; /* Stack nav items vertically */
    }

    nav ul li {
        margin: 10px 0;
    }

    header h1 {
        font-size: 2rem;
    }

    main {
        padding: 15px;
    }

    footer {
        padding: 20px;
    }
}
