body{
  margin: 0 3.75em;
  animation: fade-in 0.25s steps(3);
}

main{
  display: flex;
  padding: 2.5em 0;
  height: 100vh;
  gap: 2.5em;
}

aside{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1em;
  width: 245px;
  font-size: 9px;
}

p:first-of-type{margin-top: 0;}
p:last-of-type{margin-bottom: 0;}

/* sections */

section img, video{
  width: 100%;
  border: 1px dotted #bcbcbd;
  margin-bottom: 1em;
  filter: saturate(0.5);
  transition: filter 0.25s steps(3);
}

section img:hover, video:hover{
  cursor: grab;
  filter: none;
}

.multi{
  display: flex;
  gap: 1em;
}

#rants, #keepsakes, #entries{
  overflow: auto;
}

#rants{
  width: 500px;
  padding: 0.5em 1.25em;
  flex-shrink: 0;

  span{
    margin: 3px 0 0 0;
  }

  li:not(:last-of-type){
    margin-bottom: 1em;
  }
}

.rant-date{
  display: flex;
  justify-content: space-between;
}

#entries{
  width: 475px;
  padding: 0 1.25em;
  overflow: auto;
  flex-shrink: 0;
}

#keepsakes{
  flex: 1;
  min-width: 350px;
  columns: 200px;
  column-gap: 2.5em;
  padding: 0.5em 1.25em;
  text-align: left;
  overflow: auto;

  > div{
    break-inside: avoid;

    > div{
      max-height: 250px;
      padding-right: 1em;
      overflow-y: auto;
    }
  }

  div:not(:last-of-type){
    margin-bottom: 2.5em;
  }
  
  hr{
    margin: 0.5em 2.5em;
  }
}

table{
  table-layout: fixed;
  font-size: 10px;
  width: 100%;

  tr{
    padding: 0;
    line-height: 0.9;

    td:nth-child(1), td:nth-child(3){
      font-size: 10px;
    }

    td:nth-child(2){
      width: 85%;
      padding: 0 0.75em;
      white-space: nowrap;
      overflow-x: hidden;
      text-overflow: ellipsis;
    }
  }
}

ul{
  margin: 0;
  padding-left: 20px;
}

#rants span, .post > span{
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-style: italic;
  margin-bottom: 0.75em;

  span{
    margin: 0 0.5em;
  }

  &:not(a){
    color: #bcbcbd;
  }

  a{
    font-family: Arial, sans-serif;
    font-size: 9px;
    font-style: italic;
    color: #98a5af;
    margin-left: 2em;
  }

  a:hover{
    color: #b9c3ca;
  }
}

/* aside */

#jump{
  position: relative;
  background: url(/images/candid/jump.png) center no-repeat;
  height: 345px;
  border: 1px dotted #bcbcbd;

  &::before{
    content: "";
    z-index: 3;
    position: absolute;
    pointer-events: none;
    top: -100px;
    left: -125px;
    background: url(/images/candid/jump2.png) center no-repeat;
    width: 395px;
    height: 515px;
  }
}

#from{
  z-index: 1;
  top: -25px;
  left: -27px;
  font-size: 55px;
  letter-spacing: -5px;
  transform: scaleY(2);
}

#the{
  z-index: 2;
  top: 25px;
  left: 45px;
  font-size: 40px;
  letter-spacing: -3px;
  transform: scaleY(1.95);
}

#heart{
  z-index: 1;
  top: -10px;
  right: -18px;
  font-size: 60px;
  letter-spacing: -7px;
  writing-mode: sideways-rl;
  transform: scaleX(1.75);
}

#jump div{
  position: absolute;
  bottom: 104px;
  left: 1em;
  width: 100px;
  text-align: left;
  text-shadow: 1px 1px #fff, -1px -1px #fff, -1px 1px #fff, 1px -1px #fff;
}

lastfm-tracks {
  box-sizing: border-box;
  height: 184px;
  animation: fade-in 0.25s steps(3);
}

#consume{
  display: flex;
  gap: 1em;
  overflow-x: auto;
  padding-bottom: 0.5em;

  > div{
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 1em;
    width: 245px;
  }

  hr{
    margin: 1em 0;
  }
}

#consume img{
  filter: saturate(0.25);
  margin: 0;
  transition: filter 0.2s steps(3);
}

#consume img:hover{
  cursor: grab;
  filter: none;
}

#listening p{
  margin: 0.5em;

  span{
    color: #bcbcbd;
    font-family: Arial, sans-serif;
    font-style: italic;
  }
}

#listening img{width: 100px;}
#reading img{width: 70px;}