@charset "UTF-8";
@font-face {
font-family:'Fonte-de-Natal';
src: url(./Great_Vibes/GreatVibes-Regular.ttf);
}


* {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
}
  html {
    background: url(./Imagens/background3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
 overflow: hidden;
    height: 100%   ;
}
#formulario {
    background-color: rgba(0, 0, 0, 0.137);
    width: 300px;
    height:530px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    backdrop-filter: blur(4px);
padding: 20px;
}

.campo {
    margin: 20px;
}

.inputUser{
    background: none;
    border: none;
    border-bottom: 1px solid white;
    width: 100%;
    outline: none;
    color: white;
}

.labelInput {
    position:relative;
 top: -19px;
 color: white;
 pointer-events: none;
 transition: top 0.8s ease, font-size 0.3s ease, color 0.3s ease;

}

fieldset {
    border-radius: 8px;
}

legend {
    text-align: center;
    font-size: 2em;
    color: white;
    font-weight: bold;
    border: 1px SOLID;
    padding: 8px;
    border-radius: 5px;
    font-family: 'Fonte-de-Natal';
}

.date {
    

    position:relative;
 top: -35px;
 color: white;




}

.date {
    
    position: relative;
    top: -40px;
    font-size: 1em;
color: white  ;
}

.campo-genero {
left: 25%;
  color: white;
  position: relative;
  margin-bottom: 20px;
    
}



/* animação */

.inputUser:valid + .date {
    color: skyblue;
    transition: color 0.3s ease;
}

.inputUser:focus ~ .labelInput,
.inputUser:valid ~ .labelInput {
top: -35px;
font-size: 0.7em;
color: skyblue;
}

@keyframes snow {
    0% {
      transform: translateY(-10vh) rotate(0deg);
      opacity: 0.8;
    }
    100% {
      transform: translateY(100vh) rotate(360deg);
      opacity: 0.3;
    }
  }

  .snowflake {
    position: absolute;
    top: -10px;
    width: 20px; 
    height: 20px; 
    animation: snow 2s linear infinite;
  }


  @keyframes neblina {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 2;
    }
    100% {
        opacity: 0.2;
    }
}

.neblina {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 240, 240, 0.603);
    opacity: 0.2;
    animation: neblina 10s linear infinite;
}


.submit {
position: relative;
right: 50px;
text-align: center;
            background-color: rgba(0, 0, 0, 0.466);
      
            margin-top: 20px;
            width: 90%;
            height: 30px;
            box-shadow: 0 0 10px 0.5px rgba(255, 255, 255, 0.733);
     
            border-radius: 8px;
            color: white;
            cursor: pointer;
}

.submit:hover {
    box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.733);

}
