/* styles for the first example on system.html */

.corner {
    background-color: var(--color-text-primary);
    height: 950px;
    padding-top: 220px;
}

/* style for every line */
.corner-inner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* style for left and right text */
.left-text, .right-text {
    width: 950px;
    overflow: hidden;
    display: inline-block;
}

/* position and color of left and right text */
.left-text {
    color: var(--color-text-example);
    transform: skew(0deg, -15deg);
}

.right-text {
    color: var(--color-bg-primary);
    transform: skew(0deg, 15deg);
}

.left-text .text-content {
    width: 100vw;
    text-align: center;
}

.right-text .text-content {
    width: 100vw;
    text-align: center;
    transform: translate(-950px);
}

/* style for the text */
.text-content span {
    display: inline-block;
    font-family: var(--font-family-heading);
    font-size: var(--font-size-title-heading);
    text-transform: uppercase;
    line-height: 0.9;
    transition: ease-out .6s;
}

/* floor as polygon under text */
.floor-triangle {
    position: absolute;
    transform: translateY(-600px);
    width: 100%;
    height: 780px;
    background: var(--color-bg-primary);
    clip-path: polygon(0 100%, 100% 100%, 50% 65%);
}

