html, body {
    margin: 0;
    padding: 0;

    width: 100%;
    min-height: 100vh;

    overflow: hidden;
}

body {
    background-image: url('../assets/images/background.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;

    font-family: "Macondo", cursive;
    font-weight: 400;
    font-style: normal;
}

#wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#title {
    width: 90%;
    max-width: 500px;

    margin-top: 40px;

    mix-blend-mode: hard-light;
}

#container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

#album {
    width: 800px;
    margin-top: 40px;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

#album ol {
    color: yellow;
    font-size: 1.5rem;
}

#album ol li {
    text-shadow: 0 0 10px rgba(255, 255, 8, 0.9);
    cursor: pointer;
}

#album ol li.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

#cover {
    width: 50%;
}

#download {
    border: none;
    padding: 14px 30px;
    border-radius: 9999px;
    background-color: yellow;

    font-family: "Macondo", cursive;
    font-weight: 400;
    font-style: normal;

    font-size: 1.4rem;
    box-shadow: 0 0 10px rgba(255, 255, 8, 0.9);

    transition: box-shadow 0.4s ease;
}

#download:hover {
    box-shadow: 0 0 20px rgba(255, 255, 8, 0.9);
}

#explicit {
    width: 20%;
    max-width: 140px;

    position: fixed;
    bottom: 40px;
    right: 40px;
}

#chillmate {
    width: 60px;
    height: 60px;

    background-image: url('https://chillmate.app/favicon.png');
    background-size: 100%;

    position: fixed;
    bottom: 40px;
    left: 40px;

    box-shadow: 0 0.3rem 0.6rem rgba(2, 2, 3, 0.2);
    border-radius: 100%;
}

#chillmate .tooltip {
    position: absolute;
    top: -12px;
    left: 50%;

    transform: translate(-60px, -100%);

    width: 190px;
    height: 100px;

    border-radius: 24px;

    font-family: "Ubuntu Sans Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

    color: #000;
    font-size: 0.8em;
    max-width: 28ch;
    text-align: center;

    --b: 1.2em;
    --h: 0.7em;

    --p: 28%;
    --r: 1em;
    --c: #ffffff;

    padding: 1em;
    border-radius: var(--r) var(--r) min(var(--r),100% - var(--p) - var(--b)/2) min(var(--r),var(--p) - var(--b)/2)/var(--r);
    clip-path: polygon(0 100%,0 0,100% 0,100% 100%,
    min(100%,var(--p) + var(--b)/2) 100%,
    var(--p) calc(100% + var(--h)),
    max(0%  ,var(--p) - var(--b)/2) 100%);
    background: var(--c);
    border-image: conic-gradient(var(--c) 0 0) fill 0/
var(--r) calc(100% - var(--p) - var(--b)/2) 0 calc(var(--p) - var(--b)/2)/
0 0 var(--h) 0;

    pointer-events: none;
}

#chillmate .tooltip strong {
    color: #0092ff;
}

@keyframes shake {
    0% {transform: rotate(0deg);}
    25% {transform: rotate(5deg);}
    50% {transform: rotate(-5deg);}
    75% {transform: rotate(5deg);}
    100% {transform: rotate(0deg);}
}

#chillmate:hover {
    animation: shake 0.5s;
}

@keyframes fadeOut {
    0% {opacity: 1;}
    100% {opacity: 0;}
}

#chillmate .tooltip {
    animation: fadeOut 2s forwards;
    animation-delay: 15s;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;

    width: 100%;
    text-align: center;

    color: white;

    font-size: 0.9rem;
}

footer a {
    color: yellow;
    text-decoration: none;
}

@media (max-width: 800px) {
    html {
        overflow-x: hidden;
        overflow-y: auto;
    }

    body {
        padding-bottom: 500px;
    }

    #album {
        flex-direction: column;
        width: 100%;

        align-items: center;
    }

    #cover {
        width: 80%;
    }
}
