@import url('https://fonts.googleapis.com/css2?family=Agdasima:wght@400;
700&family=Orbitron:wght@400 .. 900&family=Oxanium:wght@200 .. 800&
family=Quantico:ital,wght@0,400;0,700;1,400;1,700&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    width: 100vw;
    height: 100vh;
    background-color: rgb(30, 30, 30);
    display: flex;
    align-items: center;
    justify-content: center;

}
#my_form{
    width: 400px;
    background-color: black;
    border: 3px solid wheat;
    border-radius: 30px;
    padding: 30px;
    color: wheat;
}
h1{ text-align: center;
font-size: 40px;}

.input_group{
    margin: 30px 0 0 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

label, input{
    font-size: 20px;
}

label{
    min-width: 115px;


}
input{
    flex: 1;
    background-color: transparent;
    color: wheat;
}
#submit_btn{
    width: 100%;
    font-size: 30px;
    background-color: wheat;
    border-radius: 6px;
}
#submit_btn:hover{
    font-weight: bold;
    letter-spacing: 5px;
    background-color: gold;

}

input.success{
    background-color: green;
}

input.error{
    border-color: red;
}

.error_message{
    position: absolute;
}



#display_joke{
    position: fixed;
    top: 20%;
    padding: 20px;
    border-radius: 20px ;
    background-color: wheat;
    width: 400px;
}

#close_message{
    position: absolute;
    right: 12px;
    top: 4px;
}