:root {
    --prova: #ffffff;
}


/* Estil para la barra de navegacio */
header {
    background-color: rgba(0, 50, 91, 0.476);
    display: flex;
    justify-content: center;
    padding: 1%;
    width: 100%;
    box-shadow: 0 5px 8px rgba(0, 50, 91, 0.476);
}

.menu {
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    width: 100%;

}

.menu ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    padding: 0 20px;
}

.menu li a {
    text-decoration: none;
    color: #eed09d;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.menu li:hover {
    transform: scale(0.9);
}

/* Estil general */
body {
    background-image: url(img/background.png);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
    color: var(--prova);
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-top: 20px;
}

/* Contenidor taules */
.container {
    width: 80%;
    margin-top: 20px;
}

/* estild de taulas */
.table-container {
    margin-bottom: 40px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgb(240, 238, 238);
}

table,
th,
td {
    color: var(--prova);
}

th,
td {
    padding: 12px;
    text-align: center;
}

th {
    background-color: rgba(0, 50, 91, 0.476);
    color: var(--prova);
}

tr:nth-child(even) {
    background-color: #f2f2f253;
}

td {
    font-size: 14px;
}