﻿.CTAHeaderWrapper {
    height: 500px;
    width: 100%;
    position: relative;
    cursor: pointer;
}

    .CTAHeaderWrapper h1 {
        margin: 0;
    }

.CTAHeader-dimmer {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-color: rgba(0,0,0, .6);
}


.CTAHeaderImage {
    height: 500px;
    width: 100%;
    object-fit: cover;
}


.CTATextWrapper {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 0;
    left: 0;
}

.CTAHeader1 {
    padding-left: 55px;
    padding-top: 60px;
}

    .CTAHeader1 h1 {
        font-family: fave-script-pro;
        font-size: 200px;
        line-height: 100px;
    }

.CTATextBody {
    padding-left: 100px;
}


.CTAHeader2, .CTAHeader3 {
    padding-left: 50px;
}

    .CTAHeader2 h1 {
        margin: 10px 0;
        font-size: 98px;
        line-height: 83px;
    }

    .CTAHeader3 h1 {
        margin: 10px 0;
        padding: 10px 0 0 0;
        font-size: 40px;
    }


.CTAHeader4 {
    position: relative;
    left: 50px;
    display: flex;
    flex-direction: row;
    width: max-content;
    padding: 0 5px;
    align-items: center;
}

    .CTAHeader4 p {
        font-size: 30px;
        margin-bottom: 0;
    }

        .CTAHeader4 p:first-child {
            font-family: fave-script-pro;
            font-size: 60px;
            line-height: 50px;
            padding-right: 8px;
        }



/*styling for tablets*/
@media screen and (min-width: 768px) and (max-width:1023px) {
    .CTAHeader1 h1 {
        font-size: 150px;
        line-height: 75px;
    }

    .CTAHeader2 h1 {
        font-size: 75px;
        line-height: 61px;
    }

    .CTAHeader3 h1 {
        font-size: 25px;
    }

    .CTAHeader4 p:nth-child(1){
        line-height: 52px;
    }
}


/*styling for small devices*/
@media screen and (min-width: 568px) and (max-width:767px) {

    .CTAHeader1 {
        padding-left: 20px;
        padding-top: 125px;
    }

        .CTAHeader1 h1 {
            font-size: 100px;
            line-height: 30px;
        }

    .CTAHeader2 h1 {
        font-size: 55px;
        line-height: 50px;
    }

    .CTAHeader3 h1 {
        font-size: 22px;
        padding-top: 0;
        padding-bottom: 5px;
    }

    .CTAHeader4 p {
        font-size: 23px;
        margin-bottom: 0;
        padding: 0 4px;
    }

        .CTAHeader4 p:first-child {
            font-size: 45px;
            line-height: 53px;
        }

        .CTAHeader4 p:nth-child(2) {
            line-height: 40px;
            padding-left: 0px;
        }

    .CTATextBody {
        padding-left: 20px;
    }
}





/*styling for mobile devices*/
@media screen and (max-width: 567px) {
    .CTAHeader1 {
        padding-left: 20px;
        padding-top: 125px;
    }

        .CTAHeader1 h1 {
            font-size: 100px;
            line-height: 30px;
        }

    .CTAHeader2 h1 {
        font-size: 35px;
        line-height: 38px;
        margin-top: 26px;
    }

    .CTAHeader3 h1 {
        font-size: 16px;
        padding-top: 0;
        padding-bottom: 5px;
    }

    .CTAHeader2, .CTAHeader3 {
        padding-left: 30px;
    }

    .CTAHeader4 {
        left: 30px;
    }

        .CTAHeader4 p {
            font-size: 23px;
            margin-bottom: 0;
            padding: 0 4px;
        }

            .CTAHeader4 p:first-child {
                font-size: 45px;
                line-height: 51px;
            }

            .CTAHeader4 p:nth-child(2) {
                line-height: 40px;
                padding-left: 0px;
            }

    .CTATextBody {
        padding-left: 0;
    }
}
