@font-face {
  font-family: title-font;
  /* src: url(./assets/Oswald-VariableFont_wght.ttf); */
  /* src: url(./assets/Poison-Regular.ttf); */
  src: url(./assets/JosefinSans-VariableFont_wght.ttf);
}

@font-face {
  font-family: main-font;
  src: url(./assets/Poison-Regular.ttf);
}

* {
  box-sizing: border-box;
}

body {
  font-family: main-font;
  margin: 0;
  padding: 0;
}

nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: calc(100vh - 5rem);
  justify-content: center;
  padding-top: 5rem;

  .name {
    font-family: title-font;
    margin: 0;
    font-size: 3rem;
    letter-spacing: 0.3rem;
    margin-bottom: 0.2rem;
    font-weight: bold;
    color: #444;
  }

  .tagline {
    display: flex;
    gap: 0.5rem;
    font-size: 1rem;
    margin: 0;
    color: #888;

    p {
      margin: 0;
    }

    hr {
      margin: 0;
      height: 1rem;
    }
  }
}

main {
  position: relative;
  margin-bottom: 40rem;

  .side {
    position: absolute;
    background-color: #EEE;
    width: 80%;
    right: 0;
    top: 20rem;
    height: 100%;
    z-index: -1;
  }

  .content {
    height: 100vh;
    background-color: #F4F4F4;
    margin-right: 20vw;
    margin-bottom: 20rem;
  }
}

footer {
  background-color: #fff;
  position: sticky;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  z-index: 1000;
  height: 5rem;
  padding: 0 2rem;

  .name {
    font-family: title-font;
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    margin-right: 0.5rem;
    font-weight: bold;
    color: #444;
  }

  .tagline {
    display: flex;
    gap: 0.5rem;
    font-size: 0.8rem;
    margin: 0;
    color: #888;
    align-items: flex-end;

    p {
      margin: 0;
    }

    hr {
      margin: 0;
      height: 0.9rem;
    }
  }

  .pages {
    flex-grow: 1;
  }

  .socials {
    display: flex;

    .link {
      display: flex;
      padding: 0.2rem;
      height: 1.4rem;

      img {
        filter: drop-shadow(100vw 0 0 #888);
        transform: translateX(-100vw);
      }
    }

    .link:hover img {
      filter: drop-shadow(100vw 0 0 #444);
    }
  }
}
