/* Full-width screen */
.column-full { width: 100%; }
.column-1 { width: 1260px; }    /* Full column, increased proportionally */
.column-3-4 { width: 945px; }    /* 3/4 column */
.column-2-3 { width: 840px; }    /* 2/3 column */
.column-1-2 { width: 600px; }    /* 1/2 column */
.column-1-3 { width: 420px; }    /* 1/3 column */
.column-1-4 { width: 315px; }    /* 1/4 column */

/* Media query for tablets */
@media (max-width: 1024px) {
    .column-1 { width: 945px; }
    .column-3-4 { width: 708px; }
    .column-2-3 { width: 630px; }
    .column-1-2 { width: 450px; }
    .column-1-3 { width: 315px; }
    .column-1-4 { width: 236px; }
}

/* Media query for mobile */
@media (max-width: 768px) {
    .column-1 { width: 100%; }
    .column-3-4 { width: 100%; }
    .column-2-3 { width: 100%; }
    .column-1-2 { width: 100%; }
    .column-1-3 { width: 100%; }
    .column-1-4 { width: 100%; }
}

/* Full-screen div for desktop */
.full-height {
    background-color: #333333;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */

    position: relative; /* Needed for positioning the pseudo-element */
    overflow: hidden; /* Hide overflow from the triangle */
}

.section-height {
    background-color: #333333;
    min-height: 50vh;
    width: 100%;
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */

    position: relative; /* Needed for positioning the pseudo-element */
    overflow: hidden; /* Hide overflow from the triangle */
}

@media (max-width: 425px) {
    .full-height {
        flex-direction: column; /* Stack elements vertically */
    }
}

/* Content */
.content {
    display: flex;
    justify-content: center; /* Center horizontally */
    flex-direction: column;
    position: relative; /* Ensure text is above the triangle */
    z-index: 3; /* Place the text above the triangle */
}

.content.center {
    align-items: center; /* Center vertically */
}

.content.left {
    align-items: flex-start;
}

.content.column {
    flex-direction: column; /* Stack elements vertically */
}

.opacity-layer {
    background-color: #23241f;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 2;
    opacity: 0.7;
}

/* Background */
.background::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 100vw solid transparent; /* Adjust this for triangle width */
    border-bottom: 50vh solid #DC3545; /* Triangle color */
    z-index: 0; /* Ensure the triangle is behind the text */
}

.background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0; /* Positioning to the left */
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background: no-repeat center center; /* Replace with your image URL */
    /*background-color: white;*/
    background-size: cover; /* Cover the entire trapezoid */
    clip-path: polygon(0 0, 100% calc(20% + 10vh), 100% 100%, 0% 100%); /* Create trapezoid shape */
    z-index: 1; /* Ensure the trapezoid is above the triangle */
}

.background.left::before {
    right: auto; /* Reset right */
    left: 0; /* Position to left */
    border-left: none; /* Remove left border */
    border-right: 100vw solid transparent; /* Create left triangle */
}

.background.left::after {
    left: auto; /* Reset left */
    right: 0; /* Position to right */
    clip-path: polygon(100% 0, 0% 40%, 0% 100%, 100% 100%); /* Adjust for right trapezoid */
}

@media only screen and (max-width: 768px) {
    .background.left::after {
        clip-path: polygon(100% 0, 0% 20%, 0% 100%, 100% 100%); /* Adjust for right trapezoid */
    }
}

@media only screen and (max-width: 425px) {
    .content {
        min-height: 0;
    }
}


