body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #FAF48BFF;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

.container {
    text-align: center;
    background-color: #A6EEE6FF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.board {
    position: relative;
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
}

.mapped-image {
    width: 100%;
    border: 5px solid #FB6467FF;
    border-radius: 5px;
}

.text-main {
    color: #82491EFF;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}

.solve-button {
    background-color: #24325FFF;
    color: #FAFD7CFF;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.solve-button:hover {
    background-color: #69C8ECFF;
}

.player {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

/* Overlay y Popups */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 8px;
    max-width: 80%;
    text-align: center;
}

.popup button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #24325FFF;
    color: #FAFD7CFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup button:hover {
    background-color: #69C8ECFF;
}

.footer {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
    color: #333;
}