/* Global styles */
body {
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: #f5f5f5;
    
    background-position: 0 0, 10px 0, 10px -10px, 0px 10px;
    background-size: 20px 20px;
    color: #333;
    margin: 0;
    overflow-x: auto;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    text-decoration: underline;
}

/* Navbar styles */
.navbar {
    background: #333;
    color: #333;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
    overflow-y: hidden;
}

.logo {
    text-decoration: none;
    color: #fff;
    transition: transform 0.5s;
}

.logo:hover {
    transform: scale(0.7) rotate(1440deg);
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    font-size: small;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links li:last-child {
    margin-right: 0;
}

.nav-links a {
    color: #fff;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ccc;
}

.menu-toggle {
    display: none;
}

/* Content styles */
.content {
    padding-top: 80px;
}

@media screen and (max-width: 1200px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        background-color: rgba(51, 51, 51, 0.8);
    }

    .menu-toggle i {
        font-size: 1.5rem;
        color: #fff;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(51, 51, 51, 0.8);
        padding: 10px 0;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links a {
        padding: 10px 20px;
        display: block;
    }

    .nav-links a:hover {
        background-color: #444;
    }

    .menu-open.nav-links {
        display: flex;
    }
}

/* Snapshot styles */
.snapshot {
    font-size: 1rem;
    color: rgba(51, 51, 51, 0.7);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    padding-left: 10px;
}

.snapshot span {
    font-weight: bold;
    color: rgba(139, 0, 0, 0.7);
}

/* Heading styles */
.heading-primary {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.heading-primary-title {
    font-size: 3.5rem;
    padding-bottom: 20px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.heading-secondary-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Table styles */
.table-striped {
    margin-bottom: 2rem;

}

.container {
    width: 80%;
    overflow-x: auto;
    margin: 0 auto;
}

th, td {
    text-align: center;
    font-size: 14px;
    white-space: nowrap;
    border: 1px solid #ddd;
    padding: 8px;
}

.filter-input {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

table {
    background-color: #fff;
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    
}

.table-container {
    overflow-x: auto;
    max-width: 100%; /* Ensures the container does not exceed the screen width */
}

th {
    background-color: #f0f0f0;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #e5f2ff;
}

.small-letters {
    padding-top: 10px;
    font-size: small;
    font-weight: bold;
}

/* Streak styles */
.streak-container {
    margin-bottom: 2rem;
}

.streak-container .streak {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.streak-container .streak th,
.streak-container .streak td {
    padding: 10px;
    font-size: 12px;
    text-align: center;
}

.streak-container .streak th:first-child,
.streak-container .streak td:first-child {
    width: 40%;
}

.streak-container .streak th:nth-child(2),
.streak-container .streak td:nth-child(2) {
    width: 60%;
}

.type-streak-header {
    background-color: #f2f2f2;
}

.team {
    font-weight: bold;
}

.win-streak {
    color: green;
}

/* Horizontal slider styles */
.horizontal-slider {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #757575 #f5f5f5;
}

.horizontal-slider::-webkit-scrollbar {
    height: 10px;
}

.horizontal-slider::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.horizontal-slider::-webkit-scrollbar-thumb {
    background-color: #757575;
    border-radius: 5px;
}

/* Scroll to top button styles */
.scroll-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 40px;
    height: 40px;
    background-color: rgba(51, 51, 51, 0.8);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 24px;
    cursor: pointer;
    display: none;
}

.scroll-to-top-btn.show {
    display: block;
}

.scroll-to-top-btn::before {
    content: "\25b2";
    display: block;
    color: #ffffff;
}

/* Footer styles */
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: small;
}

.footer a {
    color: #fff;
}

.footer a:hover {
    color: #ccc;
}

/* Seasons styles */
.seasons {
    border: 1px solid #ddd;
    background-color: #fff;
    border-collapse: collapse;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding: 5px;
    text-align: center;
    color: #8B0000;
    margin-bottom: 1rem;
    font-weight: bold;
    text-transform: uppercase;
}

.seasons a {
    color: #000000;
}

.seasons a:hover {
    font-weight: bold;
    color: #ccc;
}

/* Heading logo styles */
.heading__logo {
    background-color: #fff;
    border: 1px solid var(--color-support-1);
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
    width: 120px;
    padding: 4px;
}

.heading__logo--1 {
    grid-area: logo1;
}
