[discography] {
    width: 100%;
    height: auto;
    padding: 2rem 0;
}

.timeline-container {
    width: 100%;
    overflow-x: auto;
    padding: 2rem;
}

.timeline {
    display: flex;
    flex-direction: row;
    min-width: min-content;
    padding: 0;
    position: relative;
}

.timeline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 1;
}

.timeline-item {
    flex: 0 0 300px;
    height: 300px;
    margin-right: 1em;
    text-decoration: none;
    color: white;
    position: relative;
    z-index: 2;
    transition: transform 0.2s ease;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.timeline-item:hover {
    transform: translateY(-10px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    filter: brightness(0.4);
    z-index: -1;
}

.timeline-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    background: transparent;
    box-shadow: none;
    position: relative;
    z-index: 1;
}

.timeline-date {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5);
    color: white;
}

.timeline-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.release-date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.tracklist {
    margin-top: 1rem;
}

.track {
    display: grid;
    grid-template-columns: 40px 1fr auto auto;
    gap: 1rem;
    padding: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.track:last-child {
    border-bottom: none;
}

.track-title {
    font-weight: 500;
}

.featured {
    font-style: italic;
    margin-left: 1rem;
}

button[type="submit"] {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background: #444;
}

@media screen and (max-width: 768px) {
    .timeline {
        flex-direction: column;
        align-items: center;
        
    }

    .timeline-item {
        flex: 0 0 auto;
        width: 90%;
        margin: 1rem 0;
    }
}