* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    min-height: 100vh;
    background:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
        url("spotify-background.jpg") center / cover no-repeat fixed;
    color: white;
}


.navbar {
    background: black;
    padding: 25px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    position: relative;
}

.logo-text {
    position: relative;
    z-index: 2;
    color: red;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}



.logo::before {
    content: "";
    position: absolute;
    width: 45px;
    height: 45px;

    background: url("Spotify\ logo.png")
        no-repeat center;
    background-size: cover;

    border-radius: 50%;        
    
    opacity: 203;            
    left: -55px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;

}


.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

.nav-links a:hover {
    text-decoration: underline;
}


.page-title {
    text-align: center;
    margin: 40px 0;
    font-size: 40px;
}


.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    max-width: 1100px;
    margin: 0 auto;
    gap: 25px;
    padding: 20px;
}


.card {
    text-decoration: none;
    color: white;
    background: #1f1f1f;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-title {
    background:  rgb(42, 1, 117);
    color: white;
    text-align: center;

    padding: 14px 10px;
    min-height: 50px;            
    
    display: flex;               
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.banner {
    position: relative;
    height: 550px;
    overflow: hidden;
    line-height: 0;
}

.banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), #121212);
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}


.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}


.video-box video {
    width: 560px;
    border-radius: 15px;
}


.text-box {
    max-width: 420px;
}

.title {
    font-size: 30px;
    margin-bottom: 15px;
}

.description {
    font-size: 16px;
    line-height: 1.6;
}


.footer {
    background:  rgb(42, 1, 117);
    padding: 20px 80px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-text {
    color: white;
    font-size: 16px;
    font-weight: bold;
}



.creator-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.creator-content {
    max-width: 1000px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 120px;
}


.creator-text {
    flex: 1;
}

.creator-text h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.creator-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #ddd;
}


.creator-image img {
    width: 520px;
    height: 520px;
    object-fit: cover;
    border-radius: 50%;   
    border: 4px solid  rgb(42, 1, 117);
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* SEARCH INPUT */
#searchInput {
    padding: 8px 12px;
    border-radius: 20px;
    border: none;
    outline: none;
    font-size: 14px;
    width: 160px;
}


@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .video-box video {
        width: 100%;
        max-width: 360px;
    }

     .banner {
        height: 260px;
        margin-bottom: 0;
    }

    .banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .creator-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

  
    .creator-image img {
        width: 240px;
        height: 240px;
    }

    
    .creator-text {
        width: 100%;
        font-size: 15px;
        line-height: 1.6;
    }

    .creator-text h4 {
        font-size: 16px;
    }

    .creator-text p {
        font-size: 14px;
    }

   
    .footer {
        padding: 20px;
    }

    .footer-text {
        font-size: 16px;
        text-align: center;
    }
     

}
   

@media (max-width: 768px) {

    .creator-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .creator-image img {
        width: 60vw;
        max-width: 280px;

        aspect-ratio: 1 / 1;   
        height: auto;           

        object-fit: cover;     
        border-radius: 50%;
    }

    .creator-text {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 260px;              
        background-position: center top;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 10px;
    }

    #searchInput {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 260px;
    }

    .banner video {
        object-fit: cover;
    }
}