@import "./classes-section.css";
@import "./class-suggestion.css";
@import "../../_cross/css/playlists/playlists-carousel.css";

.library-cover-section {
    width: 100dvw;
    aspect-ratio: var(--aspect-library-cover);
    position: relative;
    background-color: black;
}

.library-cover-section img {
    object-fit: cover;
    object-position: top;
}

.library-cover-section .library-cover-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    z-index: 2;
    gap: var(--space-sm);
}

[dir='rtl'] .library-cover-section .library-cover-content {
    left: unset;
    right: 100px;
}

.section-header {
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
    max-width: 430px;
    margin-top: 0;
    margin-bottom: 0;
    font-family: Lyon;
    font-size-adjust: none;
}

.library-cover-section .section-description {
    font-size: var(--font-size-3xl);
    font-weight: 400;
    line-height: var(--font-size-4xl);
}

@media (max-width: 539px) {

    .section-header {
        font-size: var(--font-size-4xl);
        line-height: var(--font-size-4xl);
    }

    .library-cover-section .section-description {
        font-size: var(--font-size-2xl);
        line-height: 30px;
    }

    .library-cover-section .library-cover-content {
        left: 40px;
    }

    [dir='rtl'] .library-cover-section .library-cover-content {
        right: 40px;
    }

    .section-header {
        font-size: var(--font-size-2xl);
        line-height: var(--font-size-2xl);
    }

    .library-cover-section .section-description {
        font-size: var(--font-size-base);
        line-height: var(--font-size-lg);
    }

    .green-button span {
        font-size: var(--font-size-base);
        line-height: var(--font-size-base);
    }

}