* {
    margin: 0;
    padding: 0;
}
/* Body */
body {
    background: linear-gradient(135deg, #EFDAD7 0%, #f3cfd6 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* FIELDSET 1: */
/* Contenedor 1: Información */
#contenedor-1 {
    margin: 20px;
    padding: 20px;
    text-align: center;
    justify-content: center;
    border: 2px solid #cb9ca1;
    border-radius: 15px;
    background-color: #f7e6e8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Legend: Titulo principal */
legend {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 10px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.2rem;
    background-color: #a75a67;
    color: #f2f2f2;
    margin-bottom: 20px;
}

/* Sección contenedor-1 */
section {
    display: flex;
    justify-content: space-around;
}

/*Informaciones de la partida */
.informacion-tablero {
    width: 45%;
    align-items: center;
}

.titulo {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    color: #a75a67
}

#turnos {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    text-align: center;
    color: #5a5a5a;
}

/* Formato del select */
select {
    width: 40%;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Formato del Botón */
button {
    width: 40%;
    padding: 9px;
    background-color: transparent;
    border: 2px solid #ccc;
    border-radius: 5px;
    color: #5a5a5a;
    font-size: 1rem;

}

button:hover {
    background-color: #a75a67;
    color: #fff
}

/* FIELDSET 2 */
/* Contenedor 2: Tablero*/
#contenedor-2 {
    margin: 20px;
    padding: 20px;
    display: flex;
    text-align: center;
    justify-content: center;
    border: 2px solid #cb9ca1;
    border-radius: 15px;
    background-color: #f7e6e8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

table {
    background-color: #f6f8fa;
}

td {
    border: 1px solid #ddd;
}

/* Imágenes del tablero */
.celda {
    background-size: cover;
    background-position: center;
}

.celda img {
    width: 100%;
    height: 100%;
}


