/* Base desktop */
body {
    margin: 0;
    font-family: "BPG Nino Elite Caps", sans-serif;
}

.all_content {
    display: flex;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.left .content {
    margin-left: 195px;
}


.left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center; /* desktop left align */
    text-align: left;
    padding: 40px;
    box-sizing: border-box;
    z-index: 2; /* above image if needed */
    margin-top: 35px;
}

.image {
    background: url("solarPower.png") no-repeat center;
    background-size: cover;
}

.image.desktop {
    width: 50%;
    height: 100vh;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 40% 100%);
}

.image.mobile {
    display: none;
}

/* text/logo */
#logo {
    width: 160px;
    margin-bottom: 100px;
    margin-left: -35px;
}

.red {
    color: #CD3A24;
    font-size: 42px;
    margin: 10px 0;
    letter-spacing: 5px;
}

.grey {
    color: #423A3A;
    font-size: 24px;
    margin: 10px 0;
    letter-spacing: 5px;
}

p {
    margin-top: 20px;
    line-height: 28px;
}

a {
    color: #CD3A24;
    text-decoration: underline;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Mobile */
@media screen and (max-width: 768px) {

    .all_content {
        flex-direction: column;
    }

    .left {
        margin-top: 5px;
    }

    /* left + right full width */
    .left, .right {
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        align-items: center;
        text-align: center;
    }

    .left .content {
        width: 100%;
        margin-left: 0;
    }

    .left .content .description {
        margin: 0 20px;
    }

    .image.desktop {
        display: none;
    }

    .image.mobile {
        display: block;
        width: 100%;
        height: 250px;
        margin-bottom: 40px;
    }

    #logo {
        width: 120px;
        margin-bottom: 20px;
        margin-left: 0;
    }

    /* move image ABOVE text visually */
    .right {
        height: 250px;
        clip-path: none;
        order: -1; /* image moves up before left text */
        margin-bottom: 20px;
    }

    /* text last */
    .red, .grey, p {
        order: 1; /* text stays below image */
        width: 100%;
    }

    .red {
        font-size: 28px;
    }

    .grey {
        font-size: 20px;
    }

    p {
        font-size: 16px;
        line-height: 24px;
    }
}