/* File: styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #E0F2F7; /* Azzurro molto chiaro */
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s forwards;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #367899; /* Blu notte scuro */
    color: white;
    padding: 10px;
}
.logo {
    width: 130px;
}
.button-container {
    margin-top: 50px;
}
.btn {
    display: inline-block;
    background: #00838F; /* Blu ottanio medio */
    color: white;
    padding: 15px 30px;
    margin: 10px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
}
.btn:hover {
    background: #004D40; /* Blu ottanio scuro */
    transform: scale(1.05);
}
footer {
    margin-top: 50px;
    padding: 20px;
    background: #367899; /* Blu notte scuro */
    color: white;
}
.fade-in {
    animation: fadeIn 1s forwards;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
.table-container {
    margin: 30px auto;
    width: 80%;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}
th, td {
    border: 1px solid #B0BEC5; /* Grigio-blu chiaro per i bordi */
    padding: 8px;
    text-align: center;
}
th {
    background: #006064; /* Blu ottanio più scuro per l'header della tabella */
    color: white;
}
.back-btn {
    display: block;
    width: 100px;
    margin: 20px auto;
    background: #00838F; /* Blu ottanio medio */
    color: white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
}
.back-btn:hover {
    background: #004D40; /* Blu ottanio scuro */
    transform: scale(1.05);
}

/* ================================================================ */
/* Stili per la griglia di azioni                                   */
/* ================================================================ */

.action-container {
    display: grid;
    grid-template-columns: repeat(2, 250px);
    justify-content: center; /* Centra la griglia */
    gap: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
}

.action-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s ease-in-out;
}

.action-link img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
}

.action-link:hover {
    transform: scale(1.05);
}

.action-text {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
}

/* Media Query per la Responsività */
@media (max-width: 600px) {
    .action-container {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
}