.split-section {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 100px 50px;
}

.split-section>div {
    flex: 1;
    min-width: 50%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.split-section>div img{
    width: 50%;
    aspect-ratio: 1/1;
}

.text-large {
    width: 100%;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.text-small {
    font-size: 1.5rem;
    text-align: justify;
    width: 100%;
}

.diagonal-section .text-large {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: justify;
}

.diagonal-section .right .text-large {
    margin-bottom: 0;
    text-align: right;
}

.diagonal-section .text-small {
    font-size: 1.5rem;
    text-align: justify;
    width: 100%;
    max-width: 50vw;
}

.diagonal-section .right .text-small {
    margin-bottom: 1rem;
    text-align: right;
}

.image-responsive {
    width: 100%;
    height: auto;
}

.diagonal-section {
    position: relative;
    width: 100%;
    height: 50vh;
    display: flex;
    overflow: hidden;
}

.diagonal-section .half {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 2rem;
    box-sizing: border-box;
}

.half.left {
    background-color: var(--text_primary);
    color: var(--text_inverse);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.half.right {
    background-color: var(--text_inverse);
    color: var(--text_primary);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
}

@media (max-width: 768px) {

    .split-section {
        padding: 100px 25px;
    }

    .split-section>div {
        min-width: 100%;
    }

    .half {
        position: static;
        clip-path: none;
        width: 100%;
        height: 50vh;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 1rem;
    }

    .half.left {
        background-color: var(--background_primary);
        color: var(--text_inverse);
    }

    .half.right {
        background-color: var(--text_inverse);
        color: var(--text_primary);
    }

    .diagonal-section {
        flex-direction: column;
        height: 100vh;
    }

}
