/* General styles */
body {
    margin: 5px;
    padding: 0;
    font-family: 'Balsamiq Sans', sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

::-webkit-scrollbar {
  width: 2px; 
}

::-webkit-scrollbar-track {
  background: #f4f4f4; 
}

::-webkit-scrollbar-thumb {
  background-color: #6a0808; 
  border-radius: 20px; // Rounded corners for the thumb
  border: 2px solid #f4f4f4; 
}

::-webkit-scrollbar-thumb:hover {
  background-color: #900c3f; 
}


.top-banner {
    height: 120px;
    background-image: url('/alex/banner-alex-ayako.png');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
}

.marquee-text {
    text-align: center;
    background: #f5f5f5;
    padding: 10px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    position: sticky;
    top: 120px;
    z-index: 9;
}

h1 {
    text-align: center;
    color: #6a0808;
    position: sticky;
    top: 160px;
    z-index: 8;
    background: white;
    padding: 5px 0;
}

hr {
    border: 0;
    border-top: 1px solid #ccc;
    position: sticky;
    top: 200px;
    z-index: 7;
    background: rgb(112, 65, 65);
}

/* Scrollable content */
.content {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.song-list {
    max-width: 800px;
    margin: auto;
}

.song-item {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.song-number {
    width: 30px;
    height: 30px;
    font-weight: bold;
    text-align: center;
    margin-right: 10px;
    color: #fff;
    background-color: #6a0808;
    border-radius: 50%;
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
}


.song-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.song-name, .song-author {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.song-author {
    color: #333;
    font-size: 0.7em;
}

.copy-link, .play-song {
    margin-left: 10px;
    padding: 5px 10px;
    border: none;
    background-color: #007bff;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.copy-link:hover, .play-song:hover {
    background-color: #0056b3;
}

/* Media controls */
.media-controls {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    position: sticky;
    bottom: 0;
    background: #f5f5f5;
    border-top: 1px solid #ccc;
}

.control-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.control-button:hover {
    background-color: #0056b3;
}


.play-icon {
    width: 16px; /* Adjust size as needed */
    height: 16px;
    margin-left: 1px; /* Space between the text and the icon */
    vertical-align: middle; /* Align icon vertically with the text */
}

.download-icon {
    width: 16px; /* Adjust size as needed */
    height: 16px;
    margin-left: 1px; /* Space between the text and the icon */
    vertical-align: middle; /* Align icon vertically with the text */
}

.go-to-icon{
    background-color: #6a0808 !important;
}

@media (max-width: 768px) { /* Adjust width as needed for your mobile breakpoint */
    .song-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 120px; /* Limit width to fit only the first two letters */
    }
}
