* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: white;
  line-height: 1.5em;
  font-weight: normal;
  font-family: Palatino;
}

:root {
  font-size: calc(1rem + 0.3vw);
  --primary: rgb(255, 195, 80);
}

h1,
h2,
h3,
h4 {
  text-align: center;
}

h1 {
  margin-bottom: 2em;
}

h2 {
  margin-top: 3em;
  scroll-margin-top: 5em;
}

h3 {
  margin-top: 1em;
}

a {
  transition: .3s;
}

a:hover {
  color: var(--primary);

  svg {
    fill: var(--primary);
  }
}

a[target="_blank"]::after {
  content: '⇱';
  transform: scale(-1, 1);
  display: inline-block;
}

svg {
  fill: white;
  transition: .3s;
}

html {
  width: 100%;
  height: 100%;
}

body {
  height: 100%;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;

  p {
    margin: 1.5em;
    text-align: justify;
  }

  li {
    margin: .5em 1.5em;
  }

  div {
    width: 100%;
    max-inline-size: 60ch;
    margin: 7em auto 10em auto;
    box-sizing: content-box;
    box-shadow: 0 0 70px 90px rgba(0, 0, 0, .5);
    background-color: rgba(0, 0, 0, .5);
  }
}

nav {
  z-index: 1;
  padding: .5em;
  font-size: 130%;
  position: fixed;
  background: black;
  width: 100%;

  ul {
    display: flex;
    list-style: none;
  }

  li {
    flex-grow: 1;
    text-align: center;
  }
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: black;

  p {
    text-align: center;
    margin: .5em;
  }

  small {
    margin: .5em;
  }

  svg {
    position: absolute;
    right: 1em;
    top: .5em;
  }
}

.bg-image {
  min-height: 100%;
  min-width: 100%;
  background: url("background.png"), black;
  z-index: -1;
  position: fixed;
  background-position: 75% 25%;
  background-size: cover;
}

.layout {
  position: absolute;
  width: 100%;
}