html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
} 

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
} 

body {
	line-height: 1;
} 

ol, ul {
	list-style: none;
} 

blockquote, q {
	quotes: none;
} 

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
} 

table {
	border-collapse: collapse;
	border-spacing: 0;
} 

a:link, a:visited, a:hover {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #004080;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    font-size: 28px;
    font-weight: 700;
    padding-bottom: 5px;
}

.slogan {
    font-size: 23px;
    font-style: italic;
    margin: 5px 0;
    font-family: "Tangerine", serif;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    background: #003366;
    margin: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: 0.3s;
    font-family: 'Source Sans Pro', sans-serif;
}

nav ul li a:hover {
    background-color: #0055a5;
    border-radius: 5px;
}

main {
    padding: 20px;
    text-align: center;
    background: white;
    margin: 20px auto 25vh auto;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

section {
    display: grid;
    grid-template-areas:
    "title title"
    "text1 img1";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto 25px auto;
}
section h2 {
    grid-area: title;
    font-size: 24px;
    margin-bottom: 15px;
}
section p {
    grid-area: text1;
    text-align: left;
    font-size: 16px;
    max-width: 375px;
}
section img {
    grid-area: img1;
    max-width: 400px;
    min-height: 250px;
    max-height: 300px;
}

.diagram {
    margin-left: 100px;
}

form p {
    margin: 1em 0;
}

form input:not([type]), input[type="text"], input[type="email"] {
    box-sizing: border-box;
    height: 1.75em;
    width: 20vw;
    border-width: 1px;
    border-style: inset;
    border-color: #767676;
    border-radius: 5px;
    transition: 0.3s;
    box-shadow: #5e5e5e 3px 2px;
}

form input[type="submit"] {
    box-sizing: border-box;
    padding-block: 1px;
    padding-inline: 2px;
    height: 1.75em;
    width: 20vw;
    background-color: #ffffff;
    cursor: pointer;
    border-width: 1px;
    border-style: inset;
    border-color: #767676;
    border-radius: 5px;
    transition: 0.3s;
    box-shadow: #5e5e5e 3px 2px;
}

form input:hover {
    transition: 0.3s;
    background-color: #bbbbbb;
    color: #ffffff;
}

form input:hover {
    transition: 0.3s;
    background-color: #bbbbbb;
    color: #ffffff;
}

form input:hover::placeholder {
    transition: 0.3s;
    color: #ffffff;
}

form label {
    padding-bottom: 10px;
}

form span {
    color: red;
}

textarea {
    min-width: 20vw;
    max-width: 20vw;
    min-height: 2em;

    box-sizing: border-box;
    height: 1.75em;
    width: 20vw;
    border-width: 1px;
    border-style: inset;
    border-color: #767676;
    border-radius: 5px;
    box-shadow: #5e5e5e 3px 2px;
}

#form-section {
    display: flex;
    justify-content: center;
}

#form-section h1 {
    font-size: 28px;
}

footer {
    background-color: #004080;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}