@keyframes fade-in{
  0% {opacity: 0;}
  100% {opacity: 1;}
}

@keyframes fade-out{
  0% {opacity: 1;}
  100% {opacity: 0;}
}

*{
  box-sizing: border-box;
  image-rendering: pixelated;
  scrollbar-width: thin;
  scrollbar-color: #29272575 transparent;
}

::selection{
  background: #292725;
  color: #fff;
}

#s-m-t-tooltip{
  width: fit-content;
  z-index: 9999;
  background-color: #fff;
  border: 1px dotted #646362;
  font-family: Arial, sans-serif;
  font-size: 10px;
  text-align: center;
  max-width: 275px;
  padding: 0.5em 0.75em;
  margin: 10px 5px 7px 8px;
}

body{
  background: #fff;
  color: #292725;
  font-family: 'Times New Roman', sans-serif;
  font-size: 12px;
  text-align: justify;
  line-height: 1.1;
}

nav{
  z-index: 999;
  position: absolute;
  display: flex;
  flex-direction: column;
  color: #98a5af;
  font-size: 10px;
  line-height: 1.25;
  text-shadow: 1px 1px #fff, -1px -1px #fff, -1px 1px #fff, 1px -1px #fff;

  span{
    font-family: Arial, sans-serif;
    font-size: 9px;
    text-decoration: 1px dotted underline;
  }
}

h1, h2, h3{
  text-align: right;
  user-select: none;
  pointer-events: none;
  color: #fff;
  font-family: Arial, sans-serif;
  text-shadow: 1px 1px 0 #636464, -1px -1px 0 #636464, -1px 1px 0 #636464, 1px -1px 0 #636464;

  span{
    display: inline-block;
    font-family: 'Times New Roman';
    letter-spacing: -10px;
  }
}

h1{
  position: absolute;
  margin: 0;
}

h2{
  font-size: 18px;
  margin: 0.5em 0;
}

h3{
  font-size: 14px;
  margin: 0 0 0.75em 0;
  transform: scaleY(1.25);
  word-spacing: 3px;
  letter-spacing: -1px;
}

.tab:target{
  animation: fade-in 0.25s steps(3);
  outline: none !important;
  border: none !important;
}

.tab:not(:target){
  display: none !important;
}

a{
  color: #5c8092;
  text-decoration: 1px underline dotted #9b9998;
  letter-spacing: 1px;
}

a:hover{
  color: #9b9998;
}

nav a{
  color: #292725;
}

ul{
  list-style-type: circle;

  ul{
    color: #bcbcbd;
    list-style-type: disc;
  }
}

hr{
  border: 0;
  border-top: 1px dotted #e0e0e0;
  margin: 1.5em 2.5em;
}

#back{
  position: fixed;
  top: 2em;
  left: 2em;
  color: #fff !important;
  font-family: Arial, sans-serif;
  font-weight: bold;
  text-shadow: 1px 1px 0 #636464, -1px -1px 0 #636464, -1px 1px 0 #636464, 1px -1px 0 #636464;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.2s steps(2);
}


#back:hover{
  transform: translateX(-3px);
}