/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

MAIN COLOR: #3F4773
  TINTS: 
GRAY COLOR 1: #c74c5d
  TINTS: 
GRAY COLOR 2: ##F7F7F2
  TINTS: 
HIGHLIGHT COLOR: #c74c5d

ICON PACK: 
*/

:root {
  --main-col: #3F4773;
  --gray-1: #C74C5D;
  --gray-2: #F7F7F2;
  --gray-2-alt: #F7F7F2ca;
  --highlight-col: #C74C5D;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  background-color: var(--gray-2);
  color: var(--gray-1);
  display: grid;
  grid-template-rows: 64px 1fr;
  grid-template-columns: auto;
  height: 100vh;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: solid 4px var(--gray-1);
}

nav {
  height: 100%;
}

.quick-links > ul {
  display: flex;
  width: 30vw;
  align-items: center;
  height: 100%;
  list-style: none;

  li {
    height: 100%;
    font-size: 18px;
    font-weight: bold;
    padding: 18px 24px;
    box-shadow: inset 0 0px 0 -1px var(--gray-1);
    transition: box-shadow .15s ease-in-out;

    &:hover {
      box-shadow: inset 0 -62px 0 -1px var(--gray-1);
      color: var(--gray-2);
      cursor: pointer;
    }
  }

  a, a:hover, a:visited {
    color: inherit;
    text-decoration: none;
  }
}

main {
  /* background-color: var(--main-col); */
  background-image: linear-gradient(145deg, var(--main-col) 0 75%, var(--highlight-col) 75% 80%, var(--main-col) 80% 100%);
  color: var(--gray-2);
  padding: 0 20%;
  
  & p {
    font-size: 14px;
    line-height: 1.5em;
    letter-spacing: .07em;
  }

  overflow-y: scroll;
  scroll-behavior: smooth;
  scrollbar-color: var(--gray-2) transparent;
  scrollbar-width: thin;
  scroll-snap-type: y proximity;
}

.subsection {
  padding: 20vh 0;
  margin-bottom: 12vh;
}

#bio {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  grid-template-rows: 1.8fr 1fr;
  column-gap: 48px;
  

  & .traits > li {
    display: inline-block;
    color: var(--gray-2);
    background-color: var(--highlight-col);
    padding: 6px 8px;
    border-radius: 24px;
    font-weight: 500;
    margin-right: 5px;
    transition-duration: .35s;

    &:hover {
      cursor: pointer;
      box-shadow: 0 2px 8px #dd6e7daa;
      transform: translateY(-5px);
    }
  }
}

.profile-left {
  grid-row: 1 / 3;
  grid-column: 1;
  font-size: 18px;
  text-align: center;

  & > * {
    margin-bottom: 8px;
  }

  & p:nth-of-type(1) {
    font-size: 22px;
    text-decoration: underline;
    font-weight: 500;
  }
}

.profile-main {
  grid-row: 1;
  grid-column: 2 / 4;

  h2 {
    margin-bottom: 8px;
  }

  p {
    margin-bottom: 8px;
  }
}

.profile-sub {
  h3 {
    margin-bottom: 8px;
  }

  ul {
    margin-left: 24px;
    li {
      margin-bottom: 4px;
    }
  }
}

.pfp {
  height: 200px;
  border-radius: 50%;
  border: solid 2px var(--highlight-col);
  margin-bottom: 12px;
}

.subsection-entry {
  margin: 12px 0;

  .entry-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    letter-spacing: .09em;
  }

  h3 > a, h3 > a:visited {
    color: inherit;
    text-decoration: none;
  }

  h3 > a:hover {
    text-decoration: underline;
  }

  .entry-body {
    letter-spacing: .07em;
    padding: 0 8px;
    display: flex;
    justify-content: space-between;

    ul {
      margin-left: 24px;

      li {
        margin-bottom: 4px;
        letter-spacing: .04em;
        color: var(--gray-2-alt);
      }
    }

    img {
      margin-left: 18px;
      max-width: 30%;
      aspect-ratio: initial;
      align-self:flex-start
    }
  }
}

/* SVG Icons */
.socials {
  & a, a:hover, a:visited {
    text-decoration: none;
  }
}

.social {
  height: 36px;
  width: 36px;
}