@font-face {
    font-family: 'MyFunFont';
    src: url('fonts/Wimzik.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: 'MyFunFont', 'Baloo 2', 'Comic Neue', Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 238, 254, 0.10) transparent;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.loader {
    position: absolute;
    z-index: 50;
    background: #ffca84;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 20px;
    transition: opacity 0.6s ease;
}

.loader span {
    margin-left: 23px;
    color: #5E412F;
    font-weight: bold;
}

.loader img {
    width: 150px;
    height: 150px;
    animation: jumpy-loader 1s cubic-bezier(0.6, 0, 0.6, 1) infinite;
}

@keyframes jumpy-loader {
    0% {
        transform: translateY(0) scale(1);
    }

    10% {
        transform: translateY(-30px) scale(1.08);
    }

    20% {
        transform: translateY(-40px) scale(1.12);
    }

    30% {
        transform: translateY(-30px) scale(1.08);
    }

    40% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

.header_title {
    font-size: 24px;
    font-weight: bold;
    padding: 8px;
}

body::-webkit-scrollbar {
    width: 4px;
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background: rgba(100, 238, 254, 0.10);
    border-radius: 2px;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

.music_card h3 {
    color: #5E412F;
    text-shadow: 0 0 11px #fece8b;
}

.wrapper {
    /* background: url('images/stars.jpg') no-repeat center center; */
    background: url('images/teddy.png') center center;
    background-size: contain;
    backdrop-filter: blur(3px);
    height: 100dvh;
}

.content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    position: relative;
    justify-content: space-around;
    align-items: center;
    overflow-y: auto;
}

.audio_info {
    margin-bottom: 13px;
    font-size: 14px;
    color: #ffcca4;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background: #835730; */
    background: #200f0163;
    padding: 13px 18px;
    border-radius: 50px;
    width: 265px;
}

.audio-player {
    position: fixed;
    bottom: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    backdrop-filter: blur(25px);
    text-shadow: 0 0 6px #1c1c1b;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 7px 11px 1px #3f3f3f80;
}

.music_cards {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    margin-bottom: 175px;
    margin-top: 55px;
}

.music_card {
    max-width: 250px;
    max-height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #a971422e;
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 12px;
    border: solid 2px #F4A261;
    text-align: center;
    color: white;
    font-weight: bold;
    margin: 10px;
}

.music_card img {
    width: 100%;
    border-radius: 12px;
    min-height: 165px;
    object-fit: cover;
}

.play_button {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: none;
    background: #A97142;
    color: #5E412F;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
}

.loop_song {
    cursor: pointer;
    transition: filter 0.2s;
    font-size: 12px;
    color: #5E412F;
}

.loop_song.active path {
    fill: #ffb347;
    /* highlight color when looping */
}

header {
    margin-bottom: 20px;
    text-align: center;
    color: #5E412F;
    width: 98vw;
    text-shadow: 0 0 11px #fece8b;
    position: fixed;
    top: 0;
    z-index: 10;
    background: #a97142ba;
    border-radius: 0 0 12px 12px;
    backdrop-filter: blur(13px);
}

audio {
    filter: invert(1) sepia(1) hue-rotate(328deg) opacity(0.45);
}