body {
    background-color: #1a1a1a;
    color: #f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

canvas {
    border: 2px solid #f0f0f0;
    background-color: #2b2b2b;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

#contextMenu, #contextMenuEdge {
    display: none;
    position: absolute;
    background-color: #333;
    border: 1px solid #f0f0f0;
    color: #f0f0f0;
    z-index: 1000;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

#contextMenu ul, #contextMenuEdge ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#contextMenu ul li, #contextMenuEdge ul li {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #333;
    color: #f0f0f0;
    border-bottom: 1px solid #555;
}

#contextMenu ul li:hover, #contextMenuEdge ul li:hover {
    background-color: #555;
}

#contextMenu ul li:last-child, #contextMenuEdge ul li:last-child {
    border-bottom: none;
}

button {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

button:hover {
    background-color: #357ABD;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

button:focus {
    outline: none;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.7);
}


/*ACTUALIZACION JUDE*/
/* Estilos para el modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background-color: #333;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    animation: slideIn 0.3s ease-in-out;
}

.modal-button {
    padding: 10px 20px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.modal-button:hover {
    background-color: #ddd;
}

#closeModal {
    color: #000000;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

#closeModal:hover {
    color: #000;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}