:root {
    --primary-heading: #f5f3ef;
    --primary-para: #d0cfcf;
    --secondary-heading: #4d5669;
    --seconday-para: #7c8590;
    --tertiary-heading: #a0522d;
}

* {
    padding: 0;
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    box-sizing: border-box;
}

/* .under-dev {
    display: none;
    position: absolute;
    background-color: #1f2933;
    width: 100%;
    top: 3.3rem;
    z-index: 5;
    overflow: hidden;
}

.marquee {
    display: flex;
    height: 3rem;
    gap: 5rem;
    width: max-content;
    white-space: nowrap;
    animation: moveText 60s linear infinite;
}

.marquee p {
    display: inline-flex;
    align-self: center;
    color: #fbbf24;
    white-space: nowrap;
}

.marquee i {
    display: flex;
    align-self: center;
    color: #fbbf24;
    margin-right: 0.5rem;
}

.marquee span {
    font-weight: 500;
    margin-right: 0.3rem;
}

.under-dev:hover .marquee {
    animation-play-state: paused;
}

@keyframes moveText {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-50%);
    }
} */

main {
    background-color: #f8f6f1;
    border: none;
}

.first-section {
    background-color: #212020;
    display: flex;
    gap: 2rem;
    padding-top: 6rem;
    padding-bottom: 3rem;
    height: auto;
}

.fs-div-one {
    /* flex-wrap: wrap; */
    width: 40%;
    margin-left: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fs-div-one h2 {
    color: var(--tertiary-heading);
    font-weight: 500;
    margin-top: 2.8rem;
    font-size: 1rem;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.fs-div-one h1 {
    color: var(--primary-heading);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
}

.fs-div-one p {
    color: var(--primary-para);
    font-style: italic;
    font-weight: lighter;
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
}

.fs-div-two {
    display: flex;
    flex-direction: column;
}

#fs-primary-cta {
    color: var(--primary-heading);
    border: 1.5px solid var(--primary-heading);
    padding: 0.7rem;
    margin-bottom: 8px;
    width: 60%;
    background-color: transparent;
    cursor: pointer;
    font-weight: 500;
    border-radius: 0.2rem;
    margin-bottom: 2.5rem;
}

#fs-primary-cta:hover {
    color: #d1cabb;
    border-color: #d1cabb;
}

#fs-secondary-cta {
    display: none;
    color: var(--tertiary-heading);
    border: 1.5px solid var(--tertiary-heading);
    padding: 0.6rem 0rem;
    width: 60%;
    margin-bottom: 30px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0.2rem;
    background-color: transparent;
}

#fs-secondary-cta:hover {
    color: #7a3c1f;
    border-color: #7a3c1f;
}

.fs-div-three {
    margin-right: 3.5rem;
    /* Just change the width to 50% when "booking ticket" is on */
    width: 50%;
    height: 20rem;
    overflow: hidden;
    border-radius: 0.2rem;
}

.fs-div-three img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.second-section {
    padding: 5rem 3.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    height: auto;
}

.ss-first-div {
    padding: 0rem 2.5rem;
    border: none;
    border-radius: 0.2rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)),
        url("/client-side/assets/test1-image.jpg") no-repeat center / cover;
}

.ss-first-div h2,
.ss-second-div h2 {
    font-weight: 500;
    color: var(--tertiary-heading);
    margin-top: 5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.ss-first-div h1,
.ss-second-div h1 {
    color: var(--primary-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: lighter;
}

.ss-first-div p,
.ss-second-div p {
    color: var(--primary-para);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

#ss-view-classes-btn {
    padding: 0.7rem 0.7rem;
    margin-bottom: 2.5rem;
    cursor: pointer;
    color: var(--primary-heading);
    border: 1px solid var(--primary-heading);
    background-color: transparent;
    border-radius: 0.1rem;
}

#ss-view-classes-btn:hover,
#ss-primary-btn:hover {
    color: var(--secondary-heading);
    background-color: var(--primary-heading);
}

.ss-second-div {
    padding: 0rem 2.5rem;
    border: none;
    border-radius: 0.2rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)),
        url("/client-side/assets/home-page/virtual-masterclass.jpeg") no-repeat center / cover;
}

#ss-primary-btn {
    padding: 0.7rem 1.4rem;
    margin-right: 0.5rem;
    color: var(--primary-heading);
    border: 1px solid var(--primary-heading);
    background-color: transparent;
    cursor: pointer;
    border-radius: 0.1rem;
}

#ss-secondary-btn {
    padding: 0.65rem 1rem;
    color: var(--primary-heading);
    border: none;
    background-color: var(--tertiary-heading);
    cursor: pointer;
    border-radius: 0.1rem;
}

#ss-secondary-btn:hover {
    background-color: #7a3c1f;
}

/* This third-section is not being used and displayed as of now */
.third-section {
    border: 2px solid green;
    display: none;
    background-color: #f5f3f1;
    padding: 4rem 3.5rem;
}

.third-section h1,
.section-four h1,
.last-section h1 {
    color: var(--secondary-heading);
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.third-section p,
.sf-para-one,
.last-section p {
    color: var(--seconday-para);
    text-align: center;
    font-size: 1rem;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 3rem;
}

.ts-article-one {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 20px;
}

.ts-div-one {
    position: relative;
    overflow: hidden;
    aspect-ratio: 9/16;
    border-radius: 0.2rem;
}

.ts-review-video {
    border-radius: 0.2rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ts-div-controls {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* background-color: black; */
}

.ts-video-control-btn {
    font-size: 1rem;
    background: transparent;
    padding: 0rem 1rem;
    padding-top: 1rem;
    padding-bottom: 0.7rem;
    color: white;
    border-radius: 50%;
    border: 1px solid white;
    cursor: pointer;
    pointer-events: none;
}

.section-four {
    background-color: #eeece6;
    padding: 4rem 12rem;
}

.sf-first-article {
    position: relative;
    padding-left: 2rem;
    padding-top: 1rem;
    margin-bottom: 3rem;
}

.sf-first-article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom,
            transparent,
            var(--tertiary-heading) 15%,
            #d5baac 95%,
            transparent);
    font-size: 1rem;
}

.sf-div-cards {
    margin-bottom: 3rem;
}

.sf-div-cards h3 {
    color: var(--tertiary-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.sf-div-cards h2 {
    color: var(--secondary-heading);
    font-weight: lighter;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 400;
}

.sf-div-cards p {
    color: var(--seconday-para);
    font-style: italic;
    /* font-weight: lighter; */
    font-size: 0.9rem;
}

.sf-dialog-para {
    border: none;
    border-left: 3.5px solid #d4bcb2;
    padding: 2rem;
    font-style: italic;
    font-size: 1.2rem;
    background-color: #f7f7f3;
    color: #5d6677;
}

.last-section {
    padding: 4rem 3.5rem;
    background-color: #f7f7f3;
}

.ls-first-div {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    grid-template-rows: repeat(4, 8rem);
    gap: 1rem;
}

.ls-second-div {
    border-radius: 0.2rem;
    border: none;
    overflow: hidden;
}

.ls-image-one {
    grid-column: 1/3;
    grid-row: 1/3;
}

.ls-image-three {
    grid-column: 4/6;
    grid-row: 1/3;
}

.ls-image-five {
    grid-column: 1/3;
}

.ls-image-seven {
    grid-column: 4/6;
    grid-row: 3/5;
}

.ls-image-eight {
    grid-column: 1/3;
}

.ls-second-div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1023px) {
    .first-section {
        justify-content: center;
        padding-top: 3rem;
        background-color: transparent;
    }

    .fs-div-one {
        position: relative;
        width: 100%;
        background-image: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.6),
                rgba(0, 0, 0, 06)),
            url("/client-side/assets/home-page/shows-poster.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        margin-left: 0px;
    }

    .fs-div-one h2 {
        margin-top: 14.5rem;
    }

    .fs-div-one h2,
    .fs-div-one h1,
    .fs-div-one p,
    #fs-primary-cta,
    #fs-secondary-cta {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .fs-div-three {
        display: none;
    }

    .second-section {
        padding: 1.5rem 2rem;
        padding-bottom: 4.5rem;
    }

    #ss-view-classes-btn {
        padding: 0.6rem;
    }

    #ss-primary-btn {
        padding: 0.6rem 0.8rem;
    }

    #ss-secondary-btn {
        padding: 0.6rem 1.2rem;
    }

    .third-section {
        padding: 4rem 2rem;
    }

    .section-four {
        padding: 4rem 8rem;
    }

    .last-section {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    .section-four {
        padding: 4rem 2rem;
    }
}

@media (max-width: 548px) {
    .ss-second-div {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7)),
            url("/client-side/assets/home-page/virtual-masterclass.jpeg") no-repeat center / cover;
    }

    #ss-primary-btn {
        margin-bottom: 0.7rem;
    }

    #ss-secondary-btn {
        margin-bottom: 2.5rem;
    }

    .ls-first-div {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    /* This is written because to remove the previous placement and this way browser recalculates it. */
    .ls-second-div {
        grid-column: auto;
        grid-row: auto;
    }

    .ls-image-one {
        grid-row: 1/3;
        grid-column: 1/3;
    }

    .ls-image-two {
        grid-column: 3/5;
    }

    .ls-image-six {
        grid-column: 2/4;
    }

    .ls-image-eight {
        grid-column: 1/4;
    }
}

@media (max-width: 468px) {
    .fs-div-one {
        height: auto;
    }

    .second-section {
        padding: 1.5rem 1rem;
        padding-bottom: 4.5rem;
    }

    .ss-first-div h2 {
        margin-top: 10rem;
    }

    .ss-second-div h2 {
        margin-top: 8.5rem;
    }

    .ss-first-div p,
    .ss-second-div p {
        display: none;
    }

    /* #ss-secondary-btn {
        margin-bottom: 2.5rem;
    } */

    .third-section,
    .section-four,
    .last-section {
        padding: 4rem 1rem;
    }

    .ls-first-div {
        grid-template-rows: repeat(4, 5rem);
    }
}