/* Page styling */
body {
    font-family: Arial, sans-serif;
    background-color: #eeeeee;
    margin: 0;
    padding: 40px;
}

/* Centers the form and adds a border */
.form-container {
    width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border: 3px solid #333333;
    border-radius: 10px;
}

/* Heading */
h1 {
    text-align: center;
    margin-bottom: 10px;
}

/* Paragraph under heading */
.form-container > p {
    text-align: center;
    margin-bottom: 25px;
}

/* Creates space between form elements */
.form-group {
    margin-bottom: 20px;
    padding: 5px;
}

/* Labels */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

/* Text input boxes */
input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 5px;
    box-sizing: border-box;
    border: 2px solid #888888;
    border-radius: 5px;
}

/* Remove one border-side from the email box */
input[type="email"] {
    border-left: none;
}

/* Focus styling */
input[type="text"]:focus,
input[type="email"]:focus {
    background-color: #f0f8ff;
    border-color: #3366cc;
    outline: none;
}

/* Radio buttons */
input[type="radio"] {
    margin-right: 5px;
    margin-left: 10px;
}

/* Make radio labels stay next to the buttons */
input[type="radio"] + label {
    display: inline;
    margin-right: 15px;
    font-weight: normal;
}

/* Dropdown menu */
select {
    width: 100%;
    padding: 12px;
    background-color: #333333;
    color: white;
    border: 2px solid #555555;
    border-radius: 5px;
    font-size: 16px;
}

/* Text area */
textarea {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border: 2px solid #888888;
    border-radius: 5px;
    resize: vertical;
}

/* Text area focus */
textarea:focus {
    background-color: #f0f8ff;
    border-color: #3366cc;
    outline: none;
}

/* Submit button */
.submit-button {
    display: block;
    margin: 10px auto 0 auto;
    padding: 12px 35px;
    font-size: 20px;
    background-color: #333333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Button hover */
.submit-button:hover {
    background-color: #555555;
}