@font-face{
  font-family: ztbrososkon90s;
  src: url(/stylesheets/fonts/ZTBrosOskon90s-Regular.woff2);
}

@keyframes fade-in{
  0% {opacity: 0;}
  100% {opacity: 1;}
}

*{
  box-sizing: border-box;
  image-rendering: pixelated;
  margin: 0;
  cursor: url(/images/about/default-cursor.png), auto;
}

a *, a, button *, button{
  cursor: url(/images/about/default-pointer.png), pointer;
}

::selection{
  color: #b4b4b4;
  background: transparent;
}

body{
  background-color: #ffffff;
  color: #000000;
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-family: ztbrososkon90s, 'Times New Roman', sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
  opacity: 0;
  animation: fade-in 1s steps(8, end) forwards;
  animation-delay: 0.5s;
}

.fc, .fr{
  position: relative;
  display: flex;
  gap: 1em;
}

.fc{flex-direction: column;}
.fr{flex-direction: row;}

.tab:not(:target){display: none !important}
.tab{animation: fade-in 0.3s steps(3, end);}

main{
  gap: 0 !important;
}

section, nav{
  width: 225px;
}

section{
  justify-content: center;
  text-align: center;
  align-items: center;
}

aside{
  position: relative;
  user-select: none;
}

nav a{
  position: absolute;
  padding: 0 0.5em;
}

a{
  white-space: nowrap;
  color: #000000;
  font-size: 14px;
  font-weight: bold;
  text-decoration: 1px underline dotted;
  transition: all 0.2s steps(2, end);
}

button{
  width: fit-content;
  font-family: ztbrososkon90s, 'Times New Roman', sans-serif;
  color: #000000;
  letter-spacing: 1px;
  background: none;
  padding: 0 0.5em;
  border: 0;
  transition: all 0.2s steps(2, end);
}

nav a:hover, button:hover, button.playing{
  color: #ffffff;
  background: #000000;
  transform: translateX(4px);
}

#nav-general{top: -2px; left: -55px;}
#nav-site{ top: 15px; left: 45px;}
#nav-expand{top: 103px; left: 35px;}
#nav-favs{bottom: 135px; left: 18px;}
#nav-home{bottom: 12px; left: 8px;}

footer{
  margin-top: 2em;

  span{
    position: absolute;
    font-size: 13px;
    top: 47px;
    right: 67px;
  }

  button{
    position: absolute;
    font-size: 12px;
    top: -3px;
    left: 75px;
  }
}

#clock{
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 0.25em;
}

/* sections */

#general{padding: 2em 0 0 2em;}
#the-site{padding: 2.5em 1em 0 0;}
#expanded{padding: 2em 1em 0 0;}

#favourites{
  position: relative;
  left: -65px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.25em;
  padding: 2.5em 0 0 0;

  .fc{
    gap: 0.25em;
  }

  img{
    width: 60px;
    border: 1px dotted #646464;
    filter: saturate(0) contrast(1.75);
    transition: all 0.2s steps(2, end);
  }
}

#favourites img:hover{
  filter: none;
}

#outlinks{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25em;
  height: fit-content;
  margin-top: 1em;

  a img{
    display: block;
  }
}

/* decor */

pre, .decor{
  position: absolute;
  user-select: none;
  pointer-events: none;
}

pre{
  z-index: -1;
  font-family: Arial, sans-serif;
  letter-spacing: -1px;
  line-height: 1.35;
  font-size: 10px;
}

#pre1{bottom: -55px; left: -65px;}
#pre2{top: -70px; left: -75px;}
#pre3{bottom: 20px; right: -90px;}

#frame-photo{
  position: absolute;
  z-index: 1;
  right: 0;
}

#frame{
  z-index: 2;
  pointer-events: none;
}

#locket{
  z-index: 3;
  bottom: -5px;
  right: -5px;
}