@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300,400,500&display=swap');

:root{
    --dark-accent-color: #858587;
    --light-accent-color: #eaeaea;
}

#app{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: #000;
    font-size: 14px;
}

b{
    font-weight: 500;
}

.badge{
    font-weight: 400;
}

body,
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
    font-weight: 300;
}

.navbar {
    padding: 0.75em;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

.carousel-control-next, .carousel-control-prev {
    top: 64px;
}

.nav-item {
    padding-left: 0.5em;
    padding-right: 0.5em;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8em;
}

.card {
    border-radius: 0;
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: 0.2s ease-in-out;
}

.author-block{
    border-left: 1px dashed #d2d2d2;
    padding-left: 1.5em;
}

.line-right{
    border-right: 1px dashed #d2d2d2;
    padding-right: 1.5em;
}

.card:hover{
    box-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

.card-body{
    padding: 2em;
    text-align: left;
}

.container-fluid {
    padding: 2em 6em;
    background-color: #fbfbfb;
}

.container-fluid.dark {
    box-shadow: inset 0 1px 10px rgba(0, 0, 0, 0.05);
    background-color: #efefef;
}

.container-fluid.mid {
    box-shadow: inset 0 1px 10px rgba(0, 0, 0, 0.05);
    background-color: #f6f6f6;
}

.container-fluid.darker {
    background-color: #333;
    color: #fff;
    padding: 1em;
}

.carousel.home .carousel-parallax {
    text-align: center;
    height: 100vh;
    overflow: hidden;
    pointer-events: initial!important;
}

.navbar-light .navbar-toggler {
    color: rgba(255,255,255,.5);
    filter: invert(1);
    border:none;
}

.carousel.home .carousel-parallax img {
    width: auto;
    height: 105%;
    filter: blur(0px);
    opacity: 0.5;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.form-control {
    border-color: #e2e2e2;
    border-radius: 0;
}

.btn {
    border-radius: 0;
}

textarea.form-control {
    height: 150px;
}

.list-group {
    border-radius: 0;
}

.list-group-item {
    padding: 1em;
}

.navbar-light .navbar-toggler {
    border: none;
    border-radius: 0;
}

.animated .letter {
    display: inline-block;
    line-height: 1em;
}

h3 {
    margin-bottom: 0.75em;
}

.nav-link {
    transition: 0.2s ease-in-out;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(255, 255, 255, .7);
    padding-left: 1em;
    padding-right: 1em;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover{
    color: rgba(255, 255, 255, 1);
}

.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover,
.navbar-light .navbar-brand {
    color: rgba(255, 255, 255, .9);
    margin-right: 1.5rem;
}

.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 {
    color: rgb(255, 255, 255);
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.navbar {
    background-color: transparent !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.carousel-inner {
    position: relative;
}

.carousel-parallax > div {
    width: 100%;
    height: 100%;
}

.carousel-parallax .carousel-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    padding: 2em 3em;
    border: 1px solid transparent;
    width: 515px;
    text-align: left;
}

.top,
.bottom,
.left,
.right {
    position: absolute;
    animation-duration: 8s;
    animation-fill-mode: forwards;
    animation-delay: 0.5s;
}

.top {
    top: -1px;
    left: -1px;
    height: 1px;
    -webkit-animation-name: top;
    animation-name: top;
}

@-webkit-keyframes top {
    25% {
        width: 0;
        background: #fff;
    }
    38% {
        width: calc(100%);
        background: #fff;
    }
    50% {
        background: #fff;
    }
    62% {
        background: #fff;
    }
    75% {
        width: calc(100%);
        background: #fff;
    }
    100% {
        width: calc(100%);
        background: #fff;
    }
}

.bottom {
    bottom: -1px;
    right: -1px;
    height: 1px;
    -webkit-animation-name: bottom;
    animation-name: bottom;
}

@-webkit-keyframes bottom {
    0% {
        width: 0;
    }
    12% {
        width: calc(100%);
        background: #fff;
    }
    25% {
        background: #fff;
    }
    38% {
        background: #fff;
    }
    50% {
        width: calc(100%);
        background: #fff;
    }
    100% {
        width: calc(100%);
        background: #fff;
    }
}

.left {
    bottom: -1px;
    left: -1px;
    width: 1px;
    -webkit-animation-name: left;
    animation-name: left;
}

@-webkit-keyframes left {
    12% {
        height: 0;
        background: #fff;
    }
    25% {
        height: calc(100%);
        background: #fff;
    }
    38% {
        background: #fff;
    }
    50% {
        background: #fff;
    }
    62% {
        height: calc(100%);
        background: #fff;
    }
    100% {
        height: calc(100%);
        background: #fff;
    }
}

.right {
    top: -1px;
    right: -1px;
    width: 1px;
    -webkit-animation-name: right;
    animation-name: right;
}

@-webkit-keyframes right {
    38% {
        height: 0;
        background: #fff;
    }
    50% {
        height: calc(100%);
        background: #fff;
    }
    62% {
        background: #fff;
    }
    75% {
        background: #fff;
    }
    88% {
        height: calc(100%);
        background: #fff;
    }
    100% {
        height: calc(100%);
        background: #fff;
    }
}

.carousel-text.carousel-text--onload {
    opacity: 0;
}

.parallax-window {
    height: 300px;
}

.navbar-image {
    height: 25px;
    vertical-align: middle;
    width: auto;
    margin-top: -6px;
    filter: invert(1);
    margin-right: 0.1em;
    opacity: 0.8;
    image-rendering: -moz-crisp-edges;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
}

.grid-sizer,
.grid-item {
    width: 33.3%;
}

.grid-item {
    padding: 0.3em;
}

.grid-item img {
    width: 100%;
    height: auto;
}

.grid-item .grid-image {
    position: relative;
}

hr{
    width: 50%;
    border-top: none;
    border-left: 1px dashed #d2d2d2;
    height: 2.5em;
    margin: 1em auto;
    position: relative;
}

.card-date{
    position: absolute;
    right: 0;
    top: -2em;
}

.client__logo img{
    width: auto!important;
    height: 4em;
    transition: 0.2s ease-in-out;
    filter: saturate(0);
    margin-left: auto;
    margin-right: auto;
}

.client__logo img:hover{
    filter: saturate(1);
}

.text-muted {
    color: #9ea6ab !important;
}

.carousel-contact{
    position: absolute;
    left: 0;
    bottom: 0;
    text-align: left;
    color: #fff;
    padding: 1em;
    font-size: 12px;
    letter-spacing: 1px;
}

.carousel-contact > div{
    margin-bottom: 0.3em;
}

@media(max-width: 1200px){
    .container-fluid {
        padding: 2em 3em;
    }
}

@media(max-width: 600px){
    .container-fluid {
        padding: 2em 2em;
    }

    .carousel-parallax .carousel-text{
        width: 85%;
    }
}

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

/* Scroll reveal states  */
html.sr .load-hidden {
    visibility: hidden;
}

.dark .btn.btn-light{
    background: none;
    border: 1px solid #333;
    color: #333;
}

.dark .btn-light:not(:disabled):not(.disabled):hover,
.dark .btn-light:not(:disabled):not(.disabled).active,
.dark .btn-light:not(:disabled):not(.disabled):active,
.dark .show>.btn-light.dropdown-toggle {
    color: #fbfbfb;
    background-color: #333333;
    border-color: #333333;
    box-shadow: none;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #333333;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgb(51 51 51 / 15%);
}

.btn-outline-light.focus, .btn-outline-light:focus {
    box-shadow: none;
}

.logo__wrapper{
    padding-left: 3em;
    padding-right: 3em;
}

.parallax-mirror{
    opacity: 0.7;
}

@media(max-width: 768px){
    .logo__wrapper{
        padding-left: 0;
        padding-right: 0;
    }

    .client__logo img{
        height: 2em;
    }

    .parallax-window{
        height: 250px;
        opacity: 0.7;
    }
}

@media(max-width: 520px){

}

@media(max-width: 991px){
    .navbar{
        padding-left: 0;
        padding-right: 0;
    }

    .navbar-light .navbar-brand{
        margin-left: 1.5em;
    }

    .navbar-light .navbar-toggler{
        margin-right: 1.5em;
    }

    .navbar-collapse{
        padding: 1em;
        background: rgba(0,0,0,0.5);
    }

    .navbar-nav:not(.mr-auto){
        flex-direction: row;
    }
}

.card-subtitle{
    font-size: 0.9em;
    letter-spacing: 1px;
    padding-top: 0.3em;
}

.card-date{
    font-size: 0.9em;
    letter-spacing: 1px;
}

.hidden{
    display: none;
}

.view-more-wrapper{
    padding: 1em;
}

.view-more-wrapper a{
    transition: 0.2s ease-in-out;
    color: #1d2022;
    opacity: 0.7;
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 0.9em;
}

.view-more-wrapper a:hover{
    opacity: 1;
}

#footer{
    padding: 1.5em;
}

.d-flex-justify,
.d-flex-justify-start{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.d-flex-justify-start{
    align-items: start;
}

.w-100{
    width: 100%;
}

.post-tag{
    background-color: var(--light-accent-color);
    color: #333;
    margin-right: 0.2em;
}

.profile-circle{
    padding: 1.5em;
    background-color: var(--dark-accent-color);
    border-radius: 50%;
    color: #fff;
    position: relative;
    text-align: center;
}

.profile-circle span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.article-feed{
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 3em;
    gap: 3em;
}

.article-feed .card{
    position: relative;
}

.article-image-wrapper{
    width: 150px;
    height: 100%;
    margin-right: 1em;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.article-image-container{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0,-50%);
}

.article-image-container img{
    display: inline-block;
    width: 100%;
    height: auto;
    filter: grayscale(1);
    transition: 0.2s ease-in-out;
    opacity: 0.9;
}

.card:hover .article-image-container img{
    filter: grayscale(0);
    opacity: 1;
}

.parallax-mirror{
    filter: grayscale(1);
}

.headshot-image{
    margin-left: 1.5em;
    margin-bottom: 1em;
    text-align: center;
    width: 300px;
}

.headshot-image-wrapper{
    width: 300px;
    height: 300px;
    overflow: hidden;
    text-align: center;
    position: relative;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.headshot-image img{
    height: 100%;
    width: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.blockquote{
    font-size: 1.5em;
    margin-top: 2em;
    color: #ccc;
}

.caption{
    font-size: 0.8em;
    padding-top: 1em;
    padding-bottom: 1em;
    color: var(--dark-accent-color);
}

.grow{
    flex: 1;
}