html {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: 150% 150%;
  background-image: linear-gradient(-45deg, #dec3eb 0%, #c5e7ea 20%, #d6bae1 40%, #b4ccde 60%, #ceaadc 80%, #ccb5dd 100%);
  -webkit-animation: AnimateBG 15s ease infinite;
  animation: AnimateBG 15s ease infinite;
}

body {
  font-family: 'Courier New', Courier, monospace;
  color: #feedfd;
  /* background-color: #d4b8f0;*/
  margin: 0;
  max-width: 80%;
}

header {
  display: block;
  margin: 0 auto;
  padding-top: 2em;
  padding-bottom: 2em;
}

main {
  min-height: 100vh;
}

.link {
  opacity: 0;
  animation: fadeIn 3s ease forwards;
}

#headerContent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  text-align: center;
}

#avatar {
  border-radius: 50%;
  /*
  border: 1px solid #ffffff;
  box-shadow: 0.25em 0.25em 0.5em 0px rgba(0, 0, 0, 0.69);
  */
  height: 15vh;
  width: 15vh;
  animation: twinkle 1.5s infinite alternate;
  position: relative;
  z-index: 1;
}

#avatarContainer {
  width: 15vh;
  margin: auto;
  position: relative;
}

#titleText {
  height: 7.5vh;
}

#titleText h1,
p {
  margin: 0.25em auto;
  font-weight: 600;
}

#linkContainer {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: auto;
  padding: 2em 0;
  width: 100%;
}

.link {
  background-color: #ddc0f2;
  margin: 0.5em auto;
  width: 100%;
  height: 8vh;
  border-radius: 0.5em;
  box-shadow: 0.25em 0.25em 0.5em 0px rgba(0, 0, 0, 0.69);
  transition: all 0.3s ease;
}

.link:hover {
  background-color: #cba8e4; /* Ändert die Hintergrundfarbe beim Hover */
  box-shadow: 0.3em 0.3em 0.6em rgba(0, 0, 0, 0.8); /* Fügt einen stärkeren Schatten hinzu */
  transition: all 0.3s ease; /* Macht die Animation weich */
}

.linkBox:hover h3 {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Fügt Text-Glow hinzu */
  transform: scale(1.1);    /* Vergrößert den Button leicht */
  transition: all 0.3s ease; /* Macht die Animation weich */
}


.linkBox {
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

a {
  text-decoration: none;
  color: #f7eaff;
}

.platformName h3 {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  text-shadow: rgb(195, 30, 255) 0.5px 0 5px;
  ;
}

.logo {
  margin: auto 0;
  height: 4vh;
  width: auto;
}

.logo img {
  height: 4vh;
  width: auto;
  filter: invert(100);
}

.logo img:hover {
  transform: rotate(10deg) scale(1.1); /* Leichtes Drehen des Icons */
  transition: transform 0.3s ease;
}


.logoVRC img {
  height: 4vh;
  width: auto;
}

.logoVRC img:hover {
  transform: rotate(10deg) scale(1.1); /* Leichtes Drehen des Icons */
  transition: transform 0.3s ease;
}

#linkRow {
  display: flex;
  justify-content: center;
  margin-bottom: 1em;
}

#linkRowContainer {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.logoLinkRow img {
  height: 3vh;
  width: auto;
}

.logoLinkRow img:hover {
  transform: rotate(10deg) scale(1.1); /* Leichtes Drehen des Icons */
  transition: transform 0.3s ease;
}

#factContainer {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: auto;
  padding: 2em 0;
  width: 100%;
  min-height: 7.5rem;
}

#funFact {
  font-size: 1.5rem;
  color: #feedfd;
  transition: opacity 0.5s ease-in-out; /* Smooth fade */
  opacity: 1; /* Ensure it's visible by default */
  animation: glow 1.5s infinite alternate;
  text-align: center;
}

#funFact:hover {
  cursor: pointer;
  transform: scale(1.025);
  transition: transform 0.3s ease-in-out;
  
}

footer {
  width: 100%;
  position: static;
  bottom: 0;
  margin: auto;
}

#footerContent {
  text-align: center;
}

/* Extras ────────────────────────────────────────────────────────────── */


/* Pawprint Trail */
#pawprint-trail {
  position: static;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Prevent interaction with the trail */
  z-index: 9999; /* Ensure it’s above other elements */
}

/* Pawprint Style */
.pawprint {
  position: absolute;
  width: 30px; /* Size of the pawprint */
  height: 30px;
  background: url('../assets/img/pawprint.png') no-repeat center center; /* Replace with your image */
  background-size: contain;
  transform-origin: center; /* Rotate around the center of the pawprint */
  opacity: 1;
  z-index: 9999;
  animation: fade-out 2s ease forwards; /* Fades out over 2 seconds */
  pointer-events: none; /* Prevent interaction with pawprints */
}

/* Fade-Out Animation */
@keyframes fade-out {
  0% {
      opacity: 1;
      transform: scale(1);
  }
  100% {
      opacity: 0;
      transform: scale(0.5);
  }
}


/* Notification Style */
.notification {
  position: fixed;
  bottom: 20px; /* Show at the bottom of the viewport */
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
  color: #fff; /* Text color */
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 10000; /* Ensure it’s above all other elements */
  opacity: 1;
  animation: fade-out 5s ease forwards; /* Fades out after 5 seconds */
  pointer-events: none; /* Prevent interaction */
}

/* Highlight Style */
.notification .highlight {
  color: #ffd700; /* Gold for emphasis */
  font-weight: bold;
}

/* Fade-Out Animation */
@keyframes fade-out {
  0% {
      opacity: 1;
  }
  80% {
      opacity: 1;
  }
  100% {
      opacity: 0;
  }
}







@keyframes glow {
  0% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(173, 216, 230, 0.5);
  }
  50% {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 40px rgba(173, 216, 230, 0.8);
  }
  100% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(173, 216, 230, 0.5);
  }
}




  /* Speech Bubble Styling*/
  #message {
    background: #feedfd; /* Light pastel color */
    color: #000; /* Text color */
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    white-space: nowrap;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    transition: opacity 0.5s ease; /* Easing in and out */
    transform-origin: center;
    z-index: 100;
    text-align: center;
  }

  .speech-bubble {
    z-index: 100;
    position: absolute;
    top: 1em;
    left: 0;
    width: 100%;
    height: 1em;
    display: flex;
    justify-content: center;
    transition: opacity 0.5s ease; /* Easing in and out */
  }


  /* Triangle for the Speech Bubble 
  .speech-bubble .triangle {
    position: absolute;
    width: 0;
    height: 0;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #feedfd;
    z-index: 100;
  }
*/



/* Sparkle Overlay */
.sparkle-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
  animation: sparkleOverload 5s infinite;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
}

/* Sparkle Animation */
@keyframes sparkleOverload {
  0% {
      opacity: 0;
  }
  50% {
      opacity: 1;
  }
  100% {
      opacity: 0;
  }
}

/* Sparkle Overload Message */
.sparkle-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #2b292b;
  padding: 20px 30px;
  border-radius: 15px;
  font-size: 2rem;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  animation: messageGlow 5s infinite alternate;
  z-index: 10000;
  opacity: 0;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 40px rgba(173, 216, 230, 0.8);
}

/* Text Glow Animation */
@keyframes messageGlow {
  0% {
      text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
      opacity: 0;
  }
  50% {
    opacity: 1;
  } 
  100% {
      text-shadow: 0 0 20px rgba(255, 255, 255, 1);
      opacity: 0;
  }
}




/* Floating Paw Menu */
#menuToggle {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  z-index: 1000;
  cursor: pointer;
}

#menuIcon {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

#menuIcon:hover {
  transform: rotate(15deg);
}

/* Hidden Drop-Down Menu */
#menu {
  position: fixed;
  top: -100%; /* Hidden off-screen */
  right: 0;
  width: 100%;
  background: rgba(143, 64, 199, 0.477); /* Semi-transparent background */
  background-blend-mode: lighten;
  z-index: 999;
  transition: 0.5s ease; /* Smooth drop-in */
}

#menu ul {
  list-style: none;
  padding: 20px;
  margin: 0;
  text-align: center; /* Center-align menu items */
}

#menu ul li {
  margin: 20px 0;
}

#menu ul li a {
  color: #feedfd; /* Matches your color scheme */
  text-decoration: none;
  font-size: 1.5em;
  font-weight: bold;
  font-family: 'Courier New', Courier, monospace;
  transition: text-shadow 0.3s ease;
  text-shadow: 0;
}

#menu ul li a:hover {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Fügt Text-Glow hinzu */
  transition: text-shadow 0.3s ease;
}

/* Active Menu */
#menu.active {
  top: 0; /* Slide into view */
  box-shadow: 0 5px 10px 10px rgba(143, 64, 199, 0.477);
  transition: 0.5s ease; /* Smooth drop-in */
}

#menuIcon.active {
  transform: rotate(5deg) scale(0.5);
}




/* Animations ────────────────────────────────────────────────────────────── */

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@-webkit-keyframes AnimateBG {
  0% {
      background-position: 0% 25%;
  }

  50% {
      background-position: 100% 50%;
  }

  100% {
      background-position: 0% 25%;
  }
}

@keyframes AnimateBG {
  0% {
      background-position: 0% 25%;
  }

  50% {
      background-position: 100% 50%;
  }

  100% {
      background-position: 0% 25%;
  }
}

@keyframes fadeinall {

  0% {
      opacity: 1;
  }

  97% {
      opacity: 0;
  }

  98% {
      opacity: 0;
      -webkit-transform: translateY(0);
      transform: translateY(0);
  }

  100% {
      opacity: 0;
      -webkit-transform: translateY(-100%);
      transform: translateY(-100%);
      z-index: -1;
  }
}

#fadein {
  opacity: 1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  background-color: #FFFFFF;
  z-index: 999;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation: fadeinall 1s normal both;
  animation: fadeinall 1s normal both;
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

/* Twinkle Animation */
@keyframes twinkle {
  0% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(173, 216, 230, 0.5);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 40px rgba(173, 216, 230, 0.8);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(173, 216, 230, 0.5);
  }
}

.sparkle {
  position: absolute;
  top: 50%; /* Center the sparkle GIF */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%; /* Adjust size as needed */
  height: 110%; /* Match the container */
  pointer-events: none; /* Prevent interaction with the GIF */
  z-index: 2; /* Ensure it appears above the avatar */
  opacity: 0; /* Start invisible */
  transition: opacity 1s ease; /* Smooth fade-in/out */
  filter: hue-rotate(180deg) brightness(1.5) contrast(1.2);
}


/* Mobile ────────────────────────────────────────────────────────────── */

@media only screen and (min-width: 700px) {

  body {
      width: 40%;
      margin: 0 auto;
  }

  #linkRowContainer {
      width: 80%;
  }

  #menu {
    top: 0;
    right: -250px; /* Hidden off-screen */
    width: 250px;
    height: 100%;
  }

  #menu ul {
    margin-top: 2em;
  }

  #menu.active {
    right: 0; /* Slide in on activation */
  }
}

