@import url("../../globals.css");

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  25% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

html {
  background: black !important;
}
body {
  background: transparent !important;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

canvas[data-engine] {
  background: black !important;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none !important; 
  z-index: -1 !important; 
}

canvas[data-engine].vfx-ready {
  opacity: 1;
  pointer-events: none !important; 
  z-index: -1 !important;
}

body > div:not(.crt):not(.buttons-container):not(.navbar) {
  pointer-events: none !important;
}

.button-hitbox,
.shader-button-container button {
  pointer-events: auto !important;
  z-index: 99999 !important;
  position: absolute !important;
}


body.vfx-ready {
  animation: fadeIn 0s ease-in-out 0.1s forwards;
}

h1 {
  opacity: 0; 
}

h2 {
  opacity: 1;
  color: white;
}

hr.shader-hr {
  border: 1px solid white;
  width: 100%;
  margin-top: 14rem;
  opacity: 0;
}

.buttons-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin: auto;
  pointer-events: none; 
  position: relative;
  z-index: 1;
}

.shader-button-container {
  position: relative;
  width: fit-content;
  height: fit-content;
  margin: 0;
  padding: 0.15em 0.25em; 
  text-align: center;
  line-height: 1;

  opacity: 1; 
  visibility: visible;
  color: white; 


  background: transparent;
  border: 3px solid rgba(255, 255, 255, 0.3); 
  box-sizing: border-box;


  display: flex;
  align-items: center;
  justify-content: center;


  z-index: 1000;


  pointer-events: none;
}


.buttLarge {
  font-size: 25px;
}

.buttSmall {
  font-size: 15px;
}

.buttMedium {
  font-size: 18px;
}


.shader-button-container .button-hitbox,
.shader-button-container button {

  position: absolute !important;
  top: -1rem;
  bottom: -1rem;
  left: -3rem;
  right: -3rem;

  opacity: 0 !important;
  visibility: visible !important;
  color: transparent !important;
  background: transparent !important;
  border: none !important;

  cursor: pointer !important;
  pointer-events: auto !important;

  box-sizing: border-box;
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;

  z-index: 99999 !important;
}

.home-hero {
  margin: auto;
  display: flex;
  width: 80%;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  margin-top: -1rem;
}

@media screen and (max-width: 1550px) {
  .home-hero {
    padding-top: 3rem;
  }
}

#main {
  padding: 30vw 0;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.hero-title {
  font-family: monospace;
  font-size: 3rem;

  display: inline-block;
  width: auto;
  max-width: 100%;
  white-space: nowrap;

  text-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
  word-wrap: nowrap;

  padding: 0 1rem; 
  box-sizing: content-box;

  margin-top: -50px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .hero-title {
    font-size: clamp(1rem, 8vw, 1.5rem);
    margin-top: -70px;
    white-space: normal;
    word-wrap: nowrap;
    max-width: 100%;
    padding: 0 0.5rem;
  }
  .home-hero {
    width: 100%;
    max-width: 100vw;
    padding: 1.5rem 1rem 0 1rem;
    box-sizing: border-box;
  }
}

.some-section {
  width: 100%;
  padding: 4rem 2rem;
  margin: 5rem auto; 
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.some-container {
  max-width: 80%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.some-title {
  font-size: clamp(18px, 2vw, 24px);
  color: white;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 0.2rem;
  width: 100%;
}

.some-playlist {
  width: 180px; 
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.some-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.some-rectangle {
  width: 100px;
  height: 100px;
  background: rgba(128, 128, 128, 0);
  border-radius: 8px;
}

.some-songtitle {
  font-size: 0.85vw;
  margin-top: -55px;
  margin-left: -10px;
}

.some-playbutton {
  font-size: 5px;
  position: relative;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-left: 100px;
  margin-top: -50px;
}

img {
  width: 100%;
  height: 100%;
  z-index: 5;
  margin: auto;
}

div {
  opacity: 0;
}

div.show {
  opacity: 1;
}

p {
  opacity: 0;
}

hr {
  opacity: 0;
}

#inner {
  display: grid;
  grid-template-columns: repeat(2, auto); 
  justify-content: center; 
  align-items: start;
  gap: 3rem 5px;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 50rem;
}

#gmas-playbutton {
  width: 30px;
  height: 30px;
  position: flex;
  opacity: 0;
  visibility: visible;

  pointer-events: none;

  z-index: 1000;
  margin-left: 100px;
  margin-top: -50px;
}

#gmas-hitbox {
  position: absolute;
  top: -2rem;
  bottom: -2rem;
  left: -1rem;
  right: -1rem;

  pointer-events: auto !important;
  cursor: pointer !important;

  opacity: 0 !important;
  background: transparent !important;
  border: none !important;
  visibility: visible !important;

  z-index: 99999 !important;
}

#eatme-playbutton {
  width: 30px;
  height: 30px;
  position: flex;
  opacity: 0;
  visibility: visible;

  pointer-events: none;

  z-index: 1000;
  margin-left: 100px;
  margin-top: -50px;
}

#eatme-hitbox {
  position: absolute;
  top: -2rem;
  bottom: -2rem;
  left: -1rem;
  right: -1rem;

  pointer-events: auto !important;
  cursor: pointer !important;

  opacity: 0 !important;
  background: transparent !important;
  border: none !important;
  visibility: visible !important;

  z-index: 99999 !important;
}

#redheifer-playbutton {
  width: 30px;
  height: 30px;
  position: flex;
  opacity: 0;
  visibility: visible;

  pointer-events: none;

  z-index: 1000;
  margin-left: 100px;
  margin-top: -50px;
}

#redheifer-hitbox {
  position: absolute;
  top: -2rem;
  bottom: -2rem;
  left: -1rem;
  right: -1rem;

  pointer-events: auto !important;
  cursor: pointer !important;

  opacity: 0 !important;
  background: transparent !important;
  border: none !important;
  visibility: visible !important;

  z-index: 99999 !important;
}

section {
  margin: auto;
  width: 60%;
  color: white;
}

@media screen and (max-width: 1000px) {
  body .manifest-lines p {
    font-size: 2vw;
  }
}

.manifest-lines {
  margin: 5vh auto;
  max-width: 900px;
  text-align: center;
  font-family: "MinecraftFont", monospace;
  color: white;
  font-size: 10vh;
  margin-bottom: 24rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.manifest-lines p {
  margin: 0.4rem 0;
}

.manifest-lines br {
  display: block;
  margin: 1.5rem 0;
}

.manifesto-ascii-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  padding: 2rem 1rem 4rem;
  box-sizing: border-box;
}

.manifesto-ascii-wrap .manifesto-ascii {
  font-family: monospace;
  line-height: 8px;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.486);
  margin: -22rem 0 11rem 0;
  flex-shrink: 0;
  text-align: left;
  white-space: pre;
}

@media screen and (max-width: 768px) {
  .manifesto-ascii-wrap .manifesto-ascii {
    margin: -25rem 0 8rem 0;
    font-size: 3.5px;
    line-height: 3.5px;
  }
}
