html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
  }
  
  .background {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: #3E1E68;
    filter: blur(20px);      /* 🔥 blur everything inside */
    overflow: hidden;
    z-index: -1;             /* stay behind content */
  }
  
  .background span {
    position: absolute;
    display: block;
    width: 20vmin;
    height: 20vmin;
    border-radius: 50%;
    opacity: 0.6;
    animation: move 0.0002s linear infinite; /* 🔥 faster movement */
  }
  
  /* Give each bubble different color, position, and speed */
  .background span:nth-child(1) { background: #583C87; top: 10%; left: 20%; animation-duration: 8s; }
  .background span:nth-child(2) { background: #E45A84; top: 40%; left: 70%; animation-duration: 6s; }
  .background span:nth-child(3) { background: #FFACAC; top: 80%; left: 30%; animation-duration: 7s; }
  .background span:nth-child(4) { background: #583C87; top: 60%; left: 50%; animation-duration: 9s; }
  .background span:nth-child(5) { background: #E45A84; top: 20%; left: 80%; animation-duration: 10s; }
  .background span:nth-child(6) { background: #FFACAC; top: 70%; left: 10%; animation-duration: 7s; }
  .background span:nth-child(7) { background: #583C87; top: 50%; left: 90%; animation-duration: 6s; }
  .background span:nth-child(8) { background: #E45A84; top: 30%; left: 40%; animation-duration: 8s; }
  .background span:nth-child(9) { background: #FFACAC; top: 60%; left: 60%; animation-duration: 9s; }
  .background span:nth-child(10){ background: #583C87; top: 15%; left: 55%; animation-duration: 7s; }
  
  @keyframes move {
    0%   { transform: translateY(0) rotate(0deg); }
    50%  { transform: translateY(-200px) rotate(180deg); } /* 🔥 higher movement */
    100% { transform: translateY(0) rotate(360deg); }
  }
  
  




body {
    margin: 0;
    padding: 0;
    font-family: "Cookie", cursive;
    background-color: #000000; /* fallback */
    overflow-x: hidden;
    color: white;
    text-shadow: 2px 2px 8px rgb(0, 0, 0);
}

.menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 30px;
    color: white;
    position: relative; /* Normal position for desktop */
    left: 0; /* Ensure it's visible */
    width: auto; /* Normal width */
    height: auto; /* Normal height */
    background: transparent; /* No background on desktop */
}



  
  /* Hamburger button */
  .hamburger {
    display: none; /* hidden on desktop */
    width: 30px;
    height: 25px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
  }
  
  .hamburger span {
    display: block;
    height: 4px;
    background: #333;
    border-radius: 2px;
  }
  

  .menu a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 40px;
}

.btn-menu {
    display: none; /* Hidden on desktop */
}

.menu a:hover {
    color: #d400ffde;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* For mobile */
@media (max-width: 500px) {
    .menu {
        flex-direction: column;
        align-items: center;
    }
}

.text{
    font-size: 40px;
    text-align: center;
    border-radius: 20;
    text-shadow: 2px 2px 8px rgb(212, 0, 255);
}

h1{
    text-align: center;
    font-size: 50px;
}

.footer {
    --footer-background: #d400ff18;
    position: relative;
    z-index: 1;
    min-height: 12rem;
    background: var(--footer-background);
    display: grid;
    margin-top: 20%;
}
    .content {
        z-index: 2;
        display:grid;
        grid-template-columns: 1fr auto;
        grid-gap: 4rem;
        padding:2rem;
        background:var(--footer-background);
        margin-left: 20px;
        font-size: 30px;
        a, p {
            color:rgb(255, 255, 255);
            text-decoration:none;
        }
        b {
            color: rgb(255, 255, 255);
        }
        p {
            margin:0;
            font-size:.75rem;
        }
        >div {
            display:flex;
            flex-direction:column;
            justify-content: center;
            >div {
                margin:0.25rem 0;
                >* {
                    margin-right:.5rem;
                }
            }
            .image {
                align-self: center;
                width:4rem;
                height:4rem;
                margin:0.25rem 0;
                background-size: cover;
                background-position: center;
                border-radius: 20px;
            }
        }
    }

main {
        flex: 1; /* pushes footer down */
      }

@keyframes bubble-size {
0%, 75% {
    width:var(--size, 4rem);
    height:var(--size, 4rem);
}
100% {
    width:0rem;
    height:0rem;
}
}
@keyframes bubble-move {
0% {
    bottom:-4rem;
}
100% {
    bottom:var(--distance, 10rem);
}
}


@media (max-width: 600px) {
    .menu {
        position: fixed;
        top: 0;
        left: -250px;           /* hidden off-screen */
        width: 250px;
        height: 100vh;
        background: rgba(0,0,0,0.9);
        display: flex;
        flex-direction: column;
        padding-top: 80px;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .menu a {
        color: white;
        text-align: left;
        padding: 15px 20px;
        font-size: 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .menu a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    
    body.menu-open .menu {
        left: 0;  /* slide in */
    }
    
    /* Show hamburger on mobile */
    .btn-menu {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        width: 32px;
        height: 21px;
        border: none;
        background: transparent;
        cursor: pointer;
        z-index: 1001;
        margin-left: -20px;
    }
      
      .btn-menu__bars,
      .btn-menu__bars::before,
      .btn-menu__bars::after {
        content: "";
        display: block;
        width: 32px;
        height: 3px;
        background-color: #ae00ff93;
        position: absolute;
        transition: 0.3s ease;
      }
      
      .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 900;
      }
      
      body.menu-open .overlay {
        opacity: 1;
        pointer-events: auto;
      }
      
      .btn-menu__bars {
        top: 9px;
      }
      
      .btn-menu__bars::before {
        top: -9px;
      }
      
      .btn-menu__bars::after {
        top: 9px;
      }
      
      /* Animate into X when open */
      body.menu-open .btn-menu__bars {
        background-color: transparent;
      }
      
      body.menu-open .btn-menu__bars::before {
        transform: rotate(45deg);
        top: 0;
      }
      
      body.menu-open .btn-menu__bars::after {
        transform: rotate(-45deg);
        top: 0;
      }
      
      /* Remove any hover effects */
      .btn-menu:hover {
        background: transparent;
        transform: none;
      }
      
      .btn-menu:hover .btn-menu__bars,
      .btn-menu:hover .btn-menu__bars::before,
      .btn-menu:hover .btn-menu__bars::after {
        background-color: #ae00ff93; /* Keep original color on hover */
        transform: none; /* Remove any transform on hover */
      }
}
