@font-face {
    font-family: 'PlayfairDisplay';
    src: url('/static/fonts/PlayfairDisplay-Medium.ttf') format('truetype');
    font-weight: 100 900; /* Variable range */
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

.header-link {
    text-decoration: none; 
    color: inherit; 
    display: block; 
}

header {    
    position: sticky; 
    width: 100%;
    height: 100px;
    z-index: 1000;
    align-content: inline-block;
}

body {
    font-family: 'PlayfairDisplay';
    color: #ededed; 
    text-align: center;
    background: rgb(78, 97, 125);
    letter-spacing: 0.15em; 
    margin: 0;  
}


h2 {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 35px;
}


header h1 {
    font-size: 30px;
    min-width: 320px;
    letter-spacing: 0.5em;
}

header h2 {
    font-size: 18px;
    min-width: 320px;
    margin: 0;
    letter-spacing: 0.3em;
}

#album {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    background-color: #f5f5f5;
    color: rgb(78, 97, 125);
    text-align: center;
    padding-bottom: 60px;
}

    .cover {
        max-width: 400px;
        object-fit: contain;
    }

    .album-title {
        margin-top: 50px;
        margin-bottom: 10px;
        margin-left: 16px;
        font-size: 25px;
        letter-spacing: 0.7em;
    }

    .description {
        padding: 1% 10%;
        font-size: 12px;
        font-weight: 100;
    }

    .quote {
        font-size: 12px;
        padding: 10px;
    }

    .author {
        font-size: 12px;
        margin-bottom: 40px;
    }

    .credits {
        font-size: 9px;
    }
    .player {
        width: 600px;
        padding: 30px;
    }
    .buy-link {
        display: inline-block;
        background-color: pink;
        color: white;
        text-decoration: none;
        font-weight: bold;
        padding: 15px 30px;
        border-radius: 50px;
        transition: background-color 0.3s, transform 0.2s;
        text-align: center;
        font-size: 16px;
        margin-top: 30px;
    }

    .buy-link:hover {
        background-color: #ff69b4;
        transform: scale(1.05);
    }


footer {
    font-size: 10px;
    width: 35%;
    text-align: start;
    padding-left: 60px;
    padding-right: 60px;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

    .top-btn {
        text-align: center;
        color: white;
        padding: 5px 10px;
        border-radius: 3px;
        text-decoration: none;
        display: inline-block;
        border: 2px solid white;
        background: transparent;
        font-size: 15;
        margin-bottom: 50px;
    }

    .social-icons {
        position: absolute;
        right: 100px;
    }

    .social-icons img {
        width: 40px;
        height: 40px;
        margin: 5px;
    }

@media (max-width: 480px) {
    * {
        margin: 0;
        padding: 0;
        padding-bottom: 4px;
        box-sizing: border-box;
    }
    header h1 {
        font-size: 20px;
        padding: 5px;
    }

    header h2 {
        font-size: 15px;
    }

    .album-title {
        font-size: 20px;
        margin-top: 10px;
    }
    .cover {
        max-width: 240px;
        max-height: 240px;
    }

    .year {
        font-size: 12px;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    .description {
        font-size: 12px;
    }
    .player {
        width: 90%;
    }
    .quote, .author {
        font-size: 10px;
        padding: 20px;
    }
    .credits {
        font-size: 8px;
    }
    .social-icons {
        position: initial;
        padding-top: 5px;
    }

    .social-icons img {
        width: 30px;
        height: 30px;
    }
    
    .footer {
        font-size: 8px;
        width: 100%;
        text-align: initial;
        padding: 5px, 5px;
        text-align: center;
    }
}
  