@font-face {font-family: 'Avenir';src: url('fonts/34C8C8_0_0.eot');src: url('fonts/34C8C8_0_0.eot?#iefix') format('embedded-opentype'),url('fonts/34C8C8_0_0.woff2') format('woff2'),url('fonts/34C8C8_0_0.woff') format('woff'),url('fonts/34C8C8_0_0.ttf') format('truetype');}

body {
    background: black;
    color: white;
    margin: 0;
    padding: 0;
    font-family: 'Avenir', sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.splash {
    overflow: hidden;
    height: 100%;
    position: relative;
    min-height: 100vh;
}
#scene {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.background-image {
    background-image: url('img/background6.jpg');
    background-size: cover; /* 100% 100%; */
    background-position: center;
    transition: opacity .6s ease-in-out;
    /* position: fixed !important;
    top: -50px !important;
    left: -50px !important;
    right: -50px;
    bottom: -50px; 
    z-index: -1;
    */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.foreground-image {
    position: fixed;
    bottom: -50px !important;
    z-index: -1;
    background-image: url('img/foreground.png');
    top: 0;
    right: 0;
    left: 0;
    background-size: auto 90%;
    background-repeat: no-repeat;
    background-position: 80% bottom;
    transition: opacity .6s ease-in-out;
}
.bg-overlay {
    background: black;
    transition: opacity .6s ease-in-out;
    position: fixed;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0.2;
}
/*body:hover .bg-overlay {
    opacity: .5;
}
*/
.content {
    text-align: center;
    opacity: 1;
    transform: translateY(-50%);
    transition: opacity .7s cubic-bezier(.16,.84,.61,1), transform .7s cubic-bezier(.16,.84,.61,1);
    position: absolute;
    top: 50vh;
    width: 50%;
}
.content .logo {
    width: 150px;
    height: 150px;
    display: inline-block;
    margin-bottom: 20px;
}
.content h1 {
    margin-bottom: 30px;
}
.content a {
    display: inline-block;
    height: 28px;
    margin: 0 15px;
    opacity: .7;
}
.content a svg {
    width: auto;
    height: 28px;
}
.content h1, .content a {
    /* transform: translateY(20px); */
    transform: none;
    transition: transform .7s cubic-bezier(.16,.84,.61,1);
}
/* body:hover .content h1, body:hover .content a {
    transform: none;
} */
.content a.instagram svg {
    
}
.content a:hover, .content a:focus {
    /* opacity: 1; */
} 
.banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.55);
    text-align: center;
    text-transform: uppercase;
    color: white;
    font-size: 12px;
    padding: 20px 15px 16px;
    letter-spacing: 0.05em;
    box-sizing: border-box;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(100%);
    transition: all .7s cubic-bezier(.16,.84,.61,1);
}
/* 
body:hover .content, body:hover .banner {
    opacity: 1;
}
body:hover .banner {
    transform: none;
    transition-delay: .3s;
}
body:hover .content h1, body:hover .content a {
    transform: none;
} */


@media screen and (max-width:1024px) {
    .bg-overlay {
        opacity: .4;
    }
    .foreground-image {
        background-position: 10% bottom;
    }
    .content, .banner {
        opacity: 1;
    }
    .banner {
        transform: none;
    }
    .content h1, .content a {
        transform: none;
    }
    .content {
        top: auto;
        transform: none;
        width: 100%;
        position: fixed;
        bottom: 10px;
    }
    .content .logo {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }
    .content .name {
        height: 40px;
    }
    .content h1 {
        margin-bottom: 10px;
    }
}

/* Page */
body.page {
    text-align: center;
}
body.page .background-image {
    opacity: .25;
}
body.page .content {
    opacity: 1;
    transform: none;
    position: relative;
    top: 50%;
    width: 100%;
    text-align: center;
}
body.page .logo {
    width: 100px;
    height: 100px;
}
body.page .content a svg {
    height: 20px;
}
body.page h1, body.page .banner, body.page a {
    transform: none;
}
body.page article {
    position: relative;
    max-width: 700px;
    margin: 40px auto 60px;
}
.resume-body h1 {
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 0.05em;
    line-height: 1em;
}
.button {
    display: inline-block;
    border: 1px solid white;
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 10px 20px 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 25px;
    font-size: 13px;
    transition: color .2s ease-in-out, background .2s ease-in-out;
}
.button:hover, .button:focus {
    background: white;
    color: black;
}
.resume-body {
    background: white;
    color: black;
    padding: 40px;
    box-sizing: border-box;
    font-size: 13px;
    text-align: left;
    max-width: 700px;
    margin: 50px auto;
    width: calc(100% - 30px);
}
.resume-body .avalon-logo {
    width: 240px;
}
.resume-body header {
    display: flex;
    border-bottom: 3px solid black;
    padding-bottom: 20px;
}
.resume-body header .half {
    display: inline-block;
    flex: auto;
}
.resume-body header .half.right {
    text-align: right;
}
.resume-body h1 {
    font-size: 30px;
    margin: 0;
    text-align: right;
    border-bottom: 3px solid black;
    padding-bottom: 0;
    display: inline-block;
    line-height: 0.9em;
}
.resume-body .pronunciation {
    display: block;
    font-size: 13px;
    text-transform: none;
    margin-bottom: 2px;
    margin-top: 6px;
}
.resume-body .emc {
    display: block;
    margin-top: 15px;
    font-size: 15px;
    font-weight: bold;
}
.resume-body .representation {
    width: 63%;
    float: left;
    display: inline-block;
    margin-bottom: 30px;
}
.resume-body .physical { 
    float: right;
    display: inline-block;
    text-align: right;
}
.resume-body h2 {
    margin-bottom: 4px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 30px;
    clear: both;
}
.resume-body h3 {
    margin-top: 0;
    font-size: 14px;
}
.resume-body p {
    margin-top: 0;
    line-height: 1.5em;
}
.resume-body .col-1, .resume-body .col-2, .resume-body .col-3, .resume-body .col-2-double {
    vertical-align: top;
    display: inline-block;
    width: 32%;
    margin-bottom: 8px;
    padding-right: 20px;
    box-sizing: border-box;
}
.resume-body .col-1 {
    clear: left;
    width: 40%;
}
.resume-body .col-2 {
    width: 22%;
    opacity: .6;
}
.resume-body .col-2-double {
    width: 59%;
}
.resume-body .col-3 {
    width: 38%;
    padding-right: 0;
    opacity: .6;
}
.resume-body footer {
    display: flex;
    margin-top: 30px;
    font-size: 0.75rem;
}
.resume-body footer .half {
    flex: 1;
    display: inline-block;
}
.print-only {
    display: none;
}
.resume-body a {
    color: black;
    text-decoration: none;
}
.resume-body a:hover, .resume-body a:focus {
    text-decoration: underline;
}
.hide {
    display: none;
}
.instafeed.active {
    opacity: 1;
    pointer-events: all;
    height: auto;
}
.instafeed {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    /* height: 100%; */
    height: 0;
    left: 0;
    background: rgba(0,0,0,0.9);
    transition: opacity 0.3s ease-in-out;
}
.follow-on-instagram:hover, .follow-on-instagram:focus {
    opacity: 1;
}
.follow-on-instagram {
    position: relative;
    height: 40px;
    display: inline-block;
    opacity: 0.7;
    z-index: 1;
    margin-top: 40px;
    text-align: center;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40px;
}
.instafeed .photo-horizontal-slider {
    white-space: nowrap;
    overflow: auto;
    overflow-y: hidden;
    position: relative;
    width: auto;
    line-height: 0;
    height: calc((100vw - 230px) * (2/3));
    -webkit-overflow-scrolling: touch;
}
.instafeed .photo-horizontal-slider-wrapper {
    margin-left: 115px;
    margin-right: 115px;
    margin-top: 30px;
    width: auto;
    height: calc((100vw - 230px) * (2/3));
    position: relative;
}
.instafeed .photo-horizontal-slider-wrapper .fade-right {
    position: absolute;
    width: 120px;
    height: 100%;
    /* left: calc(100vw - 215px - 100px); */
    right: 0;
    top: 0;
    background: orange;
    pointer-events: none;
    background: -moz-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#000000',GradientType=1 );
}
.instafeed .photo-horizontal-slider-wrapper .right-arrow {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 2rem;
    opacity: 0.6;
}
.instafeed .photo-horizontal-slider img {
    margin-right: 30px;
    display: inline-block;
    height: calc((100vw - 230px) * (2/3));
}
.instafeed h3 {
    text-align: center;
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 0.05em;
    margin-top: 20px;
}
.follow-on-instagram svg {
    width: 40px;
    height: 40px;
}
.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    display: inline-block;
    opacity: 0.7;
    z-index: 1;
}
.close-button:hover, .close-button:focus {
    opacity: 1;
}
.close-button:before, .close-button:after {
    display: inline-block;
    width: 60px;
    height: 1px;
    background: white;
    content: '';
}
.close-button:before {
    transform: rotate(45deg) translate(14px,12px);
}
.close-button:after {
    transform: rotate(-45deg);
}
.instafeed__inner {
    overflow: hidden;
    padding: 20px 100px 0 100px;
    position: relative;
    height: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
}
.instafeed__inner a {
    display: inline-block;
    width: 31.3%;
    float: left;
    margin: 1%;
    opacity: 0;
    transform: translateY(30px);
    transition: all .5s ease-in-out;
}
.instafeed.active .instafeed__inner a {
    opacity: 1;
    transform: none;
}
.instafeed__inner a:nth-child(1) {
    transition-delay: 0.1s;
}
.instafeed__inner a:nth-child(2) {
    transition-delay: 0.2s;
}
.instafeed__inner a:nth-child(3) {
    transition-delay: 0.3s;
}
.instafeed__inner a:nth-child(4) {
    transition-delay: 0.4s;
}
.instafeed__inner a:nth-child(5) {
    transition-delay: 0.5s;
}
.instafeed__inner a:nth-child(6) {
    transition-delay: 0.6s;
}
.instafeed__inner a:nth-child(7) {
    transition-delay: 0.7s;
}
.instafeed__inner a:nth-child(8) {
    transition-delay: 0.8s;
}
.instafeed__inner a:nth-child(9) {
    transition-delay: 0.9s;
}
.instafeed__inner a:nth-child(10) {
    transition-delay: 1s;
}
.instafeed__inner a:nth-child(11) {
    transition-delay: 1.1s;
}
.instafeed__inner a:nth-child(12) {
    transition-delay: 1.2s;
}
.instafeed__inner a:nth-child(13) {
    transition-delay: 1.3s;
}
.instafeed__inner a:nth-child(14) {
    transition-delay: 1.4s;
}
.instafeed__inner a:nth-child(15) {
    transition-delay: 1.5s;
}
.instafeed__inner a:nth-child(16) {
    transition-delay: 1.6s;
}
.instafeed__inner a:nth-child(17) {
    transition-delay: 1.7s;
}
.instafeed__inner a:nth-child(18) {
    transition-delay: 1.8s;
}
.instafeed__inner a:nth-child(19) {
    transition-delay: 1.9s;
}
.instafeed__inner a:nth-child(20) {
    transition-delay: 2s;
}
.instafeed__inner img {
    max-width: 100%;
}
.resume-popup.active {
    opacity: 1;
    pointer-events: all;
    height: 100vh;
}
.resume-popup {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    height: 0;
    left: 0;
    overflow: auto;
    text-align: center;
    padding-top: 40px;
    background: rgba(0,0,0,0.9);
    transition: opacity 0.3s ease-in-out;
    -webkit-overflow-scrolling: touch;
}
.content a.show-reviews {
    color: white;
    text-decoration: underline;
    opacity: 1;
}
.reviews-popup {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: 180px;
    height: auto;
    border-radius: 30px;
    overflow: auto;
    text-align: center;
    padding-top: 0;
    background: rgba(0,0,0,0.8);
    transition: opacity 0.3s ease-in-out;
    -webkit-overflow-scrolling: touch;
    padding: 15px;
}
.reviews-popup.active {
    opacity: 1;
    pointer-events: all;
}
.reviews {
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
}
.review {
    padding: 30px 20px;
    flex: 0 0 50%;
    box-sizing: border-box;
}
.review blockquote {
    font-size: 22px;
    font-family: "PT Serif", serif;
    color: #A9A6AD;
    margin: 0;
    padding: 20px;
}
.review blockquote .highlight {
    color: white;
    font-weight: bold;
}
.review blockquote p {
    margin: 0;
}
.review blockquote cite {
    text-transform: uppercase;
    text-align: center;
    font-style: normal;
    margin: 0;
    color: #A9A6AD;
    font-size: 14px;
    font-family: 'Avenir', sans-serif;
}
.reviews-popup .close-reviews {
    margin: 0;
    width: 40px;
    height: 40px;
    top: 15px;
    right: 15px;
}
.reviews-popup .close-reviews:before,
.reviews-popup .close-reviews:after {
    width: 35px;
}
.reviews-popup .close-reviews:before {
    transform: rotate(45deg) translate(6px,6px);
}
.reviews-popup .close-reviews:after {
    transform: rotate(-45deg) translate(7px,-8px);
}
@media screen and (max-width: 1780px) {
    .review {
        flex: 0 0 100%;
        padding: 5px 15px;
    }
}
@media screen and (max-width: 1230px) {
    .reviews-popup {
        width: calc(100% - 600px);
    }
    .review blockquote p {
        font-size: 18px;

    }
}
@media screen and (max-width: 1024px) {
    .reviews-popup {
        padding-top: 50px;
        margin: 0;
        width: 90%;
        max-width: 800px;
        top: 4%;
        transform: translate(-50%, 0);
    }
}
@media screen and (max-width:767px) {
    .background-image {
        background-position: 65.5% center;
    }
    body.page article {
        width: calc(100% - 20px);
    }
    .resume-popup.active {
        height: auto;
    }
    .resume-body {
        padding: 20px 10px;
    }
    .resume-body header {
        display: block;
        text-align: center;
    }
    .resume-body h1 {
        margin-top: 30px;
        margin-bottom: 10px;
        text-align: center;
        font-size: 22px;
        border-bottom: 0;
    }
    .resume-body header .half {
        width: 100%;
    }
    .resume-body header .half.right {
        text-align: center;
    }
    .resume-body header .physical {
        text-align: center;
        float: none;
    }
    .resume-body footer {
        display: block;
    }
    .resume-body footer .half {
        width: 100%;
        margin-bottom: 20px;
    }
    .resume-body .col-1 {
        width: 100%;
        margin-bottom: 2px;
    }
    .resume-body .col-2 {
        clear: left;
        width: 45%;
        margin-bottom: 8px;
        text-align: left;
    }
    .resume-body .col-2-double {
        width: 100%;
    }
    .resume-body .col-3 {
        width: 54%;   
    }
    .instafeed__inner {
        padding: 10px 20px 0 20px;
    }
    .instafeed__inner a {
        width: 48%;
    }
    .instafeed h3 {
        margin-top: 0;
        margin-bottom: 10px;
    }
    .follow-on-instagram {
        opacity: 1;
    }
    .follow-on-instagram svg {
        width: 30px;
        height: 30px;
    }
    .close-button {
        top: 5px;
        right: 5px;
        width: 30px;
        height: 30px;
    }
    .close-button:before, .close-button:after {
        width: 35px;
    }
    .close-button:before {
        transform: rotate(45deg) translate(0,4px);
    }
    .close-button:after {
        transform: rotate(-45deg) translate(10px,-15px);
    }
    .instafeed .photo-horizontal-slider {
        height: 100vw;
    }
    .instafeed .photo-horizontal-slider-wrapper {
        margin-left: 0;
        margin-right: 0;
        margin-top: 50px;
        height: 100vw;
    }
    .instafeed .photo-horizontal-slider img {
        height: calc((100vw - 40px));
        margin-right: 0;
    }
    .instafeed .photo-horizontal-slider-wrapper .fade-right {
        width: 60px;
    }
    .instafeed .photo-horizontal-slider-wrapper .right-arrow {
        right: 0;
    }
}
@media print {
    .print-only {
        display: inline;
    }
    body.page article {
        margin: 0;
        width: 100%;
        max-width: 100%;
        font-size: 12px;
        color: black;
    }
    .content h1 {
        display: none;
    }
    body.page article h1 {
        display: block;
    }
    .resume-body h2 {
        margin-top: 20px;
        font-size: 14px;
    }
    .resume-body .col-2, .resume-body .col-3 {
        opacity: 1;
    }
}