@import url('https://fonts.googleapis.com/css?family=Montserrat:600|Raleway');

html, body {
    font-family: 'Raleway', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

/**
 * #3278F0
 * #BEE9E8
 * #62B6CB
 * #1B4965
 * #CAE9FF
 */

.body {
    background: #1B4965;
    display: flex;
    flex-direction: column;
}

.nav {
    background: rgba(255, 255, 255, 1.0);
    display: flex;
    justify-content: space-between;
    padding: 1em 0;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    top: 0;
}

.nav__buttons {
    display: flex;
    margin: 0 8px;
}

.nav__buttons--right {
    justify-content: flex-end;
}

.nav__buttons__item {
    color: #1B4965;
    border-radius: 3px;
    font-weight: bold;
    padding: 8px 16px;
    text-decoration: none;
    margin: 0 8px;
    position: relative;
}

.nav__buttons__item::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 14px;
    right: 14px;
    background: #1B4965;
    height: 1px;
    transform: scaleX(0) scaleY(0);
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.nav__buttons__item:hover::before,
.nav__buttons__item--active::before {
    opacity: 1;
    transform: scaleX(1) scaleY(1);
    visibility: visible;
}

.nav__buttons__item:first-child,
.nav__buttons__item:last-child {
    margin: 0;
}

.section {
    background-color: white;
    padding: 32px 0 90px 0;
    text-align: left;
}

.section--full {
    min-height: 80vh;
}

.section--grey {
    background-color: #EFEFEF;
}

.section--dark {
    background-color: #1B4965;
    color: #CAE9FF;
}

.section--home {
    background-image: url(img/worcester-01.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section--company-details {
    font-size: 50%;
}

.heading {
    font-family: 'Montserrat', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    font-weight: 600;
    font-size: 250%;
    margin: 0;
    margin-bottom: 32px;
    text-align: center;
}

.heading--home {
    border: 3px solid white;
    color: white;
    font-size: 200%;
    text-shadow: 1px 1px 3px #333;
    padding: 0.5em 1em;
}

.paragraph,
.list,
.footer__item {
    font-size: 150%;
    margin: 0 auto 16px auto;
    max-width: 900px;
    padding: 0 16px;
}

.paragraph {
}

.paragraph--lede {
    line-height: 1.5;
}

.paragraph__link {
    color: #1B4965;
}

.separator {
    background: rgba(50, 50, 50, 0.3);
    border: 0;
    height: 3px;
    margin: 32px auto 0 auto;
    max-width: 400px;
}

.list {
    list-style: circle outside;
    line-height: 1.5;
}

.list--company-details {
    list-style: none;
}

.list__item {
    margin-left: 1em;
}

.footer {
    color: #62B6CB;
    padding: 1em 0;
}

.footer__item {
    font-size: x-small;
    margin: 8px auto;
}

.footer__item__link {
    color: #62B6CB;
}

@media only screen and (max-width: 767px) {
    .footer__item {
        margin: 8px 8px;
    }
}

.mobile-only {
    display: none;
}

@media only screen and (max-width: 767px) {
    .mobile-only {
        display: block;
    }
}
