* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
    display: block;
}

img {
    -ms-interpolation-mode: bicubic;
    border: 0;
    vertical-align: top;
    width: 100%;
    height: 100%;
    
}

body, button, input, select, textarea {
    color: #000;
    font-family: 'Fibra One', sans-serif;
    /*font-family: 'Strawford', sans-serif;*/
    font-size: 16px;
    font-size: 1.2rem;
    font-weight: 300;
}

html {
    height: 100%;
    /*font-size: 62%;*/
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

body {
    height: 100%;
    background-color: azure;
    background-color: #f1c759;
    background-color: #f7f7f2;
    -webkit-transition: background-color 3s ease-in-out;
    -moz-transition: background-color 3s ease-in-out;
    -o-transition: background-color 3s ease-in-out;
    -khtml-transition: background-color 3s ease-in-out;
    transition: background-color 3s ease-in-out;
}

strong {
    font-weight: 400;
}
.highlight {
    box-shadow: inset 0 -8px 0 yellow;
}

h1, h2, h3, h4, h5, h6 {
    clear: both;
    font-weight: 300;
    margin: 2.8rem 0 0.8rem;
}
h1 {
    
}
h2.encabezado {
    margin-top: 0;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 300;
}
h3 {
    /*font-size: 1rem;*/
    margin-top: 0 
}
.publications h3.encabezado {
    margin: 0;
    line-height: 1.4rem;
}



.entry p {
    font-weight: 300;
    margin-top: 0;
    font-size: 1.2rem;
    line-height:normal;
    font-size: 1rem;
    margin-bottom: 1.5rem
}
p.project-title {
    margin: 0
}
.publications p, .connectsocial p, p.credits {
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
}
p.credits {
    font-size: 0.6rem;
    margin-bottom: 1.2rem;
}

.hide {
    display: none;
}
ul, ol {
    list-style: none;
    margin: 0 0 28px 20px;
    margin: 0 0 2.8rem 2rem;
}
a {
    color: #000;
    text-decoration: none;
    position: relative;
}

svg.social-icon {
    width: 32px;
    height: 32px;
}


#wrapper {
    width: 100%;
    height: 100%;
}

.site {
    position: relative;
    min-width: 320px;
    height: 100%;
    -webkit-transition: opacity 0.3s, left 0.3s ease-out;
    -moz-transition: opacity 0.3s, left 0.3s ease-out;
    -o-transition: opacity 0.3s, left 0.3s ease-out;
    transition: opacity 0.3s, left 0.3s ease-out;
}
.site-header {
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
}
.site-title {
    float: left;
    width: 50%;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: normal;
    padding-left: 2rem;
}
.site-title a {
    position: relative
}


.primary-navigation {
    float: right;
    width: 68%;
    float: left;
}
.site-navigation ul {
    list-style: none;
    margin: 0;
}
ul#top-main-menu {
    font-family: 'Fibra One', sans-serif;
    /*font-family: 'Strawford', sans-serif;*/
    font-weight: 300;
    letter-spacing: normal;
}
#top-main-menu a {
    padding-bottom: 0;
}
#top-main-menu a:hover {
    color: #000;
    /* background: transparent; */
    /*border-bottom: 2px solid;*/
}
a.txt-link:before {
    content: '';
    width: 100%;
    height: 1px;
    background-color:currentColor;
    display: block;
    bottom: 0;
    left: 0;
    position: absolute;
    visibility: hidden;
    transform: scaleX(0);
    transition: 0.3s transform ease-in-out,
                0.3s visibility ease-in-out;
    transform-origin: right bottom;
    height: 12px;
    background-color: rgb(204,255,102);
    z-index: -1;
  }
  
  a.txt-link:hover:before {
    visibility: visible;
    transform: scaleX(1);
    transform-origin: left bottom;
  }
  a.txt-link.current:before {
    visibility: visible;
    transform: scaleX(1);
    transform-origin: left bottom;
  }

a.txt-link.underline {
    text-decoration: underline;
}

.site-navigation li {
    display: inline-block;
    position: relative;
    font-size: 1.2rem;
    line-height: 24px;
    line-height: normal;
    margin-right: 1rem;
}

#navigation-close {
    display: none;
    position: absolute;
    z-index: 10000;
    top: 10px;
    top: 1rem;
    right: 20px;
    right: 2rem;
    font-size: 30px;
    font-size: 3rem;
    line-height: 30px;
    line-height: 3rem;
    color: #000;
    cursor: pointer;
}

#menu-toggle {
    display: none;
    clear: none;
    float: right;
    margin: 0;
    color: #3366ff;

    font-size: 30px;
    font-size: 3rem;
    line-height: 30px;
    line-height: 3rem;
    cursor: pointer;
}

#site-main {
    width: 100%;
    /*padding: 0 2rem;*/
}
.main-content, .content-area {
    height: 100%;
    white-space: nowrap;
}
.site-footer {
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 2rem 0 0;
    padding: 0 2rem 2rem;
    color: #afb0ae;
    position: relative;
    font-size: 0.8rem;
    z-index: 999;
}
.copyright {
    text-align: center;
}
.site-header:after, .site-footer:after {
    content: '';
    display: block;
    clear: both;
}
.entry:after {
    content: '';
    display: block;
    clear: both;
}

article.entry {
    width: 100%;
    padding-bottom: 0;
    vertical-align: top;
    white-space: normal;
    word-wrap: break-word;
    /*margin-bottom: 2rem;*/
}
article.entry.intro {
    padding: 0 2rem;
    margin-bottom: 2rem;
}
article.entry.profile {
    padding: 0 2rem;
    padding-bottom: 2rem
}
.entry-content {
    position: relative;
    width: 100%;
    height: 100%;
}

ul.project-details {
    width: 100%;
    margin: 0;
    list-style: none;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.5rem;
    margin-bottom: 3rem;
}

.entry-post-nav {
    width: 100%;
    /* height: 100%; */
    /* float: left; */
    position: relative;
    margin-bottom: 2rem;
    display: inline-block;
}
.entry-post-nav.top {
    display: none
}
.entry-post-nav.bottom {
    margin: 4rem 0 0;
    padding: 0 2rem;
}
.nav-post {
    width: 50%;
    display: inline-block;
    /* position: relative; */
    font-size: 1rem;
}
.nav-post.next {
    float: left;
}
.nav-post.prev {
    float: right;
    text-align: right
}
svg.left-arrow, svg.right-arrow {
    /* width: 1rem; */
    height: 1rem;
    position: relative;
    top: 3px;
}
svg.left-arrow {
    margin-right: 7px;
}
svg.right-arrow {
    margin-left: 7px;
}


.image_link {
    display: inline-block;
    float: left;
    position: relative;
    text-align: center;
}
.image_link img {
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    transition: all 0.2s ease-in-out;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}
.image_link .overlay > div {
    display: table;
    width: 100%;
    height: 100%;
}
.table {
    display: table;
    width: 100%;
    height: 100%;
}
.image_link .overlay > div > div {
    display: table-cell;
    vertical-align: middle;
}
.table > div {
    display: table-cell;
    vertical-align: middle;
}
.image_link .overlay {
    position: absolute;
    top: 50%;
    left: 0%;
    right: 0%;
    bottom: 0%;
    z-index: 20;
    text-align: center;
    opacity: 0;
    padding: 25px;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.image_link:hover .overlay {
    opacity: 1;
    top: 50%;
    left: 0%;
    right: 0%;
    bottom: 0%;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.project-title h6 {
    margin: 0px;
    text-align: center;
    font-family: 'Fibra One', sans-serif;
    /*font-family: 'Strawford', sans-serif;*/
    text-transform: none;
    font-size: 1.25rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: normal;
    line-height: 1;
}

.browse-projects.right {
    width: 60px;
    height: 30px;
    display: none;
}
.browse-projects.down {
    width: 30px;
    height: 60px;
    display: block;
    margin: 0 auto;
}

svg.icon {
    width: 100%;
    height: 100%;
}

.entry .profile {
    margin-bottom: 2.8rem;
}
.entry .publications:last-child {
    /*margin: 0;*/
}

.publications {
    width: 100%;
    margin-bottom: 2.8rem;
}
.publications:after {
    content: '';
    display: block;
    clear: both;
}
.publ-title {
    width: 100%;
    height: auto;
    padding: 0;
    position: relative;
    margin-bottom: 1rem;
}


.project-details li {
    display: flex;
    max-width: 320px;
}
span.box-flex-line {
    position: relative;
    height: 1px;
    flex-grow: 1;
    top: 0.75rem;
    border-bottom: 1px dotted #000;
    margin: 0 0.5rem;
}



@media (max-width: 950px) {
    #wrapper {
        position: relative;
    }
    .site {
        position: relative;
        left: 0;
        width: 100%;
        min-height: 100%;
    }
    .site-header {
        height: auto !important;
        padding: 10px 0 30px;
        padding: 3rem 0 3rem;
    }
    .primary-navigation {
        position: absolute;
        z-index: 9999;
        top: 0;
        left: -84.375%;
        width: 84.375%;
        height: 100%;
        background-color: #3366ff;
        padding: 1rem 2rem;
        overflow-y: auto;
        -webkit-transition: left 0.3s ease-out;
        -moz-transition: left 0.3s ease-out;
        -o-transition: left 0.3s ease-out;
        transition: left 0.3s ease-out;
        /* modifications */
        position: relative;
        top: inherit;
        left: inherit;
        width: 100%;
        background-color: transparent;
        padding: 0 2rem;
        margin-top: 0.5rem;
    }
    
    .menu-toggle {
        display: block;
        margin-right: 20px;
        margin-right: 2rem;
    }
    
    .toggled-on .site {
        left: 84.375%;
        height: 100%;
    }
    #wrapper.overflow_fix {
        overflow: hidden;
    }
}


@media (min-width: 641px) {
    .entry-content {
        width: 70%;
    }
}


@media (min-width: 951px) {
    .site {
        padding: 90px 20px;
        padding: 10rem 2% 3rem;
        padding-bottom: 0;
    }
	.site-header {
		position: fixed;
		height: 10rem;
		padding: 3rem 2% 0;
	}
    .site-title {
        width: 32%;
        padding: 0;
    }

    #top-main-menu {
        float: left;
        width: 65%;
        letter-spacing: 1px;
    }
    .site-navigation li {
        margin-right: 22px;
        margin-right: 2.2rem;
        white-space: nowrap;
    }
    #site-main {
        height: 100%;
        padding: 0;
    }
    
    .site-footer {
        margin: 0;
        padding: 0 2% 2rem;
        position: fixed;
    }
    .copyright {
        text-align: left;
    }
    
    article.entry {
        width: auto;
        height: 100%;
        display: inline-block;
        margin-bottom: 0;
    }
    .entry-content {
        width: 100%;
    }
    article.entry.intro {
        width: 32%;
        padding: 0;
        padding-right: 5rem;
        padding-bottom: 5rem
    }
    article.entry.project {
        /*padding-right: 3rem;*/
    }
    article.entry.profile {
        width: 50%;
        padding: 0;
        padding-right: 5rem;
        /*padding-bottom: 4rem;*/
        height: auto;
    }
    body.home .entry > a {
        display: inline-block;
        height: 100%;
        /*height: -moz-calc(100% - 28px);
        height: -webkit-calc(100% - 28px);
        height: calc(100% - 28px);*/
    }
    
    body.home .entry img {
        height: 100%;
        width: auto !important;
    }
    .image_link {
        margin-bottom: 0;
    }
    
    .browse-projects.right {
        display: block;
    }
    .browse-projects.down {
        display: none;
    }
    
    #menu-toggle {
        display: none;
    }
    
    .profile {
        margin-bottom: 3rem
    }
    
    .publications {
        float: left;
        padding-right: 2rem;
    }
    .publ-title {
        height: 3.6rem;
    }
    .publications h3.encabezado {
        position: absolute;
        bottom: 0;
    }
    
    article.profile .publications:last-child {
        padding: 0
    }
    
    .entry-post-nav {
        position: absolute;
        bottom: 0;
        margin-bottom: 0;
    }
    .entry-post-nav.top {
        display: block;
    }
    .entry-post-nav.bottom {
        display: none;
    }
    
}