@font-face {
    font-family: "PixelWarden";
    src: url("/font/PixelWarden.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "CemetaryIcons";
    src: url("/font/CemetaryIcons.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    margin:0;
    background-color: black;
    overflow:hidden;
    font-family: "PixelWarden"!important;
}
*{font-family: "PixelWarden"!important;}

#ditherCanvas {
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100vh;
    -webkit-filter:brightness(.6);
    filter: brightness(.6);  
    mask-image: gradient(linear, left bottom, left top, from(transparent), color-stop(35%, #000));
    mask-image: linear-gradient(to top, transparent, #000 35%);
    -webkit-mask-image: gradient(linear, left bottom, left top, from(transparent), color-stop(35%, #000));
    -webkit-mask-image: linear-gradient(to top, transparent, #000 35%);
}

.grass {
    position:absolute;
    bottom:0;
    z-index:1;
    height:180%;
    width:200vw;
    filter:brightness(0.65);
    image-rendering:pixelated;
}

footer {
    width: 10%;
    position: absolute;
    top: 0;
    left: 0;
    padding:10px 15px;
    color: rgb(201, 201, 201);
    font-family: sans-serif;
    z-index:9!important;
    font-size: 14px;
    text-shadow: black 1px 0 20px;
    & a{
        color:rgb(201, 201, 201);
        transition: color ease-in-out 0.2s;
        text-shadow: black 1px 0 20px;

        &:hover {
            color:rgb(255, 255, 255);
        }
    }
}

.pageTitle {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 9999!important;
    color: white;
    font-family: 'Times New Roman', Times, serif;
    font-size: 28px;
    text-shadow: black 1px 0 20px;
}

.pageTitle .profile-np a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
}

.group-links a{
  transition:all ease-in-out 0.5s!important;
  opacity:0.5
}
.group-links a:hover {
  opacity:0.8;
}

.profile-np {
    margin-top: 30px;
    font-size: 15pt;
    font-style: italic;
    opacity: 0.5;

    & a{
        text-shadow: black 1px 0 20px;
    }
}

.scene-fade {
  transition: opacity .6s ease;
}
.scene-fade.out {
  opacity: 0;
  pointer-events: none;
}

.page {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  opacity: 0;
  transition: all .6s ease;
  pointer-events: none;
  display:flex;
  flex-direction: row;
  gap:10px;
}

.page.in {
  opacity: 1;
  pointer-events: auto;
}

.page-pfp {
  height: 500px;
  width: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #444;
  image-rendering: pixelated;
}

.page-pfp img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: cover;
}

.page-bio {
  position: relative;
  width: 400px;
  border: 1px solid #444;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding:15px;
  height:469px;
  backdrop-filter: brightness(30%) blur(0.65px);
}

.page-name {
  font-weight: normal;
  margin: 0;
  text-align: left;
}

.page-desc {
    margin:0;
    margin-top:5px;
    color:#939393;
    font-style: italic;
    font-family:'Times New Roman', Times, serif!important;
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0),#444,rgba(255,255,255,0));
  margin: 10px 0;
  width:100%;
}

.page-header {
    margin:0;
    margin-top:5px;
    font-size:14px;
    color:#585858;
    font-style: italic;
    font-family:'Times New Roman', Times, serif!important;
}

.page-interest, .page-link {
    margin:0;
    font-size:13px;
    color:#acacac;
    font-family:'Times New Roman', Times, serif!important;
    font-style:italic;

    &.copy-link {
        text-decoration: underline!important;
        cursor:pointer;
    }
}

.page-return {
  position: fixed;
  bottom: 10px;
  right: 10px;
  height: 30px;
  width: 90px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #444;
  font-family: 'Times New Roman', Times, serif!important;
  font-style: italic;
  color: #acacac;
  cursor: pointer;
  transition: all .6s ease;

  & span {
    font-family: 'Times New Roman', Times, serif!important;
    font-style: italic;
  }

  &:hover {
    background-color: #4444446b;
  }
}

.music-player {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-family: 'Times New Roman', Times, serif;
  z-index: 9999;
}

.music-player button {
  background: none;
  border: none;
  color: #7d7d7d;
  font-size: 12px;
  position: relative;
  top: 14px;
  cursor: pointer;
  transition: color .6s ease;

  &:hover {
    color:white;
  }
}

.progress-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.progress-container {
  width: 100%;
  height: 4px;
  border: 1px solid #7d7d7d;
  position: relative;
  margin-top: 4px;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background-color: #7d7d7d;
}

.song-title {
  font-size: 14px;
  text-align: center;
  min-width: 100px;
  margin-bottom:7px;
  color:#7d7d7d;
}

.page-bio hr.bottom-hr {
  position: absolute;
  bottom: 42px;
  left: 0;
  width: 100%;
  border: none;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0), #444, rgba(255,255,255,0));
}


@media (max-width: 768px) {
    footer{width:100%;}
    .music-player {
        margin-top:20px;
    }
    body.page-open {
        overflow:scroll!important;
    }
  .page {
    flex-direction: column;
    padding: 0 1rem;
    gap: 1rem;
  }
  .page-pfp,
  .page-bio {
    width: 100%;
    max-width: 400px;
    position:relative;
    top:205px;
    height: 100%!important;
  }
  .page-pfp img {
    width:100%;
  }
}

#enterOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.429);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  cursor: pointer;
  transition: opacity .6s ease;
}

#enterOverlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.enter-text {
  color: white;
  font-size: 20px;
  text-shadow: black 0 0 20px;
  letter-spacing: 1px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: .6; }
  50% { opacity: 1; }
}


/* Firefox (uncomment to work in Firefox) */
/* * {
  scrollbar-width: thin;
  scrollbar-color: #C9C9C9 #DFE9EB;
} */

/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
  height: 10px;
  width: 1px;
}

*::-webkit-scrollbar-track {
  border-radius: 0px;
  background-color: transparent;
}

*::-webkit-scrollbar-track:hover {
  background-color: transparent;
}

*::-webkit-scrollbar-track:active {
  background-color: transparent;
}

*::-webkit-scrollbar-thumb {
  border-radius: 0px;
  background: linear-gradient(to top, rgba(255,255,255,0),#444,rgba(255,255,255,0));
}
