
@media (min-width: 420px) {
   
    
    
    .section1 .title{
        font-size: 1.5rem;
        padding-top: 5%;
        padding-left: 5%;
        top: inherit;
        position: inherit;
    }
    
    .section1 .slogan {
        font-size: 1.1rem;
        top: 50%;
    }
    
    .mainHeader{
        background-size: cover;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
    }
    
    
    
/*Services*/
    
    .services h1 {
        text-align: center;
    }
    
    
    .servicep {
    font-size: 1.2rem;
}
    
    .serviceT h3{
    font-size:  1.6rem;
}

    
    .text{
    font-size: 1.2rem;
}
    

/*    Portfolio */
    
    .quote {
        font-size: 1.2rem;
    }
    
/*    Story*/
    
    .story h5 {
        font-size: 2rem;
    }
    
    .short {
        font-size: 1.3rem;
    }
    
    .story p {
        font-size: 1.4rem;
    }
    
    .btn-warning {
        font-size: 1.2rem;
    }
    
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .praise {
        font-size: 1.4rem;
    }

}
@media (min-width: 768px) {
   
    .dropdown-menu .dropdown-item:focus {
        background-color: #fff!important;
        border:none!important;
    }
    
    .dropdown-menu:active {
         box-shadow: none!important;
        border: none;!important;
    }
    
    .btn .dropdown-menu:focus {
       
    }
    .navMenu li a {
        text-decoration: none;
        font-size: 0.8rem;
        margin-bottom: 15px;
        margin-top: 5px;
    }

    
    .navMain {
        margin-bottom: 20px;
    }
    
    .logoDiv img {
        margin-bottom: 5px;
        padding-top: 7px;
        width: 60px;
    }
    .navMenu li a:hover {
        font-size: 0.9rem;
    }
    
    .section1 {
        margin-top: 250px;
    }
    
    .section1 .title{
        font-size: 2.1rem;
        padding-top: 20px;
        top: inherit;
        position: inherit;
    }
    
    .section1 .slogan {
        left:0;
        font-size: 1.5rem;
        top: 50%;
        left: 20%;
    }
    
/*    Services*/
    .section2 .servicep {
        font-size: 1.3rem;
        padding: 30px;
        padding-top: 50px;
    }
    
    
     .box h3 {
        font-size: 1.4rem;
    }
    .box .text {
        font-size: 1rem;
        margin: 0;
        padding: 0;
        padding: 5px;
    }
    
    
    .serviceC {
        font-size: 2rem;
        margin-top:50px;
    }
    .box-part {
        margin: 0;
        padding: 0;
    }
    
    /*    COMPANY*/
    
    .front {
        z-index: -1;
    }
    
    .back {
       visibility: hidden;
    }
    
    .companyDetails {
        background-image: url(../img/Improventor.jpg);
        height: 400px;
        background-repeat: no-repeat;
        position: absolute;
        padding-bottom: 50px;
        margin: 0;
       
        
    }
    
    .company {
        position:relative;
        width: 100%;
        z-index: 5;
        bottom: -80px;
    }
    
   
    .companyDetails h3 {
        padding-left: 500px;
        padding-top: 200px;
        font-size: 1.2rem;
    }
    
    
    .profession {
        z-index: 15;
        margin-top: 330px;
    }
    .ontop {
        z-index: 3;
    }
    
    .front {
        position: absolute;
    }
    
    .companyDetails p {
        visibility: hidden;
    }
    
    .quoteLarge li{
        position: absolute;
        text-align: left;
        top:80px;
        left: 8px;
        color: yellow;
        visibility: visible;
        
    }
    
    
    .dropdown-menu:focus {
        border: none!important;
        border-color: transparent!important;
    }
    
    .specialize li {
        left: 30px;
    }
    
/*    PORTFOLIO*/
    
    .card-group {
        width: 95%;
        
    }
    
    
    
    .card-group h5 {
        font-size: 1.2rem;
    }
    
    .card-group p {
        padding: 2px;
        font-size: 1rem;
    }
    
    .card-group img {
        width: 70%;
        height: 100px;
        margin: 0 auto;
        
    }
    
    
    /*    BLOG*/
    
    .section5 {
        margin-top: 120px;
        
    }
    
    .blogH {
        left: 320px;
    }
    
    .sec5 {
        margin-bottom: 120px;
    }
    
    .blogSite {
        bottom: 50px;
    }
    
/*    SECTION*/
    
    .section6 {
        margin-top: 120px;
    }
    
    .blogSite {
        margin-top: 50px;
    }
    
    .blogSite a:hover{
        
        border-bottom: 1px solid #4f2516;
    }
   
    
    #form1{
        width: 70%;
        margin: 0 auto;
    }
    
    #Contact p {
        text-align: center!important;
    }
    
    
    .endline {
        width: 85%;
    }
    .end p {
        font-size: 0.7rem;
        padding-top: 10px;
    }
    .captcha {
        margin-left: 50px;
        margin-bottom: 15px;
    }

}



@media (min-width:1024px){
    
/*    NAVIGATION*/
    
    
    .section1 p {
        left: 270px;
    }
    
    
    .section1 .title {
        padding: 0;
        padding-top: 20px;
        font-size: 2.2rem;
        padding-left: 170px;
    }
    
    .section1 .slogan {
        padding: 0;
        padding-top: 5px;
        font-size: 1.6rem;
        left: 36%;
        
    }
    
    
     .section2 .servicep {
        font-size: 1rem;
        padding: 30px;
        padding-top: 90px;
    }
    
    
/*    PORTFOLIO*/
    .profileLink .card-group{
        margin: 0 auto;
        padding: 0;
        margin-top: 70px;
    }
    
    
    .story p {
        font-size: 1rem;
    }
    
    .companyDetails h3 {
        text-align: left;
    }
    
/*    BLOG*/
    .section5 {
        margin-top: 0px;
        margin-top: 30px;
    }
    
    .blog {
        margin-bottom: 130px;
        margin-top: 50px;
    } 
    
    .blogH {
        padding-left: 150px;
    }
}
    
@media (min-width:1366px){
      .section1 .slogan {
        left:0;
        font-size: 1.7rem;
        top: 50%;
        left: 37%;
    }
    
    
    
    
/*    Services*/
    .services h1 {
        margin-bottom: 10%;
        margin-top: 10%;
    }
    
    
/*    BLOG*/
    .blogH {
        left: 35%;
    }
    
    .blogSite {
        margin-top: 10%;
        margin-bottom: 10%;
    }
    
    /*    CAPTCHA*/
    
    .captcha {
        margin-left: 220px;
    }
    
   
    }

@media (min-width:1600px) {
    
    .section1 {
        
        margin-top: 30%;
    }
    .section1 .slogan {
        left:0;
        font-size: 1.7rem;
        left: 39%;

    }
    
}

    
@media (min-width: 1920px) {
    .logoDiv img {
        width: 75px;
        height: auto;
    }
    .normal {
        padding-right: 20px;
    }
    .section1 {
        height: 150px;
        margin-top: 550px;
    }
    .section1 .title{
        font-size: 2.6rem;
        padding-top: 35px;
    }
    
    .navMain {
        padding-right: 5%;
    }
    
    .navMain li {
        margin-bottom: 10px;
    }
    .navMain li a{
        font-size: 0.987rem;
    }
    
    .section1 .slogan {
        font-size: 1.9rem;
        left: 38%;
        padding-top: 10px;
    }
    
/*    SERVICES*/
    
    .services h1 {
        margin-top: 150px;
        margin-bottom: 160px;
    }
    .section2 .servicep {
        font-size: 1.2rem;
        padding: 40px;
        padding-top: 5%;
    }
    
    
    /*    Company*/
    
    .profession {
        margin-top: 20%;
    }
    
    
    
/*    PORTFOLIO*/
    
    .portfolio {
        margin-top: 15%;
    }
    
    
    
/*    BLOG*/
    
    .blogH {
        left: 40%;
    }
    
    .blogSite {
        margin-top: 10%;
    }
    
/*    Contact*/
    
    .contactSection {
        margin-top: 15%;
        
}
}
    
    