/*!
 * Start Bootstrap - Scrolling Nav HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    width: 100%;
    height: 100%;
}

html {
    width: 100%;
    height: 100%;
}

@media(min-width:767px) {
    .navbar {
        /*padding: 20px 0;*/
        padding: 0px 0;
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
    }

    .top-nav-collapse {
        padding: 0;
    }

    .notransparent {
        opacity: 1;
        filter: alpha(opacity=100); /* For IE8 and earlier */   
    }
}

h1 {
    margin-top: 10px;
}

#profile-pic {
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
}

.client-logo {
        width: 100px;
}

/* iphone 6 plus */
@media only screen and (max-width: 420px) {
    #about-section h1 {
        font-size: 1.6em;
        margin-bottom: 5px;
    }

    #profile-pic {
        width: 150px;
        height: 150px;
    }

    #about-section p {
        font-size: 0.95em;
    }

    #box-background p {
        font-size: 0.875em;
        margin-bottom: 1px;
    }
}

/* iphone 6 */
@media only screen and (max-width: 380px) {
    #about-section h1 {
        font-size: 1.4em;
        margin: 2px;
    }

    #profile-pic {
        width: 125px;
        height: 125px;
        margin: 2px;
    }

    #about-section p {
        font-size: 0.875em;
        margin-bottom: 2px;
    }

    #box-background p {
        font-size: 0.8em;

    }
}

/* iphone 5 */
@media only screen and (max-width: 330px) {
    #about-section p {
        font-size: 0.7em;
        margin-bottom: 5px;
    }

    #about-section h1 {
        font-size: 1.2em;
        margin: 5px;
    }

    #profile-pic {
        width: 100px;
        height: 100px;
        margin-bottom: 3px;
    }

    #box-background {
        font-size: 0.875em;
    }

    .client-logo {
        width: 80px;
    }
}

/* iphone 4 */
@media only screen and (max-width: 330px) and (max-height: 450px) {
    #about-section p {
        font-size: 0.625em;
        margin-bottom: 3px;
    }

    #about-section h1 {
        font-size: 1.2em;
        margin: 5px;
    }

    #profile-pic {
        width: 80px;
        height: 80px;
        margin-bottom: 3px;
    }

    #box-background {
        font-size: 0.9em;
    }

    .client-logo {
        width: 80px;
    }

    .services-section h1, h2 {
        font-size: 1.5em;
        margin: 5px;
    }

    .services-section p {
        margin: 5px;
        padding: 0px;
    }
}


/* Demo Sections - You can use these as guides or delete them - the scroller will work with any sort of height, fixed, undefined, or percentage based.
The padding is very important to make sure the scrollspy picks up the right area when scrolled to. Adjust the margin and padding of sections and children 
of those sections to manage the look and feel of the site. */

.intro-section {
    height: 100%;
    text-align: center;
    background: url('../resources/background/city.jpg') no-repeat center center scroll;
    background-size: cover;
}

.about-section {
    height: 100%;
    text-align: center;
    background-size: cover;
}

.about-section-second {
    height: 100%;
    text-align: center;
    background: url('../resources/background/ub_sukhbaatar_square.jpg') no-repeat center center scroll;
    background-size: cover;
}

.services-section {
    height: 100%;
    text-align: center;
    background-size: cover;   
}

.gallery-section {
    height: 100%;
    text-align: center;
    background: url('../resources/background/ocean.jpg') no-repeat center center scroll;
    background-size: cover;
}

.gallery-section a {
    color: black;
}

.links-section {
    height: 100%;
    text-align: center;
}

.contact-section {
    height: 100%;
    text-align: center;
}