@font-face {
    font-family: pixal;
    src: url(./blue-screen-font/BlueScreenPersonalUseRegular-0W1M9.ttf);
    font-family: spc;
    src: url(./cyberend-font/CyberendRegular-EalWW.ttf);
}

h1, h2 {
    font-family: spc;
}

h3 {
    font-family: spc;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    color: #fff;
    background: #111;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    backdrop-filter: blur(1px);
    background-color: transparent;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 4;
}

h1, h2, h3 {
    text-align: center;
    color: #333;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 1rem;
}

h3 {
    font-size: 24px;
}

h1.z3 {
    z-index: 3;
    font-size: 3rem;
    color: #6AFF58;
}

h2.z4 {
    z-index: 3;
    font-size: 1rem;
    color: #6AFF58;
}

.options {
    display: flex;
    justify-content: center;
    padding: 1rem;
    margin-top: 10px;
}

button {
    margin: 0 2rem;
    padding: 1rem;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: end;
    border: none;
    background-color: #e1e1e1;
    border-radius: 1rem;
    box-shadow: 0 15px 25px rgba(129, 124, 124, 0.2); 
    border-radius: 1rem; 
    backdrop-filter: blur(14px); 
    background-color: rgba(255, 255, 255, 0.2); 
}

button:hover {
    background: #6AFF58;
    color: #333;
    box-shadow: 0 0 5px #6AFF58, 0 0 25px #6AFF58, 0 0 50px #6AFF58, 0 0 100px #6AFF58;
    & h3 {
        color: white;
    }  
}

button img {
    width: 400px;
    max-height: 225px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 1rem;
}

.image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.hidden {
    display: none;
}

.result {
    text-align: center;
    margin-top: 20px;
}

#resultText {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.result button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.bgAnimation{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(20,1fr);
    grid-template-rows: repeat(20,1fr);
    background: #1d1d1d;
    filter: saturate(2);
    overflow: hidden;
}

.colorBox{
    z-index: 2;
    filter: brightness(1.1);
    transition: 2s ease;
    position: relative;
    margin: 2px;
    background: #1d1d1d;
}

.colorBox:hover{
    background: #6AFF58;
    transition-duration: 0s;
}

.backgroundAmim{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #6AFF58;
    filter: blur(60px);
    animation: animBack 5s linear infinite;
}

#resultText {
    font-size: 48px;
    padding: 2rem;
    color: #6AFF58;
}

.endtext {
    color: #6AFF58;
    font-size: 1rem;
}

.lastone {
    display: flex;
    justify-content: center;
}

@keyframes animBack {
    0%{
        top: -60px;
    }
    100%{
        top: 120%;
    }
}

/* Fade-out animation */
@keyframes fadeOut {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }
  
  /* Fade-in animation */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  /* Apply the animations */
  .fade-out {
    animation: fadeOut 0.5s forwards;
  }
  
  .fade-in {
    animation: fadeIn 0.5s forwards;
  }
  
  .logo4 {
    z-index: 4;
    margin-bottom: 1rem;
    height: 30px;
    width: 30px;
  }