.nav {
    -webkit-animation-name: after-delay-bg; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 500ms; /* Safari 4.0 - 8.0 */
    animation-name: after-delay-bg;
    animation-duration: 500ms;
}
.work-main {
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.8)), url("https://i.imgur.com/HpOqukx.jpg");
    background-size: cover;
    background-position: bottom;
    width: 66.6666%;
    position: relative;
    color: #fff;
    overflow: hidden;
}
.work-main:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.8);
    -webkit-animation-name: after-delay-bg; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 500ms; /* Safari 4.0 - 8.0 */
    animation-name: after-delay-bg;
    animation-duration: 500ms;
}
.work-main > div:nth-of-type(2) {
    margin-top: 0;
    margin-left: 50px;
    position: relative;
    z-index: 1;
    height: 100%;
}
.work-main > div:nth-of-type(2) > h2 {
    font-size: 3rem;
    color: #fff;
    font-weight:300;
}
.work-main > div:nth-of-type(2) > h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 300;
    margin-top: 0;
    opacity: 1;
    -webkit-animation-name: after-delay; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 500ms; /* Safari 4.0 - 8.0 */
    animation-name: after-delay;
    animation-duration: 500ms;
}
.work-main > div:nth-of-type(2) > p {
    font-size: 1.4rem;
    padding-right: 10%;
    padding-top: 20px;
    max-width: 750px;
    font-weight: 200;
}
.work-container {
    margin-top: 30px;
    height: 65%;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-animation-name: after-delay-bg; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 500ms; /* Safari 4.0 - 8.0 */
    animation-name: after-delay-bg;
    animation-duration: 500ms;
}
.work-entry {
    max-width: 700px;
    padding-right: 20px;
    margin-top: 20px;
}
.work-entry > div > h2 {
    cursor: pointer;
    position: relative;
}
.work-entry > div > h2 {
    font-size: 2.2rem;
    font-weight: 300;
    padding-bottom: 5px;
}
.work-entry > div > h2 > i {
    font-size: 1rem;
    position: relative;
    top: -3px;
    left: 5px;
    -webkit-transition: 500ms ease-in-out;
    -moz-transition: 500ms ease-in-out;
    -o-transition: 500ms ease-in-out;
    transition: 500ms ease-in-out;
}
.work-entry > div > h2 > span {
    font-weight: 700;
}
.work-entry > div > h3 {
    font-size: 1.2rem;
    font-weight: 300;
}
.work-entry-content {
    margin-top: 15px;
    font-size: 1.5rem;
    font-weight: 100;
    margin-bottom: 20px;
}
.work-entry-content > p {
    margin-bottom: 20px;
}
.work-entry-content > div {
    margin-top: 25px;
    display: flex;
}
.work-entry-content > div > div > h4 {
    font-weight: 600;
    margin-bottom: 10px;
}
.work-entry-content > div > div >  p {
    font-size: 1.2rem;
}
.work-entry-content > a {
    border: 1px solid;
    background: #fff;
    color: #000;
    font-size: 1.2rem;
    padding: 3px 20px 5px 20px;
}
.work-entry-content > div > div:last-of-type {
    margin-left: 50px;
}
.chevron-flip {
    transform: rotate(180deg);
}
.page-transition {
    animation: index-to-single ease-out 400ms forwards;
}
/* Safari 4.0 - 8.0 */
@-webkit-keyframes after-delay {
    from {opacity: 0; margin-top: -40px;}
    to {opacity: 1; margin-top: 0;}
}

/* Standard syntax */
@keyframes after-delay {
    from {opacity: 0; margin-top: -40px;}
    to {opacity: 1; margin-top: 0;}
}
@-webkit-keyframes after-delay-bg {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Standard syntax */
@keyframes after-delay-bg {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes index-to-single {
    from {opacity: 1;}
    to {opacity: 0;}
}
@media screen and (max-width: 990px) {
    .work-main {
        background-attachment: fixed;
    }
    .work-main > div:last-of-type {
        padding: 50px 0;
    }
    .work-entry > div > h2 {
        font-size: 1.75rem;
    }
    .work-entry > div > h2 > span {
        display: block;
        font-size: 2rem;
    }
    .work-entry > div > h2 > b {
        display: none;
    }
    .work-main > div:nth-of-type(2) {
        margin-left: 20px;
    }
}
@media screen and (max-width: 1300px) {
    .work-main > div:nth-of-type(2) {
        margin-left: 20px;
    }
    .nav {
        padding-left: 20px;
    }
}