* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: cursive;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-image: url('ControlesAleatórios.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    max-width: 600px;
}

.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 24px;
    color: red;
}

hr {
    width: 100%;
    margin-bottom: 20px;
    border: none;
    border-top: 3px solid black;
}

.info-jogador {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.info-jogador label {
    font-size: 16px;
}

.info-jogador input {
    padding: 10px;
    font-size: 16px;
    margin-bottom: 10px;
    width: 100%;
}

.info-jogador button {
    padding: 10px;
    font-size: 16px;
    width: 100%;
    margin-top: 10px;
}

.container-jogo {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 100%;
    margin-top: 20px;
}

.jogo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
}

.tabuleiro {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-gap: 10px;
}

.tabuleiro button {
    width: 100px;
    height: 100px;
    font-size: 24px;
}

.ranking {
    border: 1px solid #000;
    padding: 10px;
    border-radius: 5px;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.9);
    margin-top: 20px;
    margin-bottom: 50px;
}

.ranking h2 {
    text-align: center;
    margin-top: 0;
}

.jogador-atual {
    margin-bottom: 10px;
    font-weight: bold;
}

.container-jogo button{ 
    margin-top: 15px;
    padding: 10px;
    font-size: 16px;
    width: 100%;
}