html{
    height: 100%;
    zoom: 90%;
}
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background: linear-gradient(to bottom, #2F4F4F, #F0F8FF); /* Cinza escuro para branco gelo */
    /* background-image: url('../img/amistosos_back1.png'); */
    /* Opções adicionais */
    /* background-size: cover; /* Para ajustar a imagem ao tamanho do corpo */
    /* background-position: center; /* Para centralizar a imagem */
    zoom: 90%;
}

.login-box{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    padding: 40px;
    transform: translate(-50%,-50%);
    background: rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

/* titulo do formulario */
.login-box h2{
    margin: 0 0 30px;
    padding: 0;
    color: #67e72e;
    text-align: center;
}
.login-box .user-box{
    position: relative;
}
.login-box .user-box input{
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #67e72e;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #67e72e;
    outline: none;
    background: transparent;
    border-radius: 5px ;
} 



.user-box input::placeholder {
            text-align: center; /* Centraliza o texto do placeholder */
            color: rgba(255, 255, 255, 0.5); /* Cor do placeholder (ajustável) */
        }   

/* Cor de fundo do input ao ser preenchido */
.login-box .user-box input:focus {
    background: #fff; /* Cor de fundo desejada */

}

/* Cor de fundo do input após ser preenchido */
.login-box .user-box input:valid {
    background: #fff; /* Cor de fundo desejada */
}


.login-box .user-box label{
    position: absolute;
    top:0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    pointer-events: none;
    transition: .5s;
}
/* letra em cima de cada input*/
.login-box .user-box input:focus ~ label,
.login-box .user-box input:valid ~ label{
    top: -25px;
    left: 0;
    color: white;
    font-size: 10px;
}
/* botao e letra do botao entrar */
.login-box form a{
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    color: white;
    text-align: center;
    background: #67e72e;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition: .5s;
    margin-top: 2px;
    letter-spacing: 2px;
    width: 100%;

}
.login-box a:hover{
   background: #67e72e; /* Altera a cor de fundo ao passar o mouse */
    color: #fff; /* Altera a cor do texto ao passar o mouse */
    border-radius: 10px; /* Mantém o arredondamento do botão */
    box-shadow: 0 0 5px #67e72e, /* Altera a sombra ao passar o mouse */
                0 0 25px #67e72e,
                0 0 50px #67e72e,
                0 0 100px #67e72e;
}
}
.login-box a span{
    position: absolute;
    display: block;
}
.login-box a span:nth-child(1){
    top: 0;
    left: -100%;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg,transparent,#67e72e);
    animation: btn-anim1 5s linear infinite;
}
@keyframes btn-anim1{
    0%{
        left: -100%;
    }
    50%,100%{
        left: 100%;
    }
}
.login-box a span:nth-child(2){
    top: -100%;
    right: 0;
    width: 44px;
    height: 100%;
    background: linear-gradient(180deg,transparent,#67e72e);
    animation: btn-anim2 1s linear infinite;
    animation-delay: .25s;
}
@keyframes btn-anim2{
    0%{
        top: -100%;
    }
    50%,100%{
        top: 100%;
    }
}
.login-box a span:nth-child(3){
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 44px;
    background: linear-gradient(270deg,transparent,#67e72e);
    animation: btn-anim3 1s linear infinite;
    animation-delay: .50s;
}
@keyframes btn-anim3{
    0%{
        right: -100%;
    }
    50%,100%{
        right: 100%;
    }
}
.login-box a span:nth-child(4){
    bottom: -100%;
    left: 0;
    width: 44px;
    height: 100%;
    background: linear-gradient(360deg,transparent,#67e72e);
    animation: btn-anim4 1s linear infinite;
    animation-delay: .75s;
}
@keyframes btn-anim4{
    0%{
        bottom: -100%;
    }
    50%,100%{
        bottom: 100% ;
    }
}

.logo {
    text-align: center;
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.logo img {
    width: 300px;
    height: 170px;
}

.scanner {
    position: absolute;
    top: 0;
    left: 0;
    height: 10px; /* Altura da linha do scanner */
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    animation: scan 7s linear infinite;
    border-radius: 5px;
}

@keyframes scan {
    0% {
        top: -20px; /* Começa fora da imagem para dar um efeito de entrada */
    }
    100% {
        top: 160px; /* Vai até o final da imagem */
    }
}

.user-box {
    position: relative;
}

.user-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-bottom: 1px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 16px;

}

.user-box label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color: #fff;
}

.user-box input:focus ~ label,
.user-box input:valid ~ label {
    top: -20px;
    left: 0;
    color: #03e9f4;
    font-size: 12px;
}

#whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

#whatsapp-button:hover {
    transform: scale(1.5);
}

#whatsapp-button img {
    width: 80px; /* Tamanho inicial do botão */
    height: auto;
}


