@font-face {
    font-family: 'Spartan';
    src:
        local('Spartan'),
        local('Spartan Bold'),
        url('fonts/league-spartan.bold.ttf')
        format('truetype');
}

html, body {
    min-height: 100%;
}

body {
    font-family: 'Quicksand', serif;
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 0;
    color: #222;
}

.content {
    margin-top: 8vh;
}

.content > .full-section {
    height: 92vh;
    margin: 0;
    padding: 0;
}

.content > section {
    margin: 0;
    padding: 16px;
}

.section {
    display: flex;
    padding: 12px 24px;
}

.section-content {
    margin: 0 24px;
}

.section-mix-up {
    background: rgba(9, 146, 255, 0.15);
}

.section-dark {
    background: #222;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.blocks {
    display: flex;
    justify-content: space-around;
}

.section-small {
    align-items: center;
    display: flex;
}

.section-content > h1 {
    font-family: 'Spartan', sans-serif;
    font-size: 4rem;
    margin: 12px 0;
}

.section-content > p {
    font-size: 1.4rem;
}

.circle-image {
    border-radius: 50%;
    border: 8px solid #ccc;
    width: 25vw;
}

a {
    color: #222;
    font-weight: 700;
    text-decoration: none;
}

a:hover {
    color: rgb(9, 146, 255);
    border-bottom: 2px solid;
}

.navbar {
    margin: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    background: rgba(255, 255, 255, .85);
    width: 100%;
    height: 8vh;
}

.navbar-left, .navbar-right {
    padding: 0 16px 0 16px;
    display: flex;
    align-items: center;
}

.navbar-left > img {
    max-height: 7vh;
    object-fit: cover;
    width: auto;
    height: auto;
    padding: 8px 16px;
    max-width: 60vw;
}

.navbar-left > h1 {
    font-size: 1.4rem;
}

.navbar-right > div {
    padding: 0 8px;
}

.kb-background {
    background: url("images/kb.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.main-branding {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.large-branding {
    font-size: 8rem;
    color: #222;
    padding: 24px;
    line-height: 0.9;
    font-family: 'Spartan', sans-serif;
}

.small-branding {
    font-weight: 100;
    padding: 0 32px 0 32px;
    font-size: 5rem;
    color: #333;
    line-height: 1;
    text-align: center;
}

.footer {
    font-size: 14px;
    opacity: 0.8;
    padding: 16px;
    display: flex;
    flex: 1;
    position: absolute;
    bottom: 0px;
    padding-bottom: 8px;
    color: rgb(64, 64, 64);
}

@media only screen and (max-width: 640px) {
    section {
        text-align: center;
    }

    .large-branding {
        font-size: 3.5rem;
    }

    .small-branding {
        font-size: 1.8rem;
    }

    .section-content > h1 {
        font-size: 3rem;
    }

    .navbar-left {
        width: 100%;
        justify-content: center;
    }

    .navbar-right {
        width: 0%;
        visibility: hidden;
    }

    .section {
        flex-direction: column;   
    }

    .section-small > .circle-image {
        width: 100%;
    }

    .section-dark {
        font-size: .7rem;
    }
}