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

/* -- Colors -- */

:root {
  --bg: hsl(240, 100%, 95%);
  --bg2: hsl(230, 100%, 80%);
  --text-dark: hsl(0, 0%, 10%);
  --text-light: hsl(0, 0%, 90%);
  --emerald: hsl(240, 100%, 25%);
  --gold: hsl(45, 65%, 50%);
}

/* -- Header -- */

header {
  position: sticky;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  row-gap: 20px;
  background-color: var(--bg2);
  border-bottom: 3px solid var(--emerald);
}

h1 {
  font-size: 40px;
  padding: 0px 20px;
  border-radius: 50px;
  background-color: var(--emerald);
  color: var(--text-light);
  text-shadow: 3px 3px 3px var(--text-dark);
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  gap: 5px;
  background-color: var(--emerald);
  color: var(--bg);
  border-radius: 30px;
  box-shadow: 0px 0px 8px var(--emerald);
  text-shadow: 3px 3px 3px var(--text-dark);
  font-size: x-large;
}

nav a {
  display: flex;
  padding: 0px 12px;
  border-radius: 30px;
  color: var(--text-light);
  transition: 0.2s;
  text-decoration: none;
}

nav a:hover,
#current-page {
  background-color: var(--gold);
  text-shadow: 2px 2px 4px var(--text-dark);
}

/* -- Main -- */

body {
  background-color: var(--bg);
  color: var(--text-dark);
  font-size: large;
  font-family: 'Lexend', sans-serif;
}

main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px;
  gap: 20px;
  row-gap: 20px;
}

section {
  width: 740px;
}

card {
  display: flex;
  width: fit-content;
  height: fit-content;
  padding: 20px;
  gap: 20px;
  background-color: var(--bg2);
  border-radius: 30px;
  box-shadow: 3px 3px 5px var(--emerald);
}

.aside {
  margin: 0 0 0 auto;
}

img {
  width: 200px;
  border-radius: 15px;
  box-shadow: 3px 3px 5px var(--emerald);
}

/* -- Footer -- */

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: medium;
  padding: 15px;
  text-align: center;
}
