/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

.header {
    background: #1a1a1a;
    padding: 10px 20px;
    text-align: center;
}

.header-background {
    background: url('header-pattern.png') no-repeat center center;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header img {
    max-height: 180px;
}

.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 10px;
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}

.navbar a.active {
    border-bottom: 2px solid #fff;
}

.main-content {
    padding: 20px;
    text-align: center;
}

.instructions {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background: #333;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.instruction-item {
    flex: 1;
    margin: 10px;
    padding: 10px;
    background: #444;
    border-radius: 5px;
}

.instruction-item h3 {
    margin-bottom: 10px;
}

.instruction-item button {
    padding: 10px 20px;
    border: none;
    background: #fff;
    color: #000;
    cursor: pointer;
    border-radius: 5px;
}

.players {
    display: flex;
    justify-content: space-around; /* Alinha as cards mais próximas */
    gap: -100px; /* Espaçamento entre as cards */
    flex-wrap: wrap;
    padding: 10px;
}

.player-card {
    background: #222;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    flex: 1 1 30%; /* As cards ocupam 30% do espaço, permitindo 3 no layout */
    margin: 10px;
    max-width: 300px; /* Limita o tamanho das cards */
    box-sizing: border-box;
}

.player-card img {
    width: 100%;
    height: auto; /* Assegura que a imagem não distorça */
    border-radius: 10px;
}

.player-card h3 {
    margin-top: 10px;
}

.player-card p {
    font-size: 14px;
    color: #bbb;
}

.vote-button {
    padding: 10px 20px;
    border: none;
    background: #000;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.vote-button:hover {
    background: #444;
}
