/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
/* HTML5 display-role reset for older browsers */
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;
}

/*--------------------- MY CSS ---------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --purple: #79357E;
    --white: #F1F0F0;
    --grey: #C0C0C0;
}

header, main, footer {
    font-family: "Inter", sans-serif;
}

main, footer {
    max-width: 75%;
    margin: 0 auto;
    padding-top: 50px;
}

body {
    background-color: var(--grey);
}

header {
    background-color: var(--purple);
    height: 110px;
    display: flex;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-size: 2.5rem;
}

h1 {
    padding-right: 275px;
    margin: 0 auto;
    color: var(--white);
    font-size: 4rem;
}

h2 {
    font-size: 3.5rem;
    text-align: center;
    padding: 50px;
    font-weight: bold;
}

h3 {
    font-size: 2.5rem;
    text-align: center;
    padding: 25px;
    font-weight: bold;
}

p {
    text-align: center;
    font-size: 2rem;
}

nav ul {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    padding-right: 25px;
}

nav ul li {
    padding: 0px 25px;
}

.content {
    background-color: var(--white);
    border-radius: 50px;
    border: 10px solid var(--purple);
}

.content p {
    width: 70%;
    margin: 0 auto;
}

footer p {
    font-size: 1rem;
}

form {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 40%;
    padding-bottom: 20px;
}

label, input, textarea {
    font-size: 2em;
    margin-bottom: 20px;
}

.required, .errorname, .erroremail, .errorcomments {
    color: red;
}

#submit, button {
    cursor: pointer;
    color: var(--white);
    background-color: var(--purple);
    border: 5px solid var(--purple);
    display: block;
    margin: 0 auto;
    font-size: 2rem;
    padding: 20px;
    border-radius: 20px;
}