body {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.6;
    /* height: 100vh; */
    margin: 0;
    background-color: #f9f9f9;
    color: #333;
    flex-direction: column;
    font-family: Arial, sans-serif;
    padding: 10px;
    box-sizing: border-box;
    /* overflow: hidden; */
    background-image: linear-gradient(30deg, #e2e2e2 12%, transparent 12.5%, transparent 87%, #e2e2e2 87.5%, #e2e2e2),
        linear-gradient(150deg, #e2e2e2 12%, transparent 12.5%, transparent 87%, #e2e2e2 87.5%, #e2e2e2),
        linear-gradient(30deg, #e2e2e2 12%, transparent 12.5%, transparent 87%, #e2e2e2 87.5%, #e2e2e2),
        linear-gradient(150deg, #e2e2e2 12%, transparent 12.5%, transparent 87%, #e2e2e2 87.5%, #e2e2e2),
        linear-gradient(60deg, #e2e2e277 25%, transparent 25.5%, transparent 75%, #e2e2e277 75%, #e2e2e277),
        linear-gradient(60deg, #e2e2e277 25%, transparent 25.5%, transparent 75%, #e2e2e277 75%, #e2e2e277);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
}

.breadcrumb {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1rem;
    z-index: 10;
}

.breadcrumb a {
    text-decoration: none;
    color: #fff;
    margin: 5px;
    background-color: #007bff;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.breadcrumb a:hover {
    background-color: #0056b3;
}

.breadcrumb img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.distancia-20 {
    margin-top: 45px !important;
}

.main-container {
    max-width: 90%;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.message {
    margin-top: 20px;
    font-size: 1.25rem;
    color: green;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.controls table {
    border-collapse: collapse;
}

.controls td {
    padding: 5px;
}

.controls button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    width: 100px;
    height: 50px;
}

.controls button:hover {
    background-color: #0056b3;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 300px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content p {
    font-size: 1.5em;
    color: #27ae60;
}

.retry-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.retry-button:hover {
    background-color: #0056b3;
}

.oculto {
    display: none !important;
}

.dropzones-container,
.words-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* .dropzones,
        .words {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
        } */

.dropzone,
.word {
    margin: 5px;
    padding: 10px;
    border: 1px solid #000;
    background-color: #ddd;
    cursor: move;
    text-align: center;
    width: 100px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.word:target {
    border: 1px solid #000;
    background-color: #ddd;
}

.dropzone {
    background-color: #fff;
    border: 2px dashed #000;
}

.moved-word {
    border: 1px;
    background-color: transparent;
    width: 100px;
}

.message {
    margin-top: 20px;
    font-size: 1.25rem;
    color: green;
}

#header-container {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.retry-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.retry-button:hover {
    background-color: #0056b3;
}

.oculto {
    display: none !important;
}

.dropzone.correct {
    border-color: green;
    box-shadow: 0 0 10px green;
}

.dropzone.incorrect {
    border-color: red;
    box-shadow: 0 0 10px red;
}

@media (max-width: 768px) {
    .game-button[href="ordena-la-frase.html"] {
        display: none;
    }
}

/* @media (max-width: 768px) {

    .word,
    .dropzone {
        width: 100px;
    }
}

@media (max-width: 480px) {

    .word,
    .dropzone {
        width: 100%;
    }
} */

.game-button {
    display: flex;
    align-items: center;
    width: 260px;
    margin: 20px;
    padding: 10px;
    border: 2px solid #000;
    border-radius: 5px;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.game-button img {
    width: 100px;
    height: 100px;
    margin-right: 10px;
    flex-shrink: 0;
}

.game-button:hover {
    background-color: #eafaf1;
    color: #27ae60;
    font-weight: bold;
}

.emoji-instruction {
    font-size: 30px;
    /* Tamaño del emoji en la instrucción */
}

.correct {
    background-color: #d4edda;
    /* Verde tenue */
}

.incorrect {
    background-color: #f8d7da;
    /* Rojizo tenue */
}

.instructions {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.maze-container {
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

/* td {
    border: 1px solid #000;
    text-align: center;
    padding: 10px;
    font-size: 30px;
    cursor: pointer;
} */
td {
    border: 1px solid #000;
    text-align: center;
    padding: 10px;
    font-size: 30px;
    /* Tamaño de los emojis */
    cursor: pointer;
    min-height: 50px;
    /* Ajusta este valor según sea necesario */
}

ol {
    padding-left: 20px;
    text-align: left;
}

ol li {
    margin-bottom: 10px;
}

p {
    background-color: #eafaf1;
    color: #27ae60;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

#hint {
    background-color: rgb(235, 235, 192);
    color: rgb(102, 100, 6);
}

#memorice-table td {
    height: 60px;
    width: 60px;
    text-align: center;
    font-size: 30px;
    /* Tamaño de las letras */
    cursor: pointer;
    border: 1px solid #000;
    vertical-align: middle;
    /* Asegura que el contenido esté centrado verticalmente */
}