/* reset */

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

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,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

.overflow-y-hidden {
    overflow-y: hidden;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

section a {
    color: #383838;
    border-bottom: solid black 0.01em;
    text-decoration: none;
}

section a:hover {
    color: #e5e415;
    border-color: #e5e415;
}

#works a {
    text-decoration: none;
}

/* main */

/* font faces */

@font-face {
    font-family: 'Platform Web';
    src: url('../fonts/Platform-Medium-Web.eot');
    src: url('../fonts/Platform-Medium-Web.eot?#iefix') format('embedded-opentype'), url('../fonts/Platform-Medium-Web.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
}

::-moz-selection {
    background: #e5e415;
}

::selection {
    background: #e5e415;
}

html,
body {
    margin: 0;
    height: 100%;
    width: 100%;
    /* kerning */
    -moz-font-feature-settings: "liga", "kern";
    -moz-font-feature-settings: "liga=1, kern=1";
    -ms-font-feature-settings: "liga", "kern";
    -o-font-feature-settings: "liga", "kern";
    -webkit-font-feature-settings: "liga", "kern";
    font-feature-settings: "liga", "kern";
}

svg {}

/*typography*/

h1 {
    font-family: 'Platform Web';
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    font-size: 1.4em;
    text-transform: uppercase;
    color: black;
    text-decoration: none;
    letter-spacing: 0.04em;
    margin-bottom: 0.5em;
}

h2,
h3,
p,
td,
th,
address {
    font-family: 'Platform Web';
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    color: #383838;
    font-size: 1.25em;
    margin: 0;
    line-height: 1.5em;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

address {
    margin-bottom: 0;
}

td {
    display: table-cell;
    padding-bottom: 10px;
}

/* exception for list items inside an article */

article ul li {
    font-family: 'Platform Web';
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    color: #383838;
    font-size: 1em;
    margin: 0;
    line-height: 1.5em;
    letter-spacing: 0.05em;
}

article ul li h2 {
    margin-bottom: 0;
}

/* LOADER */

#loader {
    background-color: white;
    height: 100vh;
    width: 100vw;
    z-index: 200;
    position: fixed;
    overflow: hidden;
}

#loader-animation {
    background-color: white;
    height: 100vh;
    width: 100vw;
    z-index: 80;
    position: fixed;
    overflow: hidden;
}

/* LOADER ANIMATION */

.loader-spinner,
.loader-spinner:after {
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

.loader-spinner {
    top: 46%;
    left: 46%;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
    overflow: hidden;
    font-size: 10px;
    position: fixed;
    z-index: 10000;
    text-indent: -9999em;
    border-top: 0.2em solid rgba(0, 0, 0, 1);
    border-right: 0.2em solid rgba(0, 0, 0, 1);
    border-bottom: 0.2em solid rgba(0, 0, 0, 1);
    border-left: 0.2em solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* SVG ANIMATION */

.scaling-svg-container {
    margin: auto;
    padding: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    overflow: hidden;
}

.scaling-svg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-image: url("../images/animation_2_bg_mobile.jpg");
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
}

#browser-warning {
    -webkit-transition: max-height 3s;
    -moz-transition: max-height 3s;
    -ms-transition: max-height 3s;
    -o-transition: max-height 3s;
    transition: max-height 3s;
    overflow: hidden;
    max-height: 0;
    background-color: white;
    position: fixed;
    bottom: 0;
    z-index: 10;
    width: 100vw;
    text-align: center;
    max-height: 0;
}

#browser-warning h2 {
    margin-bottom: 0;
    line-height: 1.2em;
    padding: 0.5em;
    font-size: 3.5vw;
}

/* MAIN */

@keyframes fade {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

section {
    background-color: white;
    animation: fade 1s linear;
}

section {
    min-height: 100%;
    padding: 100px 5% 5% 5%;
}

article {
    margin-bottom: 60px;
}

article:last-child {
    margin-bottom: 0;
}

/* table elements */

td:first-child {
    width: 55px;
}

table {
    margin-bottom: 20px;
}

#index {
    padding: 0 !important;
    width: 100vw;
}

#index {
    display: block;
}

.wrapper-main {
    background-color: white;
}

/* SITE MENU */

.none {
    display: none;
}

.block {
    display: block;
}

#menu_open {
    background: rgba(255, 255, 255, 1);
    height: 60px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 90;
}

#menu_open span {
    margin-top: 17px;
}

#menu_open span,
#menu_open span:before,
#menu_open span:after {
    left: 50%;
    transform: translate(-50%);
    height: 2.5px;
    width: 40px;
    top: 10px;
    background: black;
    position: absolute;
    display: block;
    content: '';
}

#menu_open span:before {
    top: -10px;
}

#menu_open span:after {
    bottom: -10px;
}

.rect-fill {
    fill: white;
}



#nav_bar_mobile {
    background-color: white;
    position: fixed;
    z-index: 300;
    min-height: 100vh;
    width: 100%;
}

#nav_bar_mobile ul {
    margin-top: 8vh;
}

#nav_bar_mobile ul li {
    text-align: center;
    display: block;
    width: 100%;
    padding-bottom: 1vh;
    padding-top: 1vh;
}

#nav_bar_mobile ul li a svg {
    height: 10vh;
}

.stBtn {
    cursor: pointer;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: #FFFFFF;
    stroke: #010202;
    stroke-width: 2;
    stroke-miterlimit: 10;
}
.active {
    fill: #e5e415;
}
nav ul li a {
    font-family: 'Platform Web';
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    color: black;
    text-decoration: none;
    letter-spacing: 0.05em;
}

#nav_bar_desktop {
    background-color: white;
    display: none;
    position: fixed;
    z-index: 300;
}
.transparent{
    background-color: transparent !important;
}

#nav_bar_mobile ul li a {
    font-size: 0.7em;
}

#nav_bar_desktop ul li a {
    font-size: 1.22em;
}

/* absolute right */

#nav_bar_desktop ul li:last-child {}

svg:hover .rect-fill {
    fill: #e5e415;
    transition: fill 0.1s ease-in;
}

.bgNone {
    background: none !important;
}


/* ISOTOPE */

/* clear fix */

.grid-overview:after {
    content: '';
    display: block;
    clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer-overview,
.grid-item-overview {
    width: 100%;
}

.grid-item-product,
.grid-item-overview {
    float: left;
    /* same as article margin-bottom */
    margin-bottom: 60px;
}

.grid-item-overview:last-child {
    margin-bottom: 20px;
}

.grid-item-overview img {
    display: block;
    width: 100%;
    margin-bottom: 20px;
}

.grid-item-overview img:hover {
    opacity: 0.85;
}

.grid-item-container p {
    margin: 0;
    padding: 0;
}

.grid-item-container iframe {
    display: block;
    width: 100%;
    height: 50vw;
}
.scroller-status{
    display: none;
    font-size: 100px;
}

/*GRID WORK */

.grid-work:after {
    content: '';
    display: block;
    clear: both;
}

#work-section {
    padding-bottom: 0;
}

.grid-work {
    width: 100%;
}

.grid-item-work img,
.grid-item-work p {
    display: block;
    width: 100%;
}

.tekst p {}

/* work */

.grid-item-container {}

.grid-item-work,
.grid-sizer-work {
    display: block;
    width: 100%;
    padding-bottom: 6vw;
}

.liggend_100,
.staand_50,
.liggend_50 {
    width: 100%;
}

/* navigation | pagination product page*/

.workNavigation {
    width: 100%;
    padding-bottom: 12vw;
    margin-top: 6vw;
}

.workNavigation ul {
    text-align: center;
    list-style: none;
}

.workNavigation li {
    display: inline-block;
    padding-right: 12%;
    padding-left: 12%;
}

.workNavigation svg {
    height: 30px;
}

.workNavigation h1 {
    margin-bottom: 0;
}

.workNavigation a {
    text-decoration: none;
    border: none;
}
.workNavigation li a:hover svg{
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    fill: #e5e415;
}

/* navigation DESKTOP

.workNavigation {
    display: none;
    width: 100%;
}

.workNavigation ul {
    text-align: center;
    list-style: none;
    padding-left: 3vw;
    padding-right: 3vw;
}

.workNavigation li {
    display: inline-block;
    margin-right: 1.5vw;
    margin-left: 1.5vw;
    font-family: 'Platform Web';
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    font-size: 1.4em;
    text-transform: uppercase;
    color: black;
    text-decoration: none;
    letter-spacing: 0.04em;

}

.workNavigation a {
    text-decoration: none;
    border: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
 */
.Disable_workNavigation {
    opacity: 0.2;
}

/* reponsive part */

/* some commments :

- I have chosen to work wih VW where possible.
-
*/

#about:after {
    content: '';
    display: block;
    clear: both;
}

/* phone : Landscape */

/* put all <li> inline block 3 per row and increase width of menu */

@media only screen and (orientation: landscape) {
    #nav_bar_mobile ul {
        padding-top: 30vh;
        margin: auto;
        width: 95vw;
    }
    #nav_bar_mobile ul li {
        text-align: none;
        display: inline-block;
        width: 32%;
    }
    #nav_bar_mobile ul li a svg {
        width: 32vw;
        height: 9vw;
    }
}

/* menu for small mobiles iphone 4 and down */

/* tablet : LANDSCAPE */

/* end mobile version at 767px this where the smallest tablet resolution starts @ 15-12-2016 */

/* put menu in top with all the items scaling and fill the entire width. */

@media screen and (min-width: 767px) {
    /* remove mobile menu */
    #menu_mobile_buttons {
        display: none;
    }
    /* if nav has the class none, set it to block so it shows | could also be done with javascript code in the index.html */
    .none {
        display: block;
    }
    #nav_bar_mobile {
        display: none;
    }
    #browser-warning h2 {
        font-size: 0.8vw;
    }
    /* remove background, animation and position nav at top */
    #nav_bar_desktop {
        display: block;
        top: 0;
        min-height: 0;
        width: 100vw;
        /* same as margin-left right/padding-left right from section */
        /*padding: 30px 5% 30px 5%;*/
    }
    #nav_bar_desktop ul li svg {
        height: 4vw;
        /*IE fix */
        max-width: 150px;
    }
    /* reposition menu */
    #nav_bar_desktop ul {
        padding: 30px 5vw 30px 5vw;
        margin-top: 0%;
        position: static;
        transform: none;
    }
    #nav_bar_desktop ul li {
        padding: 0;
        margin: 0;
        display: inline-block;
        margin-right: 1vw;
    }
    #nav_bar_desktop ul li:last-child {
        position: absolute;
        /* right: 0; */
        margin: 0;
        padding-right: 5vw;
    }
    /* work navigation */
    /* PORTFOLIO */
    /* remove margin */
    /* increase white space left and right, keep item centered */
    section {
        padding-top: 125px;
        width: 675px;
        margin: auto;
    }
    #work-section {
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
        margin: 0;
    }
    /* svg animation */
    .scaling-svg {
        background-image: url("../images/animation_2_bg_svg.svg");
        background-color: red;
    }
    .cube:hover{
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -ms-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
        opacity: 0.5;
    }
}

/* unintended interaction where last menu item doesnt have enough space so I implemented a manual fix for now..*/

@media screen and (min-width: 960px) {
    #nav_bar_desktop ul li {
        width: auto;
    }
}

/* switch to 2 items per portfolio row */

@media screen and (min-width: 1000px) {
    #nav_bar_desktop ul li svg {
        height: 40px;
    }
    .grid-sizer-overview,
    .grid-item-overview {
        width: 50%;
    }
    .grid-item-overview {
        margin-bottom: 4vw;
    }
    .grid-item-overview:last-child {
        margin-bottom: 4vw;
    }
    .grid-overview {
        width: 100%;
    }
    #works .grid-item-container {
        padding: 0vw 3vw 0vw 3vw;
    }
    /* give container a padding, so its easier to set the width of an item */
    /* percentage based paddings, cause I want the portfolio items to have the same spacing everywhere. */
    /* change section padding for portfolio only [easiest fix] */
    section {
        margin: 0;
        width: 90%;
        padding-left: 5%;
        padding-right: 5%;
    }
    #works {
        width: 96%;
        padding-bottom: 0;
        padding-right: 2%;
        padding-left: 2%;
    }
    .row-left {
        width: 45%;
        max-width: 750px;
        float: left;
    }
    .row-right {
        width: 45%;
        max-width: 750px;
        float: right;
    }
    .scaling-svg {
        -ms-transform: scale(1);
        /* IE 9 */
        -webkit-transform: scale(1);
        /* Safari */
        transform: scale(1);
    }
}

/* dont make the menu bigger then 1250px, allign everything left, stop scaling menu */

@media screen and (min-width: 1280px) {
    #nav_bar_desktop ul li:last-child {}
    /* portfolio */
    /* 3 items per row */
    .grid-sizer-overview,
    .grid-item-overview {
        width: 33.3333333333333333333333333333%;
    }
    /* work */
    .grid-item-container {
        padding: 0vw 3vw 0vw 3vw;
    }
    .liggend_100 .grid-item-container iframe {
        height: 38.9vw;
    }
    .liggend_50 .grid-item-container iframe {
        height: 18vw;
    }
    .grid-work {
        width: 100%;
        margin: auto;
    }
    .grid-item-work img,
    .grid-item-work p {
        width: 100%;
        height: 100%;
    }
    .tekst p {
        overflow: hidden;
    }
    /* work */
    .grid-item-container {
        height: 100%;
        width: auto;
    }
    .grid-item-work,
    .grid-sizer-work {
        float: left;
        width: 50%;
        padding-bottom: 6vw;
        padding-top: 0vw;
    }
    .WorkTitle {
        padding-left: 3vw;
    }
    #work-section {
        width: 75vw;
        margin: auto;
        padding-bottom: 0;
    }
    .staand_50 {
        /* 2 more to make up for padding on smaller elements */
    }
    .liggend_100 {
        width: 100%;
    }
    section {
        padding-top: 165px;
    }
    /* about */
}
