body {
    font-family: 'Source Sans Pro', sans-serif;
    color: #7F7F7F;
    background-color: #1c1c1c;
    min-width: 320px;
    background-image: url("../img/doodles.png");
    background-repeat: no-repeat;
    background-position: center -50px;
}

a {
    color: #7F7F7F;
    text-decoration: none;
}

h4 {
    font-size: 16px;
    margin: 0;
    font-weight: 400;
}

p {
    font-size: 17px;
    line-height: 26px;
    margin: 0;
}

b {
    color: white;
}

svg {
    color: #b6834c;
}

button,
.bg-image,
h4,
svg {
    transition: all .6s cubic-bezier(.19, 1, .22, 1);
}

button {
    background: none;
    border: 1px solid #b6834c;
    color: #b6834c;
    font-weight: 700;
    font-family: 'Source Sans Pro', sans-serif;
    padding: 18px 60px;
    outline: none;
    cursor: pointer;
    margin-top: 60px;
    border-radius: 14px;
}

button:hover {
    color: #1c1c1c;
    background: #b6834c;
    border-radius: 14px;
}

.bg-image {
    background: no-repeat center center;
    background-size: cover;
    height: 100%;
}

.container {
    margin-top: 90px;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    text-align: center;
}

.headshot {
    margin-bottom: 96px;
}

.divider {
    height: 1px;
    width: 38px;
    background-color: #b6834c;
    margin-left: auto;
    margin-right: auto;
}

.intro {
    margin-top: 24px;
    margin-bottom: 90px;
}

.intro p {
    font-size: 22px;
}

.content .divider {
    margin-top: 20px;
}

.portfolio {
    margin-top: 5px;
}

.portfolio .error {
    margin-top: 15px;
}

.grid {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    margin: 0 auto;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    padding: 16px;
    text-align: left;
}

.card {
    box-sizing: border-box;
    color: #7F7F7F;
    width: calc(33.3333333333% - 32px);
    margin: 16px;
    border-radius: 14px;
}

.card:hover .bg-image {
    -ms-transform: scale(1.1);
    transform: scale(1.1)
}

.card:hover h4 {
    color: #b6834c;
}

.card .header {
    margin-bottom: 10px;
}

.card .header span {
    margin-left: 5px;
    margin-right: 20px;
    font-size: 14px;
}

.card .body {
    width: 100%;
    height: 178px;
    border-radius: 14px;
    margin-bottom: 20px;
    overflow: hidden;
}

footer {
    margin-top: 80px;
    margin-bottom: 20px;
}

footer .social svg {
    margin: 0px 26px;
    font-size: 1.5em;
    color: white;
}

footer .social svg:hover {
    color: #b6834c;
}

footer p {
    margin-top: 30px;
    font-weight: 700;
    font-size: 14px;
}

.loader {
    margin: 0 auto;
    width: 70px;
    text-align: center;
    margin-top: 30px;
}

.loader > div {
    width: 18px;
    height: 18px;
    background-color: white;
    border-radius: 100%;
    display: inline-block;
    animation: bouncedelay 1.4s infinite ease-in-out both;
}

.loader .bounce1 {
    animation-delay: -0.32s;
}

.loader .bounce2 {
    animation-delay: -0.16s;
}

@keyframes bouncedelay {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1.0);
    }
}

@media (max-width: 600px) {
    .card {
        width: calc(100% - 32px);
        text-align: center;
    }
    .card .bg-image {
        background-size: contain;
    }
}

@media (max-width: 460px) {
    .intro p {
        font-size: 18px;
    }
}