* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    background-color: #A74D4D;
}
header {
    background-color: black;
    letter-spacing: -4px;
    position: fixed;
    width: 100%;
    z-index: 10;
    border-bottom: 1px solid #A74D4D;
}
.inner-container {
    width: 70%;
    margin: 0 auto;
}
.return-header {
    position: relative;
}
.header-spacer {
    height: 60px;
}
nav {
    font-family: 'Raleway', sans-serif;
    vertical-align: top;
    display: inline-block;
}
h1, nav {
    letter-spacing: normal;
}
nav ul {
    margin: 0;
    padding: 0;
}
nav a:link {
    color: white;
    text-decoration: none;
}
nav a:visited {
    color: white;   
}
nav a:hover {
    background-color: #A74D4D;
}
nav a:active {
    color: #cfcfcf;
    background-color: #A74D4D;
}
nav ul {
    list-style: none;
    margin: 0;
}
nav ul li {
    display: inline-block;
    margin: 0;
}
nav ul li a {
    display: inline-block;
    padding: 0px 10px;
    height: 60px;
    line-height: 60px;
}
h1 {
    font-family: 'Alfa Slab One', cursive;
    color: white;
    margin: 0;
    background-color: #A74D4D;
    height: 60px;
    line-height: 60px;
    padding: 0px 20px;
    display: inline-block;
    text-shadow: 2px 2px 2px black;
}
h1 .burger {
    display: none;
}
.gallery {
    border-top: 1px solid black;
    background-color: #A74D4D;
    padding: 15px 15px 15px 0;
    text-align: center;
}
.gallery img {
    width: 157px;vertical-align: middle;
    display: inline-block;
}
.gallery-item {
    margin: 15px -4px 0 15px;
}
.gallery h2, .footer h2 {
    margin-top: 0;
    margin-left: 15px;
    margin-bottom: 0;
    color: white;
    font-family: 'Raleway', sans-serif;
    text-align: left;
}
.gallery h2 span, .footer h2 span {
    color: #bfa0a0;
}
table tbody tr:hover {
    background-color: #f5d0d0 !important;
    cursor: pointer;
}
.courses {
    background-color: black;
    border-top: 1px solid #A74D4D;
    padding: 15px 15px 20px 15px;
}
.courses h2 {
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 0;
    color: white;
    font-family: 'Raleway', sans-serif;
}
.courses h2 span {
    color: #bfa0a0;
}
.courses table {
    background-color: #c7c7c7;
    font-family: 'Raleway', sans-serif;
    width: 100%;
    margin: 15px auto 0px auto;
    border-spacing: 0px;
}
.courses table th {
    color: #A74D4D;
    font-family: 'Alfa Slab One', cursive;
}
.courses table tr:nth-child(even) {
    background-color: white;
}
.courses .table-title {
    text-align: left;
    padding-right: 15px;
    padding-left: 15px;
}
.courses .table-location {
    text-align: center;
    padding: 15px;
}
.courses .table-location a {
    text-transform: uppercase;
    font-weight: bold;
}
.courses thead tr {
    background-color: white;
}
.courses .table-published {
    text-align: center;
}
.courses .table-location a:link, .courses .table-location a:visited {
    display: inline-block;
    background-color: black;
    color: white;
    padding: 10px;
    text-decoration: none;;
}
.courses .table-location a:hover {
    background-color: #A74D4D;
}
.courses .table-author {
    text-align: center;
}

.footer {
    padding: 15px;
    background-color: #A74D4D;
    color: white;
    border-top: 1px solid black;
    font-family: 'Raleway', sans-serif;
}
.footer a:link, .footer a:visited {
    color: white;
}
.about {
    padding: 30px 30px 0px 30px;
    background-color: white;
    border-top: 1px solid black;
    position: relative;
    height: 730px;
}
.about-image {
    display: inline-block;
    position: absolute;
    bottom: 0px;
    width: 50%;
    max-width: 750px;
    vertical-align: bottom;
}
.about .text {
    display: block;
    width: calc(50% - 15px);
    position: absolute;
    top: 50%; right: 30px;
    transform: translateY(-50%);
    padding-right: 30px;
}
.about h1 {
    background-color: transparent;
    color: black;
    text-align: left;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.highlighted-ul {
    border-top: 2px dashed #c7c7c7;
    border-bottom: 2px dashed #c7c7c7;
    background-color: #ffffea;
    padding: 15px;
}
.highlighted-ul h2 {
    margin: 0;
}
.highlighted-ul h2 span {
    color: #8aabdb;
}
.about .inner-container {
    max-width: 740px;
}

.skills, .work {
    background-color: #405c85;
    font-family: 'Alfa Slab One', cursive;
    color: white;
    padding: 15px;
}
.work {
    padding: 15px 15px 15px 15px;
}
.skills p {
    margin: 0;
    text-align: center;
}
.skills h2, .work h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: black;
    font-family: 'Raleway', sans-serif;
}
.skills h2 span, .work h2 span {
    color: #8aabdb;
}
.skills p span {
    line-height: 2rem;
    vertical-align: middle;
}
.skills p span:nth-child(3n+0) {
    color: #8aabdb;
}
.skills p span:nth-child(4n+0) {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
}
.skills p span:nth-child(even) {
    color: black;
}
.xx-large {
    font-size: 2rem;
}
.x-large {
    font-size: 1.75rem;
}
.large {
    font-size: 1.5rem;
}
.medium {
    font-size: 1.25rem;
}
.small {
    font-size: 1rem;
}
.contact {
    padding: 15px 15px 0px 15px;
    text-align: center;
    background-color: white;
    border-top: 1px solid black;
    position: relative;
}
.contact p {
    margin-bottom: 0px;
}
.contact h2 {
    margin: 0px 0px 15px 0px;
}
.contact p .text {
    background-color: white;
}
.contact h2 span {
    color: #8aabdb;
}
.small-col {
    display: block;
}
.clear {
    clear: both;
}
.contact-image {
    width: calc(50% - 100px);
    vertical-align: bottom;
    float:right;
}
.contact p {
    width: 30%;
    display: inline-block;
    position: absolute;
    top: calc(50% - 30px);
    left: 20%;
    transform: translateY(-50%);

}
.contact p span:not(:last-child) {
    margin-bottom: 15px;
}
.contact .button {
    margin-left: 15px;
}
.contact .button:last-child {
    margin-right: 15px;
}
.work h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    margin-top: 5px;
}
.work-gallery {
    font-family: 'Raleway', sans-serif;
}
.work-gallery p {
    margin: 0 0 15px 0;
}
.work-gallery .thumb {
    width: 250px;
    border: 1px solid black;
}
.work-gallery .blurb {
    width: calc(100% - 265px);
    padding-left: 15px;
    display: inline-block;
    vertical-align: top;
}
.work-gallery .tags {
    display: inline-block;
    margin-left: 15px;
}
.work-gallery .tags .button {
    margin-right: 15px;
}
.work-gallery .tags span {
    background-color: white;
    border-radius: 5px;
    padding: 5px;
    color: black;
    font-family: 'Alfa Slab One', cursive;
    display: inline-block;
}
.work-gallery .row:not(:last-child) {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px dashed black;
}
.thumb-a {
    text-decoration: none;
}
.thumb-a:hover img {
    opacity: 0.5;
    filter: grayscale(100%) blur(3px);
}
.thumb-a .thumb {
    vertical-align: middle;
}
.thumb-a:hover::after {
    content: "GOTO";
    display: inline-block;
    background-color: black;
    color: white;
    padding: 10px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    font-weight: bold;
    margin-right: 15px;
}
.play .thumb-a:hover::after {
    content: "PLAY";
}
.thumb-parent {
    position: relative;
    display: inline-block;
}
.thumb-parent:hover {
    cursor: pointer;
}
.resume {
    border-top: 2px solid #ccc6c6;
}
.resume h2 {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
}
.resume h2 span {
    color: #405c85;
}
.resume .thumb-a:hover::after {
    font-size: 1rem;
}
.resume {
    background-color: #efebeb;
    padding: 15px 15px 0px 15px;
    font-size: 0px;
}
.resume img {
    width: 100%; 
    display: block;
    border-top: 2px solid #ccc6c6;
    border-left: 2px solid #ccc6c6;
    border-right: 2px solid #ccc6c6;
    /*
    box-shadow: 0px 0px 5px rgba(68, 68, 68, 0.6);
    */
}
.show {
    display: block !important;
}
.black {
    color: black !important;
}
/* MIN WIDTH media query

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { }

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
}

/* MAX WIDTH media query */

/* Phones I'm guessing */
@media (max-width: 575.98px) {  
    
    .table-author, .table-published {
        display: none;
    }
    body .work-gallery h3 {
        margin-top: 15px;
    }
    .work-gallery .blurb {
        float: none;
        width: 100%;
        padding-left: 0px;
    }
    .work-gallery .thumb {
        width: 100%;
    }
    .table-author, .table-published {
        display: none;
    }
    .work-gallery .blurb {
        float: none;
        width: 100%;
    }
    .work-gallery .thumb {
        width: 100%;
    }
    #popup .youtube-container {
        width: 100%;
    }
    .work-gallery .actions {
        text-align: center;
    }
    .work-gallery .tags {
        margin-top: 15px;
        display: block;
        margin-left: 0px;
    }
    .work-gallery .actions a {
        width: 100%;
    }
    .about ul, .about ol {
        padding-left: 1rem;
    }
    .about h1 {
        font-size: 1.5rem;
    }
}

.showHeader {
    animation: upHeader 0.4s;
    transform: translateY(0%);
}
.hideHeader {
    animation: dropHeader 0.4s;
    transform: translateY(-120%);
}
@keyframes dropHeader {
    to { transform: translateY(-120%) }
}
@keyframes upHeader {
    from { transform: translateY(-120%) }
    to { transform: translateY(0%) }
}
body #header .dropMenuDown {
    animation: dropMenu 0.4s;
}
@keyframes dropMenu {
    from { transform: translateY(-120%) }
    to { transform: translateY(0%) }
}
@keyframes upMenu {
    from { transform: translateY(0%) }
    to { transform: translateY(-120%) }
}
html body .play-icon {
    font-size: 4rem;
    vertical-align: top;
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {  
    #popup .youtube-container {
        width: 100%;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) { 
    nav ul li, nav ul li a {
        display: block;
    }
    nav ul {
        padding-left: 0px;
    }
    header h1 {
        display: block;
        text-align: center;
    }
    .header-spacer {
        height: 0px;
    }
    header {
        position: relative;
    }
    h1 .burger {
        float: right;
        cursor: pointer;
        display: inline-block;
        font-size: 55px;
        line-height: 60px;
        color: white;
    }
    #header nav {
        position: absolute;
        background-color: black;
        width: 100%;
    }
    .upMenu {
        transform: translateY(-120%);
    }
    .upMenuAnimation {
        animation: upMenu 0.4s;
    }
    
    .work-gallery h3 {
        margin-top: 0px;
    }
    .about-image {
        display: none;
    }
    .about .text {
        position: static;
        width: 100%;
        transform: translateY(0%);
    }
    .about {
        height: auto;
        padding-right: 0px;
        padding-bottom: 30px;
    }
    .contact h2 {
        margin-bottom: 0px;
    }
    .contact {
        padding-bottom: 15px;
        height: auto;
    }
    .contact-image {
        display: none;
    }
    .contact p {
        width: 100%;
        position: static;
        transform: translateY(0%);
    }
 }

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) { 
    .inner-container {
        width: 100%;
    }
}
.image-container {
    text-align: center;
    position: relative;
    background-image: url('images/IMG_1637_small.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}
.image-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.image-container .video {
    width: 100%;
    padding-top: 56.25%;
    height: 0px;
    position: relative;
}
.button {
    display: inline-block;
    font-family: 'Alfa Slab One', cursive;
    background-color: black;
    color: white;
    padding: 15px;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 5px 5px 5px rgba(68, 68, 68, 0.6);
}
.download {
    position: absolute;
    right: 15px;
    bottom: 15px;
    line-height: 4rem;
    display: inline-block;
}
.button:hover {
    background-color: #A74D4D;
    cursor: pointer;
}

#popup {
    background-color: rgba(167, 77, 77, 0.452);
    position: fixed;
    left: 0px;
    top: 0px;
    height: 100vh;
    width: 100vw;
    z-index: 20;
}
#popup:hover {
    cursor: pointer;
}
#popup-inner {
    width: 100%;
    height: 100%;
    position: relative;
}
#close {
    position: absolute;
    right: 15px;
    top: 15px;
}
.youtube-container {
    width: 60%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%)
}
.none {
    display: none;
}
.no-scroll {
    overflow: hidden;
}
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }