@import url("https://fonts.googleapis.com/css2?family=Raleway&display=swap");

:root {
  --bg-color: #f0f0f0;
  --fg-color: #01000a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg-color: #f0f0f0;
    --bg-color: #01000a;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Raleway", sans-serif;
  background-color: var(--bg-color);
  color: var(--fg-color);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px;

    #logo {
      font-size: 2em;
    }

    nav ul {
      list-style: none;
      display: flex;
      justify-content: left;
      align-items: center;
      gap: 20px;
    }
  }

  h1 {
    text-align: center;
  }

  footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px;

    #copyright {
      font-size: 0.8em;
    }

    aside .icon svg {
      stroke: var(--fg-color);
      fill: var(--fg-color);

      width: 32px;
      height: 32px;
    }
  }
}
