/* style.css */
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            background-color: #f7f3f0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
        }
        h1 {
            margin-bottom: 20px;
            color: #333;
            text-align: center;
        }
        .container {
            display: flex;
            gap: 15px;
            align-items: flex-start;
            padding: 25px;
        }
        .grid {
            display: grid;
            grid-template-rows: repeat(6, 1fr);
            gap: 5px;
            margin: 0 auto;
        }
        .row {
           display: grid;
            grid-template-columns: repeat(5, 1fr); /* 5 celle di uguale larghezza */
            gap: 5px; /* Spazio uniforme tra le celle */
            width: fit-content; /* Adatta la larghezza della riga al contenuto */
            margin: 0 auto; /* Centra la riga orizzontalmente */
        }

        .cell {
            width: 50px; /* Larghezza fissa delle celle */
            height: 50px; /* Altezza fissa delle celle */
            border: 2px solid #d3d6da;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: bold;
            text-transform: uppercase;
            background-color: white;
            transition: transform 0.6s, background-color 0.6s;
            transform-style: preserve-3d;
        }
        }
        .cell.flip {
            transform: rotateX(360deg);
        }
        .correct {
            background-color: #6aaa64;
            color: white;
            border-color: #6aaa64;
        }
        .present {
            background-color: #c9b458;
            color: white;
            border-color: #c9b458;
        }
        .absent {
            background-color: #787c7e;
            color: white;
            border-color: #787c7e;
        }
        .keyboard {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            margin-top: 20px;
        }
        .keyboard-row {
            display: flex;
            gap: 5px;
        }
        .key {
            width: 40px;
            height: 50px;
            border: none;
            border-radius: 4px;
            background-color: #d3d6da;
            font-size: 16px;
            font-weight: bold;
            text-transform: uppercase;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s;
        }
        .key.correct {
            background-color: #6aaa64;
            color: white;
        }
        .key.present {
            background-color: #c9b458;
            color: white;
        }
        .key.absent {
            background-color: #787c7e;
            color: white;
        }
        .key.large {
            width: 80px;
        }
        .score-container {
            background-color: #e0e0e0;
            margin-top: 72px;
            padding: 20px;
            border-radius: 10px;
            width: 100px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .score-chart {
            width: 30px;
            height: 300px;
            background-color: #f0f0f0;
            border-radius: 10px;
            position: relative;
            overflow: hidden;
        }
        .score-bar {
            width: 100%;
            background-color: #6aaa64;
            position: absolute;
            bottom: 0;
            transition: height 0.5s, background-color 0.5s;
        }
        .score-text {
            margin-top: 10px;
            font-size: 18px;
            font-weight: bold;
        }
        .divider {
            width: 100%;
            height: 1px;
            background-color: #d3d6da;
            margin: 20px 20px;
        }
        .game-description {
            max-width: 550px;
            text-align: center;
            font-size: 14px;
            color: #555;
            line-height: 1.6;
        }
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
        }
        .modal-content {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
        }
        .modal-content .score-chart {
            width: 20px;
            height: 100px;
            margin: 10px auto;
        }
        .modal-content .score-text {
            font-size: 16px;
        }
        .modal-content .social-icons {
            margin-top: 20px;
        }
        .modal-content .social-icons a {
            margin: 0 10px;
            color: #333;
            font-size: 24px;
            text-decoration: none;
        }
        .modal-content .social-icons a:hover {
            color: #6aaa64;
        }
        .modal button {
            margin-top: 10px;
            padding: 10px 20px;
            font-size: 16px;
            cursor: pointer;
            background-color: #333; /* Grigio scuro */
            color: #fff; /* Testo chiaro */
            border: none; /* Rimuove il bordo predefinito */
            border-radius: 25px; /* Bordi arrotondati */
            transition: background-color 0.3s ease; /* Transizione fluida */
        }

        .modal button:hover {
            background-color: #555; /* Cambia colore al passaggio del mouse */
        }
        /* Header */
        .header {
            background-color: #080f16;
            padding: 10px 20px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .header .logo img {
            height: 50px;
            padding-left: 30px;
        }
        .header .menu {
            display: flex;
            gap: 20px;
        }
        .header .menu a {
            text-decoration: none;
            color: #dedede;
            font-weight: bold;
        }
        .header .menu a:hover {
            color: #6aaa64;
        }

        /* Footer */
        .footer {
            background-color: #ffffff;
            padding: 20px;
            text-align: center;
            box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
            width: 100%;
            margin-top: auto;
        }
        .footer .social-icons a {
            margin: 0 10px;
            color: #333;
            font-size: 24px;
            text-decoration: none;
        }
        .footer .social-icons a:hover {
            color: #6aaa64;
        }
    </style>