/* general styles */
@font-face {
    font-family: AvenirNextLTPro;
    src: url(../fonts/AvenirNextLTPro-Regular.otf);
    font-weight: normal;
}

@font-face {
    font-family: AvenirNextLTPro;
    src: url(../fonts/AvenirNextLTPro-Bold.otf);
    font-weight: bold;
}

* {
    font-family: AvenirNextLTPro, Roboto, "Helvetica Neue", Arial, sans-serif;
}

.color-primary {
    color: #265782;
}

.color-secondary {
    color: #5ca0db;
}

.color-white {
    color: white;
}

@media (max-width: 540px) {
    body {
        font-size: 0.8rem;
    }
}

/* navigation bar */
.navbar {
    background-color: #265782;
    color: #fff;
}

.navbar a,
.navbar a:visited,
.navbar a:hover {
    color: inherit;
    text-decoration: none;
}

#main-nav .navbar-nav {
    align-content: space-around;
    width: 100%;
}

#main-nav .navbar-nav > li.nav-item {
    flex: 1 auto;
    text-align: center;
    text-transform: uppercase;
    box-sizing: border-box;
}

#main-nav .navbar-nav > li.nav-item > a {
    padding: 1em 0;
    color: #5497cf;
    font-weight: bold;
    box-sizing: border-box;
    transition: border-bottom-color, color 200ms linear;
}

#main-nav .navbar-nav > li.nav-item > a.active {
    border-bottom: 0.25em #fff solid;
    color: white;
}

#main-nav .navbar-nav > li.nav-item.active > a {
    color: #fff;
}

/* content */
.content > section {
    padding: 6em 1em 2em;
    margin: 0;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #265782;
    color: #fff;
}

/* first section - header */
section#header img {
    height: 50vh;
}

section#header h1 {
    font-size: 5em;
}

/* second section - about */
section#about .section-content > h3 {
    margin-bottom: 0;
}

section#about .section-content > p {
    margin-top: 4em;
}

/* third section - services */
section#services {
    color: #265782;
}

section#services .section-content ul {
    padding-left: 2em;
}

section#services .section-content ul > li {
    padding-top: 1em;
    font-size: 1.1em;
}

/* fourth section - references */
section#references hr {
    width: 4em;
    border-top: 2px solid #5ca0db;
}

section#references .carousel .carousel-indicators > li {
    margin: 0 0.5em;
    height: 0.5em;
    width: 0.5em;
    border-radius: 0.25em;
    background: #5ca0db;
}

section#references .carousel .carousel-indicators > li.active {
    width: 2em;
    background: #fff;
}

section#references img {
    height: 16em;
    margin-bottom: 2em;
}

/* fifth section - contact */
section#contact {
    background-color: #fff;
}

section#contact .section-content {
    padding-top: 8em;
}

section#contact .section-content > img {
    max-height: 50vh;
}

section#contact .section-content > h2 {
    margin-top: -6vh;
}

section#contact .section-content .button-wrapper {
    padding-top: 3em;
}

/* stylelint-disable-next-line no-descending-specificity */
section#contact .section-content .button-wrapper > a {
    width: 50%;
    padding: 1em;
    background: #265782;
    color: white !important;
}

/* background images */
.content > section#header { background-image: url("../images/header_background.png"); }
.content > section#about { background-image: url("../images/about_background.png"); }
.content > section#services { background-image: url("../images/services_background.png"); }
.content > section#references { background-image: url("../images/references_background.png"); }
.content > section#contact { background-image: url("../images/contact_background.png"); }
