﻿.banner-section {
    height: 500px;
    background-repeat: no-repeat;
    background-size: cover;
    padding-block: 0;
}

    .banner-section .container {
        position: relative;
        height: 500px;
    }

#HeaderBanner .text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
}

    #HeaderBanner .text div:nth-of-type(1) {
        font-size: 2.5rem;
        font-family: var(--serif);
        font-weight: bold;
    }

    #HeaderBanner .text div:nth-of-type(2) {
        font-size: 2rem;
        font-family: var(--serif);
    }

    @media (max-width: 1300px) {
        .banner-section .container {
            text-align: center;
            height: 400px;
        }

        .banner-section .text {
            display: block;
            width: 100vw;
        }

        .banner-section {
            height: 400px;
        }
    }

.tri-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 1350px) {
    .tri-section {
        padding-inline: 1rem;
    }
}

@media (max-width: 1000px) {
    .tri-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tri-section h2 {
        margin-bottom: 0.75rem;
    }
}