body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

#light-background {
    background: url('') no-repeat center center fixed;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#light-background.black {
    background-color: black;
}

button#terminal-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    font-size: 20px;
    background-color: red;
    border: none;
    border-radius: 10px;
    color: black;
    cursor: pointer;
    z-index: 1;
}

#terminal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: black;
    color: red;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px 0px rgba(255,0,0,0.5);
    z-index: 1;
    width:300px;
}

#terminal-header {
    position: relative;
    text-align: center;
    font-size: 20px;
    margin-bottom: 10px;
}

#terminal {
    padding: 10px;
    box-shadow: 0px 0px 20px 0px rgba(255,0,0,0.5);
    border-radius: 5px;
    white-space: pre-wrap;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: 70vh;
}

#terminal-container.expanded #terminal {
    max-height: none;
}

#terminal-output {
    font-family: monospace;
}

#terminal-input {
    width: calc(100% - 20px);
    padding: 5px 10px;
    margin-top: 10px;
    border: none;
    background-color: transparent;
    color: red;
    font-family: monospace;
    outline: none;
}

.hidden {
    display: none;
}

#logo {
    position: fixed;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 10px;
    height: auto;
}




.pingzfps-effect {
  background: repeating-linear-gradient(
    -45deg,
    #fff,
    #fff 10px,
    #000 10px,
    #000 20px
  );
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes glow {
  from {
    box-shadow: 0 0 10px red, 0 0 20px red, 0 0 30px red, 0 0 40px red;
  }
  to {
    box-shadow: 0 0 20px red, 0 0 30px red, 0 0 40px red, 0 0 50px red;
  }
}

.glitch {
  animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

@keyframes glitch {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}

.terminal-container.topG-effect {
    background-color: black;
    box-shadow: 0 0 10px gold, 0 0 20px gold, 0 0 30px gold;
    animation: container-glow 1s ease-in-out infinite alternate;
}

@keyframes container-glow {
    from {
        box-shadow: 0 0 10px gold, 0 0 20px gold, 0 0 30px gold;
    }
    to {
        box-shadow: 0 0 20px gold, 0 0 30px gold, 0 0 40px gold;
    }
}

.terminal-output.topG-effect {
}

.topG-effect {
    font-size: 24px;
    font-weight: bold;
    color: gold;
    text-shadow: 0 0 10px gold, 0 0 20px gold, 0 0 30px gold;
    animation: glow 1s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px gold, 0 0 20px gold, 0 0 30px gold;
    }
    to {
        text-shadow: 0 0 20px gold, 0 0 30px gold, 0 0 40px gold;
    }
}

@keyframes move {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}
