/* || General setup */

:root {
    --clr-dark: #070a13
    --clr-light: #f1f5f9
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  font-size: 10px;
}

body {
  width: 70%;
  margin: 0 auto;
   background-color: var(--clr-light);
   color: var(--clr-dark);
}

/* || typography */

h1, h2, h3 {
  font-family: 'Sonsie One', cursive;
  color: var(--clr-dark);
}

p, input, li {
  font-family: 'Open Sans Condensed', sans-serif;
  color: var(--clr-dark);
}

h1 {
  font-size: 4rem;
  text-align: center;
  color: var(--clr-dark);
  text-shadow: 1px 1px 3px black;
}

h2 {
  font-size: 3rem;
  text-align: center;
}

h3 {
  font-size: 2.2rem;
}

p, li {
  font-size: 1.6rem;
  line-height: 1.5;
}

/* || header layout */

nav, article, aside, footer {
  background-color: #bebebe;
  padding: 1%;
}

nav {
  height: 50px;
  background-color: var(clr-light);
  display: flex;
  margin-bottom: 10px;
}

nav ul {
  padding: 0;
  list-style-type: none;
  flex: 2;
  display: flex;
}

nav li {
  display: inline;
  text-align: center;
  flex: 1;
}

nav a {
  display: inline-block;
  font-size: 2rem;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--clr-dark);
}

nav form {
  flex: 1;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 2em;
  color: white;
}

input {
  font-size: 1.6rem;
  height: 32px;
}

input[type="search"] {
  flex: 3;
}

input[type="submit"] {
  flex: 1;
  margin-left: 1rem;
  background: #333;
  border: 0;
  color: var(clr-light);
}

/* || main layout */

main {
  display: flex;
}

article {
  flex: 4;
}

aside {
  flex: 1;
  margin-left: 10px;
  background-color: var(clr-light);
}

aside li {
  padding-bottom: 10px;
}

footer {
  margin-top: 10px;
}

.dark-mode {
    --clr-light: #070a13;
    --clr-dark: #f1f5f9;
}