/* Fondo de madera para el cuerpo */
body {
    font-family: Arial, sans-serif;
    background-image: url('https://www.publicdomainpictures.net/pictures/30000/velka/wooden-texture-1444450290v3g.jpg'); 
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: white;
    margin: 0;
}

.board {
    background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro para destacar el tablero */
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 3px solid #f39c12; /* Bordes amarillos como los del baloncesto */
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #f39c12; /* Color de los títulos */
}

.team {
    margin-bottom: 40px;
}

.team h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #f39c12;
}

.team p {
    font-size: 2rem;
    margin-bottom: 20px;
}

.buttons button {
    margin: 5px;
    padding: 12px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    background-color: #2ecc71; /* Botones verdes */
    color: white;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.buttons button:hover {
    background-color: #27ae60;
}

.timer {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

#timer {
    font-weight: bold;
    font-size: 3rem;
    color: #e74c3c;
}

.controls button {
    padding: 10px 20px;
    font-size: 1.2rem;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.controls button:hover {
    background-color: #c0392b;
}

@media screen and (max-width: 600px) {
    .board {
        width: 90%;
        padding: 20px;
    }
    h1 {
        font-size: 2rem;
    }
    .team p {
        font-size: 1.5rem;
    }
    .buttons button {
        font-size: 1rem;
        padding: 10px 18px;
    }
    .controls button {
        font-size: 1rem;
        padding: 8px 16px;
    }
}
