/* FONTS */

@font-face {
    font-family: 'Lack-Regular';
    src:    url('../fonts/lack-regular/Lack-Regular.eot?#iefix') format('embedded-opentype'), 
            url('../fonts/lack-regular/Lack-Regular.otf') format('opentype'), 
            url('../fonts/lack-regular/Lack-Regular.woff') format('woff'), 
            url('../fonts/lack-regular/Lack-Regular.ttf') format('truetype'), 
            url('../fonts/lack-regular/Lack-Regular.svg#Lack-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
}
@font-face {
  font-family: 'NextBookPan';
  src: url('../fonts/nextbookpan/NextBookPan-Regular.eot?#iefix') format('embedded-opentype'),  
       url('../fonts/nextbookpan/NextBookPan-Regular.otf')  format('opentype'),
       url('../fonts/nextbookpan/NextBookPan-Regular.woff') format('woff'), 
       url('../fonts/nextbookpan/NextBookPan-Regular.ttf')  format('truetype'), 
       url('../fonts/nextbookpan/NextBookPan-Regular.svg#NextBook-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* GENERAL */

:root {
    --space: 2.5rem;
    --space-half: 1.25rem;
    --line: 2.5rem;
}
html {
    font-size: 62.5%;
    color: #000;
    background: rgba(0,0,0,0.4);
}
body {
    color: #000;
    font-size: 2rem;
    line-height: var(--line);
    font-family: 'NextBookPan', sans-serif;
    letter-spacing: 0.1rem;
    padding-top: var(--space);
    margin: 0;
}
h1, h2, h3, h4, h5, h6 {
    font-size: 2rem;
    font-weight: normal;
    margin: 0;
    padding: 0;
}
a {
    color: #000;
    text-decoration: none !important;
}
a:hover{
    background: transparent;
    color: #fff;
}
a:focus, a:active {
    background: transparent;
    color: #000;
    text-decoration: none !important;
}
.container, .container-fluid {
    padding-right: var(--space);
    padding-left: var(--space);
}
p {
    margin: 0 0 var(--space) 0;
}
::selection {
    color: #ffffff;
    background: #000000;
}
::-moz-selection {
    color: #ffffff;
    background: #000000;
}
footer {
    margin-top: var(--space);
}


/* RESPOSIVE SIZES */

@media (max-width: 1400px) {
    html {
        font-size: 57.5%
    }
}
@media (min-width: 1800px) {
    html {
        font-size: 65%;
    }
}
@media (min-width: 2600px) {
    html {
        font-size: .50vw
    }
}


/* UTILITIES */

.d-none {
    display: none;
}


/* PROJECTS */

.project-wrap {
    clear: both;
    display: flex;
}
.project_year {
    clear: both;
    display: flex;    
}
.project-title {
    margin: 0;
    padding-bottom: 0;
    font-size: 2rem;
    font-weight: normal;
    line-height: 2.6rem;
    float: left;
}
.project-title a, .project-title span {
    display: inline-block;
}
.project-title .project-link_title {
    display: none;
    color: #000;
}
.project-title .project-link_title span {
    color: #0000ff;
    display: inline;
}
@media(min-width: 550px){
    .project-title .project-link:hover .project-link_title {
        display: block;
    }
    .project-title .project-link:hover .project-link_arrow {
        display: none;
    }
}
.project-title a.project-link {
    width: 3rem;
}
#project-image {
    display: block;
    position: fixed;
    right: 2rem;
    max-width: 40vw;
    bottom: 2rem;
    max-height: 40vw;
}
#project-image img {
    max-width: 100%;
    max-height: 100%;
    max-height: 40vw;
    max-width: 40vw;
}


/* PROJECT */

.back {
    margin-bottom: var(--space);
}
.project_s-gallery_image {
    margin-bottom: var(--space);
}
.project_s-gallery_image img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
}
.project_s-gallery_image p {
    margin-top: var(--space-half);
    margin-bottom: 0;
}
.project_s-gallery_image iframe#vimeo {
    display: block;
}

/* RESPOSIVE */

@media (max-width: 1280px){
    .project_s-gallery_image iframe#vimeo {
        max-width: 100%;
        height: 53vw;
    }
}
@media (max-width: 992px){
    .project_s-gallery_image iframe#vimeo {
        max-width: 100%;
        height: 53vw;
    }
}
@media (max-width: 550px){
    :root {
        --space: 2rem;
    }
    html {
        font-size: 55%
    }
    .project-title > a {
        display: inline;
    }
    .itemFullText p {
        word-break: break-word;
    }
}