/***
--- COLOR GUIDE ---
PRIMARY = #B6CCDB
DARK = #3C3D40
LIGHT = #F2F2F2
BABY BLUE = #CCD2D6
BROWN = #DAD4CB
LINK HOVER = #8aa3b4
***/



/*** GENERAL STYLES ***/
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    font-size: 16px;
    font-family: 'Rubik', sans-serif;
    -webkit-overflow-scrolling: touch;
}

/* HEADERS */
h1, h2, h3, h4, h5, h6 {
    color: #F2F2F2;
    position: relative;
    text-align: center;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 4.25rem;
    text-transform: uppercase;
}

h2 {
    font-size: 3rem;
    font-weight: 300;
    padding: .5em 0 1em;
}

h3 {
    color: #3C3D40;
    font-size: 2.75rem;
    font-weight: 300;
    text-transform: uppercase;
}

h4 {
    color: #000000;
    font-size: 1.7rem;
    font-weight: 500;
    margin-bottom: .5em;
}

h5 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 0 1.25em 0;
    padding: 0;
    text-align: left;
}

section {
    padding: 2em 0;
    width: 100%;
    position: relative;
    z-index: 0;
}

.main {
    max-width: 900px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

p {
    font-size: 1rem;
    color: #767676;
    line-height: 25.6px;
}

a {
    text-decoration: none;
    color: #B6CCDB;
    cursor: pointer;
    transition: .5s ease;
}

a:hover {
    color: #8aa3b4;
    transition: .5s ease;
}

/* INPUTS */
input,
textarea {
    background-color: rgb(245, 245, 245);
    border: 1px solid rgb(232, 232, 232);
    padding: 1.07em 0.5em;
    font-size: 1rem;
    outline: none;
    transition: .5s ease;
}

input:focus,
textarea:focus {
    outline: none;
    background-color: #FFFFFF;
}

textarea {
    height: 8em;
    width: 100%;
    resize: vertical;
}

label {
    padding: 2em 0 .5em;
    margin-bottom: 0;
}

.btn-wrap {
    flex: 0 10 100%;
    text-align: center;
    margin: 2em 0;
}

.btn {
    color: #FFFFFF;
    transition: .5s ease;
    padding: 1rem 3rem;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    background-color: #b6ccdb;
    border: none;
    outline: none;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
}

.btn:hover {
    background-color: #83a8c2;
    transition: .5s ease;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 40px 0px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}



/*** TOP NAV ***/
.top-nav {
    display: block;
    position: fixed;
    z-index: 100;
    width: 100%;
    background-color: transparent;
    transition: .5s ease;
    box-shadow: none;
}

.top-nav.change {
    background-color: #f2f2f2;
    transition: .5s ease;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.3);
}

.top-nav .nav-container {
    padding: 1em 2em;
    justify-content: space-between;
    align-items: center;
}

.top-nav ul li {
    padding: 0 .7em;
}

.top-nav a {
    color: #F2F2F2;
    font-weight: 500;
    transition: .5s ease;
}

.top-nav.change a {
    color: #3c3d40;
    transition: .5s ease;
}

.top-nav .brand {
    font-weight: 700;
    font-size: 1.25rem;
}



/*** MOBILE NAV ***/
.mobile-nav {
    display: none;
}



/*** HERO IMAGE ***/
.hero-image {
    background-image: url(../images/typewriter.jpg);
    background-position: 50% 40%;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 135px 0 60px 0;
}

.hero-image .overlay {
    background-color: #000000;
    position: absolute;
    opacity: 0.4;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}



/*** ABOUT ME ***/
.content {
    margin: 2em auto;
}

.photo {
    width: 30%;
    float: left;
    margin: 0 1em 0 0;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.4);
}


/*** PORTFOLIO ***/
.portfolio {
    background-color: #CCD2D6;
}

.portfolio-container {
    display: flex;
    flex-direction: column;
    padding: 0 10em;
}

.portfolio-container .mark {
    display: flex;
    flex-direction: row-reverse;
    position: relative;
    margin-bottom: 2.5em;
    padding-left: 1.5em;
    z-index: 1;
    background-color: transparent !important;
}

.portfolio-container .mark:before {
    content: "";
    background-color: #ffffff;
    position: absolute;
    width: 2px;
    height: calc(100% + 4rem);
    top: 3%;
    left: 50%;
}

.portfolio-container .mark:last-of-type:before {
    display: none;
}

.portfolio-container .mark:after {
    content: "";
    background-color: #ffffff;
    position: absolute;
    width: 20%;
    height: 2px;
    top: calc(1% + 1.7rem);
    left: 50%;
    z-index: -1;
}

.portfolio-container .mark:nth-of-type(even):after {
    transform: translateX(-100%);
}

.portfolio-container .mark:nth-of-type(even) {
    flex-direction: row;
    padding-right: 1.5em;
    padding-left: 0;
}

.portfolio-container .dot {
    background-color: #ffffff;
    border-radius: 100%;
    position: absolute;
    left: 50%;
    width: 60px;
    height: 60px;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio-container .dot span {
    font-size: 35px;
    padding: .2em;
    display: block;
    text-align: center;
}

.portfolio-container .card {
    background-color: #ffffff;
    flex: 0 1 40%;
    padding: 1em 2em;
}

.portfolio-container .card ul li {
    margin: .3em 0;
}



/*** ESSAYS & REPRINTS ***/
.essays-reprints {
}

.er-slider {
    padding-top: 3em;
}

.er-slider p {
    text-align: center;
}

.er-slider .title {
    font-weight: 700;
    margin: 0;
}

.er-slider .word-count {
    font-style: italic;
    font-size: 0.9rem;
    margin: 0;
}

.slick-prev:before, .slick-next:before {
    color: #CCD2D6;
}


/*** ARTICLES ***/
.articles {
    background-color: #EFEFEF;
    padding: 2em 10em;
}

.article-slider {
    justify-content: space-between;
    margin: 2em auto;
}

.article-slider .card {
    flex: 0 1 22%;
    position: relative;
    transition: .5s ease;
    margin: 0 1%;
}

.article-slider .image {
    height: 12em;
    overflow-y: hidden;
}

.article-slider .image img {
    width: 100%;
}

.article-slider .title p {
    text-align: center;
    font-weight: 500;
    font-size: 1.3rem;
    margin-bottom: 0;
    padding: 1em 0;
}

.article-slider .card .read-more {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: 1s ease;
}

.article-slider .card:hover .read-more {
    visibility: visible;
    opacity: 1.0;
    z-index: 10;
}

.article-slider .card .read-more a:hover {
    color: #ffffff;
}

.article-slider .card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    transition: .5s ease;
}

.article-slider .card:hover .overlay {
    visibility: visible;
    opacity: 0.6;
}



/*** TESTIMONIALS ***/
.testimonials {
    background-image: url("../images/diary.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 35%;
}

.testimonials header h3 {
    color: #F2F2F2;
}

.testimonials .card {
    background-color: #ffffff;
    padding: 1.5em 2em;
    margin: 3em 0;
}

.testimonials .card .quote {
    font-style: italic;
}

.testimonials .card .author {
    font-weight: 900;
    color: #000000;
    margin-bottom: 0;
}

.testimonials .card .title {
    font-weight: 300;
    margin: 0;
    color: #000000;
}


/*** CONTACT ***/
.contact {
    background-color: #ffffff;
}

.contact .flex {
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact .flex .input-container {
    flex: 0 1 30%;
    display: flex;
    flex-wrap: wrap;
}

.contact .flex .input-container label {
    flex: 0 1 100%;
}

.contact .flex .input-container input {
    flex: 0 1 90%;
}

.contact .flex .textarea {
    flex: 1 1 100%;
}



/*** FOOTER ***/
.footer {
    background-color: #3C3D40;
    padding: 2em 0;
}

.footer .flex {
    justify-content: space-between;
}

.footer .footer-links {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5em;
}

.footer .links-container p {
    color: #f2f2f2;
    margin: 0;
}

.footer .footer-bottom {
    justify-content: space-between;
    align-items: center;
    padding-top: 1em;
}

.footer .footer-bottom > p {
    margin-bottom: 0;
}

.footer .social {
    display: flex;
    align-content: center;
}

.footer .social li {
    align-items: center;
    margin: 0 .2em;
}

.footer .social li a {
    color: #767676;
}

.footer .social li a:hover {
    color: #F2F2F2;
}

.footer .social li i {
    font-size: 1.5rem;
}

.footer .none {
    display: none;
}


/*** THANK YOU ***/
.thank-you {
    background-color: #FFFFFF;
    padding: 5rem 0;
}

.thank-you .icon {
    text-align: center;
}

.thank-you .icon span {
    font-size: 5rem;
    color: #8aa3b4;
}

.thank-you h1 {
    color: #3C3D40;
    font-size :5rem;
    padding: .5em 0;
}

.thank-you p {
    text-align: center;
    color: #3C3D40;
    font-size: 1.25rem;
}

.thank-you .buttons {
    display: flex;
    justify-content: center;
    margin-top: 7em;
}

.thank-you .buttons .btn {
    margin: 0 5em;
}

.thank-you .buttons a:hover {
    color: #3C3D40;
}

.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}











