@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    user-select: none;
    font-family: 'Quicksand', sans-serif;
}

.container {
    width: 80%;
    margin: 0 auto;
}

/* header */

header {
    position: fixed;
    width: 100%;
    top: 20px;
    left: 0;
    z-index: 1000;
}

header img {
    width: 70px;
    border-radius: 20px;
}

header a {
    color: aliceblue;
    text-decoration: none;
}

.site-header__wrapper {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav__item a {
    display: block;
    padding: 1rem 1.1rem;
}

.nav__toggle {
    display: none;
}

.dropdown .dropdown-menu {
    transform-origin: top center;
    will-change: transform, opacity;
    transition: transform 260ms cubic-bezier(.2, .9, .3, 1), opacity 260ms ease;
    opacity: 0;
    transform: translateY(-8px) scale(.98);
    pointer-events: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    overflow: hidden;
}

.dropdown.show .dropdown-menu,
.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.dropdown .dropdown-item {
    opacity: 0;
    transform: translateX(-8px);
    transition: transform 220ms cubic-bezier(.2, .9, .3, 1), opacity 220ms ease;
    transition-delay: 0s;
    padding: 10px 12px;
}

.dropdown.show .dropdown-item:nth-child(1) {
    transition-delay: 0.03s;
    opacity: 1;
    transform: translateX(0);
}

.dropdown.show .dropdown-item:nth-child(2) {
    transition-delay: 0.06s;
    opacity: 1;
    transform: translateX(0);
}

.dropdown.show .dropdown-item:nth-child(3) {
    transition-delay: 0.09s;
    opacity: 1;
    transform: translateX(0);
}

.dropdown.show .dropdown-item:nth-child(4) {
    transition-delay: 0.12s;
    opacity: 1;
    transform: translateX(0);
}

.dropdown.show .dropdown-item:nth-child(5) {
    transition-delay: 0.15s;
    opacity: 1;
    transform: translateX(0);
}

.dropdown.show .dropdown-item:nth-child(6) {
    transition-delay: 0.18s;
    opacity: 1;
    transform: translateX(0);
}

.dropdown .dropdown-item:hover,
.dropdown .dropdown-item:focus {
    transform: translateX(4px);
    background-color: rgba(0, 0, 0, 0.03);
}

@media (max-width: 576px) {
    .dropdown .dropdown-menu {
        width: calc(100vw - 32px) !important;
        left: 16px !important;
        right: 16px !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    .dropdown .dropdown-menu,
    .dropdown .dropdown-item {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto;
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(0) scale(0);
    }

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

html {
    box-sizing: border-box;
    --parent-height: 20em;
    --duration: 1s;
    --duration-text-wrap: 12s 1.5s cubic-bezier(0.82, 0.82, 1, 1.01);
    --cubic-header: var(--duration) cubic-bezier(0.71, 0.21, 0.3, 0.95);
    --cubic-slider: var(--duration) cubic-bezier(0.4, 0, 0.2, 1);
    --cubic-play-list: .35s var(--duration) cubic-bezier(0, 0.85, 0.11, 1.64);
    --cubic-slider-context: cubic-bezier(1, -0.01, 1, 1.01);
}

html *,
html *::before,
html *::after {
    box-sizing: inherit;
    scrollbar-width: none;
}

body {
    margin: 0;
    height: 100vh;
    display: flex;
    user-select: none;
    align-items: center;
    /* justify-content: center; */
    flex-direction: column;
    background-color: #e5e7e9;
    font-family: 'Quicksand', sans-serif;
    -webkit-tap-highlight-color: transparent;
    transition: background-color var(--cubic-slider);
}

.img {
    width: 100%;
    flex-shrink: 0;
    display: block;
    object-fit: cover;
}

.list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.uppercase {
    text-transform: uppercase;
}

.player {
    width: 17.15em;
    display: flex;
    overflow: hidden;
    font-size: 1.22em;
    border-radius: 1.35em;
    flex-direction: column;
    background-color: white;
    height: var(--parent-height);
    margin-top: 100px;
}

.player__header {
    z-index: 1;
    gap: 0 .4em;
    width: 100%;
    display: flex;
    height: 5.85em;
    flex-shrink: 0;
    position: relative;
    align-items: flex-start;
    border-radius: inherit;
    justify-content: flex-end;
    background-color: white;
    padding: .95em 0.6em 0 1.2em;
    box-shadow: 0 2px 6px 1px #0000001f;
    transition: height var(--cubic-header), box-shadow var(--duration), padding var(--duration) ease-in-out;
}

.player__header.open-header {
    height: 100%;
    padding-left: 0;
    padding-right: 0;
    box-shadow: unset;
}

.player__img {
    width: 3.22em;
    height: 3.22em;
    border-radius: 1.32em;
}

.player__img--absolute {
    top: 1.4em;
    left: 1.2em;
    position: absolute;
}

.slider {
    flex-shrink: 0;
    overflow: hidden;
    transition: width var(--cubic-header), height var(--cubic-header), top var(--cubic-header), left var(--cubic-header);
}

.slider.open-slider {
    top: 0;
    left: 0;
    width: 100%;
    height: 14.6em;
}

.slider__content {
    display: flex;
    height: 100%;
    will-change: transform;
    transition: transform var(--cubic-slider);
}

.slider__img {
    filter: brightness(75%);
}

.slider__name,
.slider__title {
    overflow: hidden;
    white-space: nowrap;
}

.text-wrap {
    display: block;
    white-space: pre;
    width: fit-content;
    animation: text-wrap var(--duration-text-wrap) infinite;
}

@keyframes text-wrap {
    75% {
        transform: translate3d(-51.5%, 0, 0);
    }

    100% {
        transform: translate3d(-51.5%, 0, 0);
    }
}

.player__button {
    all: unset;
    z-index: 100;
    width: 2.5em;
    height: 2.5em;
    cursor: pointer;
}

.player__button i {
    color: rgb(235, 233, 233);
    padding-left: 17px;
    font-size: 25px;
}

.playlist {
    transform: scale(0);
    transition: transform calc(var(--duration) / 2);
}

.slider.open-slider .playlist {
    transform: scale(1);
    transition: transform var(--cubic-play-list);
}

.player__button--absolute--nw {
    top: 5.5%;
    left: 5.5%;
    position: absolute;
}

.player__button--absolute--center {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
}

img[alt="pause-icon"] {
    display: none;
}

.player__controls {
    width: 77%;
    gap: .5em 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    will-change: contents;
    align-content: center;
    justify-content: center;
    transition: transform var(--cubic-header), width var(--cubic-header);
}

.player__controls.move {
    width: 88%;
    transform: translate3d(-1.1em, calc(var(--parent-height) - 153%), 0);
}

.player__context {
    margin: 0;
    width: 100%;
    display: flex;
    line-height: 1.8;
    flex-direction: column;
    justify-content: center;
    text-transform: capitalize;
}

.slider__context {
    width: 56.28%;
    cursor: pointer;
    text-align: center;
    padding-bottom: .2em;
    will-change: contents;
    transition: width var(--cubic-header);
    animation: calc(var(--duration) / 2) var(--cubic-slider-context);
}

@keyframes opacity {
    0% {
        opacity: 0;
    }

    90% {
        opacity: 1;
    }
}

.player__controls.move .slider__context {
    width: 49.48%;
}

.player__title {
    font-size: .7em;
    font-weight: bold;
    color: #00000086;
}

.progres {
    width: 90%;
    height: .25em;
    cursor: pointer;
    border-radius: 1em;
    touch-action: none;
    background-color: #e5e7ea;
    transition: width var(--cubic-header);
}

.progres__filled {
    width: 0%;
    height: 100%;
    display: flex;
    position: relative;
    align-items: center;
    border-radius: inherit;
    background-color: #78adfe;
}

.player__controls.move .progres {
    width: 98%;
}

.progres__filled::before {
    right: 0;
    width: 10px;
    content: " ";
    height: 10px;
    border-radius: 50%;
    position: absolute;
    background-color: #5781bd;
}

.player__playlist {
    height: 100%;
    overflow: auto;
    padding: 1.05em .9em 0 1.2em;
}

.player__playlist::-webkit-scrollbar {
    width: 0;
}

.player__song {
    display: flex;
    cursor: pointer;
    margin-bottom: .5em;
    padding-bottom: .7em;
    border-bottom: .1em solid #d8d8d859;
}

.player__song .player__context {
    line-height: 1.5;
    margin-left: .65em;
}

.player__song-name {
    font-size: .88em;
}

.player__song-time {
    font-size: .65em;
    font-weight: bold;
    color: #00000079;
    height: fit-content;
    align-self: flex-end;
}

.audio {
    display: none !important;
}



/* footer start */
.footer {
    /* background-color: #333; */
    /* color: #fff; */
    text-align: center;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #f1f1f3;
    margin-top: 100px;
}

.box {
    width: 70px;
    height: 70px;
    border-radius: 50px;
    background-color: #f0f2f3;
    transition: box-shadow 0.3s ease;
}

.sosial-media {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-bottom: 30px;
}

.sosial-media i {
    color: #020316;
    font-size: 30px;
    padding-top: 20px;
}

.box:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}


/* footer end */




@media (min-width: 600px) {
    .site-header__wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 0;
        padding-bottom: 0;
    }
}

@media (min-width: 600px) {
    .nav__wrapper {
        display: flex;
    }
}

@media (max-width: 599px) {
    .site-header__wrapper a img {
        position: relative;
        z-index: 20;
    }

    .nav__wrapper {
        position: absolute;
        top: -20px;
        right: 0;
        left: 0;
        z-index: 10;
        text-align: center;
        padding-top: 40px;
        background-color: #020316;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-100%);
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    .nav__wrapper.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 599px) {
    .nav__toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 1rem;
        color: aliceblue;
    }
}

@media (max-width: 320px) {
    .site-header {
        width: 100%;
        display: flex;
    }

    section {
        padding-top: 350px;
    }

    .footer-content {
        padding: 0 10px;
    }

    .footer span {
        font-size: 14px;
        text-align: center;
    }

    .box {
        width: 50px;
        height: 50px;
        border-radius: 50px;
        background-color: #f0f2f3;
        transition: box-shadow 0.3s ease;
    }

    .sosial-media {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding-bottom: 30px;
    }

    .sosial-media i {
        color: #020316;
        font-size: 20px;
        padding-top: 15px;
    }

    .nav__toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    /* .player {
        width: 17.15em;
        display: flex;
        overflow: hidden;
        font-size: 1.22em;
        border-radius: 1.35em;
        flex-direction: column;
        background-color: white;
        height: var(--parent-height);
    } */
}

@media (min-width: 321px) and (max-width: 375px) {}

@media (max-width: 375px) {
    .site-header {
        width: 100%;
    }

    #dropdownMenu {
        margin-right: 27px;
    }

    .nav__toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

}

@media (min-width: 376px) and (max-width: 425px) {}

@media (max-width: 425px) {
    .site-header {
        width: 100%;
    }

    #dropdownMenu {
        margin-right: 27px;
    }

    .nav__toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }
}

@media (min-width: 426px) and (max-width: 500px) {}

@media (min-width: 426px) and (max-width: 768px) {}

@media (max-width: 768px) {
    .site-header {
        width: 100%;
    }

}