.banner{
    display: flex;
    flex-direction: column;
    gap: var(--space-md);

    h2{
        font-size: var(--font-size-xxl);
        font-weight: 500;
        padding-inline: 30px;
        text-align: center;
    }

    h3{
        font-size: var(--font-size-xl);
        font-weight: 400;
        padding-inline: 40px;
        text-align: center;
    }
}

.banner-section{
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    overflow: hidden;

    img{
        width: clamp(300px, 100%, 600px);
    }
}

@media (min-width: 901px) {
    .banner{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
    }

    .banner-section{
        width: 100%;
        height: 570px;
    }

    .banner-0 { grid-area: 1 / 1 / 2 / 3; }
    .banner-1 { grid-area: 2 / 1 / 3 / 2; }
    .banner-2 { grid-area: 2 / 2 / 3 / 3; }
    .banner-3 { grid-area: 3 / 1 / 4 / 3; }
    .banner-4 { grid-area: 4 / 1 / 5 / 2; }
    .banner-5 { grid-area: 4 / 2 / 5 / 3; }
    .banner-6 { grid-area: 5 / 1 / 6 / 2; }
    .banner-7 { grid-area: 5 / 2 / 6 / 3; }
}

.banner-section.black{
    background: black;
    color: white;
}

.banner-section.white{
    background: white;
}

.banner-section.gradient-blue{
    background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%);
}

.banner-section.gradient-green{
    background-image: linear-gradient(to top, #c1dfc4 0%, #deecdd 100%);
}

.banner-section.gradient-sky{
    background-image: linear-gradient(to bottom, #FFFEFF 0%, #D7FFFE 100%);
}

.banner-section.gradient-peach{
    background-image: linear-gradient(to right, #ffecd2 0%, #fcb69f 100%);
}