@import url('https://fonts.googleapis.com/css2?family=Rock+3D&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik+Doodle+Shadow&family=Sixtyfour&display=swap');

@font-face {
    font-family: 'Cream Cheese';
    src: url('./fonts/Cream-Cheese-Demo.otf');
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: black;
    background-image: url('./assets/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Changed to flex-start to align items from the top */
    height: 100vh; /* Set to fill the viewport height */
    overflow-x: hidden;
    overflow-y: scroll; /* Enable vertical scrolling within the container */
    position: relative; /* Added to position children absolutely relative to the container */
    width: 100%; /* Ensure it spans the full width */
    scroll-behavior: smooth;
    padding-bottom: 200px;
    scrollbar-color: rgba(255, 255, 255, .5) rgba(0, 0, 0, 0);
}

#album-title {
    color: white;
    font-family: "Cream Cheese";
    font-style: normal;
    font-size: 4vw;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    mix-blend-mode: exclusion;
    transition: 1s;
   /*text-shadow: 1px 1px 0 white;*/
}

#see-more {
    background: lightblue;
    position: fixed;
    bottom: 20%;
    right: 0%;
    padding: 10px 20px 10px 10px;
    margin-right: -10px;
    border-radius: 15px;
    font-family: "Impact";
    font-style: normal;
    font-size: 2vw;
    transition: 0.8s;
}

#see-more a {
    color: black;
    text-decoration: none;
}

#see-more a i {
    margin-right: 5px;
}

.service {
    display: block;
    margin: 10% 0;
    text-align: center;
    height: 60vh;
    max-height: 60vh;
    /*opacity: 0;*/
    overflow: visible;
}

.service img {
    width: 100%; /* Adjust based on your images */
    transform-origin: center;
    transition: transform 0.5s ease;
}

#spotify img {
    --base-transform: rotate(-10deg) translate(-50%, -15%);
    transform: var(--base-transform);
}

#apple-music img {
    --base-transform: rotate(85deg) translate(30%, -40%);
    transform: var(--base-transform);
}

#amazon-music img {
    --base-transform: rotate(-10deg) translate(5%, 10%);
    transform: var(--base-transform);
}

#youtube-music img {
    --base-transform: rotate(15deg) translate(-60%, 30%);
    transform: var(--base-transform);
}

#tencent-music img {
    --base-transform: rotate(45deg) translate(90%, 0%);
    transform: var(--base-transform);
}

.service img:hover {
    transform: var(--base-transform) scale(1.08) !important;
    cursor: pointer;
}

.service p {
    position: fixed;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    margin: 20px;
    width: 85%;
    font-size: 10vh;
    color: white;
    transition: opacity 0.5s ease;
    opacity: 0;
    font-family: "Sixtyfour", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
      "BLED" 0,
      "SCAN" 0;
    pointer-events: none; /* Ignore pointer events so clicks pass through */
}

.service img:hover + p, .service p:hover {
    opacity: 1; /* Make text visible when image or text itself is hovered */
}

.instagram-media {
    margin: 400px 0 100px !important;
}

@media (max-width: 800px) {
    #see-more {
        padding: 5px 15px 5px 10px;
        margin-right: -10px;
        border-radius: 10px;
        font-family: "Impact";
        font-style: normal;
        font-size: 6vw;
    }

    .service {
        margin: 40% 0;
        height: 80vh;
        max-height: 80vh;
    }
    
    .service img {
        width: 80%; /* Adjust based on your images */
    }

    .service p {
        margin: 2px;
        font-size: 300%;
        width: 98%;
    }

    #spotify img {
        --base-transform: rotate(-10deg) translate(-15%, 5%);
        transform: var(--base-transform);
    }
    
    #apple-music img {
        --base-transform: rotate(85deg) translate(-15%, -15%);
        transform: var(--base-transform);
    }
    
    #amazon-music img {
        --base-transform: rotate(-10deg) translate(5%, 10%);
        transform: var(--base-transform);
    }
    
    #youtube-music img {
        --base-transform: rotate(15deg) translate(-10%, 30%);
        transform: var(--base-transform);
    }
    
    #tencent-music img {
        --base-transform: rotate(45deg) translate(40%, 0%);
        transform: var(--base-transform);
    }

    #album-title {
        font-size: 8vw;
    }

    #title-bigger {
        font-size: 11vw;
    }
}