.player {
    width: 99.5%;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.7);
    background-image: url('../images/player-background.png');
    background-repeat: repeat-x;
    display: flex;
}
#play {
    display: block;
}
#pause {
    display: none;
}
#endTime {
    margin-left: 8px;
}
.media-time {
    width: 100%;
    margin-right: 16px;
    margin-top: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
}
.media-time p {
    margin-top: 4px;
}
#media-progress {
    width: 100%;
    accent-color: #3B4115;
}
#currentTime {
    width: 48px;
}
.media-button {
    opacity: 70%;
    transition: opacity 0.3s ease, opacity 0.3s ease;
    margin: 8px 16px;
}
.media-button:hover {
    opacity: 100%;
    cursor: pointer;
}
.song-details {
    position: absolute;
    top: 180px;
    left: 10%;
    right: 10%;
    bottom: 48px;
    justify-content: center;
    overflow: hidden;
    display: flex;
}
.song-title {
    margin-top: 40px;
    font-size: 48px;
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow:
            -1px -1px 0 #555555, /* Top-left */
            1px -1px 0 #555555, /* Top-right */
            -2px 2px 0 #222222, /* Bottom-left */
            2px 2px 0 #222222; /* Bottom-right */
}
.song-title h3 {
    margin: 0;
    font-size: 40px;
}
.album-details {
    position: absolute;
    top: 240px;
    left: 15%;
    width: 70%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.album-tracks {
    position: relative;
    width: 90%;
    margin-left: 10%;
    color: white;
    font-size: 20px;
    font-weight: 400;
    text-shadow:
            -1px -1px 0 black, /* Top-left */
            1px -1px 0 black, /* Top-right */
            -1px 1px 0 black, /* Bottom-left */
            1px 1px 0 black; /* Bottom-right */
}
.album-tracks h1 {
    font-size: 24px;
    color: #C9D374;
}
.album-media {
    padding-left: 16px;
    margin-top: 16px;
}
.album-media a {
    color: #ffffff;
    font-size: 32px;
    font-weight: 400;
    text-decoration: none;
    text-shadow:
            -1px -1px 0 black, /* Top-left */
            1px -1px 0 black, /* Top-right */
            -1px 1px 0 black, /* Bottom-left */
            1px 1px 0 black; /* Bottom-right */
}
.album-tracks a {
    text-decoration: none;
    color: #cccccc;
    font-weight: 600;
    padding-left: 16px;
    margin-top: 8px;
    margin-bottom: 8px;
}
.album-tracks a:hover {
    font-weight: 700;
    color: #ffffff;
}
.album-tracks p {
    color: #aaaaaa;
    padding-left: 16px;
    opacity: 0.5;
    margin-top: 8px;
    margin-bottom: 8px;
}
.song-media {
    width: 560px;
    margin-top: 48px;
}
.youtube-container {
    width: 560px;
    height: 315px;
    margin-bottom: 32px;
}
.lyric-container {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
}
.lyrics {
    position: absolute;
    overflow-x: hidden;
    overflow-y: auto;
    top: 0;
    bottom: 0;
    left: 40px;
    right: -15px;
    font-size: 20px;
    color: #ffffff;
    font-weight: 400;
    text-shadow:
            -1px -1px 0 black, /* Top-left */
            1px -1px 0 black, /* Top-right */
            -1px 1px 0 black, /* Bottom-left */
            1px 1px 0 black; /* Bottom-right */
}
.lyrics h1 {
    font-size: 28px;
    color: #ffffff;
    font-weight: 600;
    text-shadow:
            -1px -1px 0 black, /* Top-left */
            1px -1px 0 black, /* Top-right */
            -1px 1px 0 black, /* Bottom-left */
            1px 1px 0 black; /* Bottom-right */
}
.lyrics p {
    display: block;
}
.lyrics span {
    display:block;
    word-wrap:break-word;
    margin-bottom: 6px;
}
.lyric-highlight {
    transition: font-weight 0.3s ease, font-weight 0.3s ease;
    font-weight: 800;
    text-shadow:
            -2px -2px 0 black, /* Top-left */
            2px -2px 0 black, /* Top-right */
            -2px 2px 0 black, /* Bottom-left */
            2px 2px 0 black; /* Bottom-right */
}
.scroll {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 32px;
}
.scroll-bar {
    position: absolute;
    top: 32px;
    bottom: 32px;
    width: 100%;
    background-image: url('../images/scroll-bar.png');
    background-repeat: repeat-y;
    opacity: 50%;
}

#scroll-up {
    border: none;
    background: none;
    padding: 0;
    left: 0;
    top: 0;
    transition: opacity 0.3s ease, opacity 0.3s ease;
}
#scroll-down {
    position: absolute;
    border: none;
    background: none;
    padding: 0;
    left: 0;
    bottom: 0;
    transition: opacity 0.3s ease, opacity 0.3s ease;
}
.youtube-embed {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.youtube-link {
    display: none;
}
@media (max-width: 1680px) {
    .song-details {
        left: 8%;
        right: 8%;
    }
}
@media (max-width: 1480px) {
    .song-details {
        left: 8%;
        right: 8%;
    }
    .song-media {
        width: 480px;
    }
    .youtube-container {
        width: 480px;
        height: 270px;
    }
}
@media (max-width: 1280px) {
    .song-details {
        left: 5%;
        right: 5%;
    }
    .song-media {
        width: 384px;
    }
    .youtube-container {
        width: 384px;
        height: 216px;
    }
}
@media (max-width: 1080px) {
    .song-media {
        width: 100%;
    }
    .youtube-container {
        width: 100%;
        height: 200px;
    }
    .lyric-container {
        width: 100%;
    }
    .song-details {
        top: 128px;
        flex-direction: column-reverse;
        left: 30%;
        transform: translate(-20%, 0);
    }
}
@media (max-width: 880px) {
    .song-title h3 {
        font-size: 24px;
    }
    .album-tracks {
        font-size: 14px;
    }
    .album-tracks h1 {
        font-size: 20px;
    }
    .album-tracks p {
        font-size: 16px;
        padding-left: 8px;
        margin-top: 6px;
        margin-bottom: 6px;
    }
    .album-tracks a {
        font-size: 16px;
        padding-left: 8px;
        margin-top: 6px;
        margin-bottom: 6px;
    }
    .album-media a {
        font-size: 20px;
    }
    .album-details {
        position: absolute;
        top: 132px;
        left: 3%;
        width: 94%;
    }
    .song-media {
        width: 100%;
        margin-top: 0;
        display: flex;
        margin-bottom: 0;
        height: 100px;
    }
    .player {
        width: 68%;
        margin-top: 2px;
        height: 58px;
    }
    .youtube-container {
        width: 32%;
        height: 128px;
    }
    .song-details {
        flex-direction: column-reverse;
        left: 15%;
        transform: translate(-10%, 0);
        top: 120px;
        right: 0;
    }
    .song-title {
        font-size: 32px;
        margin-top: 16px;
    }
    .lyric-container {
        width: 480px;
    }
    .lyrics {
        font-size: 18px;
        padding-right: 16px;
    }
    .lyrics h1 {
        font-size: 22px;
    }
    .lyrics p {
        margin-right: 108px;
    }
    .youtube-embed {
        display: none;
    }
    .youtube-link {
        width: 100%;
        display: block;
    }
    .media-button {
        width: 40px;
        margin-left: 8px;
        margin-top: 8px;
        margin-right: 8px;
    }
    .media-time {
        margin-top: 18px;
    }
    .media-time p {
        font-size: 12px;
    }
}
@media (max-width: 420px) {
    .song-title h3 {
        font-size: 20px;
    }
    .album-tracks h1 {
        font-size: 20px;
    }
    .album-tracks p {
        font-size: 12px;
        padding-left: 8px;
    }
    .album-tracks a {
        font-size: 12px;
        padding-left: 8px;
    }
    .album-details {
        position: absolute;
        top: 112px;
        left: 3%;
        width: 94%;
    }
    .lyrics {
        font-size: 16px;
        padding-right: 16px;
    }
    .lyrics h1 {
        font-size: 20px;
    }
    .lyric-container {
        width: 420px;
    }
}

@media (max-height: 438px) and (orientation: landscape) {
    .song-media {
        width: 100%;
        margin-top: 0;
        display: flex;
        margin-bottom: 0;
        height: 100px;
    }
    .player {
        width: 68%;
        margin-top: 2px;
        height: 58px;
    }
    .youtube-container {
        width: 32%;
        height: 128px;
    }
    .song-details {
        flex-direction: column-reverse;
        left: 15%;
        transform: translate(-10%, 0);
        top: 120px;
        right: 0;
    }
    .song-title {
        font-size: 32px;
        margin-top: 16px;
    }
    .lyric-container {
        width: 480px;
    }
    .lyrics {
        font-size: 18px;
        padding-right: 16px;
    }
    .lyrics h1 {
        font-size: 22px;
    }
    .lyrics p {
        margin-right: 108px;
    }
    .youtube-embed {
        display: none;
    }
    .youtube-link {
        width: 100%;
        display: block;
    }
    .media-button {
        width: 40px;
        margin-left: 8px;
        margin-top: 8px;
        margin-right: 8px;
    }
    .media-time {
        margin-top: 18px;
    }
    .media-time p {
        font-size: 12px;
    }
}