* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    padding-bottom: 50px;
}

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

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

ul {
    list-style: none;
}

.clearfix {
    clear: both;
}

.type--header {
    font-family: proxima-nova, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 46px;
    margin-bottom:10px;
}
h2.type--header {
    font-size: 20px;
}
h3.type--header {
    font-size: 16px;
    font-weight: 500;
}

.type--subheader {
    font-family: proxima-nova, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
}

.serif {
    font-family: old-standard, serif;
}


/********* masthead *********/
.masthead {
    margin-bottom: 0;    
}

.masthead__image {
    width: 25%;
    margin: 0 auto;
    clear: both;
}

.masthead__copy {
    width: 50%;
    margin: 0 auto;
    text-align: center;
}


@media only screen and (min-width: 900px) {
    .masthead__image {
        width: 40%;
        margin-top: 60px;
        margin-left: 10%;
        float: right;
    }
    .masthead {
        width: 80%;
        max-width: 800px;
        margin: 0 auto;
        margin-bottom: 60px;
    }

    .masthead__copy {
        width: 40%;
        float: left;
    }
    .masthead__border {
        width: 50px;
        border-bottom: 2px solid black;
    }
    
    .masthead__copy .type--header {
        margin-top: 160px;
        text-align: left;
    }
    
    .masthead__copy .type--subheader {
        margin-top: 10px;
        text-align: left;
    }
}

/********* selected works *********/

.selected-works-banner {
    background-color: #1f0f28;
}
.selected-works__header {
    font-family: proxima-nova, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    text-align: center;
    margin: 75px 0 15px;
}

.selected-works .sw-sizer,
.selected-works .sw {
    width: 50%;
}

.selected-works .sw--width2 {
    width: 100%;
}

.selected-works:after {
    content: '';
    display: block;
    clear: both;
}

.sw {
    float: left;
    text-align: center;
}

.sw img {
    display: block;
    width: 100%;
  }

@media only screen and (min-width: 800px) {
    .selected-works .sw-sizer,
    .selected-works .sw {
        width: 25%;
    }
    
    .selected-works .sw--width2 {
        width: 50%;
    }
}


.selected-works {
    font-size: 0;
    color: white;
    transition: all 0.3s ease;
}

.selected-works img {
    opacity: 0.5;
    transition: all 0.3s ease;
}

.selected-works article a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.selected-works article a:hover, .selected-works article a:focus {
    background-color: rgba(255, 81, 0, 0.507);
}

.selected-works__title {
    color: white;
    position: absolute;
    text-align: center;
    font-family: proxima-nova;
    font-weight: 800;
    font-size: 48px;
}

@media only screen and (max-width: 800px) {
    .selected-works__title {
        font-size: 26px;
        max-width: 80%;
    }
}

/********* credentials *********/
.creds {
    color: black;
    padding: 30px;
}
.creds__exp, .creds__edu {
    width: 100%;
    float: left;
    padding: 0;
    margin-bottom: 30px;
    text-align: center;
}

@media only screen and (min-width: 900px) {
    .creds__exp, .creds__edu {
        width: 50%;
        padding: 0 80px;
    }
}

.creds h2 {
    font-family: proxima-nova, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    text-align: center;
}
.creds ul {
    font-family: old-standard, serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
}
.creds ul li {
    margin: 30px;
}
.creds ul li:first-child {
    margin-top: 15px;
}


.creds__title, .creds__where, .creds__date {
    margin-top: 5px;
}

.creds__title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.creds__where {
    font-size: 20px;
}

.creds__date {
    font-size: 18px;
    font-style: italic;
    letter-spacing: 0.03em;
}

/********* back *********/
.back {
    position: fixed;
    top: -10px;
    left: -20px;
    opacity: 0;
    font-family: proxima-nova, sans-serif;
    transition: all 0.3s ease;
    transition-delay: 0.5s;
}
.back.show {
    top: 0;
    left: 0;
    opacity: 1;
}
.back a {
    color: rgba(0, 0, 0, 0.8);
    background-color: rgba(0, 0, 0, 0.04);
    display: block;
    padding: 12px;
    width: 100%;
    height: 100%;
    border-bottom-right-radius: 5px;
}

.back:hover a {
    color: white;
    background-color: black;
}

/********* contact *********/
.contact {
    padding-top: 30px;
}

.contact .email {
    text-decoration: none;
    color: white;
    margin: 0 auto;
    width: 20%;
    max-width: 200px;
    min-width: 150px;
    display:block;
    text-align: center;

    font-family: proxima-nova;
    font-weight: 700;
    font-size: 24px;
    transition: all 0.3s ease;
}

.rounded-btn {
    padding: 15px;
    border-radius: 35px;
    background: #1f0f28;
    transition: all 0.3s ease;
}

.rounded-btn:hover {
    background: #361d44;
}

.contact .social-wrap {
    width: 70%;
    margin: 30px auto;
    text-align: center;
}

.contact .social {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}
.contact .social:last-child {
    /* margin-left: 15px; */
}

.contact .social:hover {
    opacity: 0.5;
}