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

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;
}

/* CUSTOM CSS HERE */

html * {
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

body {
  font-family: "Noto Sans", Verdana, sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  line-height: 1.4;
}

/* GLOBAL LINKS */
a {
  color: #e4572e; /* orange-red */
  font-weight: 732;
}

a:hover {
  color: #ff8c69; /* peachy pink */
}

header,
footer {
  padding: 1rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

header img#logo {
  width: 150px;
  height: auto;
}

header nav {
  padding-bottom: 1.1rem;
}

header nav a.hamburgermenu {
  display: none;
  font-size: 2rem;
}

header nav ul {
  display: flex;
}

/* NAV TABS */
header nav ul li a {
  background-color: #e8b7c7; /* vintage pink */
  color: #e4572e;
  padding: 1em;
  border-radius: 0.5em;
  display: block;
  text-decoration: none;
  box-shadow: 4px 4px 8px rgba(120, 120, 120, 0.35);
  transition: all 0.2s ease;
}

header nav ul li a:hover {
  background-color: #f3d1db;
  color: #ff8c69;
}

header nav ul li ul {
  flex-direction: column;
  display: none;
}

header nav ul li:hover ul {
  display: flex;
  position: absolute;
}

section {
  display: flex;
  flex-wrap: nowrap;
  padding: 1rem;
}

body.home section,
body.gallery section {
  flex-wrap: wrap;
}

main {
  width: 66%;
}

body.home main,
body.gallery main {
  width: 100%;
}

body.gallery main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

body.gallery section.introtext {
  width: 100%;
  flex-direction: column;
}

/* UPDATED FIGURE BACKGROUND */
figure {
  padding: 1em;
  background: #cfe8f7; /* baby blue */
  border-radius: 0.5em;
  width: 33%;
  box-shadow: 4px 4px 8px rgba(120, 120, 120, 0.25);
}

body.gallery figure a {
  text-decoration: none;
  color: black;
}

main ul {
  list-style: disc;
  margin-left: 2rem;
}

main ol {
  list-style: decimal;
  margin-left: 2rem;
}

aside {
  width: 34%;
}

body.home aside {
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 133;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
}

p {
  margin-bottom: 1rem;
}

@media screen and (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header img#logo {
    width: 80px;
  }

  header nav {
    padding-bottom: 0;
    width: 100%;
  }

  header nav a.hamburgermenu {
    display: block;
    text-decoration: none;
    color: black;
  }

  header nav > ul {
    flex-direction: column;
    display: none;
  }

  header nav > ul.show {
    display: flex;
  }

  header nav ul li:hover ul {
    display: flex;
    position: relative;
  }

  header nav ul li ul li a {
    margin-left: 1em;
  }

  section {
    flex-wrap: wrap;
    padding: 1rem;
  }

  main {
    width: 100%;
  }

  aside {
    width: 100%;
  }
}
