body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #121212; /* Fondo negro */
    color: #fff; /* Texto en blanco para contraste */
}

.configuracion {
    max-width: 500px;
    margin: auto;
    padding: 20px;
    background-color: #333; /* Fondo gris oscuro para la caja */
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Sombra más sutil */
}

.config-item {
    margin: 10px 0;
}

.config-item label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #f5f5f5; /* Color de texto más claro */
}

.marcador {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 30px;
}

.equipo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 200px;
    height: 200px;
}

.nombre {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 10px;
    color: #ff4500; /* Naranja rojizo (rojo cálido) para nombres */
}

.puntos {
    font-size: 8em;
    font-weight: bold;
    margin: 10px 0;
    color: #ff0000; /* Números en rojo */
}

.anotacion button {
    padding: 5px 10px;
    margin: 3px;
    font-size: 1.2em;
    background-color: #ff0000; /* Botones rojos */
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.anotacion button.active {
    background-color: #28a745; /* Verde cuando se presionan */
    color: white;
}

.centro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tiempo {
    font-size: 8em;
    font-weight: bold;
    margin: 15px 0;
    color: #ff0000; /* Números de tiempo en rojo */
}

.periodos, .overtimes {
    display: flex;
    gap: 5px;
}

.periodos button, .overtimes button {
    padding: 10px 15px;
    font-size: 1.2em;
    background-color: #ff0000; /* Rojo para los botones de períodos y overtime */
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.periodos button.active, .overtimes button.active {
    background-color: #28a745; /* Verde cuando se presionan */
    color: white;
}

.periodos button:hover, .overtimes button:hover {
    background-color: #d30000; /* Rojo más oscuro al pasar el ratón */
}

button.active {
    background-color: #28a745; /* Verde para el botón activo */
    color: white;
}

.bocina-boton {
    padding: 10px 20px;
    font-size: 1.2em;
    background-color: #ff4500; /* Naranja rojizo para la bocina */
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.control-boton {
    padding: 10px 20px;
    font-size: 1.2em;
    background-color: #007BFF; /* Azul para los botones de control */
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

.centro button {
    margin-top: 10px;
}

h1, h2, h4, h6 {
    margin: 5px 0; /* Ajusta el valor a tus necesidades */
    padding: 0;
}
