@charset "utf-8";

.innerCube {
    width: 100%;
}

.cubeText {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    justify-content: flex-end;
}

.cubeText h1 {
    font-size: 40px;
    margin-bottom: 20px;
    padding-left: 15px;
    padding-bottom: 5px;
    box-sizing: border-box;
    position: relative;
}

.cubeText h1:before {
    display: block;
    content: '';
    width: 6px;
    height: 37px;
    background: #0d3c96;
    position: absolute;
    top: 14px;
    left: 0;
}

.cubeText p {
    font-size: 18px;
    padding-bottom: 30px;
}

.img_wrap {
    display: flex;
    width: 100%;
    gap: 30px;
}

.img_wrap div {
    width: 33.33%;
}

.img_wrap div img {
    display: block;
    height: auto;
    width: 100%;
}


@media (max-width: 1440px) {

    .cubeText h1 {
        font-size: 35px;
        margin-bottom: 15px;
    }

    .cubeText p {
        font-size: 17px;
    }

    .cubeText h1:before {
        width: 5px;
        height: 32px;
        top: 12px;
    }

}

@media (max-width: 937px) {

    .cubeText h1 {
        font-size: 26px;
        padding-left: 11px;
        padding-bottom: 0px;
        margin-bottom: 10px;
    }

    .cubeText p {
        font-size: 16px;
        padding-bottom: 20px;
    }

    .cubeText h1:before {
        width: 4px;
        height: 24px;
        top: 7px;
    }

}

@media (max-width: 737px) {

    .cubeText h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .cubeText p {
        padding-bottom: 30px;
    }
    
    .img_wrap {
        flex-wrap: wrap;
    }

    .img_wrap div {
        width: 80%;
        margin: 0 auto;
    }

}

@media (max-width: 550px) {

    .cubeText h1 {
        font-size: 22px;
        margin-bottom: 11px;
    }

    .cubeText p {
        font-size: 15px;
    }

    .cubeText h1:before {
        height: 21px;
    }

}

@media (max-width: 400px) {

    .cubeText h1 {
        font-size: 19px;
        margin-bottom: 12px;
    }

    .cubeText p {
        font-size: 14px;
    }

    .img_wrap div {
        width: 90%;
    }
    
    .cubeText h1:before {
        height: 18px;
        top: 6px;
    }

}