@import url(fonts/icons.css);
@import url(variables.css);
@-webkit-keyframes fadeIn {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

* {
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    animation-duration: 1s;
    font-family: monospace;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100svh;
    padding: 0 1em;
}

img {
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: var(--img-border);
    max-width: 150px;
}

#who {
    color: var(--text-color);
    font-size: clamp(25px, 8vw, 30px);
    margin-bottom: 10px;
}

#footer {
    color: var(--text-color-light);
    font-size: clamp(12px, 8vw, 20px);
    margin-bottom: 20px;
}

button {
    background-color: var(--btn-bg);
    border: var(--btn-border);
    border-radius: 5px;
    padding: 15px;
    font-size: clamp(18px, 2vw, 20px);
    color: var(--btn-color);
    cursor: pointer;
    font-family: monospace;
    margin: 5px;
    transition: all 0.2s ease-in-out;
    display: inline;
}

a {
    text-decoration: none;
    color: var(--ahref-color);
    font-family: monospace;
}

.flexbox {
    display: flex;
    flex-direction: row;
}

.icon {
    padding: 5px;
    font-style: normal;
    border: 2px dashed;
    color: var(--icon-color);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border-radius: 50%;
    background-color: var(--icon-bg);
    margin-right: 10px;
}

button:hover {
    background-color: var(--btn-hover-bg);
    border-radius: 5px;
    padding: 20px;
    font-size: clamp(20px, 2vw, 25px);
}

::selection {
    background-color: var(--selection)
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 4px;
    height: 4px
}

::-webkit-scrollbar-button {
    display: none
}

::-webkit-scrollbar-thumb {
    background-color: var(--scroll-bar)
}

@media (max-width: 870px) {
    .flexbox {
        flex-direction: column;
    }
    button {
        width: 100%;
    }
}
* {
    margin: 0;
    padding: 0;
    letter-spacing: 1px;
    box-sizing: border-box;
    font-family: sans-serif;
    transition: all 0.35s linear;
}
body {
    color: white;
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background-color: var(--bg);
}
.player {
    width: 640px;
    display: grid;
    grid-gap: 16px;
    padding: 8px 24px;
    position: relative;
    border-radius: 64px;
    background-color: var(--bg);
    grid-template-columns: 48px 1fr 48px;
}
.control, .player__current {
    height: 100%;
    display: flex;
    padding-block: 16px;
    align-items: center;
    justify-content: center;
}
.player__play {
    font-size: 24px;
    cursor: pointer;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: white;
}
.player__play:hover {
    -webkit-text-fill-color: white;
}
.player__info {
    display: flex;
    font-size: 21px;
    align-items: center;
    justify-content: center;
}
.player__current {
    text-align: right;
}
.player__bar {
    z-index: -2;
    --space: -4px;
    overflow: hidden;
    top: var(--space);
    left: var(--space);
    position: absolute;
    border-radius: 64px;
    right: var(--space);
    bottom: var(--space);
    background-color: #24242424;
}
.player__progress {
    display: blcok;
    height: 100%;
    background-color: rgb(194, 20, 218);
    transition: all 1s linear;
    width: var(--progress,0%);
}
.player__progress.stopped {
    background-color: orange;
}
