body {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    background-color: #0FB7EB;
    color: white; /* Adicionei essa linha para mudar a cor do texto para branco */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

#menu {
    display: flex;
    flex-direction: column;
    align-items: center;
}

button {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    background-color: white;
    color: #0FB7EB; /* Texto azul claro */
    border: 2px solid #0FB7EB; /* Borda azul claro */
    border-radius: 8px; /* Bordas arredondadas */
    transition: background-color 0.3s, color 0.3s; /* Transição suave */
}

button:hover {
    background-color: #0A74A6; /* Azul escuro */
    color: white; /* Texto branco */
}

#gameContainer {
    margin-top: 5px;
}

#info {
    display: flex;
    justify-content: space-between;
    width: 600px;
    margin: auto;
    font-size: 30px;
    font-weight: bold;
    position: relative;
    top: 20px;
}

#gameArea {
    position: relative;
    width: 80vw; /* 80% da largura da viewport */
    height: 70vh; /* 80% da altura da viewport */
    background-color: white;
    margin: auto;
    overflow: hidden;
    max-width: 700px; /* Limite máximo de largura para telas maiores */
    max-height: 800px; /* Limite máximo de altura para telas maiores */
}

.bar {
    position: absolute;
    width: 50px; /* Aumentei um pouco a largura */
    height: 150px; /* Aumentei a altura para facilitar o clique */
    background-color: blue;
    cursor: pointer;
    border-radius: 20px; /* Adicione esta linha para cantos levemente arredondados */
}

/* Estilo para o popup */
#popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

#popupContent {
    background-color: white;
    color: #333;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.content {
    max-width: 80%; /* Limitar o conteúdo a 80% da largura da tela */
    margin: 0 auto; /* Centralizar o conteúdo horizontalmente */
}