* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    color: #ffffff;
}

body {
    background-color: #003A6E; /* Navy scuro simile a Napoli */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.navbar {
    background-color: #0093E0; /* Celeste Napoli */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo a {
    color: #ffffff;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: background 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: #005A9C; /* Azzurro più scuro */
    border-radius: 5px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    background-color: #005A9C; /* Azzurro scuro */
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

h1, h2 {
    margin-bottom: 1rem;
    color: #ffffff;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
    margin-top: 1rem;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.standings-table th,
.standings-table td {
    padding: 0.75rem;
    text-align: center;
}

.standings-table thead {
    background-color: #0093E0; /* Celeste Napoli */
    color: #fff;
}

.standings-table tbody tr:nth-child(even) {
    background-color: #004B7F; /* Azzurro mediano */
}

.standings-table tbody tr:nth-child(odd) {
    background-color: #006BB3; /* Azzurro medio chiaro */
}

.team-name {
    display: flex;
    align-items: center;
}

.crest {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

.match-container .match {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #004B7F; /* Azzurro mediano */
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.match .team {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.crest-large {
    width: 50px;
    height: 50px;
    margin-bottom: 0.5rem;
}

.score p {
    font-size: 1.5rem;
    margin: 0.25rem;
}

footer {
    margin-top: auto;
    background-color: #0093E0; /* Celeste Napoli */
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #ffffff;
}

.details-container {
    background-color: #004B7F;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.home {
    justify-content: center;
    align-items: center;
}

.home-container {
    text-align: center;
}

.home-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    background-color: #0093E0;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    transition: background 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: #005A9C;
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .nav-links {
        flex-direction: column;
        width: 100%;
        margin-top: 0.5rem;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .match-container .match {
        flex-direction: column;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.container,
.match-container .match {
    animation: fadeIn 0.5s ease;
}
