
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

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

html, body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: url('metaverse.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #00f9ff;
    display: grid;
    grid-template-rows: auto 1fr auto;
    line-height: 1.6;
}

/* Header & Navigation */
header {
    background-color: black;
    color: green;
    padding: 1rem;
    text-align: center;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1abc9c;
}

/* Hero Section */
#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    color: rgb(192, 94, 245);
    text-align: center;
    padding: 40px 20px;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid rgb(85, 122, 241);
    animation: float 3s ease-in-out infinite;
    max-width: 90%;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-content h2, .hero-content p {
    background: linear-gradient(45deg, #9d00ff, #ff00ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff, 0 0 20px #9d00ff;
    animation: glowPulse 2s infinite alternate;
  }
  
  
  @keyframes glowPulse {
    from {
      text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff, 0 0 20px #9d00ff;
    }
    to {
      text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #9d00ff;
    }
  }
  

section {
    padding: 50px 20px;
    text-align: center;
}

#about, #skill, #contact {
    max-width: 800px;
    margin: 0 auto;
}

.skill-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.skill-card {
    background-color: rgba(0, 0, 0, 0.3);
    color: #00ffe5;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    border: 1px solid #00ffe5;
    box-shadow: 0 0 10px #00ffe5;
    transition: transform 0.3s ease;
    min-width: 250px;
}

.skill-card:hover {
    transform: scale(1.05);
}

.contact-button, .wabuton {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.contact-button {
    background-color: #eee;
    color: black;
}

.contact-button:hover {
    background-color: #2be253;
}

.wabuton {
    background-color: #25D366;
    color: black;
}

.wabuton:hover {
    background-color: #1ebe57;
}

/* Footer (Normal, not fixed) */
footer {
    width: 100%;
    text-align: center;
    padding: 20px;
    background-color: rgba(128, 128, 128, 0.8);
    color: antiquewhite;
    border-top: 1px solid #555658;
}

/* Burung Terbang */
.bird-container {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    pointer-events: none;
    z-index: 10;
}

.bird {
    position: absolute;
    width: 60px;
    animation: fly 12s linear infinite;
}

@keyframes fly {
    0% { left: -100px; top: 10px; transform: scaleX(1); }
    50% { top: 30px; }
    100% { left: 100%; top: 10px; transform: scaleX(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .skill-cards {
        flex-direction: column;
        align-items: center;
    }

    .skill-card {
        width: 90%;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    object-fit: cover;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    object-fit: cover;
}
