body {
    background-color: #0b061f;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1px;
    background: #14103b;
    padding: 10px;
    z-index: 1000;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
}

.search-bar {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.search-bar input {
    padding: 8px;
    width: 280px;
    border-radius: 5px;
    border: none;
}

.matches {
    width: 80%;
    margin: auto;
    background: #12102f;
    padding: 15px;
    border-radius: 10px;
    flex-grow: 1;
}

.league {
    background: #0078ff;
    padding: 8px;
    margin: 8px 0;
    font-weight: bold;
    border-radius: 5px;
}

.match {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid gray;
    cursor: pointer;
    text-decoration: none;
    color: white;
}

.match span {
    flex: 1;
}

.watch-button {
    background: green;
    color: white;
    padding: 4px 8px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

footer {
    background-color: #14103b;
    color: white;
    padding: 15px;
    font-size: 14px;
    text-align: center;
    margin-top: auto;
}

footer a {
    color: #0078ff;
    text-decoration: none;
}
@media screen and (max-width: 768px) {
.matches {
width: 90%;
padding: 5px;
font-size: 12px;
}

.match {
padding: 4px;
}

.watch-button {
padding: 2px 5px;
font-size: 10px;
}
}
@media screen and (max-width: 768px) {
.nav {
gap: 0; /* Reduce gap between items */
}

.nav a {
font-size: 12px; /* Make text smaller */
padding: 4px 8px; /* Adjust padding for better spacing */
}
}
.section-footer {
background-color: #14103b;
color: white;
padding: 8px;
font-size: 12px;
text-align: center;
margin-top: 15px;
border-radius: 5px;
}

.section-footer a {
color: #0078ff;
text-decoration: none;
}
    .refresh-note {
      text-align: center;
      font-weight: bold;
      margin: 20px 0;
      white-space: nowrap;
    }

    @media (max-width: 600px) {
      .refresh-note {
        font-size: 14px;
      }
    }