@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap");

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Quicksand", sans-serif;
}

/* Estilos para html e body */
html, body {
width: 100%;
min-height: 100vh;
background: #111;
overflow-x: hidden;
}

.home{
    background-image: url('../img/imgbannerindex.png');
    background-repeat: no-repeat;
    background-size: cover;

}

.container-center {
    display: flex;
    flex-direction: column; /* Coloca os botões em uma coluna */
    justify-content: center; /* Centraliza verticalmente */
    align-items: center; /* Centraliza horizontalmente */
    height: 100vh; /* Faz o container ocupar a altura total da tela */
}

/* Estilizando os botões */
.btn-custom {
    width: 200px;
    padding: 12px;
    font-size: 18px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn-primary-custom {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    color: white;
}
.btn-primary-custom:hover {
    background: linear-gradient(135deg, #0056b3, #00408a);
}
.btn-secondary-custom {
    background: linear-gradient(135deg, #6c757d, #495057);
    border: none;
    color: white;
}
.btn-secondary-custom:hover {
    background: linear-gradient(135deg, #495057, #343a40);
}

/* Overlay para o modal de login */
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
display: flex;
justify-content: center;
align-items: center;
z-index: 1050;
visibility: hidden;
opacity: 0;
transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.show {
visibility: visible;
opacity: 1;
}

.login {
width: 100%;
display: flex;
flex-direction: column;
gap: 20px;
text-align: center;
}

.login .caixa__input {
position: relative;
width: 100%;
display: flex;
justify-content: center; /* Garante centralização */
}

.login .caixa__input input {
width: 95%;
padding: 12px 20px;
background: transparent;
border: 2px solid #fff;
border-radius: 40px;
font-size: 1.2em;
color: #fff;
box-shadow: none;
outline: none;
}

.login .caixa__input input::placeholder {
color: rgba(255, 255, 255, 0.75);
}

.login .links {
position: relative;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
}

.login .links a {
color: #fff;
text-decoration: none;
}

.caixa__input input[type="submit"] {
width: 100%; /* Faz o botão seguir o mesmo padrão */
max-width: 95%; /* Para manter alinhado aos inputs */
padding: 17px 40px;
border-radius: 50px;
cursor: pointer;
border: 0;
/* background-color: #000; */
background: linear-gradient(45deg, #3a6eff, #ffffff);
box-shadow: rgb(0 0 0 / 5%) 0 0 8px;
letter-spacing: 1.5px;
text-transform: uppercase;
font-size: 15px;
transition: all 0.3s ease;
}

.caixa__input input[type="submit"]:hover {
letter-spacing: 3px;
background: linear-gradient(135deg, #ffffff, #3a6eff);
color: hsl(0, 0%, 100%);
box-shadow: #3a6eff 1px 3px 19px -2px;
}

.caixa__input input[type="submit"]:active {
letter-spacing: 3px;
background-color: #3a6eff;
color: hsl(0, 0%, 100%);
box-shadow: #3a6eff 1px 3px 19px -2px;
transform: translateY(10px);
transition: 100ms;
}

/* Container do formulário de login */
.login-box {
    background: #222;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    color: white;
    max-width: 400px;
    width: 90%;
    position: relative; /* Para posicionar o botão de fechar */
}

/* Botão de fechar */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 22px;
    cursor: pointer;
    color: #fff;
}

.close-btn:hover {
    color: red;
}

/* Estilos para os inputs */
.caixa__input input {
    width: 100%;
    padding: 12px;
    border: 2px solid #555;
    border-radius: 8px;
    background: #333;
    color: white;
    margin-bottom: 15px; /* Espaçamento entre os inputs */
}



/* Links abaixo do formulário */
.links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.links a {
    color: #fff;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

/*------ MEDIA -------*/

@media only screen and (max-width: 480px){

}

@media only screen and (min-width: 601px){
.banner h2{font-size: 3.8rem;}

}

@media only screen and (min-width: 993px){
.banner h2{font-size: 4.2rem;}
}

#errorPopup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10000; /* Valor alto para garantir que fique acima de tudo */
    border-radius: 8px; /* Borda arredondada */
    text-align: center;
}

#errorPopup button {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px; /* Borda arredondada */
}

#errorPopup button:hover {
    background-color: #0056b3;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fundo escurecido */
    z-index: 9999; /* Um pouco menor que o pop-up */
}

.imagem-logo {
    width: 200px; /* Largura fixa */
    height: auto; /* Altura proporcional */
}

/* Estilos para o banner de cookies */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    animation: fadeInUp 0.4s ease-out;
}

.cookie-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 320px;
}

.cookie-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
}

.cookie-content {
    text-align: center;
}

.cookie-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.cookie-text {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    flex: 1;
    max-width: 120px;
}

.decline-btn {
    background: #f5f5f5;
    color: #555;
    cursor: not-allowed !important;
}

.accept-btn {
    background: #4c40ff;
    color: white;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.img-conta {
    width: 100px; /* ajuste conforme necessário */
    height: auto; /* mantém a proporção */
    display: block;
    margin: 0 auto; /* centraliza horizontalmente */
}

/* Animação na fonte de login */
.shine {
    font-size: 1.1em;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.3);
    background: #bababa linear-gradient(
        -45deg,
        transparent 0%,
        transparent 40%,
        white 50%,
        transparent 60%,
        transparent 100%
  );
    background-image: -webkit-linear-gradient(
        -40deg,
        transparent 0%,
        transparent 40%,
        #ffffff 50%,
        transparent 60%,
        transparent 100%
    );
    background-size: 200% auto;
    background-repeat: no-repeat;
    /* Efeito de brilho no texto */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Animação */
    animation: zezzz 8s infinite linear;
    -webkit-animation: zezzz 8s infinite linear;
}

@keyframes zezzz {
  0%, 10% {
    background-position: -200px;
  }
  20% {
    background-position: top left;
  }
  100% {
    background-position: 200px;
  }
}

@-webkit-keyframes zezzz {
  0%, 10% {
    background-position: -200px;
  }
  20% {
    background-position: top left;
  }
  100% {
    background-position: 200px;
  }
}
/* Fim da animação na fonte de login */

