/* === FONTS === */
.tektur-<uniquifier> {
  font-family: "Tektur", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.share-tech-mono-regular {
  font-family: "Share Tech Mono", monospace;
  font-weight: 400;
  font-style: normal;
}


/* === GLOBAL === */
body {
  margin: 0;
  background-image: url("https://ravare.neocities.org/Images/Textures/dark-mosaic.png");
  background-color: #000;
  overflow: hidden; /* body itself does not scroll */
  height: 100vh;
}

a {
  color: #eee;
  text-decoration: none;
}

/* === SCROLL CONTAINER === */
.scroll-container {
  height: 100vh;                 /* full viewport height */
  overflow-y: auto;               /* enables vertical scrolling */
  scroll-snap-type: y mandatory;  /* enable vertical snapping */
  scroll-behavior: smooth;        /* smooth snap */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;                     /* spacing between modules */
}

/* === MODULES === */
.module-wrapper {
  min-height: 100dvh;
  scroll-snap-align: start;      /* snap to start of viewport */
  scroll-snap-stop: always;       /* prevents skipping */
  display: flex;
  flex-direction: column;
}

.module {
  position: relative;
  width: 364px;
  height: 100%;
  background-color: #eee;
  background-image: url("https://ravare.neocities.org/Images/Textures/clean-gray-paper.png");
  border: 3px solid #C09654;
  z-index: 1;
  box-shadow: 0px 0px 12px 1px #C09654,
              inset 0px 0px 8px 3px #8F7040,
              inset 0px 0px 16px 0px #8F7040;
  align-items: center;
  overflow-y: hidden;
}

.module::-webkit-scrollbar {
  display: none; /* Hides the scrollbar */
}

.module-top {
  display: block;
  height: 60px;
  width: 100%;
  background-color: #8F7040;
  text-align: center;
  font-size: 0.8rem;
  position: relative;
}

.module-top:before,
.module-top:after {
  content: "";
  background-image: url("https://ravare.neocities.org/Images/Ravare%20ReLogo_Ic_Bl.svg");
  background-repeat: no-repeat;
  background-position: center;
  width: 40px;
  height: 36px;
  top: 0;
  display: block;
  position: absolute;
  filter: invert(70%) sepia(20%) saturate(1019%) hue-rotate(358deg) brightness(85%) contrast(83%);
}

.module-top:before {
  left: -3px;
  transform: rotate(-90deg);
}

.module-top:after {
  right: -3px;
  transform: rotate(90deg);
}

.module-top h1 {
  font-family: "Tektur";
  padding-top: 4px;
  margin: 0;
  color: #CDB081;
}

 h2 {
  font-family: "Tektur";
  color: #8F7040;
}

.module-body {
  margin: 0.4rem;
  text-align: center;
  font-size: 1rem;
  max-height: 74dvh;
  overflow-y: scroll;
  margin: 20px;
  padding: 0px;
  margin-left: 40px;
}

.module-body:after {
  content: "";
  clip-path: polygon(80% 0, 100% 10%, 100% 90%, 80% 100%, 0 100%, 0 0);
  background: #C09654;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 240px;
  top: 120px;
  left: 0;
  display: block;
  position: absolute;
}

.module-body::-webkit-scrollbar {
  display: none; /* Hides the scrollbar */
}

.module-break {
  content: "";
  width: auto;
  height: 3px;
  margin: 9px;
  background: #C09654;
}

/* === TAGS === */
.tag {
  display: inline-block;
  font-family: "Share Tech Mono";
  background: #CDB081;
  padding: 4px 8px 4px 8px;
  border-radius: 4px;
  margin-top: 2px;
  margin-bottom: 2px;
}

.tag-wrapper {
  padding: 12px;;
  border-radius: 12px;
  margin: 12px 6px 12px 6px;
  background-color: rgba(204,176,129, 0.3);
  pointer-events: none;
}

.tag-desc {
  font-family: "Share Tech Mono";
  margin: 8px 0px 8px 0px;
}

.tag-group {
  display: block;
  margin-top: 12px;
  margin-bottom: 12px;
}

.primary-tag {
  font-size: 28px;
}

.display-tag {
  background: rgba(192,150,84,0.3);
  font-size: 12px;
}

.navigation-tag {
  display: block;
  font-size: 26px;
  margin: 24px;
  box-shadow: 0px -4px 0px 0px #DBC7A6,
              0px 4px 0px 0px #DBC7A6;
  transition: all 0.3s;
}

.navigation-tag:before {
  content: "";
  background-image: url("https://ravare.neocities.org/Images/Ravare%20ReLogo_Ic_Bl.svg");
  background-repeat: no-repeat;
  background-position: center;
  width: 30px;
  height: 44px;
  margin-top: -7px;
  display: block;
  position: absolute;
  transform: rotate(-90deg);
  filter: invert(70%) sepia(20%) saturate(1019%) hue-rotate(358deg) brightness(85%) contrast(83%);
  opacity: 0;
}

a:hover .navigation-tag,
a:active .navigation-tag{
  box-shadow: 0px -4px 0px 0px #C09654,
              0px 4px 0px 0px #C09654;
  transition: all 0.3s;
}

a:hover .navigation-tag:before,
a:active .navigation-tag:before {
  opacity: 1;
}
  

.alternatives-title-tag {
  font-size: 16px;
}

.alternatives-tag {
  background: rgba(192,150,84,0.3);
  font-size: 16px;
}


.map-img {
  height: 1000px;
  background-position: center;
  background-size: contain;
}


/* === MEDIA QUERY === */

@media (min-width: 576px) {
  .module {
    height: 80svh;
    margin-top: 10svh;
    margin-bottom: 10svh;
    width: 40vw;
    justify-content: center;    /* vertically center content */
  }
  
.module-top {
  display: block;
  height: 60px;
  width: 100%;
  background-color: #8F7040;
  text-align: center;
  font-size: 1.2rem;
  position: relative;
}

.module-body {
  margin: 20px;
  padding: 0px;
  margin-left: 20px;
  overflow-y: scroll;
}

.module-top:before,
.module-top:after {
  content: "";
  background-image: url("https://ravare.neocities.org/Images/Ravare%20ReLogo_Ic_Bl.svg");
  background-repeat: no-repeat;
  background-position: center;
  width: 70px;
  height:100px;
  top: -18px;
  display: block;
  position: absolute;
  filter: invert(70%) sepia(20%) saturate(1019%) hue-rotate(358deg) brightness(85%) contrast(83%);
}

.module-top:before {
  left: 12px;
  transform: rotate(-90deg);
}

.module-top:after {
  right: 12px;
  transform: rotate(90deg);
}

.module-top h1 {
  font-family: "Tektur";
  padding-top: 4px;
  margin: 0;
}

.module-body:after {
  display: none;
}

.map-module .map-img {
display: none;
}

.map-module .map {
  height: 90%;
  background-image: url("https://ravare.neocities.org/Images/Vault/VaultMap.png");
  background-size: 130%;
  background-position: center center;
}

}
