/* 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 style */

body {
	line-height: 1.6;
	font-family: "Titillium Web", serif;
	background-color: rgb(245, 245, 245);
	max-width: 1200px;
	margin: auto;
	padding: 20px;
}

/* Typography */
h1, h2, h3 {
	text-align: center;
	color: #333;
	margin-top: 30px;
}

h1 {
	font-size: 2.5rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

h2 {
	font-size: 2rem;
	color: #555;
	margin: 20px 0;
}

h3 {
	font-size: 1.5rem;
	color: #666;
	text-align: left;
	padding-left: 100px;
	text-decoration: underline;
}

p {
	font-size: 1.2rem;
	line-height: 1.8;
	color: #444;
	margin: 30px auto;
	max-width: 1000px;
}

/* Navigation */
nav {
	background-color: #333;
	padding: 15px;
	margin-top: 30px;
}

nav ul {
	list-style-type: none;
	display: flex;
	justify-content: space-around;
}

nav a {
	color: white;
	text-decoration: none;
	font-size: 1.125rem;
	padding: 5px 10px;
	transition: color 0.3s ease;
}

nav a:visited {
	opacity: 0.8;
}

nav a:hover, nav a:active {
	color: #f8b400;
}

nav a:focus {
	text-decoration: underline;
}

/* Image */
img {
	display: block;
	margin: 20px auto;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}