@font-face{
  font-family: coolvetica;
  src: url(/stylesheets/fonts/Coolvetica-Regular.woff2);
}

@keyframes fade-in{
  0% {opacity: 0;}
  100% {opacity: 1;}
}

*{
  box-sizing: border-box;
  image-rendering: pixelated;
  margin: 0;
}

html{
  box-shadow: inset 0 0 0 11px #f8f7f6, inset 0 0 0 13px #a19e9c;
  outline: 1px dotted #c9c7c6;
  outline-offset: -10px;
  min-height: 100vh;
}

:root{
  --outline-light:
  drop-shadow(-1px 0 0 #f8f7f6)
  drop-shadow(1px 0 0 #f8f7f6)
  drop-shadow(0 -1px 0 #f8f7f6)
  drop-shadow(0 1px 0 #f8f7f6);

  --outline-dark:
  drop-shadow(-1px 0 0 #a19e9c)
  drop-shadow(1px 0 0 #a19e9c)
  drop-shadow(0 -1px 0 #a19e9c)
  drop-shadow(0 1px 0 #a19e9c);
}

::selection{
  color: #d6bc8b;
  background: transparent;
}

::-webkit-scrollbar{
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track{
  background: transparent;
}
 
::-webkit-scrollbar-thumb{
  border: 2px solid #f8f7f6;
  background: #a19e9c;
}

::-webkit-scrollbar-thumb:hover{
  background: #b0b4b1; 
}

#s-m-t-tooltip{
  width: fit-content;
  z-index: 9999;
  font-family: Arial, sans-serif;
  font-size: 11px;
  text-align: center;
  color: #3b3734;
  background: #f8f7f6;
  border: 1px solid #b3aeaa;
  margin: 25px 5px 7px 12px;
  padding: 0.5em 0.75em;
  box-shadow: 1px 1px 0 #7c7977;
}

body{
  display: flex;
  align-items: center;
  margin-left: 5%;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  font-size: 11px;
  line-height: 1.2;
  color: #36312e;
}

main, section.tab{
  width: 350px;
  text-align: justify;
}

section, header, article, footer{
  background: #f8f7f6;
  padding: 1.25em;
  border: 1px solid #a19e9c;
  outline: 1px dotted #c9c7c6;
  outline-offset: -3px;
  box-shadow: 1px 1px 0 #7c7977;
}

#landing, section.tab{
  height: 585px;
}

section.tab{
  overflow-y: auto;
}

#landing section{
  max-height: 320px;
  overflow-y: auto;
}

header{
  position: relative;
  user-select: none;
  pointer-events: none;

  img{
    display: block;
    border: 1px solid #c9c7c6;
    width: 100%;
    height: 225px;
  }
}

h1{
  position: absolute;
  bottom: 0.3em;
  right: 0.5em;
  color: #f8f7f6;
  text-shadow: -1px -1px 0 #575554, 1px -1px 0 #575554, -1px 1px 0 #575554, 1px 1px 0 #575554;
  font-family: coolvetica, sans-serif;
  font-weight: normal;
  letter-spacing: 1px;
  font-size: 38px;
}

h2{
  padding: 0.1em 0.5em;
  color: #f8f7f6;
  text-shadow: -1px -1px 0 #575554, 1px -1px 0 #575554, -1px 1px 0 #575554, 1px 1px 0 #575554;
  font-family: coolvetica, sans-serif;
  font-weight: normal;
  font-size: 16px;
  letter-spacing: 1px;
  text-align: center;
  user-select: none;
}

footer{
  font-size: 10px;
  justify-content: space-between;
}

nav a, button, #return a{
  text-align: center;
  background: #f8f7f6;
  border: 1px solid #a19e9c;
  outline: 1px dotted #c9c7c6;
  outline-offset: -3px;
  color: #36312e;
  font-family: coolvetica, sans-serif;
  font-size: 12px;
  text-decoration: none;
  box-shadow: 1px 1px 0 #7c7977;
  transition: all 0.1s;
  padding: 0.35em 0.75em;
}

nav a{
  flex: 1;
}

button{
  flex: 0;
  width: fit-content;
}

#return{
  position: fixed;
  top: 20px;
  left: 20px;
  font-weight: bold;
  gap: 0.35em;

  a{
    padding: 0.35em 0.5em;
  }
}

#return a:hover{
  color: #a19e9c;
}

nav a:hover, button:hover, button.playing{
  cursor: pointer;
}

.fc, .fr{
  position: relative;
  display: flex;
  gap: 1em;
}

.fc{
  flex-direction: column;
}

.title{
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  padding: 0 0.25em 0.25em 0.25em;
}

.note{
  position: relative;
  z-index: 998;
  font-size: 10px;
  padding: 0.5em;
  width: 150px;
  height: 150px;
  box-shadow: 1px 1px 0 #7c7977;
  transition: all 0.2s;

  > div:nth-child(1){
    background: url(/images/other/t-twill-transparent.png);
    background-color: #fcfbfa;
    border: 1px solid #a19e9c;
    outline: 1px dotted #c9c7c6;
    outline-offset: -3px;
    padding: 1em;
    height: 100%;
    gap: 0.35em;
    overflow-y: auto;
  }
}

.tape{
  position: absolute;
  z-index: 999;
  top: -7px;
  left: 35px;
  width: 70px;
  height: 15px;
  box-shadow: 1px 1px 0 #7c7977;
}

.tree ul{
  position: relative;
  list-style-type: none;
  padding-left: 2.5em;

  li:last-child::after{
    height: 3px;
  }
}

.tree li{
  position: relative;
  padding: 0 0 2px 13px;

  &::before{
    content: " ";
    position: absolute;
    border-top: 1px dotted #a19e9c;
    width: 18px;
    top: 6px;
    left: -10px;
  }

  &::after{
    content: " ";
    position: absolute;
    border-left: 1px dotted #a19e9c;
    height: 100%;
    top: 2px;
    left: -10px;
  }
}

a{
  color: #7d9eb3;
  text-decoration: 1px underline dotted;
}

a:hover{
  color: #b0c8d6;
}

hr{
  border: 0;
  border-top: 1px dotted #c5c2c0;
  margin-bottom: 0.25em;
}

.sec-divider{
  padding: 0.1em 0.5em;
  user-select: none;
}

.decor{
  position: absolute;
  user-select: none;
  pointer-events: none;
  filter: var(--outline-dark);
}