@layer components {
    .technology-overview-container {
        width: 80%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 3rem;
        margin: -2rem auto 1.5rem;
    }

    .rift-overview-text {
        width: auto;
        text-align: center;
    }

    .rift-overview-text h2 {
        max-width: 65%;
        margin: 0 0 1.5rem auto;
    }

    .rift-overview-text h2:last-child {
        margin-bottom: 0;
    }

    .rift-overview-image img {
        height: 70vh;
        width: auto;
        display: block;
    }

    @media (max-width: 1280px) {
        .technology-overview-container {
            gap: 2rem;
            margin: -1rem auto 1rem;
        }

        .rift-overview-text {
            margin-left: 1rem;
        }

        .rift-overview-text h2 {
            max-width: 80%;
        }

        .rift-overview-image img {
            height: 64vh;
            margin-left: 1rem;
        }
    }

    @media (max-width: 1024px) {
        .technology-overview-container {
            gap: 1rem;
        }

        .rift-overview-text h2 {
            max-width: 100%;
        }
    }

    @media (max-width: 768px) {
        .technology-overview-container {
            width: 90%;
            grid-template-columns: 1fr;
            gap: 0.5rem;
            margin: 0 auto;
            text-align: center;
            margin-bottom: 1rem;
        }

        .rift-overview-text {
            margin: 0 auto;
        }

        .rift-overview-text h2 {
            max-width: 88%;
            font-weight: normal;
            margin: 0 auto;
            margin-bottom: 1rem;
        }

        .rift-overview-image img {
            width: 90%;
            max-width: 300px;
            height: auto;
            margin: 0 auto;
        }
    }
}