
*{
    margin: 0;
    padding: 0;
    --base-font-size: 16px;
}
main{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100dvh;
    background-color: rgb(116, 13, 14);
}

form{
    display: grid;   
    background-color: rgb(247, 208, 105);
    gap: 1rem;
    padding: 5rem;
    border: 2px inset rgb(116, 13, 14);
}
.title{
    text-align: center;
    color: rgb(116, 13, 14);
    font-size: 6rem;
}
.subtitle{
    text-align: center;
    color: rgb(116, 13, 14);
    font-size: 1rem;
}
.disclaimer{
    text-align: center;
    color: rgb(116, 13, 14);
    font-size: 0.75rem;
}

input{
    padding: 1em;
    border: 1px rgb(116, 13, 14) solid;
    border-radius: 2px;
}
button{
    padding: 1em;
    color: rgb(247, 208, 105);
    background-color: rgb(116, 13, 14);
    border: none;
    box-shadow: 0px 1px 5px 0px black;;
     margin-top: 1rem
}
button:focus-within{
    box-shadow: none;
}
button:hover{
    background-color: rgba(116, 13, 14, .9);

}
dialog{
    margin: auto;
    border: none;
    padding: 2em 4em;
    border-radius: 5px;
    box-shadow: 0px 5px 15px 5px black;
    background-color: rgb(247, 208, 105);
    color: rgb(116, 13, 14);
    font-size: calc(var(--base-font-size)*1.25);
    text-align: center;
    opacity: 0;
    animation: move_up 0.25s ease-in forwards;
    button{
       color: rgb(247, 208, 105);
       background-color: rgb(116, 13, 14);
       border: none;
       box-shadow: 0px 1px 5px 0px black;;
        margin-top: 1rem
    }
}
dialog::backdrop{
    background-color: rgba(116, 13, 14, .8);
}
.hint_wrapper{
    position: relative;
}
.hint{
    position: absolute;
    top: -10px;
    left: 10px;
    color: rgb(116, 13, 14);
    font-weight: 500;
}
@keyframes move_up {
    to{
        transform: translateY(-25%);
        opacity: 100%;
    }
    
}