﻿.projectWrapper {
    display: flex;
    align-items: stretch;
    background-color: #0D47A1;
}

.projectBottomWrapper {
    display: flex;
    justify-content: end;
    align-items: center;
    background-color: #F2F9FF;
    position: relative;
}

.projectLeft {
    flex: 1;
    display: flex;
}

.projectText {
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bottomProjectWrapper {
    position: absolute;
    left: 0;
    background-color: white;
    padding: 40px 60px;
    width: 550px;
}

.projectLeft h3 {
    font-weight: 600;
    line-height: 44px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    overflow: hidden;
    text-transform: uppercase;
    margin: 0
}

.projectRight {
    flex: 1;
    margin: auto;
}

    .projectRight img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

.cardBgImage {
    max-width: 1000px;
    max-height: 360px;
    min-height: 320px;
    overflow: hidden;
    display: flex;
}

    .cardBgImage img {
        object-fit: cover
    }

.projectDescription {
    margin-top: 12px;
    margin-bottom: 20px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    font-weight: 500;
    max-width: 625px;
}

.whiteText {
    color: white;
}

.whiteHeader {
    font-size: 28px;
    font-weight: 600;
    color: white;
}

.darkBlueText {
    color: #0D47A1;
}

.darkBlueHeader {
    font-size: 28px;
    color: #0D47A1;
    font-weight: 600;
    line-height: 44px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    overflow: hidden;
    text-transform: uppercase;
    margin: 0;
}

@media screen and (max-width:1280px) {
    .bottomProjectWrapper {
        padding: 45px 45px;
        width: 490px;
    }

    .cardBgImage {
        max-width: 850px;
   /*     max-height: 530px;
        min-height: 530px;*/
    }

}

@media screen and (max-width:1060px) {
    .cardBgImage {
        max-width: 730px;
    /*    max-height: 460px;
        min-height: 460px;*/
    }

/*    .bottomProjectWrapper {
        padding: 30px;
        width: 440px;
    }

    .projectDescription {
        margin-top: 16px;
        margin-bottom: 24px;
    }


    .projectText {
        padding: 20px 40px;
    }

    .projectLeft h3 {
        line-height: 55px;
    }*/


}

@media screen and (max-width:980px) {

   .projectText{
       padding:24px 20px;
   }
   .projectRight{
       height:200px;
   }
    .projectLeft h3 {
        font-size: 24px;
        line-height: 36px;
    }

    .projectDescription {
        margin-top: 16px;
        margin-bottom: 16px;
        font-size: 16px;
        line-height: 28px;
    }

    .cardBgImage {
        max-width: 539px;
        max-height: 300px;
        min-height: 300px;
    }

    .darkBlueHeader {
        font-size: 24px;
        line-height: 36px;
    }

    .bottomProjectWrapper {
        padding: 25px;
        width: 355px;
    }
}

@media screen and (max-width:768px) {
    .projectRight {
        height: 180px;
    }
    .projectDescription {
        margin-top: 14px;
        margin-bottom: 14px;
        line-height: 20px;
    }

/*    .projectText {
        padding: 0 36px;
    }*/

    .darkBlueText {
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .projectLeft h3 {
        line-height: 30px;
    }
}

@media screen and (max-width:690px) {
    .darkBlueHeader {
        font-size: 24px;
        line-height: 30px;
    }

    .cardBgImage {
        max-width: 469px;
        max-height: 280px;
        min-height: 280px;
    }

    .darkBlueText {
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .bottomProjectWrapper {
        width: 270px;
    }
}

@media screen and (max-width:575px) {
    .projectWrapper {
        flex-direction: column-reverse;
    }

    .projectLeft {
        justify-content: flex-start;
    }

    .projectText {
        padding: 50px 24px 24px;
    }

    .bottomProjectWrapper {
        width: 190px;
        padding: 15px;
    }

    .darkBlueHeader {
        font-size: 16px;
        line-height: 20px;
    }

    .darkBlueText {
        margin-top: 5px;
        margin-bottom: 8px;
        line-height: 15px;
        font-size: 12px;
    }

    .cardBgImage {
        max-width: 100%;
        max-height: 260px;
        min-height: 260px;
    }

    .whiteText {
        margin-top: 16px;
        margin-bottom: 32px;
        line-height: 30px;
        font-size: 14px;
    }
}

@media screen and (max-width:425px) {
    .bottomProjectWrapper {
        width: 150px;
    }

    .projectLeft h3 {
        font-size: 16px;
        line-height: 20px;
    }

    .projectText {
        padding: 24px;
    }

    .whiteText {
        margin-top: 14px;
        margin-bottom: 14px;
        line-height: 15px;
        font-size: 12px;
    }
}
