Joaquín Herrera Barranco
	
12:59 (hace 2 minutos)
	
para mí
body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
}

h1 {
    margin-bottom: 20px;
}

.image-selection {
    margin-bottom: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    justify-content: center;
}

.gallery img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border: 2px solid #ccc;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.1);
}

.puzzle-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Por defecto 3 columnas */
    grid-gap: 5px;
    justify-content: center;
    margin: 20px auto;
    width: 80%;
    max-width: 500px;
    height: auto;
    position: relative;
}

.puzzle-piece {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #ccc;
    transition: all 0.3s ease;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
}

button:hover {
    background-color: #45a049;
}

.solved-message {
    text-align: center;
    margin-top: 20px;
}

#difficulty-buttons {
    margin-top: 10px;
}

#difficulty-buttons button {
    margin: 5px;
    padding: 10px 15px;
    font-size: 14px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#difficulty-buttons button:hover {
    background-color: #1976D2;
}
.puzzle-piece {
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    border: 2px solid #ccc;
    transition: all 0.3s ease;
}


