* {
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    cursor: none;
}

@font-face {
    font-family: azonix;
    src: url(assets/fonts/Azonix.otf);
}

@font-face {
    font-family: metro;
    src: url(assets/fonts/Metro.otf);
}

body {
    margin: 0;
    padding: 0;
    color: #e0e0e0;
    background-color: #121212;
    overflow-x: hidden;
}

.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.music-control.playing::before,
.music-control.playing::after {
    content: "";
    display: block;
    width: 6px;
    height: 20px;
    background: #fff;
    margin: 0 2px;
    border-radius: 2px;
}

.music-control:not(.playing)::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 16px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* kursor khusus */
.cursor,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cursor {
  width: 15px;
  height: 15px;
  background-color: white;
}

.cursor-outline {
  width: 32px;
  height: 32px;
  border: 2px solid white;
}

nav {
    top: 0;
    z-index: 1;
    padding: .5rem 2rem;
    background-color: transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    position: sticky;
    align-items: center;
    justify-content: space-between;
}

nav h2 {
    font-family: metro;
}

.navbar {
    list-style: none;
    display: flex;
    gap: 1.25rem;
}

.navbar a {
    color: #e0e0e0;
    font-size: 1rem;
    text-decoration: none;
    transition: .5s;
}

.navbar a:hover {
    color: #007bff;
}

#home {
    height: 100vh;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    color: #fff;
}

#home h1 {
    margin: 0;
    font-family: azonix, sans-serif;
    font-size: 13rem;
}

#home p {
    width: 75%;
    margin: 0 auto;
}

#project {
    height: auto;
    margin: auto;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    color: #fff;
}

.valakra {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    gap: 2rem;
}

.valakra h2 {
    margin: 5rem auto 0 auto;
    font-family: azonix;
    font-size: 5rem;
}

.galeri {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.galeri img {
    max-width: 25rem;
    height: auto;
    border-radius: 8px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.galeri img:hover {
    transform: scale(1.025);
}

#kontak {
    margin: 7.5rem;
}

#kontak h2 {
    font-family: azonix;
    font-size: 3rem;
    margin: 0;
}

#kontak a {
    font-size: 2.5rem;
    color: #fff;
    letter-spacing: 1rem;
    transition: 0.5s;
}

#kontak a:hover {
    color: #007bff;
    transform: scale(1.5);
}

footer {
    position: relative;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: .55rem;
    font-weight: 500;
    letter-spacing: .20rem;
    padding: 0 0 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsif 768px */
@media (max-width: 768px) {

    #home h1 {
        font-size: 3rem;
    }

    #home p {
        width: 90%;
        font-size: .25rem;
    }

    .valakra h2 {
        font-size: 2rem;
        text-align: center;
        margin: 2rem auto 0 auto;
    }

    .galeri {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }

    .galeri img {
        max-width: 90%;
    }

    #kontak {
        margin: 4rem 1rem;
        text-align: center;
    }

    #kontak h2 {
        font-size: 2rem;
    }

    #kontak a {
        font-size: 1.75rem;
        letter-spacing: 0.5rem;
    }

    .music-control {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }

    .cursor,
    .cursor-outline {
        display: none;
    }
}