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); }
  }
  
    

  /* Make body a vertical flexbox */
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Cookie", cursive;
    background-color: #000000; /* fallback */
    overflow-x: hidden;
    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;
    }
}
.welcome {
    color: rgba(195, 0, 255, 0.712);
    font-size: clamp(1rem, 4vw, 4rem);
    text-shadow: 2px 2px 8px rgb(255, 255, 255);
    text-align: center;
    letter-spacing: 3px;
    position: relative;
    margin-top: 10px;

    /* Background image settings */
    background-image: url("art.jpg");
    background-size: cover;       /* make it cover the whole element */
    background-position: center;  /* center the image */
    background-repeat: no-repeat; /* prevent tiling */
    padding: 60px 20px;           /* add space so image shows behind text */
    border-radius: 12px; 
    width: 90%;
    height: 13%;
    align-items: center;
    margin-left: 70px;
    backdrop-filter: blur(600px);
    -webkit-backdrop-filter: blur(50px);
}

.welcome button{
    width: 20%;
    height: 50px;
    border-radius: 20px;
    padding: 10px 20px auto;
    justify-content: center;
    margin-left: 10px;
   
}

.welcome button:hover{
    background-color: rgba(204, 0, 255, 0.301);
}

.welcome a{
    text-decoration: none;
    color: white;
    font-size: 20px;

}

/* Art slideshow container */
.art-container {
    width: 50%;
    max-width: 100%;
    background: #d400ff18;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgb(0, 0, 0);
    overflow: hidden;
    padding: 200px;
    margin: 8em auto; /* center on page */
    text-align: center; /* text under image */
    position: relative;
    z-index: 1;
}

/* Art card: image on top, text under */
.art-card img {
    width: 100%;
    max-height: 400%;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.art-text h2 {
    margin: 0 0 10px 0;
    font-size: 60px;
    color: white;
}

.art-text p {
    margin: 0;
    color: #ffffff;
    font-size: 40px;
}

/* Buttons */
.buttons {
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    border: none;
    background: #b700ff80;
    color: white;
    margin: 0 10px;
    border-radius: 6px;
    cursor: pointer;
    width: 10%;
    height: 50%;
}

button:hover {
    background: #555;
}

.instagram-feed {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    text-align: center;
    color:white;
}

.instagram-feed h2 {
    font-family: "Cookie", cursive;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Horizontal gallery */
.instagram-gallery {
    display: flex;
    flex-wrap: wrap;       /* allows multiple rows if screen is small */
    justify-content: center;
    gap: 20px;             /* space between posts */
}

.instagram-gallery blockquote {
    flex: 0 1 500px;       /* each post takes up ~300px width */
}
.video-container {
    width: 80%;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px; /* matches container for seamless look */
    background: #000;
}

.support-us {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    text-align: center;
    overflow: hidden;
}

.support-us h2 {
    font-family: "Cookie", cursive;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

/* Wrapper hides overflow */
.cards-wrapper {
    overflow: hidden;
    width: 100%;
}

/* Cards container scrolls right to left */
.cards-container {
    display: flex;
    gap: 20px;
    animation: scroll-left 20s linear infinite;
}

.card {
    flex: 0 0 200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: #d400ff18;
    text-align: center;
    padding-bottom: 10px;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    border-bottom: 1px solid #eee;
}

.card p {
    margin: 10px 0 0 0;
    font-weight: bold;
    color: #ffffff;
}

.card:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.card:hover img {
    transform: scale(1.1);
}

/* Animation moving cards from right to left */
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.footer {
    --footer-background: #d400ff18;
    position: relative;
    z-index: 1;
    min-height: 12rem;
    background: var(--footer-background);
    display: grid;
    margin-top: 300px;
}
    .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) {

    body{
        background-color: #000;
    }


    .welcome{
        margin-left: 1%;
        width: 90%;
        background-image: url("imageegypt.jpg");  
        height: 6%;
        margin-top: -10%;

        color: white;

        text-shadow: 2px 2px 8px rgb(195, 0, 255);
        font-size: 30px;

      
    }

    .welcome button{
       width: 40%;
       height: 20%;
    }
    .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 */
      }


  .art-container { margin: 2em auto; padding: 20px 10px; width: 96%; } button { width: 50%; height: 9%; padding: 9px 20px; /* top/bottom 10px, left/right 20px */ box-sizing: border-box; /* ensures padding doesn’t break width/height */ border-radius: 5px; /* optional, makes corners rounded */ font-size: 16px; /* optional, makes text readable */ } .art-text h2 { font-size: 1.5rem; } .art-text p { font-size: 1rem; } .instagram-gallery blockquote { flex: 1 1 100%; } .video-container { width: 100%; margin: 20px auto; } 
 /* Container for horizontal scroll */
 .card {
    flex: 0 0 140px;
    margin-top: 10%;
  }
  
  .card img {
    height: 140px;
  }
  
  .cards-container {
    gap: 12px;
  }
  
  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-140px * 5 - 12px * 4));
    }
  }

  
  
  
  .footer { 
    --footer-background: rgba(212, 0, 255, 0.24); 
    position: relative; 
    z-index: 1; 
    min-height: 12rem; 
    background: var(--footer-background); 
    display: grid; }
    

  /* Show hamburger on phones */
  @media (max-width: 600px) {
    .btn-menu {
      display: block;
    }

  }

}