/* Link styles */
a:link {
    color: #67c7c7;
    background-color: transparent;
    text-decoration: none;
}
a:visited {
    color: #67c7c7;
    background-color: transparent;
    text-decoration: none;
}
a:hover {
    color: rgb(208, 235, 235);
    background-color: transparent;
    text-decoration: none;
    cursor: url('./assets/sword.gif'), pointer;
}
/* Remove bullet points from lists */
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
/* Page background */
body {
    background-color: #fafdfd;
    cursor: url('./assets/rabbit1.gif'), auto;
}
/* Content box with border */
.container {
    margin: auto;
    margin-top: 100px;
    width: 50%;
    border-left: 5px solid #67c7c7;
    border-right: 5px solid #67c7c7;
    padding: 10px;
    border-radius: 5px;
    background: linear-gradient(to right, rgba(232, 169, 179, 0.04), rgba(103, 199, 199, 0.08));
}
/* Heading size */
h1 {
    font-size: 20px;
}
/* Tree gif only */
img[alt="tree man"] {
    display: block;
    margin: auto;
    width: 86px !important;
    height: 81px !important;
}
/* Mobile-friendly adjustments */
@media (max-width: 768px) {
    .container {
        width: 90%;
        margin-top: 20px;
    }
}
/* Custom Music Player Styling */
.custom-player {
    margin: 20px 0;
}
.custom-player h2 {
    font-size: 18px;
    margin-bottom: 15px;
}
.player-controls {
    background-color: #67c7c7;
    padding: 15px;
    border-radius: 5px 5px 0 0;
    margin-bottom: 0;
    box-sizing: border-box;
}
.now-playing {
    color: white;
    margin-bottom: 10px;
    font-size: 14px;
}
.control-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.play-btn {
    background-color: white;
    color: #67c7c7;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play-btn:hover {
    background-color: rgb(208, 235, 235);
}
/* Sprite animation */
.sprite {
    width: 28px;
    height: 45px;
    margin: 0 10px;
    image-rendering: pixelated;
    display: block;
}
.time-display {
    color: white;
    font-size: 12px;
}
.progress-bar {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}
.progress-fill {
    height: 100%;
    background-color: white;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s;
}
/* Custom cursor for player controls */
.play-btn,
.progress-bar{
    cursor: url('./assets/sword.gif'), pointer;
}
.playlist {
    list-style-type: none;
    margin: 0;
    padding: 15px;
    border: 3px dotted #67c7c7;
    border-top: none;
    border-radius: 0 0 5px 5px;
    max-height: 150px;
    overflow-y: auto;
    box-sizing: border-box;
}
/* Scrollbar styling for playlist */
.playlist::-webkit-scrollbar {
    width: 8px;
}
.playlist::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}
.playlist::-webkit-scrollbar-thumb {
    background: white;
    border-radius: 3px;
}
.playlist::-webkit-scrollbar-thumb:hover {
    background: rgb(208, 235, 235);
}
.playlist li {
    cursor: url('./assets/sword.gif'), pointer;
    padding: 8px;
    margin: 5px 0;
    border-left: 3px solid transparent;
}
.playlist li:hover {
    color: rgb(208, 235, 235);
    border-left-color: rgb(208, 235, 235);
}
.playlist li.playing {
    color: #67c7c7;
    font-weight: bold;
    border-left-color: #67c7c7;
}
/* Link wrapper for bottom image */
a[href="work.html"],
a[href="personal.html"] {
    display: block;
    width: 86px;
    margin: auto;
}
/* Desktop adjustments for music player */
@media (min-width: 769px) {
    .player-wrapper {
        width: 60%;
    }
    
    .player-controls {
        width: 100%;
    }
    
    .playlist {
        width: 100%;
    }
}