/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital@0;1&display=swap'); */

body {
    /* font-family: 'Noto Sans', sans-serif; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Container */

.player-container {
    background-color: #eee;
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 0.5rem;
    row-gap: 0.8rem;
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 10;
}

.img-container {
    width: 100%;
    padding-right: 0.5rem;
}

.img-container img {
    border-radius: 0.3rem;
    object-fit: cover;
    height: 5rem;
    width: inherit;
}

/* Info */

.player-info h4 {
    margin-bottom: 0.2rem;
}

.player-info p {
    font-size: 0.9rem;
    font-style: italic;
}

/* Player Navigation */

.navigation {
    grid-column: 1 / span 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-items: center;
}

.progress-container {
    background-color: rgb(99, 99, 99);
    border-radius: 0.3rem;
    height: 0.5rem;
    width: 100%;
    margin: 0 0.5rem;
}

.progress {
    background-color: rgb(192, 0, 42);
    border-radius: 0.3rem;
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
}

.nav-running {
    margin-left: 0.5rem;
}

.nav-running p {
    font-size: 0.9rem;
}

#volume {
    margin-right: 0;
    margin-left: 0.7rem;
}

/* Volume Popup */

.volume-wrapper {
    height: 0.1rem;
    width: 100%;
    grid-column: 1 / span 3;
    /* display: flex; */
    /* justify-content: flex-end; */
}

.volume-popup {
    position: absolute;
    display: flex;
    visibility: hidden;
    opacity: 0;
    align-items: center;
    width: 8rem;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 0.6rem;
    padding: 0.5rem 0.4rem;
    z-index: 15;
    right: 2rem;
    transition: visibility 0s, opacity 0.2s ease;
}

.volume-container {
    background-color: #ddd;
    border-radius: 0.2rem;
    height: 0.4rem;
    width: 4rem;
    cursor: pointer;
}

.volume-bar {
    background-color: #35734c;
    border-radius: 0.2rem;
    height: 100%;
    width: 100%;
    transition: width 0.1s linear;
}

.logo {
    margin-bottom: 2rem;
}

.logo img {
    width: 20rem;
}

/* Helpers */

.display {
    visibility: visible;
    opacity: 1;
}
/* Button Classes */

.action-btn {
    background-color: transparent;
    border: 0;
    color: #35734c;
    font-size: 1.2rem;
    cursor: pointer;
    margin: 0 0.5rem;
}

.action-btn.action-btn-big {
    font-size: 1.5rem;
}

.action-btn.action-btn.action-btn-small {
    font-size: 1rem;
}
.action-btn:focus {
    outline: 0;
}

.action-btn:hover {
    transform: scale(105%);
    transition: transform 0.15s ease;
}
