/* 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.5;
}
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;
}

/* Custom styles for the project */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Fira Sans Condensed", Calibri, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.125rem;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #242424;
}

footer,
main,
header {
  max-width: 42.5rem;
  margin: 0 auto;
  padding: 1rem;
}

h1,
h2,
nav {
  font-family: "Playfair Display", "Times New Roman", Times, serif;
  color: #242424;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: #242424;
}

p {
  margin-bottom: 1.5rem;
}

p + p {
  margin-top: 1.5rem;
}

/* navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav ul li {
  display: inline-block;
  margin-right: 1rem;
}
nav ul li:last-child {
  margin-right: 0;
}
nav ul li a {
  color: #595959;
  font-size: 1.1rem;
  font-weight: 500;
}

nav ul li a:hover {
  color: #000000;
}

/* images */
figure {
  margin: 1.5rem 0;
}

figcaption {
  font-size: 0.875rem;
  color: #666;
  text-align: center;
}
