/* JUMBOTRON */

#home-jumbotron {
    min-height: calc(100vh - var(--navbar-height,0px));
}

#home-jumbotron h1 {
    color: var(--text-1);
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 70px) !important;
    width: 65%;
    margin: 0 auto;
    line-height: 1.5em;
}

#classroom-flow,
#classroom-helpers {
    background-color: var(--bg-2);
}

/* Classroom carousel */

#classroom-carousel {
    display: flex;
    width: -webkit-fill-available;
    justify-content: center;
}

.carousel-container {
    width: -webkit-fill-available;
    width: fill-available;
    max-width: 1000px;
}

#classroom-carousel .carousel-elt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
}

#classroom-carousel .classroom-carousel-text {
    margin: 0 1rem;
    font-size: 1rem;
    max-width: 30ch;
}


@media (max-width: 575px) {

    #classroom-carousel .carousel-elt {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto auto;
    }

    #classroom-carousel .carousel-elt img {
        width: 100%;
        margin-bottom: 1em;
    }

    #classroom-carousel .classroom-carousel-text {
        font-size: 0.9rem;
    }
}

#classroom-helpers {
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    padding: 4em 3em;
}

#helpers {
    font-weight: 800;
    font-size: clamp(1.8rem, 1vw + 1rem, 3rem);
    color: var(--text-0);
    text-transform: uppercase;
    line-height: 1em;
    width: min-content;
    max-width: 100%;
}

#helpers span {
    color: var(--vitta-green);
}

#helpers-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    background: var(--vitta-white);
    border-radius: 20px;
    margin: 1rem;
    max-width: clamp(20rem, 60%, 50rem);
}

#helpers-container img{
    padding: 1rem;
}

@media (max-width: 767px) {

    #classroom-helpers {
        flex-direction: column;
    }
    
    #helpers-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(auto)
    }
}

#subscribe-paragraph {
    width: clamp(20rem, 60%, 50rem);
}

#classroom-subscribe a {
    border: 2px solid var(--vitta-white);
    border-radius: 3em;
    background: transparent;
    color: var(--vitta-white);
    padding: 0.5em 1em;
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    max-width: 100%;
}