:root {
    --cor-primary: [[${parceiro.corPrimaria}]];   
    --cor-secondary: [[${parceiro.corSecundaria}]];
}

body {
    background-color: var(--cor-primary);
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

html{
    width: 100%;
    height: 100%;
}

#login-input, #senha-input{
    margin-top: 12px;
    margin-bottom: 12px;
}

#background {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.balao {
    position: absolute;
    width: 50px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    animation: subir 10s infinite ease-in-out;
    overflow: hidden;
}

.balao img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: auto;
}

.balao:nth-child(2n) {
    width: 70px;
    height: 50px;
    animation-duration: 12s;
}
.balao:nth-child(3n) {
    width: 40px;
    height: 30px;
    animation-duration: 14s;
}

@keyframes subir {
    0% {
        transform: translateY(100vh) scale(0.8);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) scale(1.2);
        opacity: 0;
    }
}

.balao:nth-child(1) { left: 10%; animation-delay: -0s; }
.balao:nth-child(2) { left: 30%; animation-delay: -2s; }
.balao:nth-child(3) { left: 50%; animation-delay: -4s; }
.balao:nth-child(4) { left: 70%; animation-delay: -6s; }
.balao:nth-child(5) { left: 90%; animation-delay: -8s; }
.balao:nth-child(5) { left: 90%; animation-delay: -9s; }
.balao:nth-child(5) { left: 95%; animation-delay: -10s; }
.balao:nth-child(5) { left: 98%; animation-delay: -11s; }
.balao:nth-child(5) { left: 94%; animation-delay: -12s; }
.balao:nth-child(5) { left: 80%; animation-delay: -13s; }

.login-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    max-width: 400px;
}

#esqueci-senha{
    display: none;
}

.form-login{
    gap: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#envio-texto{
    background-color: rgb(40, 151, 40);
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 100%;
    max-width: 400px;
    transition: 0.3s ease-in-out;
}

#esqueci-card{
    gap: 5px;
}

#login-title {
    color: var(--cor-primary);
    font-weight: bold;
    font-size: 28px;
}

#button-entrar {
    background: var(--cor-primary);
    color: white;
    font-weight: bold;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    transition: 0.3s;
}

#button-entrar:hover {
    background: var(--cor-primary);
}


.balao::before {
    content: "";  
    display: block;
    width: 70%;
    height: 70%;
    background-image: url('img/bater-papo.png'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center; 
}

#erro-login {
    display: none;
    background: #e74c3c;
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#erro-email, #email-enviado{
    display: none;
}

.logo {
    width: 230px;
    height: auto;
    margin-bottom: 20px;
    transition: width 0.3s ease;
  }