body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url(bowl.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

h1{
    color: whitesmoke;
    font-family: 'bebas neue';
    font-size: 4rem;
}

h2{
    color: rgb(128, 95, 95);
    font-family: 'bebas neue';
    font-size: 2rem;
    margin-bottom: 3rem;
}

h3 {
    color: rgb(128, 95, 95);
    font-family: 'bebas neue';
    font-size: 2rem;
    margin-top: 4rem;
}

.textBox {
    background-color: blanchedalmond;
    padding: 3rem;
    width: 50vw;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.formBox {
    display: grid;
    grid-template-columns: [labels] 1fr [controls] 1fr;
    gap: 10px;
    margin-bottom: 2rem;
}

.formBox > label {
    grid-column: labels;
    font-weight: bold;
}

.formBox input, .formBox select{
    grid-column: controls;
}

.formBox input[type="submit"] {
    grid-column: 1 / -1;
    justify-self: center;
}

input:required:invalid, select:required:invalid {
    border: 2px solid red;
    box-shadow: 0 0 5px red;
}

@media screen and (max-width: 480px) {
    form {
        grid-template-columns: 1fr;
    }

    .formBox > label, .formBox input, .formBox select {
        grid-column: auto;
        width: 100%;
    }

    .formBox input[type="submit"] {
        justify-self: center;
    }

    .textBox {
        width: 100%;
        padding: 2rem;
        box-sizing: border-box;
    }
}