/* css/style.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212; /* Black background */
    color: #fff; /* White text */
}

header {
    background-color: #1c1c1c;
    color: #fff;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #333;
}

nav h1 {
    margin: 0;
}

main {
    padding: 1rem;
    padding-bottom: 5rem; /* For fixed footer */
}

section {
    margin-bottom: 1rem;
}

h2 {
    color: #fff;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    margin-top: 0;
}

footer {
    background-color: #1c1c1c;
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #333;
}

#sports-container, #matches-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

#stream-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.item {
    background-color: #1c1c1c; /* Dark item background */
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-basis: 200px;
    flex-grow: 1;
    border: 1px solid #333; /* Border for items */
}

.team {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team img {
    height: 30px;
    width: 30px;
    background-color: #fff; /* Add white background to badges */
    border-radius: 50%; /* Make them circular */
    padding: 2px;
}

.team span {
    font-weight: bold;
}

.item:hover {
    background-color: #333; /* Lighter on hover */
}

/* Container for stream sources inside a match item */
.sources-container {
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
}

.sources-list, .stream-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Class to hide elements */
.hidden {
    display: none;
}

#player-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

#player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

