/*
--------------------------------------------------------

[ INSTA , Responsive Stylesheet ]

  Template Name : INSTA - Responsive Onepage Resume Template
  
  Version       :  1.0 
  
  Author        :  Pixel_Factory
  
  Author URI    :  http://themeforest.net/user/Pixel_Factory
  
  Author Email  : h.nafees.anwar@gmail.com

--------------------------------------------------------
*/
.new-resp-div{display: none;}

@media only screen and (max-width: 992px) {
    
    h1 {
        font-size: 45px;
    }
    
    h2 {
        font-size: 27px;
    }
    
    .close-btn {
    	width: 30px;
    	height: 30px;
        background: url(../images/icon/close_sm.png);
        background-size: cover;
    }
    
    .image-container {
        height: 500px;
        position: relative;
    }
    
    .content-container {
        left: 0;
    }
    
    .main-heading {
        top: 50%;
        transform: translateY(-50%);
    }
    
}

@media only screen and (max-width: 768px) {
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 18px;
    }

    .heading h3 {
        font-size: 12px;
    }
    
    .main-heading h1:after {
        width: 250px;
    }
    
    .story-content div {
        margin-top: 20px;
    }
    
    .education-container:before,
    .experience-container:before {
        display: none;
    }
    
    .education-content,
    .experience-content {
        width: 100%;
        margin-left: 0;
    }
    
    .education-content h3,
    .experience-content h3 {
        text-align: center;
    }
    
    .education-content h3:before,
    .experience-content h3:before {
        display: none;
    }
    
    .google-map {
        height: 500px;
    }
    
}

@media only screen and (max-width: 480px) {
    
     .profile-page .image-container {
    background: url(../images/background/a.jpg);
    background-size: contain;
    background-position: bottom;
    filter: grayscale(100%);
    height: 430px;
        }


    .intro-content h1 {
        font-size: 30px;
    }
    
    .intro-content h2 {
        font-size: 20px;
    }
    
    .main-heading {
        padding-left: 20px;
    }
    
    .main-heading h1:after {
        height: 3px;
    }
    
    .image-container {
        height: 405px;
    }
    
    .story-content div a {
        display: block;
        float: none;
        margin: 5px;
    }
    
    .contact-form button {
        width: 100%;
    }
    
    .project .buttons a {
        width: 30px;
        height: 30px;
        line-height: 30px;
        margin: 0;
        font-size: 12px;
    }
    .moments{
        top: 32%!important;
    }
    
}
/*5 sep 2020*/
@media (max-width: 479px)
{
	.resp-resize-img{margin: 0 auto;
    height: auto;
    max-width: 100%;
    border: none;
    display: block;
    padding: 5px 0;}
    .journey-text {
    padding: 0px 10px 0px !important;
}
.modal-dialog {
    width: auto !important;
}
.heading h2 {
    font-size: 18px!important;
}
.painting-resp{padding: 0px 35px;}

.profile-page .image-container, .resume-page .image-container, .portfolio-page .image-container, .contact-page .image-container
{background-position:top;background-size: cover;height: 230px;}
.contact-page .image-container{background-position: bottom !important;}
.contact {
    padding: 0px 20px;
     height: auto;
}
.main-heading h2{font-size: 24px !Important;}
.main-heading p {
    font-size: 18px !Important;}
    .h2-line:after, .journey-line:after{height:4px;}
    .journey-line{width: 300px;}
    .mask-resp{border-top: 0.5px solid white;}
    .heading h2{padding-top: 20px !important;}
    .new-resp-div{display:block;height: 100px;}
.moment-img-resp{padding-left:5px !important;padding-right:5px !important;}
}
@media (max-width: 476px)
{#myNav,.hammenu {
    display:none !important;
}
.profile-page .image-container{filter: none;}
}

