*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;/* ela ire medir a borda de um lado a outro/ sem esse comando a borda eh medida pelo conteudo */
}

:root{
    font-size: 62.5%;
}


/* forma 1 de alinhar ao centro */
/* body{
    background-color: rgb(34, 32, 32);
    font-family: 'Indie Flower', cursive;
    color: white;

    height: 100vh;
    position: relative;
}

section{
    width: 30rem;
    height: 20rem;

    position: absolute;

    top: 50%;
    left: 50%;
    
    transform: translate(-50%, -50%);
}
 */

/* forma 2 de alinhar ao centro */

body{
    /* background-color: rgb(34, 32, 32); */
    font-family: 'Roboto Slab', serif;
    color: white;

    height: 100vh;
    display: flex;
    align-items: center; /* alinha na verical + cima/baixo  */
    justify-content: center; /* alinha no horiontal ---- */

    background-image: url(./assets/universe-star-backgraund.jpg);
}

section{
    text-align: center;
    width: 80%;
    
    max-width:60rem; 
    min-height: 70rem;

    height: 80%;
    

    
    background-color: rgba(0, 0, 0, 0.4);
    

    /* border: 1px solid white; */
    border-radius: 20px;
}

section img{
    margin-top: 10%;
}

section h1{
    font-size: 3rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

section p{
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.7;
    margin-bottom: 3rem;
}

section input{
    display: block;
    margin-inline: auto;
    margin-bottom: 1rem;

    width: 80%;
    padding: 1.3rem;

    border: none;
    border-radius:20px;

    text-align: center;

}

section button{
    width: 80%;
    padding: 1.3rem;

    border: none;
    border-radius:20px;
    margin-bottom: 15px;

    font-family: 'Roboto Slab', serif;
    font-weight: 1000;

    /* background-color: rgb(138, 43, 226); */
    background-image: linear-gradient(to right, rgb(138, 43, 226) , rgb(184, 115, 248));
    color: white;

    transition: filter 0.2s;
}

section button:hover{
    filter: brightness(1.2);
    cursor: pointer;
}


/* Meu primeiro JavaScrip */
/*
#questionUser{
    visibility: hidden;

    transition: color 1s ease-in-out;  //tipo de transiçao  
    color: rgba(255, 255, 255, 0);

}

#questionUser.mostrar{
    visibility: visible;
    color:rgba(255, 255, 255, 1);
}

#answerUser{
    visibility: hidden;
    transition: color 1s 1s ease-in-out;  //tipo de transiçao  
    color: rgba(255, 255, 255, 0);
}

#answerUser.mostrar{
    visibility: visible;
    color:rgba(255, 255, 255, 1);
} */

#answerUser{
    margin-top: 15px;
    transition: opacity 1s;
}

#questionUser {
    font-size: 16px;
    font-weight: normal;
    opacity: 0.9;
    margin-bottom: 10px;
}
