body {
            margin: 0;
            padding: 0;
            font-family: sans-serif;
            color: rgb(53, 53, 53);
            background-image: url('../images/vocabulario.jpg'); /* Reemplaza con la ruta o URL de tu imagen anterior */
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            position: relative; /* Para posicionar el botón absoluto */
        }

        .container {
            max-width: 900px; /* Increased max-width to fit 5 columns comfortably */
            padding: 20px;
            text-align: center;
            width: 100%;
        }

        h1 {
            font-size: 3em;
            color: #FFA500; /* Orange title, but adjust if needed */
            margin-bottom: 50px; /* Increased margin to separate title from buttons */
        }

        .character {
            font-size: 5em; /* Using emoji for the girl character */
            margin-bottom: 20px;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr); /* 5 columns for 5 up and 5 down */
            gap: 20px;
        }

        .vocab-button {
            display: flex;
            align-items: center;
            justify-content: center; /* Center content horizontally */
            flex-direction: column; /* Stack icon and text vertically for square layout */
            padding: 40px;
            border-radius:  20px; /* Rounded corners for square buttons */
            background-color: #ffd90069; /* Lighter orange/yellow buttons */
            color: rgb(53, 53, 53);
            font-size: 1.5em;
            text-decoration: none;
            transition: transform 0.3s ease;
            cursor: pointer;
            aspect-ratio: 1 / 1; /* Make buttons square */
            animation: pulse 2s infinite ease-in-out; /* Add idle pulse animation */
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
            100% {
                transform: scale(1);
            }
        }

        .vocab-button:hover {
            transform: scale(1.05);
            animation: none; /* Stop pulse on hover */
        }

        .vocab-button .icon {
            font-size: 2em; /* Slightly larger icon */
            margin-bottom: 10px; /* Space between icon and text */
        }

        .back-button {
            position: absolute;
            top: 20px;
            right: 20px;
            padding: 10px 20px;
            background-color: #FFA500; /* Orange background */
            color: white;
            text-decoration: none;
            border-radius: 10px;
            font-size: 1.2em;
            transition: transform 0.3s ease;
        }

        .back-button:hover {
            transform: scale(1.05);
        }

        /* Media queries for responsiveness */
        @media (max-width: 768px) {
            .grid {
                grid-template-columns: repeat(3, 1fr); /* Reduce to 3 columns on tablets */
            }

            .vocab-button {
                font-size: 1.3em;
            }
        }

        @media (max-width: 480px) {
            .grid {
                grid-template-columns: repeat(2, 1fr); /* Reduce to 2 columns on mobile */
            }

            h1 {
                font-size: 2.5em;
            }

            .vocab-button {
                font-size: 1.2em;
                padding: 10px;
            }

            .back-button {
                font-size: 1em;
                padding: 8px 15px;
            }
        }