* {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: beige;
    background-image: url('images/background.webp')
}

#container {
    width: 1024px;
    margin: 20px auto;
    border: 1px solid darkblue;
    background-color: beige;
    box-shadow: 0 8px 8px 5px hsla(0, 0%, 0%, 0.55);
}

header {
    padding: 0;
    text-align: center;
    font-family: "Lora", serif;
}

header img {
    width: 100%;
    max-height: 250px; 
}
header h2 {
    margin: 0;
    font-family:"Lora", serif;
    font-weight: 600;
}

nav {
    background-color: blue;
    color: white;
    padding: 0.2em;
    font-size: 1.0em;
    text-align: center;
}

nav ul {
    padding-inline-start: 12px;
    display: flex;
    justify-content: center;
}

nav ul li {
    list-style-type: none;
    margin-right: 1.8em;
}

nav a {
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 5px 7px;
}

nav a:hover {
    color: cyan;
}

section {
	margin-bottom: 20px;
}

form {
	width: 90%;
	max-width: 800px;
	padding: 1.2em;
	border: thin solid lightgray;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.form-intro {
    flex: 100%;
    text-align: center; 
    margin-bottom: 20px; 
}

.form-group {
	margin-bottom: 1em;
	display: flex;
	flex-direction: column;
	flex: 47%;
	margin-right: 3%;
}

.form-group label, .label {
	margin-right: 0.5em;
	font-weight: 700;
}

.form-group input {
	line-height: 1;
}

.form-group input, textarea, .form-group select {
	border-radius: 4px;
	border: 1px solid gray;
	padding: 8px;
	font-size: .875rem;
}

.form-group select {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right .75rem center;
	background-size: 16px 12px;
	appearance: none;
	padding-right: 3em;
}

.form-group select::after {
	display: block;
	clear: both;
	content: "";
}

.row {
	margin-bottom: 1em;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.centered-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh; 
}

.services {
	display: flex;
	justify-content: space-around;
}

.flex-buttons {
	display: flex;
	justify-content: center;
	width: 100%;
}

textarea {
	height: 100px;
}

.form-intro {
	flex: 100%;
}

.message-box {
	flex: 100%
}

input[type=submit], input[type=reset] {
	background-image: none;
	border-radius: 4px;
	border-color: black;
	box-shadow: none;
	display: inline-block;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	padding: .375rem .75rem;
	font-size: 1rem;
}

input[type=submit] {
	background-color: #0b5ed7;
	border-color: #0a58ca;
	color: #fff;
}

input[type=reset] {
	margin-right: 1rem;
}

footer {
    color: black;
    background-color: white;
    text-align: center;
    padding: 1.2em;
    font-weight: 800;
    border: 1px solid black;
}