

/*
Author: XpeedStudio
Author URI: http://themeforest.net/user/XpeedStudio/portfolio
*/

/* Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    body {
        font-size: 15px;
    }
	.home-content h1 {
    font-size: 48px;
    line-height:5rem;
	}
	.home-content p {
    font-size: 35px;
	}
	.portfolio-wrapper2 .portfolio-item.width-img {
    height: 198px;
	}
    .home-content p {
        font-size: 30px;
    }
    *,
    *:before,
    *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        font-size: 25px;
        /*    direction: rtl;*/
    }
    p:last-child{
        margin-bottom:90px;
    }
    .mail-change {
        margin-left: -8%;
        font-size: 30px;
    }
}

/* Portrait tablets and small desktops */
@media  (max-width: 991px) {
    html {
        font-size: 80%;
    }
    .about-content h4 {
        font-size: 21px;
    }
    .mail-change {
        margin-left: -8%;
        font-size:30px;
    }
        .contact-area {
    padding: 60px 40px 124px 40px;
	}
    *,
    *:before,
    *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        font-size: 25px;
        /*    direction: rtl;*/
    }
    .sign-eng {
        position: relative;
        right: 600px;
        bottom: -50px;
        top: -10px;
        padding-bottom: 20%;
    }
    p:last-child {
        margin-bottom: 90px;
    }
    .targer1 {
        margin-top: -90px;
    }
    .testimonial-content {
        margin-top: 70px;
    }
    .explanation{
        line-height:3rem;
    }
}







/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
    html {
        font-size: 70%;
    }
    .content-border h4 {
        position: fixed;
        font-size:30px;
    }

    .home-content h1 {
        font-size: 46px;
        line-height: 5rem;
    }
	.home-content p {
    font-size: 30px;
	}
	.about-content a {
    margin-bottom: 20px;
	}
	.experience-content {
    margin-bottom: 20px;
	}
	
	.contact-area {
    margin-bottom: 20px;
	}
	.features-bg {
    margin: 0 auto;
    margin-bottom: 20px;
	}
    .mail-change {
        margin-left: -8%;
        font-size: 30px;
    }
    *,
    *:before,
    *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        font-size: 25px;
        /*    direction: rtl;*/
    }
    .sign-eng {
        position: relative;
        right: 600px;
        bottom: -50px;
        top: -10px;
        padding-bottom: 20%;
    }
    p:last-child {
        margin-bottom: 90px;
    }
    .targer1 {
        margin-top: -90px;
    }
    .testimonial-content {
        margin-top: 70px;
    }
    .explanation {
        line-height: 3rem;
    }
}








/* Landscape phones and smaller */
@media (max-width: 480px) {
    html {
        font-size: 60%;
    }
    .home-content h1 {
        font-size: 35px;
        line-height: 5rem;
    }
	.home-content p {
    font-size: 30px;
	}
	.heading-content h3 {
    font-size: 20px;
	}
	.experience-content h4 {
    font-size: 30px;
	}
   .experience-content .content-details h5 {
    font-size: 15px;
	}
	.testimonial-content .testimonial-quote p {
    font-size: 20px;
	}
	.contact-wrapper h4 {
    font-size: 18px;
	}
	.cd-header {
    top: 3%;
	}
    *,
    *:before,
    *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        font-size: 25px;
        /*    direction: rtl;*/
    }
    .sign-eng {
        position: relative;
        right: 600px;
        bottom: -50px;
        top: -10px;
        padding-bottom: 20%;
    }
    p:last-child {
        margin-bottom: 90px;
    }
    .targer1 {
        margin-top: -90px;
    }
    .testimonial-content {
        margin-top: 70px;
    }
    .mail-change {
        margin-left: -8%;
        font-size: 30px;
    }
    .explanation {
        line-height: 3rem;
    }
}








@media (max-width: 320px) {

   
    html {
        font-size: 50%;
    }
	.home-content p {
    font-size: 19px;
	}
	.cd-header {
    top: 3%;
	}
	.overlay {
    min-height: 500px;
	}
	.home-wrapper {
    margin-top: 115px;
	}
    .sign-eng {
        position: relative;
        right: 600px;
        bottom: -50px;
        top: -10px;
        padding-bottom: 20%;
    }
    *,
    *:before,
    *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        font-size: 25px;
        /*    direction: rtl;*/
    }
    p:last-child {
        margin-bottom: 90px;
    }
    .targer1 {
        margin-top: -90px;
    }
    .testimonial-content {
        margin-top: 70px;
    }
    .mail-change {
        margin-left: -8%;
        font-size: 30px;
    }
    .explanation {
        line-height: 3rem;
    }
}

