body {
    background-color: #06101b;

}

html {
    margin: 0;
    padding: 0;
    /* background: radial-gradient(circle, rgb(20, 29, 46) 0%, rgba(12,20,36,1) 100%); */
    background: rgb(11, 29, 50);
    background: radial-gradient(circle, rgb(8, 20, 37) 0%, rgb(6, 16, 27) 100%);

    color: #333;
    display: flex;
    flex-direction: column;

}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(11, 28, 51, 1);

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
    width: 80px;
    /* Adjusted for visibility */
    height: 80%;

}

.navbar ul {
    display: flex;
    flex-direction: column;
    /* Stack vertically in mobile */
    align-items: center;
    width: 100%;
    text-decoration: none;
}


.navbar ul::before {
    
    text-decoration: none;
}

.navbar li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
}

.navbar a i {
    margin-bottom: 4px;
    /* Space between icon and text */
}

.navbar i {
    display: block;
    /* Ensure icons are always shown */
    font-size: 28px;
    /* Adjust size as needed */
    color: #57d0f5;
    
}

.navbar .fa-chart-bar{
    color: #8be0fa;
    text-shadow: 2px 2px 5px rgba(120, 217, 255, 0.2);
}

.nav-text {
    font-weight: 500;
    
}



main {
    display: flex;
    gap: 20px;
    flex-direction: row;
    margin: 20px 30px;
}

.top {
    display: flex;
    flex-direction: row;
    gap: 20px;

}

#league-details {

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: rgb(11, 29, 50);
    background: linear-gradient(135deg, rgba(11, 28, 51, 0.5) 0%, rgba(7, 18, 34, 0.5) 50%);
    color: aliceblue;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
    align-items: center;
    border-radius: 8px;
    overflow: hidden;



}

#league-details #teams-list {
    list-style-type: none;
    padding: 20px;

}

#league-details .info {
    padding: 20px;
    width: 100%;
    list-style-type: none;
    border-bottom: 1px solid rgba(0, 195, 255, 0.2);
}

.league-info {
    padding: 18px;
    border-bottom: 1px solid rgba(0, 195, 255, 0.2);

    background: linear-gradient(135deg, rgba(11, 28, 51, 1) 40%, rgba(7, 175, 241, 0.1) 100%);

    /* backdrop-filter: blur(50px); */
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

}

.league-info h1 {
    margin-bottom: 0px;
    color: aliceblue;
}

.league-info p {
    color: #57d0f5;
    font-weight: 600;
}

.info {
    padding: 20px;
    width: 100%;
    list-style-type: none;

}

.members li {
    list-style-type: none;
}

.left {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;

}

.nameAndCode {
    display: flex;
    flex-direction: column;
    width: 100%;


}



.leagueCode {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-left: 10px;
    background-color: rgb(19, 43, 65);
    width: 140px;
    border-radius: 12px;


}

.leagueCode p {
    margin-top: 0;
    color: #ececec;
    font-size: 12pt;
    font-weight: 500;


}

.leagueCode button {
    margin-top: 0;
    background: none;
    color: #c8c8c8;
    width: min-content;

}

.leagueCode button:hover {
    background-color: rgb(67, 93, 117);
}



.leagueCode i {
    color: rgb(100, 130, 158);

}

.leagueName h2 {
    color: #ececec;
    font-size: 28.8pt;

}

.countdown{
    margin-top: 20px;
}

.members {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    /* background-color: #0b1d32; */
    padding: 10px;
    border-radius: 10px;
}

.members li{
    display: flex;
    justify-content: space-between;
}

#teams-list {
    width: 100%;

}


#teams-list li button {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgb(19, 43, 65);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    color: white;
    /* Make the text color white (or any color that will be visible against your images) */
    padding: 10px;
    /* Add some padding to the button */
    background-size: cover;
    /* Cover the entire area of the button */
    background-repeat: no-repeat;
    /* Do not repeat the background image */
    background-position: right;
    /* Center the background image */
    background-size: 50%;
    background-blend-mode: soft-light;
    text-align: left;



}

#teams-list li button:hover {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgb(31, 58, 84);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    color: white;
    /* Make the text color white (or any color that will be visible against your images) */
    padding: 10px;
    /* Add some padding to the button */
    background-size: cover;
    /* Cover the entire area of the button */
    background-repeat: no-repeat;
    /* Do not repeat the background image */
    background-position: right;
    /* Center the background image */
    background-size: 50%;
    background-blend-mode: soft-light;



}

#teams-list li button.picked {
    background-color: rgb(15, 25, 35);
    background-blend-mode: multiply;
}

#teams-list li button.disabled {
    background-color: rgb(14, 31, 47);
    background-blend-mode: multiply;
    color: #535353;
}

#teams-list ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10px;
    list-style-type: none;
    /* text-shadow: 10px 10px 5px rgba(0, 0, 0, 0.9); */
}

#teams-list img {
    width: 30px;
    height: 30px;


}

#dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgb(11, 29, 50);
    padding: 20px;
    display: none;
    /* Hide it by default */
    border-radius: 8px;
}

/* Style for the buttons in the dialog */
#dialog button {
    border-radius: 8px;
}

.container {
    max-width: 350px;
    align-items: center;


    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: rgb(11, 29, 50);
    background: linear-gradient(135deg, rgba(11, 28, 51, 0.5) 0%, rgba(7, 18, 34, 0.5) 50%);
    overflow: hidden;

}

.league-managment {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 195, 255, 0.2);
    background-color: rgba(11, 28, 51);
    /* backdrop-filter: blur(50px); */
}

.league-managment h1 {
    margin-bottom: 0px;
    color: aliceblue;
}

.container .info {
    margin-top: 15px;
    padding: 0px 20px;
    padding-bottom: 20px;
}

.info hr {
    margin-top: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 195, 255, 0.2);
    border-radius: 60px;
}

.creation {
    max-width: 350px;
    /* background-color: rgb(16,27,39); */
    border-radius: 20px;
    /* backdrop-filter: blur(50px); */
    /* padding: 15px; */



}



.joining {
    max-width: 350px;
    /* background-color: rgb(16,27,39); */
    border-radius: 20px;
    /* backdrop-filter: blur(50px); */
    /* padding: 15px; */


}

.league-display {
    max-width: 350px;
    /* background-color: rgb(16,27,39); */
    border-radius: 20px;
    /* backdrop-filter: blur(50px); */
    /* padding: 20px; */

}

.input-box input {
    border: none;
    color: rgba(235, 241, 248, 0.8);

}

.input-box::placeholder {
    border: none;
    color: rgba(235, 241, 248, 0.8);

}

input[type="text"],
button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
    color: rgb(218, 232, 248);
    background-color: rgb(19, 43, 65);
    border-style: none;
}



button {
    background-color: #57d0f5;
    color: rgb(10, 10, 17);
    cursor: pointer;
    transition: background-color 0.1s ease;
    border-radius: 10px;
}

button:hover {
    background-color: #82dffc;
}

h1,
h2 {
    color: aliceblue;
}

h1 {
    font-size: 18pt;
}

h2 {
    font-size: 12.6pt;
    font-weight: normal;
}

/* .clickable-league {
    cursor: pointer;
    padding: 10px;
    margin-top: 5px;
    background-color: #eee;
    border-radius: 4px;
    transition: background-color 0.3s ease;
} */

/* .clickable-league:hover {
    background-color: #ddd;
} */

/* League Creation and Joining Sections */
#league-creation,
#league-joining {
    margin-bottom: 0px;
}

#leagues-display h2 {
    margin-bottom: 10px;
}

#leagues-list {
    border-radius: 10px;
    background-color: rgb(19, 43, 65);
    overflow: hidden;

}

.league-div:last-child {
    border: none;
}

.league-div {

    color: aliceblue;
    display: flex;
    justify-content: space-between;
    padding: 8px 20px 8px 20px;
    align-items: center;
    border-bottom: 1px solid rgba(0, 195, 255, 0.2);
}

.league-div:hover {


    background-color: rgb(35, 60, 83);
    color: aliceblue;
}

.league-name {
    font-family: poppins;
    font-size: 10.8pt;
}

.league-lives {
    font-family: poppins;
    border-radius: 5px;
    color: #0b1d32;
    font-size: 12pt;
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    display: flex;
}

.fixtures-text {
    background-color: rgba(11, 28, 51);
    /* backdrop-filter: blur(50px); */
}

.fixtures {
    display: flex;
    flex-direction: column;
    width: 500px;
    border-radius: 8px;

    overflow: hidden;



}

.fixtures h1 {
    padding: 20px;
}



#fixtures {

    display: flex;
    flex-direction: column;





}



.fixture {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: linear-gradient(105deg, rgba(11, 28, 51, 0.5) 0%, rgba(7, 18, 34, 0.5) 50%);

    width: 100%;
    color: aliceblue;
    padding: 10px;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);



}






.fixture:hover {
    background-color: rgb(9, 20, 32);
}



.fixture-teams {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;

    gap: 20px;
    /* order: 2; */
}



.fixture img {
    width: 30px;
    height: 30px;
}



.fixture-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: aliceblue;
    background-color: rgb(5, 18, 30);
    border-bottom: 1px solid rgba(0, 195, 255, 0.2);


}

.fixture-wrapper:last-child {

    border-bottom: none;

}

.fixture-wrapper:first-child {

    border-top: 1px solid rgba(0, 195, 255, 0.2);

}

.vs {

    align-self: center;
}

.home-team {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 200px;
    gap: 10px;
    text-align: right;
}

.home-team img {
    order: 2;
}

.home-team p {
    order: 1;
    font-size: 10.8pt;
    width: 160px;
    /* Adjust this value as needed */

    text-align: right;
    /* overflow: hidden; */
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;

}

.away-team {
    display: flex;
    flex-direction: row;
    width: 200px;

    justify-content: space-around;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.away-team img {
    order: 1;
}

.away-team p {
    order: 2;
    font-size: 10.8pt;
    width: 160px;
    /* Adjust this value as needed */
    text-align: center;
    text-align: left;
    /* overflow: hidden; */
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;

}

.fixture-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 8pt;
    font-weight: 500;

}

.fixture-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 8pt;
    margin-top: -15px;

}

.leagueTable {
    background: linear-gradient(105deg, rgba(11, 28, 51, 0.5) 0%, rgba(7, 18, 34, 0.5) 50%);

    border-radius: 8px;
    overflow: hidden;

}

.table-text {
    background-color: rgba(11, 28, 51);
    padding: 20px;
}

.leagueTable h1 {}

.leagueTable table {

    background: linear-gradient(105deg, rgba(11, 28, 51, 0.5) 0%, rgba(7, 18, 34, 0.5) 50%);

    padding: 20px;

    /* backdrop-filter: blur(200px); */
    min-width: 50%;
    border-spacing: 0;
    border-top: 1px solid rgba(0, 195, 255, 0.2);



}

.leagueTable th {
    font-size: 9pt;
    padding-bottom: 8px;
    text-align: left;
    padding-left: 3px;
    font-weight: 500;
}


.leagueTable td {

    border-top: 0.5px solid rgba(0, 195, 255, 0.2);
    border-width: 0.5px 0;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 5px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 5px;
    padding-right: 5px;
}


.leagueTable tr {
    text-align: center;
    color: aliceblue;
}

.leagueTable tbody {
    font-size: 8pt;
    font-weight: 400;
    font-family: poppins;

}

.right {
    display: flex;
    flex-direction: row;
    gap: 20px;

}

@media (min-width: 928px) {

    header {
        padding: 10px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .navbar ul {
        flex-direction: row;
        /* Align horizontally in desktop */
    }

    .navbar li a {
        flex-direction: row;
    }

    .navbar i {
        display: none;
        text-decoration: none;
    }

    .nav-text {
        display: inline-block;
        /* Show text next to icons */
        font-weight: 400;

    }

    header #usernameDisplay{
        padding-left: 20px;
    }



}

@media screen and (max-width: 1730px) {

    #teams-list button {
        font-size: 9pt;
    }

}


@media screen and (max-width: 1600px) {

    h1{
        font-size: 16pt;
    }

}

@media screen and (max-width: 1366px) {
    main {
        margin: 20px 20px;
    }

    .top {
        display: flex;
        flex-direction: row;
        width: fit-content;

    }

    p {
        font-size: 8pt;
    }

    #league-details {}

    #league-details ul {
        color: #ff0000;
        list-style-type: none;

    }

    #league-details p {
        font-size: 14pt;
    }

    .left {
        display: flex;
        flex-direction: row;
        /* gap: 10px; */
        justify-content: space-between;
    }

    .nameAndCode {
        display: flex;
        flex-direction: column;
    }


    .away-team p {
        font-size: 8pt;
    }

    .home-team p {
        font-size: 8pt;
    }

    h1 {
        font-size: 14pt;

    }
}


@media screen and (max-width: 1168px) {
    main {
        flex-direction: column;
        margin: 20px 20px;

    }

    .top {
        display: flex;
        flex-direction: row;
        width: fit-content;
    }

    .right {
        display: flex;
        flex-direction: row;
        gap: 20px;

    }

}



@media screen and (max-width: 928px) {
    main {
        flex-direction: column;
        margin: 20px 20px;
    }

    header {
        padding: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }


    .top {
        display: flex;
        flex-direction: row;

    }

    .right {
        display: flex;
        flex-direction: row;


    }

    .navbar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: rgba(11, 28, 51, 0.95);
        padding: 10px;
    }

    .navbar ul {
        flex-direction: row;
        justify-content: space-around;
    }

    .navbar li {
        padding: 0px;
    }

    .navbar a {
        flex-direction: column;
    }

    .nav-text {
        display: block;
        font-size: 6pt;
    }





    .logo {
        scale: 0.9;
        /* Adjusted top positioning */
    }

    main{
        margin-bottom: 100px;
    }

}

@media screen and (max-width: 818px) {

    .fixtures{
        width: 100%;
    }

    .away-team p {
        order: 2;
        font-size: 12pt;
        width: 170px;
        text-align: center;
        text-align: left;
        /* overflow: hidden; */
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 500;
    }

    .home-team p {
        order: 1;
        font-size: 12pt;
        width: 170px;
        text-align: center;
        text-align: right;
        /* overflow: hidden; */
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 600;
    }
    

    .right{
        flex-direction: column;
    }

    .leagueTable{
        min-width: 360px;
    }

    .leagueTable table{
        min-width: 100%;
    }

    
}

@media screen and (max-width: 666px) {
    main {
        display: flex;
        margin: 20px 20px;
        margin-bottom: 100px;
    }

    .top {
        display: flex;
        flex-direction: column;
        width: 100%;

    }

    p {
        font-size: 8pt;
    }
    

    #league-details {

        justify-content: center;

    }

    #league-details ul {
        color: #ff0000;
        list-style-type: none;

    }

    .left {
        display: flex;
        flex-direction: row;
        gap: 10px;
        justify-content: space-between;
    }

    
    .right {
        display: flex;
        flex-direction: column;


    }

    .nameAndCode {
        display: flex;
        flex-direction: column;


    }



    .leagueCode {
        margin-top: 10px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding-left: 10px;
        background-color: rgb(19, 43, 65);
        width: 140px;
        border-radius: 12px;


    }

    .leagueCode p {
        margin-top: 0;
        color: #ececec;
        font-size: 12pt;
        font-weight: 500;


    }

    .leagueCode button {
        margin-top: 0;
        background: none;
        color: #c8c8c8;
        width: min-content;
    }

    .leagueCode button:hover {
        background-color: rgb(67, 93, 117);
    }



    .leagueCode i {
        color: rgb(100, 130, 158);

    }

    .leagueName h2 {
        color: #ececec;
        font-size: 16pt;

    }

    .members {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0px;
        margin-top: 10px;

    }

    #teams-list {
        width: 100%;
    }

    #teams-list ul {
        width: 100%;
    }


    #teams-list h3 {
        font-size: 16pt;

    }


    #teams-list li button {
        display: flex;
        /* align-items: center; */

        gap: 10px;
        background-color: rgb(19, 43, 65);
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
        color: white;
        /* Make the text color white (or any color that will be visible against your images) */
        /* Add some padding to the button */
        background-size: cover;
        /* Cover the entire area of the button */
        background-repeat: no-repeat;
        /* Do not repeat the background image */
        background-position: right;
        /* Center the background image */
        background-size: 50%;
        background-blend-mode: soft-light;
        font-size: 8pt;
        text-align: left;


    }

    #teams-list .picked {
        background-color: rgb(21, 33, 45);
        /* Change this to the color you want */
        background-blend-mode: multiply;
    }

    #teams-list li button.disabled {
        background-color: rgb(14, 31, 47);
        /* Change this to the color you want */
        background-blend-mode: multiply;
        color: #535353;
    }

    #teams-list ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 10px;
        list-style-type: none;
        /* text-shadow: 10px 10px 5px rgba(0, 0, 0, 0.9); */
    }

    #teams-list img {
        width: 20px;
        height: 20px;


    }


    .away-team p {
        order: 2;
        font-size: 6pt;
        width: 120px;
        /* Adjust this value as needed */
        text-align: center;
        text-align: left;
        /* overflow: hidden; */
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 600;
    }

    .home-team p {
        order: 1;
        font-size: 6pt;
        width: 120px;
        /* Adjust this value as needed */
        text-align: center;
        text-align: right;
        /* overflow: hidden; */
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 600;
    }

    .fixture {
        display: flex;
        flex-direction: column;
        gap: 10px;
        background-color: rgb(5, 18, 30);
        /* backdrop-filter: blur(50px); */
        width: 100%;
        color: aliceblue;
        padding: 10px;
        align-items: center;
        justify-content: space-around;



    }



    .away-team p {
        order: 2;
        font-size: 10pt;
        width: 120px;
        /* Adjust this value as needed */
        text-align: center;
        text-align: left;
        /* overflow: hidden; */
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 600;
    }

    .home-team p {
        order: 1;
        font-size: 10pt;
        width: 120px;
        /* Adjust this value as needed */
        text-align: center;
        text-align: right;
        /* overflow: hidden; */
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 600;
    }

    .fixture {
        display: flex;
        flex-direction: column;
        gap: 10px;
        background-color: rgb(5, 18, 30);
        /* backdrop-filter: blur(50px); */
        width: 100%;
        color: aliceblue;
        padding: 10px;
        align-items: center;
        justify-content: space-around;



    }





    .fixture:hover {
        background-color: rgb(9, 20, 32);
    }



    .fixture-teams {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;

        gap: 10px;
        /* order: 2; */
    }




    .fixture-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: aliceblue;
        background-color: rgb(5, 18, 30);
        border-bottom: 1px solid rgba(0, 195, 255, 0.2);


    }

    .fixture img {
        width: 20px;
        height: 20px;
    }

    .fixtures {
        width: 100%;
    }

    .left {
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-content: space-between;
    }

    .fixture-date {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 6pt;
        font-weight: 500;

    }

    .fixture-time {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 6pt;
        margin-top: -8px;

    }

    .vs {
        font-size: 10pt;
        align-self: center;
    }

    .leagueTable table{
        min-width: 100%;
    
    }

    
}





@media screen and (max-width: 598px) {



    main {
        flex-direction: column;
        margin: 20px 20px;
        margin-bottom: 100px;
    }

    p {
        font-size: 8pt;
    }

    header ul li a {
        color: rgba(0, 0, 0, 0.1)
    }

    #league-details {

        justify-content: center;

    }

    #league-details ul {
        color: #ff0000;
        list-style-type: none;

    }

    .container {
        max-width: 100%;
        align-items: center;
    }

    .info{
        max-width: 100%;
    }

    .creation{
        max-width: 100%;
    }

    .joining{
        max-width: 100%;
    }

    .league-display{
        max-width: 100%;
    }

    .left {
        display: flex;
        flex-direction: row;
        gap: 10px;
        justify-content: space-between;
    }

    .nameAndCode {
        display: flex;
        flex-direction: column;


    }



    .leagueCode {
        margin-top: 10px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding-left: 10px;
        background-color: rgb(19, 43, 65);
        width: 140px;
        border-radius: 12px;


    }

    .leagueCode p {
        margin-top: 0;
        color: #ececec;
        font-size: 12pt;
        font-weight: 500;


    }

    .leagueCode button {
        margin-top: 0;
        background: none;
        color: #c8c8c8;
        width: min-content;
    }

    .leagueCode button:hover {
        background-color: rgb(67, 93, 117);
    }



    .leagueCode i {
        color: rgb(100, 130, 158);

    }

    .leagueName h2 {
        color: #ececec;
        font-size: 16pt;

    }

    .members {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0px;

    }

    #teams-list {
        width: 100%;
    }

    #teams-list ul {
        width: 100%;
    }

    #teams-list h3 {
        font-size: 16pt;

    }


    #teams-list li button {
        display: flex;
        align-items: center;

        gap: 10px;
        background-color: rgb(19, 43, 65);
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
        color: white;
        /* Make the text color white (or any color that will be visible against your images) */
        /* Add some padding to the button */
        background-size: cover;
        /* Cover the entire area of the button */
        background-repeat: no-repeat;
        /* Do not repeat the background image */
        background-position: right;
        /* Center the background image */
        background-size: 50%;
        background-blend-mode: soft-light;
        font-size: 8pt;
        height: 46px;
        text-align: left;


    }

    #teams-list li button.picked {
        background-color: rgb(15, 25, 35);
        /* Change this to the color you want */
        background-blend-mode: multiply;
    }

    #teams-list li button.disabled {
        background-color: rgb(14, 31, 47);
        /* Change this to the color you want */
        background-blend-mode: multiply;
        color: #535353;
    }


    #teams-list ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 10px;
        list-style-type: none;
        /* text-shadow: 10px 10px 5px rgba(0, 0, 0, 0.9); */
    }

    #teams-list img {
        width: 20px;
        height: 20px;


    }


    .away-team p {
        order: 2;
        font-size: 8pt;
        width: 120px;
        text-align: center;
        text-align: left;
        /* overflow: hidden; */
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 500;
    }

    .home-team p {
        order: 1;
        font-size: 8pt;
        width: 120px;
        text-align: center;
        text-align: right;
        /* overflow: hidden; */
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 500;
    }

    .fixture {
        display: flex;
        flex-direction: column;
        gap: 10px;
        background-color: rgb(5, 18, 30);
        /* backdrop-filter: blur(50px); */
        width: 100%;
        color: aliceblue;
        padding: 10px;
        align-items: center;
        justify-content: space-around;



    }





    .fixture {
        display: flex;
        flex-direction: column;
        gap: 10px;
        background-color: rgb(5, 18, 30);
        /* backdrop-filter: blur(50px); */
        width: 100%;
        color: aliceblue;
        padding: 10px;
        align-items: center;
        justify-content: space-around;



    }





    .fixture:hover {
        background-color: rgb(9, 20, 32);
    }



    .fixture-teams {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;

        gap: 10px;
        /* order: 2; */
    }




    .fixture-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: aliceblue;
        background-color: rgb(5, 18, 30);
        border-bottom: 1px solid rgba(0, 195, 255, 0.2);


    }

    .fixture img {
        width: 20px;
        height: 20px;
    }

    .fixtures {
        width: 100%;
    }

    .left {
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-content: space-between;
    }

    .fixture-date {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 6pt;
        font-weight: 500;

    }

    .fixture-time {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 6pt;
        margin-top: -8px;

    }

    .vs {
        font-size: 10pt;
        align-self: center;
    }

    .leagueTable table{
        min-width: 100%;
    }
}



@media screen and (max-width: 430px) {

   .countdown{
    max-width: 250px;
   }
    
}

@media screen and (max-width: 391px) {

    .leagueTable{
        min-width: 100%;
    }

    .leagueTable table{
        min-width: 100%;
    }
    .responsive-hide {
        display: none;
    }

}

@media screen and (max-width: 380px) {
    main {
        flex-direction: column;
        margin: 20px 20px;

    }

    p {
        font-size: 8pt;
    }


    .navbar .nav-text {
        display: block;
        font-size: 6pt;
        font-weight: 400;
    }

    #league-details {

        justify-content: center;

    }

    #league-details ul {
        color: #ff0000;
        list-style-type: none;

    }

    .left {
        display: flex;
        flex-direction: row;
        gap: 10px;
        justify-content: space-between;
    }

    .nameAndCode {
        display: flex;
        flex-direction: column;


    }



    .leagueCode {
        margin-top: 10px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding-left: 10px;
        background-color: rgb(19, 43, 65);
        width: 140px;
        border-radius: 12px;


    }

    .leagueCode p {
        margin-top: 0;
        color: #ececec;
        font-size: 12pt;
        font-weight: 500;


    }

    .leagueCode button {
        margin-top: 0;
        background: none;
        color: #c8c8c8;
        width: min-content;
    }

    .leagueCode button:hover {
        background-color: rgb(67, 93, 117);
    }



    .leagueCode i {
        color: rgb(100, 130, 158);

    }

    .leagueName h2 {
        color: #ececec;
        font-size: 16pt;

    }

    .members {
        display: flex;
        flex-direction: column;
        gap: 10px;

    }

    #teams-list {
        width: 100%;
    }

    #teams-list ul {}

    #teams-list h3 {
        font-size: 16pt;

    }


    #teams-list li button {
        display: flex;
        align-items: center;

        gap: 10px;
        background-color: rgb(19, 43, 65);
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
        color: white;
        /* Make the text color white (or any color that will be visible against your images) */
        /* Add some padding to the button */
        background-size: cover;
        /* Cover the entire area of the button */
        background-repeat: no-repeat;
        /* Do not repeat the background image */
        background-position: right;
        /* Center the background image */
        background-size: 50%;
        background-blend-mode: soft-light;
        font-size: 6pt;


    }

    #teams-list li button.picked {
        background-color: rgb(15, 25, 35);
        /* Change this to the color you want */
        background-blend-mode: multiply;
    }

    #teams-list li button.disabled {
        background-color: rgb(14, 31, 47);
        /* Change this to the color you want */
        background-blend-mode: multiply;
        color: #535353;
    }


    #teams-list ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 10px;
        list-style-type: none;
        /* text-shadow: 10px 10px 5px rgba(0, 0, 0, 0.9); */
    }

    #teams-list img {
        width: 20px;
        height: 20px;


    }


    .away-team p {
        order: 2;
        font-size: 6pt;
        width: 90px;
        /* Adjust this value as needed */
        
        text-align: left;
        /* overflow: hidden; */
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 600;
    }

    .home-team p {
        order: 1;
        font-size: 6pt;
        width: 90px;
        /* Adjust this value as needed */
        
        text-align: right;
        /* overflow: hidden; */
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 600;
    }

    .fixture {
        display: flex;
        flex-direction: column;
        gap: 10px;
        background-color: rgb(5, 18, 30);
        /* backdrop-filter: blur(50px); */
        width: 100%;
        color: aliceblue;
        padding: 10px;
        align-items: center;
        justify-content: space-around;



    }





    .fixture:hover {
        background-color: rgb(9, 20, 32);
    }



    .fixture-teams {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;

        gap: 10px;
        /* order: 2; */
    }




    .fixture-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: aliceblue;
        background-color: rgb(5, 18, 30);
        border-bottom: 1px solid rgba(0, 195, 255, 0.2);


    }

    .fixture img {
        width: 20px;
        height: 20px;
    }

    .fixtures {
        width: 100%;
    }

    .left {
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-content: space-between;
    }

    .fixture-date {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 6pt;
        font-weight: 500;

    }

    .fixture-time {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 6pt;
        margin-top: -8px;

    }

    .vs {
        font-size: 10pt;
        align-self: center;
    }

    .leagueTable{
        min-width: 100%;
    }

    .leagueTable table{
        min-width: 100%;
    }
    .responsive-hide {
        display: none;
    }
}