body::before {
    background-image: linear-gradient(rgba(168, 148, 111, 0.486), rgba(168, 148, 111, 0.486)), url("../media/bkgd.jpg");
    background-size: cover;
    content: '';
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: -1;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

#page-title {
    background-color: rgba(168, 148, 111, 0.486);
    color: rgb(182, 45, 21);
    font-family: "Kaushan Script";
    font-size: 2.5rem;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px .2rem rgba(0, 0, 0, 0.5);
}

#content {
    align-content: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5rem 0;
    width: 100%;
}

#info {
    align-content: center;
    aspect-ratio: 1/1;
    background-color:rgb(46, 71, 29);
    border: 2px solid white;
    box-shadow: 0 1px .2rem rgba(0, 0, 0, 0.7);
    flex-direction: row;
    height: auto;
    padding: 3rem;
    text-align: center;
    width: 30rem;
}

#info i {
    font-size: 6rem;
}

#form {
    padding: 0 5rem;
    width: 50rem;
}

#form h1 {
    text-shadow: 0 .05rem .23rem black;
}

input[type=text], input[type=email], input[type=number], textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 16px;
    margin-top: 6px;
    padding: 12px;
    resize: vertical;
    width: 100%;
}

input[type=submit] {
    background-color: rgb(182, 45, 21);
    border: none;
    border-radius: 4px;
    box-shadow: 0 1px .2rem rgba(0, 0, 0, 0.7);
    color: white;
    cursor: pointer;
    padding: 12px 20px;
    }

input[type=submit]:hover {
    background-color: rgb(202, 66, 42);
}

input[type=submit]:active {
    background-color: rgb(223, 93, 70);
}

.container {
    background-color: #f2f2f2;
    border-radius: 5px;
    padding: 20px;
}

#subject {
    height: 10rem;
}

@media screen and (max-width: 1600px) {
    #content {
        padding:  5rem 0;
        width: auto;
    }

    #info {
        margin-bottom: 3rem;
    }
}

@media screen and (max-width: 900px) {
    #content {
        padding: 3rem;
    }
    
    #info {
        width: auto;
    }
}

@media screen and (max-width: 570px) {
    #page-title {
        font-size: 1.6rem;
    }

    #content {
        padding: 2rem 1rem;
    }

    #info {
        width: auto;
    }

    #form {
        padding: 2rem;
    }
}