body {
    font-family: "Poppins", serif;
    font-optical-sizing: auto;
    font-style: normal;
    text-align: center;
    margin-top: 50px;
    background-color: #ffffff;
    color: #333;
    margin: 0;
    padding: 0;
}

nav {
    background-color: #009f4a;
    font-weight: bold;
    padding: 10px;
    font-size: 30px;
}

.nav2 {
    background-color: #260085;
}

.nav3 {
    background-color: #930089;
}

.nav4 {
    background-color: #cb852b;
}

.nav5 {
    background-color: #f78100;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}
nav ul li {
    margin: 0 10px;
}
nav ul li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: #ffcc00;
}
main {
    padding: 20px;
    text-align: center;
}

h1 {
    font-size: 32px;
    color: #444;
}

.text-center {
    text-align: center !important;
    font-size: 25px;
}

button {
    padding: 10px 20px;
    font-size: 30px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#numeros {
    font-size: 30px;
    margin-top: 20px;
    color: #555;
}

#probabilidade {
    margin-top: 20px;
}

/* Barras de probabilidade */


.bar {
    text-align: center;
    padding: 10px;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    min-width: 100px; /* Define um tamanho mínimo */
    flex: 1; /* Ajusta automaticamente o tamanho */
}

.bar.otimo {
    background-color: green;
}

.bar.bom {
    background-color: orange;
}

.bar.ruim {
    background-color: red;
}

.prob-bar {
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    min-width: 50px; /* Define um tamanho mínimo */
    flex: 1; /* Ajusta automaticamente o tamanho */
    justify-content: center;
    flex-wrap: wrap; /* Permite quebra de linha em telas pequenas */
}


/* Esconder o gráfico inicialmente */
#grafico-container {
    display: none;
    margin: 10px;
}

#resultado {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.circle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
}

.circle {
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    border-radius: 50%;
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

.progress-wrapper {
    width: 100%;
    margin-top: 10px;
}

.progress-bar {
    height: 35px;
    text-align: center;
    font-size: 1.2rem;
    color: white;
    border-radius: 5px;
}

.form-control {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    text-align: center;
    font-family: "Poppins", serif;
    font-weight: 700;
    font-size: 25px;
}
.logo{
    width: 60%;
}
.botoes a{
    padding: 55px;
    background: #fff;
    border-color: green;
    color: green;
    font-family: "Poppins", serif;
    font-weight: 700;
    font-size: 25px;
}
.botoes a:hover{
    background: green!important;
}
@media screen and (max-width:500px){
    .col-md-1 {
        width: 15%;
        padding: 0;
    }
    .form-control {
        width: 45px;
        height: 45px;
        margin: 0 auto;
        font-size: 16px;
    }
    a.navbar-brand {
        width: 172px;
    }
    
    #resultado {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-left: 40px;
}
}