@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}
body{
    color: #fff;
    background-color: #000;
    overflow-x: hidden;
}
header{
    height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 3;
    top: 0;
}
.img-header > img{
    position: absolute;
    top: 0;
    right: 15rem;
    width: 110vw;
    height:170vh;
    object-fit: cover;
    mask-image: linear-gradient(black 50%, transparent 100%);
}
.text-header{
    color: #fff;
    position: absolute;
    top: 45%;
    left: 65%;
    transform: translate(-50%, -50%);
}
.text-header h1{
    font-size: 3rem;
    font-weight: 500;
}
.text-header h2{
    font-size: 7rem;
}
.section-letras{
    height: 100vh;
    width: 99vw;
    position: fixed;
    z-index: 0;
    top: 0; 
}

canvas{
    width: 100%;
    height: 100%;
}
main{
    position: relative;
}
.main-quien{
    height: 100vh;
    width: 99vw;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
}
.quien{
    width: 30%;
}
.quien > h2{
    font-size: 4rem;
    width: 50rem;
}
.quien > p{
    font-size: 2rem;
    width: 50rem;
    margin-top: 2rem;
    line-height: 1.5;
}
.img-quien > img{
    height: 100vh;
    mask-image: linear-gradient(black 80%, transparent 100%);

}

/* Timeline Styles */
.timeline-section {
    position: relative;
    padding: 100px 0;
    background-color: #0a0a0a;
    color: #fff;
    overflow: hidden;
}

.timeline-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
}

.timeline-svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #333;
    z-index: 1;
}

.timeline-path {
    stroke: #e2e2e2;
    stroke-width: 2px;
    fill: none;
}

.timeline-items {
    position: relative;
    z-index: 2;
    padding: 50px 0;
}

.timeline-item {
    position: relative;
    width: 100%;
    margin-bottom: 60px;
    opacity: 1;
    transition: all 0.5s ease;
    display: flex;
    justify-content: flex-start;
    padding-left: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 50%;
    text-align: right;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #a7a7a7;
    border: 3px solid #0a0a0a;
    z-index: 3;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: auto;
    right: -10px;
}

.timeline-item:nth-child(odd) .timeline-dot {
    left: -10px;
}

.timeline-year {
    position: absolute;
    top: -30px;
    left: 0;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2rem;
    white-space: nowrap;
    padding: 5px 15px;
    background: rgba(0, 255, 0, 0.1);
    border-radius: 20px;
}

.timeline-item:nth-child(even) .timeline-year {
    left: auto;
    right: 0;
}

.timeline-content {
    width: 90%;
    padding: 25px;
    background: rgba(30, 30, 30, 0.8);
    border-left: 3px solid #cfcfcf;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(5px);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 3px solid #cfcfcf;
    border-radius: 8px 0 0 8px;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
    margin: 0;
}

/* Responsive styles */
@media (max-width: 992px) {
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(even) .timeline-dot,
    .timeline-item:nth-child(odd) .timeline-dot {
        left: 20px;
        right: auto;
    }
    
    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 100%;
        border-left: 3px solid #cfcfcf;
        border-right: none;
        border-radius: 0 8px 8px 0;
    }
    
    .timeline-year {
        left: 0 !important;
        right: auto !important;
    }
}

/* Album Slider Styles */
.album-slider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 90vh;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    overflow: hidden;
    background: transparent;
}

/* Album Slider Section */
.album-slider {
    padding: 5rem 1rem;
    background: transparent;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.album-slider h2 {
    text-align: center;
    font-size: 3.5rem;
    margin: 0 auto 4rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    padding: 0 2rem;
    width: 100%;
    display: block;
    position: relative;
}

.album-container {
    position: relative;
    width: 100%;

    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.album-slider h2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #1DB954, #191414);
    bottom: -10px;
    left: 20%;
    border-radius: 3px;
}

.album-slides {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding: 20px 60px; /* Add padding for buttons */
}

.album-slides::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.album-slide {
    flex: 0 0 160px;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.album-slide:first-child {
    margin-left: 0;
}

.album-slide:last-child {
    margin-right: 0;
}

.album-card {
    background: rgba(20, 20, 20, 0.9);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: scale(0.98);
}

.album-card:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(29, 185, 84, 0.3);
}

.album-cover {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: rgba(18, 18, 18, 0.8);
}

.album-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.album-card:hover .album-cover img {
    transform: scale(1.05);
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.spotify-link {
    background: #1DB954;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.spotify-link:hover {
    transform: scale(1.05);
    background: #1ed760;
}

.album-info {
    padding: 8px 0 0;
    min-height: 60px;
}

.album-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-meta {
    display: flex;
    justify-content: space-between;
    color: #b3b3b3;
    font-size: 12px;
}

.album-year,
.album-type {
    margin: 0;
}

/* Navigation buttons */
.album-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}

.album-prev,
.album-next {
    position: absolute;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.album-prev {
    left: 10px;
}

.album-next {
    right: 10px;
}

.album-prev:hover,
.album-next:hover {
    background: #1DB954;
    transform: translateY(-50%) scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .album-slide {
        flex: 0 0 140px;
    }
    
    .album-card {
        width: 140px;
    }
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.spotify-link {
    background: #1DB954;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
}

.spotify-link:hover {
    background: #1ed760;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(30, 215, 96, 0.4);
}

.album-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.album-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.2em;
}

.album-meta {
    margin-top: auto;
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    color: #b3b3b3;
    flex-wrap: wrap;
}

.album-year, .album-type {
    background: #2a2a2a;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Navigation Buttons */
.album-prev, .album-next {
    background: rgba(29, 185, 84, 0.2);
    color: white;
    border: 2px solid #1DB954;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
}

.album-prev {
    margin-right: -25px;
}

.album-next {
    margin-left: -25px;
}

.album-prev svg,
.album-next svg {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.album-prev:hover, 
.album-next:hover {
    background: #1DB954;
    transform: scale(1.1);
}

.album-prev:active svg {
    transform: translateX(-2px);
}

.album-next:active svg {
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .album-prev,
    .album-next {
        width: 40px;
        height: 40px;
    }
    
    .album-prev {
        margin-right: -20px;
    }
    
    .album-next {
        margin-left: -20px;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .album-slider h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .album-slide {
        padding: 0.5rem;
    }
    
    .album-info {
        padding: 1rem;
    }
    
    .album-title {
        font-size: 1rem;
    }
    
    .album-year, .album-type {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
    
    .spotify-link {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

.album-slides {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    perspective: 1000px;
}

.album-slide {
    position: absolute;
    width: 250px;
    height: 90% !important;
    transition: transform 0.5s ease, opacity 0.5s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 10px;
    padding: 20px 15px;
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.album-cover {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.album-slide:hover .album-cover img {
    transform: scale(1.05);
}

.album-info {
    margin-top: 15px;
    text-align: center;
    padding: 0 10px;
}

.album-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.6em;
}

.album-type {
    color: #aaa;
    font-size: 0.85rem;
    margin-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    width: 100%;
}

/* Navigation Buttons */
.album-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.album-prev,
.album-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.album-prev:hover,
.album-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.album-prev {
    margin-left: 0;
}

.album-next {
    margin-right: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .album-slides {
        height: 450px;
    }
    
    .album-slide {
        width: 250px;
    }
    
    .album-cover {
        height: 250px;
    }
    
    .album-nav {
        display: none;
    }
}


.album-slide {
    position: absolute;
    width: 250px;
    height: 100%;
    transition: transform 0.5s ease, opacity 0.5s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 10px;
    padding: 20px 15px;
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.album-cover {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.album-slide:hover .album-cover img {
    transform: scale(1.05);
}

.album-info {
    margin-top: 15px;
    text-align: center;
    padding: 0 10px;
}

.album-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.6em;
}

.album-type {
    color: #aaa;
    font-size: 0.85rem;
    margin-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    width: 100%;
}

/* Navigation Buttons */
.album-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.album-prev,
.album-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.album-prev:hover,
.album-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.album-prev {
    margin-left: 0;
}

.album-next {
    margin-right: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .album-slides {
        height: 450px;
    }
    
    .album-slide {
        width: 250px;
    }
    
    .album-cover {
        height: 250px;
    }
    
    .album-nav {
        display: none;
    }
}
    .album-slide {
        width: 250px;
    }
    
    .album-cover {
        height: 250px;
    }
    
    .album-nav {
        display: none;
    }




@media (max-width: 1024px) {
    .text-header {
        right: 5%;
        max-width: 65%;
        padding: 1.8rem;
    } 
    .album-slide {
        width: 250px;
    }
    
    .album-cover {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .album-slides {
        height: 450px;
    }
    
    .album-slide {
        width: 250px;
    }
    
    .album-cover {
        height: 250px;
    }
    
    .album-nav {
        display: none;
    }   
}

    
    .album-slides {
        height: 450px;
    }
    
    .album-slide {
        width: 250px;
    }
    
    .album-cover {
        height: 250px;
    }
    
    .album-nav {
        display: none;
    }

    
    
    .album-nav {
        display: none;
    }
