body{
    font-family: "Bebas Neue", sans-serif;
    background-color: #141824;
    display: flex;
    overflow-x: hidden;
    width: 100%;
    }

a{
    cursor: pointer;
}

.main_content{
    position: absolute;
    height: 100%;
    width: calc(100% - 225px);
    left: 240px;
    display: flex;
    flex-direction: row;
}

.nav_bar{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 235px;
    background-color: #191E2C;
}

.nav_bar_bottom{
    display: none;
}


.nav_button{
    color: #F3F3F3;
    margin: 5px;
    height: 50px;
    line-height: 55px;
    width: 225px;
    font-size: 35px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

.nav_button:hover{
    background-color: #31394E;
    margin: 5px;
    height: 50px;
    line-height: 55px;
    width: 225px;
    font-size: 35px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

.matches-container {
    max-height: calc(100vh - 50px); /* Leave more space for larger cards */
    overflow-y: auto; /* Ensure it remains scrollable */
    padding: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 450px;
}

.matches-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
}

.matches-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.matches-container::-webkit-scrollbar-track {
    background-color: #f3f3f3;
}


.match-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    padding: 15px 20px;
    background-color: #1a1e2b;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1);
    height: 150px;
    min-height: 150px;
}

.team-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}
.match-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    flex-grow: 1;
    gap: 5px;
}

.scoreandtime{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    flex-grow: 1;
    gap: 15px;
}
.match-info .date {
    font-size: 1.2em;
}
.match-info .time {
    font-size: 0.9em;
    color: #77D8B1;
}

.match-info .location {
    font-size: 0.5em;
    color: #555;
}

.match-info .league {
    font-size: 0.9em;
    color: #A0A0A0;
}
.team-name {
    font-size: 20px;
    text-align: center;
    margin-top: 5px;
    color: #F3F3F3;
}

li {
    list-style-type: none;
  }

.team-section{
    width: 120px;
    height: 80px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.score{
    font-size: 55px;
    color: #F3F3F3;
}

.date-time{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #F3F3F3;
}

.live-status{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #4F4F4F;
}

.table-container{
    color: #F3F3F3;
    width: 1000px;
    border-radius: 8px;
    padding: 15px 20px;
    background-color: #1a1e2b;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1);
    height: 550px;

}

th{
    width: 450px;
    font-size: 22px;
}

tr{
    height: 70px;
}

td{
    font-size: 20px;
    line-height: 42px;
}

table{
    text-align: center;
}

.tablename{
    text-align: left;
}

/* Alternate row colors for the table */
.table-container tr:nth-child(odd) {
    background-color: #1A1E2B; /* Darker color for odd rows */
}

.table-container tr:nth-child(even) {
    background-color: #1F2332; /* Slightly lighter color for even rows */
}

/* Ensure text contrast remains readable */
.table-container td, 
.table-container th {
    color: #F3F3F3; /* Keep text color consistent */
}

@media (max-width: 600px){
    .nav_bar{
        display: none;
    }

    .main_content{
        position: absolute;
        height: calc(100% - 100px);
        width: 100%;
        left: 0px;
        display: flex;
        flex-direction: column-reverse;
        justify-content: flex-end;
    }

    .matches-container {
        max-height: 300px; /* Leave more space for larger cards */
        overflow-y: auto; /* Ensure it remains scrollable */
        padding: 0px 10px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .match-card {
        border-radius: 8px;
        padding: 0px 10px;
        background-color: #1a1e2b;
        box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1);
        height: 80px;
        min-height: 80px;
    }

    .table-container{
        width: 95%;
        padding: 10px 5px;
        box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1);
        height: 325px;
        margin: 10px;
    
    }

    th{
        width: 10px;
        font-size: 10px;
    }
    
    tr{
        width: 15px;
        height: 100%;
    }
    
    td{
        width: 10px;
        font-size: 20px;
        line-height: 42px;
        overflow: hidden;
        white-space: nowrap;
    }
    
    table{
        text-align: center;
        width: 100%;
    }

    .team-logo {
        width: 35px;
        height: 35px;
    }
    
    .scoreandtime{
        gap: 30px;
    }

    .match-info .date {
        font-size: 1.2em;
    }

    .match-info .time {
        font-size: 1em;
        color: #77D8B1;
    }
    
    .team-section{
        width: 80px;
    }
        
    .match-info .league {
        display: none;
    }

    .team-name {
        font-size: 12px;
    }

    .wins{
        display: none;
    }

    .draws{
        display: none;
    }

    .losses{
        display: none;
    }

    #update-standings-button{
        font-size: 10px;
    }

    .nav_bar_bottom{
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 80px;
        background-color: #191E2C;
    }

    .nav_button{
        font-size: 20px;
    }
    
}

@media (min-width: 601px){

}

@media (min-width: 768px){

}

@media (min-width: 992px){

}

@media (max-width: 1200px){

}
    
    