/* Web Dev 1 CIS195 CSS Reset */
/* Modified to include box-sizing: border-box and other modern best practices */

@import url('https://fonts.googleapis.com/css2?family=Teko:wght@400..700&		display=swap');

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;
}

/* Modern additions for better consistency */
*,
*::before,
*::after {
  box-sizing: border-box; /* Makes padding and border part of the element's total width and height */
}

html {
  -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
}

main {
	padding: 20px; 
	font-family: sans-serif; 
	line-height: 1.6; 
	color: #333; 
}

header {
	border: 2px solid #333;
    padding: 12px;
	font-size: 2.5em;
    font-weight: bold;
}

body {
	background-color: #34302B;
    color: #EEE;
    padding: 12px;
  	font-family: 'Teko', sans-serif; /* Set a sensible default font */
  	-webkit-font-smoothing: antialiased; /* Improve font rendering for WebKit browsers */
  	-moz-osx-font-smoothing: grayscale; /* Improve font rendering for Firefox on macOS */
}

/* Improve media defaults */
img {
  max-width: 100%; /* Prevent images from overflowing their container */
  height: auto;
  border-radius: 8px;
  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.2); 
  display: block; /* Allows margin: 0 auto; to work for centering */
  margin-left: auto;
  margin-right: auto;
}

/* Improve form element consistency */
input,
button,
textarea,
select {
  font: inherit; /* Inherit font styles from the body */
}

button {
  cursor: pointer; /* Add a pointer cursor to buttons for better UX */
}

nav a:hover {
	background-color: #f0f0f0;
	color: #007bff; 
	padding: 5px 10px;
}

footer {
	background-color: #222;
	color: #f0f0f0;
	padding: 20px;
	text-align: center;
	font-size: 0.9em;
  }