*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* border-style: solid; */
}

body{

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    /* Center's the Form */
    height: 100vh;

    font-family: "Cheese";
    background: black;

}

/* Why is this h1 being such a booger?? */
h1 {
    color: white;
}

h1#page-title{
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

#page-message{
    font-family: "Candy";
    font-size: 1.75rem;
    margin-bottom: 1em;
}

.contact-form{
    
    /* Create Variables, which casecade down from here */
    --small-font: 1rem;
    --large-font: 1.5rem;

    /* Effects's the Form's Contents */
    display: flex;
    flex-direction: column;
    gap: var(--small-font);

    width: 80%;
    max-width: 500px;
    min-width: 300px;

}

.form-input{
    position: relative;
}

/* User Input */
.field-input{
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    font-family: inherit;  
    font-family: "Candy";
    font-size: inherit;
    font-size: var(--large-font);
    
    color: white;
    padding: 1.25rem;
    background: none;   /* transparent */
    
    border: 3px solid;
    border-color: indigo;
    border-radius: 0.5rem;
    /* cursor: pointer; */

}

.field-input:hover{
    border-color: yellowgreen;
}

.field-input:focus{
    border-color: indigo;
}

/* Placeholder */
.field-label{
    position: absolute;
    left: 1rem;
    top: 1.5rem;

    font-size: var(--large-font);

    padding: 0 0.5rem;
    color: white;

    cursor: text;

    /* Animate the Label */
    transition: top 200ms ease-in, left 200ms ease-in, font-size 200ms ease-in;

}

.field-input:focus ~ .field-label{
    top: -0.5rem;
    left: 0.8rem;
    font-size: 1rem;
    background: black;
}

/* If the placeholder is not empty and the textbox is not focused on.. */
.field-input:not(:placeholder-shown).field-input:not(:focus) ~ .field-label{
    top: -0.5rem;
    left: 0.8rem;
    font-size: 1rem;
    color: yellowgreen;
    background: black;
}

#message-input{
    height: 25vh;
    font-size: var(--large-font);
}

/* ??? Not sure if this is doing anything */
textarea {
    resize: vertical;
    min-height: 120px;
}

.buttons{
    font-family: "Cheese";
    font-size: var(--large-font);
    height: 2.0em;
    width: 50%;
    margin-left: auto;
}


/* Suppose to appear after clicking Submit */
.success-message {
    margin-top: 1rem;
    color: green;
    /* font-weight: bold; */
    display: none;
}

.error-message {
    margin-top: 1rem;
    color: red;
    /* font-weight: bold; */
    display: none;
}
