.thanks_img_bg{
   
        background-image: url("../images/thanks.png");
       background-position: left;
       background-repeat: none;
       width:100%;
       height:700px;
       background-repeat: no-repeat;
       position: relative;
       top: -140px;
       background-size: 40% 60%;
       z-index: -1;
      
   
}
.thanks_txt {
    margin: 0 auto;
    width: 320px;
    margin-top: 360px;
    height: 200px;
    position: relative;
    left: 50px;
}
.thanks_txt h1 {
    font-weight: 800;
    color: black;
} 
.thanks_txt p {
    color: #7c7d7d;
    font-size: 16px;
    margin-top: 30px;
} 
@media screen and (max-width: 700px) and (min-width: 319px) {
   
.thanks_img_bg {
    background-image: url(../images/thanks.png);
    background-position:center;
    background-repeat: none;
    width: 100%;
    height: 550px;
    background-repeat: no-repeat;
}
.thanks_txt {
    margin: 0 auto;
    width: 320px;
    margin-top: 355px;
    height: 200px;
}
}
@media (min-device-width:701px) and (max-device-width:768px){
    .thanks_img_bg {
        background-image: url(../images/thanks.png);
        background-position:center;
        background-repeat: none;
        width: 100%;
        height: 550px;
        background-repeat: no-repeat;
    }
    .thanks_txt {
        margin: 0 auto;
        width: 320px;
        margin-top: 330px;
        height: 200px;
        float: right;
    }
}

 @media (min-device-width:769px) and (max-device-width:1024px){
    .thanks_txt {
        margin: 0 auto;
        width: 320px;
        margin-top: 440px;
        height: 200px;
        margin-left: 236px;
    }
 }

