@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
/* Remove setas para navegadores WebKit (Chrome, Safari, etc.) */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.container-menor {
    background-color: #F9F9F9;
    width: 100%;
    max-width: 1100px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
    border-radius: 10px;
}

.container h1 {
    margin-bottom: 20px;
}

#bannerAd {
    margin: 20px 0;
    width: 100%;
    height: 130px;
    overflow: hidden; /* Garante que nada da imagem extra seja exibido */
    display: flex;
    justify-content: center;
    align-items: center;
}

#bannerAd img {
    width: 100%;
    height: 130px; /* A imagem vai ocupar todo o espaço da div */
    object-fit: cover; /* Faz a imagem se ajustar sem distorção, cortando as bordas se necessário */
    object-position: center; /* Mantém a parte central da imagem visível */
}

/* Título */
h1 {
    text-align: center;
    color: #333;
}

/* Estilo da divisão dos wheys */
.comparativo {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

/* Estilos individuais para cada whey */
.whey {
    width: 45%;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    /* border: 3px solid #ececec; */
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.form-group {
    position: relative;
    margin-bottom: 20px;
    /* background-color: #218838; */
}

.info-btn {
    position: absolute;
    top: 29px;
    right: 6px;
    margin-left: 10px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    color: #c9c9c9;
    background-color: rgb(143, 143, 143);
    font-size: 10px;
    padding: 10px 12px;
}

.info-image {
    display: none;
    position: absolute;
    top: 29px; 
    right: 20px;
    transform: translateX(-10%);
    max-width: 350px; 
    border: 1px solid #ccc;
    background-color: #fff;
    z-index: 1000;
}

/* Estilos de inputs e labels */
label {
    display: block;
    margin: 10px 0 5px;
}

input, select {
    width: 100%;
    padding: 9px;
    border: 1px solid #ccc;
    border-right: 3px solid #535353;
    border-radius: 20px 10px 10px 20px;
    background-color: #E6E6E6;
    outline: none;
    border: 3px solid #E6E6E6;
    /* border-right: 4px solid #ccc; */
    color: #535353;
    padding-left: 20px;
    font-size: 16px;
    transition: .2s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input:focus, select:focus {
    outline: none;
    border-color: #555;
}

/* Estilos de erro */
input.error, select.error {
    border-color: red;
}
.error-message {
    background-color: #ff0000;
    padding: 10px;
    color: rgb(255, 255, 255);
    font-size: 14px;
    margin-top: 20px;
    display: none;
    text-align: center;
}

/* Resultado do comparativo */
#resultadoComparativo {
    margin: 20px 0;
    padding: 20px;
    padding-bottom: 25px;
    background-color: #f1f1f1;
    background-image: url('bgmeu2.png');
    border: 3px solid #ececec;
    border-radius: 10px;
}

#resultadoComparativo h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.result-title {
    font-weight: 600;
    color: #272727;
}

.wheys {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.whey-result p {
    font-size: 20px;
    /* font-weight: 500; */
    /* background-color: #242424; */
}

.color-box {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: #009fff; /* Cor inicial */
    margin-left: 1px; /* Espaçamento entre o texto e o quadrado */
    vertical-align: middle; /* Centraliza verticalmente com o texto */
    position: relative;
    border-radius: 3px; /* Bordas arredondadas, opcional */
    bottom: 2px; /* Ajuste fino para centralizar perfeitamente */
}

#legenda-resultado {
    display: flex;
    flex-direction: column;
}

.legenda-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.melhor {
    width: 15px;
    height: 15px;
    background-color: green;
    border-radius: 3px;
}

.pior {
    width: 15px;
    height: 15px;
    background-color: red;
    border-radius: 3px;
}

.empatado {
    width: 15px;
    height: 15px;
    background-color: #009fff;
    border-radius: 3px;
}

.whey-result span {
    line-height: 1.5; /* Define uma altura de linha adequada para o texto */
}

.whey-result {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.whey-result h3 {
    font-size: 25px;
}

/* #resultadoPontos {
    width: 100%;
} */

.vencedor {
    background-color: #00b31e;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    font-size: 23px;
    font-weight: 400;
    text-align: center;
}

#legenda-resultado {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 28px;
}

.alerta-resultado {
    padding: 10px;
    text-align: center;
    color: #2b2b2b;
    background-color: #b3b3b3;
    border: 3px solid #7e7e7e;
    border-radius: 5px;
}

#legenda-resultado p {
    /* margin-left: 10px; */
    /* padding: 5px; */
    font-size: 15px;
}

.container-itens-criterio{
    /* max-width: 800px; */
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    /* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); */
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  }

  .container-itens-criterio h1 {
    text-align: center;
    color: #333;
  }

  .item {
    margin-bottom: 20px;
    padding: 15px;
    /* border: 1px solid #ddd; */
    border-radius: 6px;
    background-color: #fafafa;
  }

  .item h5 {
    margin: 0 0 10px;
    color: #FF323D;
    font-size: 22px;
  }

  .item p {
    margin: 5px 0;
    font-size: 18px;
    color: #555;
  }

  .item strong {
    color: #333;
  }

  @media (max-width: 600px) {
    .item h2 {
      font-size: 1.2em;
    }
  }

/* Rodapé */
.footer {
    background-color: #333;
    padding: 20px 0 0 0;
    color: white;
    width: 100%;
    text-align: center;
    position: relative;
  }
  
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px; /* Ajuste para manter conteúdo centralizado */
}
  
.footer-logo img {
    width: 110px;
}
  
.footer-socials {
    display: flex;
    align-items: center;
}

.footer a {
    text-decoration: none;
    color: #d8d8d8;
}

.footer a:hover {
    text-decoration: underline;
    color: #bdbdbd;
}

.footer-socials a {
    margin: 0 10px;
}
  
.footer-socials img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}
  
.footer-socials img:hover {
    transform: scale(1.2); /* Efeito hover para aumentar o ícone */
}
  
.footer-copyright {
    background-color: #464646;
    margin-top: 20px;
    font-size: 14px;
    color: #aaa;
    padding: 20px;
}
  
@media (max-width: 768px) {
    .whey {
        width: 100%;
        margin-bottom: 20px;
    }

    .whey-result h3 {
        text-align: center;
        /* font-size: 21px; */
    }

    .wheys p {
        font-size: 17px;
    }

    .info-image {
        max-width: 250px;
        /* right: 20px; */
    }
}