/* 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;
}
/*======= END OF RESET ======= */



/* ==== LAYOUT ====*/

header {
	text-align: center;
	font-family: Almarai, Montserrat, Comfortaa, Roboto, sans-serif;
}

main {
	width: 80%;
	max-width: 960px;
	min-width: 320px;
	margin: 0 auto;
}

footer {
	text-align: center;
	margin-top: 4.0em;
	padding: 1.0em;
	border: 4px solid #746C80;
	background-color: #746C80;
	font-family: Montserrat, Comfortaa, Roboto, sans-serif;
	color: #FFFFFF;
	font-size: 115%;
}

/* ==== END OF LAYOUT ==== */


/* ==== NAVIGATION ==== */

nav {
	border: 4px solid #746C80;
	background-color: #746C80;
	color: #FFFFFF;
	font-size: 100%;
	font-weight: bold;
	font-family: Montserrat, Comfortaa, Roboto, sans-serif;
	text-align: left;
	padding: 0.5em;
}

nav li {
	float: left;
}

nav ul a {
	text-decoration: none;
	color: #FFFFFF;
	display: inline-block;
	padding: 15px 20px 12px;
	border-bottom: 3px solid #746C80;
}

nav ul a:link {
	color: #FFFFFF;
}

nav ul a:visited {
	color: #FFFFFF;
}

nav ul a:hover {
	color: #FFFFFF;
	background-color: #CDBFD6;
	border-bottom-color: #CDBFD6;
}

nav ul a:active {
	color: #FFFFFF;
}

nav ul a:focus {
	outline: none;
	background-color: #CDBFD6;
	border-bottom-color: #FFFFFF;
}

nav ul {
	display: flow-root;
}

li {
	display: block;
}

/* ==== END OF NAVIGATION ==== */


/* ==== BODY STYLING ==== */

body {
	font-family: Comfortaa, Montserrat, Roboto, sans-serif;
	font-weight: 400;
	font-size: 1.0em;
	line-height: 1.55;
	color: #000;
}

h1 {
	border: 4px solid #C9AFBF;
	background-color: #C9AFBF;
	padding: 0.5em;
	font-size: 400%;
	font-weight: 700;
	color: #FFFFFF;
	text-align: center;
}

h1, h2 {
	font-weight: 700;
}

h2 {
	margin: 30px auto;
	margin-top: 2.0em;
	margin-bottom: 0.5em;
	text-align: center;
	font-size: 210%;
	font-weight: bold;
}

p {
	margin: 30px auto;
	text-align: left;
	font-size: 120%;
	margin-right: 3.0em;
	margin-left: 2.5em;
	margin-bottom: 1.5em;
	line-height: 1.6;
}

p + p {
	text-align: center;
	font-size: 120%;
	margin-top: 0.5em;
	margin-right: 3.0em;
	margin-left: 2.5em;
	margin-bottom: 3.0em;
	line-height: 1.6;
}

img {
	float: left;
	margin: 0px 20px;;
	border-radius: 10px;
}

/* ==== END OF BODY STYLE ==== */


/* ==== PICTURE NAVIGATION (credit to Armani for the code) ==== */

.white {
	width: 100%;
	display: grid;
	grid-template-columns: auto auto auto;
	align-content: center;
	justify-content: center;
	justify-items: center;
	align-items: center;
	gap: 15px;
	border: solid 1px #FFFFFF;
	border-radius: 10px;
	background-color: #FFFFFF;
	margin-bottom: 65px;
}

figure {
	margin: 10px auto;
}

figcaption {
	text-align: center;
	font-size: 1.0em;
	font-weight: bold;
}

figure:hover {
	opacity: 75%;
}
