#collage-module-4 {
    max-width: 1260px;
    display: flex;
    padding: 1em;
    background-color: #fff;
    margin: auto;
    z-index: 10;
    position: relative;
    margin-top: 1em;
    padding-bottom: 1em;
}


/****** BOTH CONTAINERS ******/

#collage-module-4 .left-container,
#collage-module-4 .right-container {
    width: 50%;
    display: flex;
    max-height: 37em;
}


/****** LEFT CONTAINER ******/

#collage-module-4 .left-container .image-container {
    margin-right: 1em;
    background-color: #000;
    width: 100%;
}

#collage-module-4 .left-container:hover .image-container img {
    opacity: 0.6;
}

#collage-module-4 .left-container:hover .image-container .text-panel-1 .header {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

#collage-module-4 .left-container .image-container .text-panel-1 {
    padding: clamp(1em, 2vw, 2em);
    position: absolute;
    left: 1.5em;
    bottom: 2.5em;
    width: 20%;
    max-height: 32%;
    margin-left: 1em;
    margin-bottom: 3em;
}


/****** RIGHT CONTAINER ******/

#collage-module-4 .right-container {
    flex-direction: column;
}

#collage-module-4 .right-container .top-right-container,
#collage-module-4 .right-container .bottom-right-container {
    height: 50%;
}

#collage-module-4 .right-container .top-right-container {
    margin-bottom: 1em
}

#collage-module-4 .right-container.bottom-right-container {
    margin-top: 0.5em;
}

#collage-module-4 .right-container .top-right-container .image-container {
    background-color: #000;
    position: relative;
    top: -40px;
}

#collage-module-4 .right-container .bottom-right-container .image-container {
    background-color: #000;
}

#collage-module-4 .right-container .top-right-container .text-panel-2,
#collage-module-4 .right-container .top-right-container .image-container {
    height: 100%;
    ;
    width: 50%;
    float: left;
}

#collage-module-4 .right-container .bottom-right-container .image-container .text-panel-3 {
    padding: clamp(1em, 1.2vw, 2em);
    padding-bottom: max(1em, 1.2vw);
    position: absolute;
    left: 1em;
    bottom: 7%;
    width: 40%;
    height: 100px;
    overflow: hidden;
}

#collage-module-4 .right-container .top-right-container #triangle {
    content: "";
    position: relative;
    top: 40%;
    left: 0%;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-left: 20px solid red;
    border-bottom: 20px solid transparent;
    z-index: 10;
}

#collage-module-4 .right-container .top-right-container,
#collage-module-4 .right-container .bottom-right-container {
    overflow: hidden;
}

#collage-module-4 .right-container .top-right-container div {
    width: 50%;
    float: left;
}

#collage-module-4 .right-container .image-container {
    display: flex;
    position: relative;
    margin-left: 0;
    height: 100%;
}

#collage-module-4 .right-container .top-right-container:hover .image-container img {
    opacity: 0.6;
}

#collage-module-4 .right-container .top-right-container:hover .text-panel-2 .header {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

#collage-module-4 .right-container .bottom-right-container:hover .image-container img {
    opacity: 0.6;
}

#collage-module-4 .right-container .bottom-right-container:hover .text-panel-3 .header {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}


/****** IMAGES ******/

#collage-module-4 .left-container .image-container img,
#collage-module-4 .right-container .image-container img {
    width: 100%;
    height: 100%;
}


/****** TEXT ******/

#collage-module-4 a {
    display: contents;
}

#collage-module-4 .left-container .image-container .text-panel-1 p {
    font-family: Roboto, Helvetica, sans-serif;
    font-size: clamp(1em, 3.2vw, 2.5em);
    font-weight: bold;
    font-stretch: condensed;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: -0.66px;
    text-align: left;
    margin: 0;
    height: 4.9em;
    overflow: hidden;
    max-height: 6em;
}

#collage-module-4 .right-container .text-panel-2 p,
#collage-module-4 .right-container .text-panel-3 p {
    font-family: Roboto, Helvetica, sans-serif;
    font-size: clamp(1.25em, 2.3vw, 1.875em);
    font-weight: bold;
    font-stretch: condensed;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: -0.66px;
    text-align: left;
    margin: 1em;
    overflow: hidden;
}

#collage-module-4 .right-container .text-panel-3 p {
    margin: 0;
}


/****** OTHER ******/

.dont-display-me {
    display: none;
}


/* TO MAKE THE ELEMENTS TABBABLE  */

.hidden-input-field6 {
    position: absolute;
    height: 95%;
    width: 47.6%;
    z-index: -1;
}

.hidden-input-field7,
.hidden-input-field8 {
    position: absolute;
    height: 46.5%;
    width: 48.8% !important;
    z-index: -1;
}

.txtJustForTabToWork6,
.txtJustForTabToWork7,
.txtJustForTabToWork8 {
    border: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    left: -2px;
    top: -2px;
}

@media all and (max-width: 990px) {
    #collage-module-4 .image-container .text-panel-2 {
        padding-right: 1em;
        width: 48%;
    }
}

@media all and (max-width: 768px) {
    #collage-module-4 {
        flex-direction: column;
        display: flex;
        padding: 1em;
        margin: auto;
        z-index: 10;
        position: relative;
        margin-bottom: 1em;
    }
    #collage-module-4 .left-container {
        margin: auto auto 1em auto;
    }
    #collage-module-4 .left-container .image-container {
        margin-right: auto;
        position: relative;
    }
    #collage-module-4 .right-container .image-container img {
        width: 100%;
        height: 100%;
    }
    #collage-module-4 .left-container,
    #collage-module-4 .right-container {
        width: 100%;
        max-height: none;
        display: flex;
    }
    #collage-module-4 .right-container .top-right-container {
        height: clamp(10em, 44vw, 25em);
        width: auto;
    }
    #collage-module-4 .right-container .top-right-container .image-container {
        top: -40px;
    }
    #collage-module-4 .left-container .image-container .text-panel-1 {
        position: absolute;
        left: 0.5em;
        bottom: -1.2em;
        width: min(35%, 34vw, 19em);
        margin-left: 2.5vw;
        margin-bottom: 2.8em;
    }
    #collage-module-4 .right-container .text-panel-2 p,
    #collage-module-4 .right-container .text-panel-3 p,
    #collage-module-4 .left-container .image-container .text-panel-1 p {
        font-size: clamp(1em, 5vw, 2em);
    }
    #collage-module-4 .right-container .bottom-right-container .image-container .text-panel-3 {
        padding: clamp(1em, 1.2vw, 2em);
        padding-bottom: max(1.5em, 1.2vw);
    }
    #collage-module-4 .header {
        font-size: clamp(1.75em, 10.3vw, 2.35em);
    }
    #collage-module-4 .image-container {
        width: 100%;
    }
    .txtJustForTabToWork7 {
        height: 85%;
    }
    .txtJustForTabToWork8 {
        height: 95%;
    }
    .hidden-input-field6 {
        position: absolute;
        height: 99.5%;
        width: 99.5%;
        z-index: -1;
    }
    .hidden-input-field7,
    .hidden-input-field8 {
        position: absolute;
        height: 25.1%;
        width: 95% !important;
        z-index: -1;
    }
}

@media all and (max-width: 700px) {
    .txtJustForTabToWork7 {
        height: 80%;
    }
}

@media all and (max-width: 650px) {
    .txtJustForTabToWork7 {
        height: 75%;
    }
}

@media all and (max-width: 600px) {
    .txtJustForTabToWork7 {
        height: 70%;
    }
    .txtJustForTabToWork8 {
        width: 99%;
    }
}

@media all and (max-width: 550px) {
    .txtJustForTabToWork7 {
        height: 65%;
        width: 98%;
    }
}

@media all and (max-width: 500px) {
    .txtJustForTabToWork7 {
        height: 60%;
    }
    #collage-module-4 .right-container .top-right-container .image-container img {
        width: auto;
        height: 100%;
    }
}

@media all and (max-width: 450px) {
    .txtJustForTabToWork7 {
        height: 55%;
    }
    .txtJustForTabToWork8 {
        height: 90%;
        width: 97%;
    }
    #collage-module-4 .right-container .bottom-right-container .image-container .text-panel-3 {
        padding-bottom: 0;
    }
}

@media all and (max-width: 400px) {
    .txtJustForTabToWork7 {
        height: 50%;
        width: 95%;
    }
}

@media all and (max-width: 350px) {
    .txtJustForTabToWork7 {
        height: 45%;
    }
    .txtJustForTabToWork8 {
        height: 88%;
        width: 94%;
    }
}
