*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'montserratLight', "Helvetica Neue",Helvetica,Arial,sans-serif;
}

h1 {
    font-family: 'montserratsemi_bold', sans-serif;
    font-size: 1.75rem;
    letter-spacing: .05rem;
}

.bio__h1 {
    font-size: 1.5rem;
    letter-spacing: .15rem;
    margin-bottom: 1rem;
}

h2 {
    font-family: 'montserratLight', sans-serif;
    font-size: 1.7rem;
}

h3 {
    font-family: 'montserratLight', sans-serif;
    font-size: 1.15rem;
    text-transform: uppercase;
}

.work h3 {
    font-size: .95rem;
    margin-bottom: .8rem;
}

h4 {
    font-family: 'montserratsemi_bold', sans-serif;
}

p {
    font-family: 'montserratLight', sans-serif;
    font-size: .94rem;
    line-height: 1.65rem;
}

a {
    cursor: pointer !important;
    z-index: 20;
}

b, strong {
    font-weight: 700;
    font-family: 'montserratsemi_Bold';
}

ol {
    margin: 1rem 0;
}

li {
    margin-bottom:.5rem;
    padding-left: .5rem;
}

.d-inline-block {
    display: inline-block;
}

.mx-auto {
    margin-right: auto!important;
}

.img-70 {
    max-width: 70%;
    display:block;
    margin: 0 auto;
}

.img-50 {
    width: 50%;
    display: block;
    margin:0 auto;
}
.img-35 {
    width: 35%;
    display: block;
    margin:0 auto;
}

.work {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 9rem auto 0;
    z-index: 0;
}

.fa-2x {
    font-size: 1.5rem;
}

a.social-icon {
    color: black;
    margin-right: 1rem;
}

a.social-icon:hover {
    color: #1142CE;
}

.logo {
    display: block;
    width: 50px;
}

.button {
    color: #1142CE;
    position: relative;
    text-decoration: none;
}

a.button:hover {
    text-decoration: none;
    color: black;
}

a.button:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    bottom: -2px;
    background: #1142CE;
}

a.button:hover:before {
    height: 2px;
    color: black;
}

h3.work-icon {
    padding: 2px 0 0 35px;
    background: url("../img/work-icon.svg");
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 1.5rem;
    line-height: 1.35rem;
}

/*   Navigation Menu ---------------*/
.nav-link {
    font-family: 'montserratLight', helvetica, arial, sans-serif;
    text-transform: uppercase;
    font-size: 20px;
}

.navbar {
    opacity: 0;
    top: -65px;
    background-color: white;
}

.navbar:hover {
    background-color: white;
}

.navbar-nav .nav-item+.nav-item {
    margin-left: 1rem;
    color: black;
}

.navbar-light .navbar-nav .nav-link {
    padding-top: 0rem;
    padding-bottom: 0rem;
    color: #000;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #000;
}

nav a.contact {
    position: relative;
    display: inline-block;
    margin: 15px 5px;
    color: #1142CE;
    text-decoration: none;
    font-size: 1em;
    font-family: 'Bitter', serif;
    line-height: 1.45rem;
}

nav a.underline {
    position: relative;
    display: inline-block;
    margin: 15px 25px;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1em;
    cursor: pointer;
}

a.underline {
    padding-bottom: 2px;
}

a.underline:before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    left: 0;
    bottom: 0;
    visibility: hidden;
    transition: width 0.5s ease, background .5s ease;
}

a.underline:hover:before {
    visibility: visible;
    background: #1142CE;
    width: 100%;
}

a.underline:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: #1142CE;
  /*  Animate with a duration of 0.3 seconds */
    transition: width 0.5s ease;
}

a.underline:hover:after {
    background: transparent;
    width: 100%;
    transition: all 0s ease;
}

footer {
    min-height: 44px;
    background: #fff;
    padding: 1rem 0 0;
    border-bottom: 10px solid #1142CE;
}

h6 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1rem;
    font-style: italic;
    color: slategray;
}

a.h6 {
    color: #1142CE;
}

h6.mail-icon {
    padding: 2px 0 0 35px;
    background: url("../img/mail-icon.svg");
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 1.5rem;
    line-height: 1rem;
    width: 6rem;
    margin: 0 auto;
    text-align: left;
}

.card-block {
    padding: 1.25rem .5rem;
}

.k__profile {
    position: absolute;
    right: 1.5rem;
    top: -6rem;
    width: 34%;
}

.k1 {
    z-index: 0;
}

.k2 {
    z-index: 2;
}

.profile__pic {
    z-index: 1;
    width: 90%;
    position: relative;
}

.up-down {
    animation: up-down 3s infinite cubic-bezier(0.5, 0.2, 0.3, 1.0);
}

@-webkit-keyframes up-down {
    0%, 100% {
        transform: translateY(1rem);
    }

    50% {
        transform: translateY(2rem);
    }
}
/*   SVG Animation ---------------*/
#abstract, #abstract2 {
    visibility: hidden;
    display: inline-block;
}

#abstract {
    max-width: 20rem;
}

#abstract2 {
    max-width: 16.5rem;
    margin: 0;
}

.intro__name {
    margin-top: 8.5rem;
    text-align: center;
}

.intro__info {
    text-align: center;
    margin-bottom: 4rem;
}

.intro__info h2, .intro__info h3 {
    margin: 2rem 0;
    line-height: 1.4;
}

.intro__work {
    text-align: center;
    margin: 0 auto 2rem;
    float: none;
}


.nopadding {
    padding: 0;
}

.fade {
    opacity: 0;
}

.work .row {
    padding-top: .9375rem;
    padding-bottom: .9375rem;
}

.blueline {
    border-left: 5px solid #1142CE;
    margin-left: 1rem
}

.blockquote {
    margin-left: 1rem;
    margin-bottom: 2rem;
}

.card {
    border: 0;
    border-radius: 0;
}

.card__shadow {
    -webkit-box-shadow: 0px 0px 35px -4px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 35px -4px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 35px -4px rgba(0,0,0,0.3);
}

.card-img-bottom {
    margin: 0 auto;
}

.card-ftred {
    background-color: #8A0028;
}

.card-usnblue {
    background-color: #0e236c;
}

.card-biskgreen {
    background-color: #00a551;
}

.card-ftred .card-block, .card-usnblue .card-block, .card-biskgreen .card-block {
    padding: 1.75rem;
}
/*   Isotope & Projects Layout ---------------*/
.grid {
    padding: 0;
}

.grid-sizer, .grid-item {
    width: 100%;
}

.grid-item {
    margin-bottom: 2.5%;
}

.gutter-sizer {
    width: 2.5%;
}

.project--hover {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    margin: -100% 0 0 0;
    display: none;
    background-color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, .8);
    -webkit-box-shadow: inset 0px 0px 0px 10px rgba(0,60,240,0.89);
    -moz-box-shadow: inset 0px 0px 0px 10px rgba(0,60,240,0.89);
    box-shadow: inset 0px 0px 0px 10px rgba(0,60,240,1);
    color: rgba(255, 255, 255,1);
    text-align: center;
}

.project--hover h4 {
    color: #1142CE;
    margin: 30px 30px 10px 30px;
    text-align: left;
}

.project--hover h5 {
    margin: 0 30px;
    text-align: left;
    color: #000;
    font-family: Georgia, Times, serif;
    font-style: italic;
}

.project--hover h6 {
    margin: 0 30px;
    text-align: left;
    color: #515151;
}

.project--hover:hover, .project__link:hover, .grid-item:hover {
    cursor: pointer;
}

.project__link:hover .project--hover {
    display: block;
    opacity: 1;
    cursor: pointer;
}

/* Ultra-Small devices (portrait phones, 28em and up) */
@media (min-width: 28em) {
    nav a.underline {
        font-size: 1.25rem;
    }
}

/* Small devices (landscape phones, 34em and up) */
@media (min-width: 34em) {

    .navbar-nav .nav-item+.nav-item {
        margin-left: 3rem;
    }

    nav a.contact {
        margin-left: 7rem;
        font-family: 'Bitter', serif;
        line-height: 1.75rem;
    }

    .container {
        max-width: 1140px;
    }

    .grid-sizer,
    .grid-item {
        width: 49.25%;
    }
    /* 2 columns */
    .grid-item--width2 {
        width: 100%;
    }

    .grid-item {
        margin-bottom: 1.5%;
    }

    .gutter-sizer {
        width: 1.5%;
    }

    .intro__name {
        margin-top: 9rem;
    }

    .intro__info {
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .intro__info h2, .intro__info h3 {
        max-width: 35rem;
        margin: 2rem auto;
    }
}

/*  Medium devices (tablets, 48em and up) */
@media (min-width: 48em) {
    #abstract2 {
        margin: 0 0 0 2rem;
    }

    .container {
        max-width: 1140px;
    }

    h6.mail-icon {
        margin: 0;
    }
}

/*  Large devices (desktops, 62em and up) */
@media (min-width: 62em) {
    .container {
        max-width: 1140px;
    }
}

/*  Extra large devices (large desktops, 75em and up) */
@media (min-width: 95em) {
 
    .container {
        max-width: 1400px;
    }
}
