body {
    margin-top: 30px;
    margin-bottom: 30x;
    background-image: url(../img/bg.jpg);
    font-size: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Slabo 27px', serif;
}

.container {
    background-color: white;
}

#small {
    display: none;
}

.topline {
    background-color: white;
    font-size: 1.2em;
}

.topline p, a {
    margin: 5px 0;
    color: black;
}

.topline a:hover {
    text-decoration: none;
    font-style: italic;
    color: black;
}

.jumbotron {
    background-color: white;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 0;
    border-top: black solid 1px;
    border-bottom: black solid 1px;
}

#navbar li a {
    color: black;
    font-size: 20px;
    padding-right: 30px;
    margin: 0;
}

#navbar li a:hover {
    color: black;
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
        
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    font-weight: bolder;
}

.navbar-nav {
    background-color: white;
}


.confull {
    padding: 0;
}

.carousel-inner {
    box-shadow: 0px 7px 24px 2px rgba(0,0,0,0.75);
}

#choose {
    padding-top: 30px;
}

.card-body {
    text-align: center;
}

#qc {
    background-image: url(../img/stairs.jpg);
    background-size: cover;
    height: 400px;
    padding-top: 130px;
    box-shadow: 0px 7px 24px 2px rgba(0,0,0,0.75);
}

#qc .carousel-inner {
    background-color: #5f5f5f;
    font-size: 1.1em;
    height: 120px;
    border-radius: 15px;
    opacity: 0.9;
    color: white;
    width: 85%;
    text-align-last: center;
    box-shadow: 0px 7px 24px 2px rgba(0,0,0,0.75);
}

#projects {
    padding-top: 30px;
    padding-bottom: 10px;
}

#projects img {
     height: 300px;
     width: 250px;
     margin-bottom: 20px;
}

#footer p, a {
    color: black;
    padding-top: 20px;
}

#footer a:hover {
    text-decoration: none;
    font-style: italic;
    color: black;
}

#mainSec {
    padding-top: 30px;
    font-size: 1.1em;
}

#mainSec h2 {
    margin-bottom: 30px;
}

#maintest .card-footer {
    font-style: italic;
}

#maintest .row .col-md-10 {
    margin-bottom: 20px;
}

#mainCon p a:hover {
    color: black;
    text-decoration: none;
    font-style: italic;
}

#gall p a {
    color: black;
    font-size: 1.4em;
    margin-top: 20px;
    text-align: center;
}

#gall p a:hover {
    color: black;
    text-decoration: none;
    font-style: italic;
}



#gall img {
    height: 250px;
    width: 250px;
    margin-bottom: 20px;
}

@media only screen and (max-width: 992px) {
    
    .topline {
        font-size: 12px;
    }
    
    .navbar-toggler {
        margin: auto;
    }
    
    #navbar li a {
        font-size: 16px;
        text-align: center;
        padding: 0;
    }
    
    #projects img {
        height: 200px;
        width: 180px;
        margin-bottom: 16px;
    }
    
    #projects h3 {
        font-size: 20px;
    }
    
    #mainSec img {
        height: 450px;
        width: 330px;
    }
    
     #projects a img {
        height: 240px;
        width: 160px;
    }
    
    #gall img {
        height: 200px;
        width: 150px;
    }

}


@media only screen and (max-width: 767px) {
    
    .topline {
        font-size: 14px;
        text-align: center;
    }
    
    .topline p a {
        text-align: center!important;
    }
    
    #qc {
        height: 300px;
        padding-top: 90px;
    }

    #qc .carousel-inner {
        font-size: 14px;
        height: 130px;
        border-radius: 15px;
    }
    
    #projects a img {
        height: 190px;
        width: 120px;
    }
    
    #mainSec img {
        display: none;
    }
    
    #serImg {
        display: none;
    }
    
    #conImg {
        display: none;
    }
    
    #gall img {
        height: 160px;
        width: 120px;
    }
    
    #gall p a {
        font-size: 16px;
        margin-top: 10px;
    }
    
}

@media only screen and (max-width: 575px) {
    #gall p a {
       font-size: 16px;
    }
    
  
}








