:root {
    --default-font-size: 14px;
    --default-line-height: 16px;
    --epigraph-font-size: 18px;
    --epigraph-line-height: 21px;
    --title-font-size: 23px;
    --title-line-height: 23px;

    --default-spacing: 12px;
    --grid-gap: 12px;
    
    --grey: #a0a0a0;
}
@media only screen and (min-width: 1024px) {
    :root {
        --default-font-size: 14px;
        --default-line-height: 16px;
        --epigraph-font-size: 20px;
        --epigraph-line-height: 23px;
        --title-font-size: 26px;
        --title-line-height: 26px;
    }
}
h1,h2,h3,h4,h5,
textarea,
body {
	color: #000;
	font-family: Arial, Verdana, Sans-serif;
	font-size: var(--default-font-size);
	line-height: var(--default-line-height);
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
}
.quote {
    color: var(--grey);
    font-style: italic;
}
a {
    color: var(--grey);
}
a:hover {
    color: #000;
}
video {
    width: 100%;
}


/* Layout */
body {
}
html.scroll-disabled,
body.scroll-disabled {
	overflow-y: hidden;
}
.logo,
#logo {
    width: 210px;
    height: 41px;
    background: url('../img/logo.svg') no-repeat;
    background-size: 100%;
    font-size: 0;
}
#header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,1);
    box-sizing: border-box;
    min-height: 62px;
}
#header > .wrapper {
    margin: var(--default-spacing);
    position: relative;
}

/* Menu */
#menu_button {
    z-index: 1000;
    cursor: pointer;
    width: 39px;
    height: 39px;
    background: url('../img/more.svg') no-repeat;
    background-size: 100%;
    position: absolute;
    right: 0;
    top: 0;
}
body.menu_expanded #menu_button {
    background: url('../img/less.svg') no-repeat;
    background-size: 100%;
}
body.menu_expanded #menu {
    transform: translateY(0);
    transition: 0.5s;
}
#menu {
    background: #fff;
    position: fixed;
    z-index: 500;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    transform: translateY(-100%);
    transition: 0.5s;
}
#menu ul {
    position: absolute;
    bottom: 8px;
    left: 10px;
}
#menu ul li span,
#menu ul li a {
    font-family: 'Rauschen-BBook';
    cursor: pointer;
    font-size: var(--title-font-size);
    line-height: var(--title-line-height);
    text-transform: uppercase;
    color: #a0a0a0;
    letter-spacing: -0.75px;
}
#menu ul li > a:hover,
#menu ul li.active > a {
    color: #000;
}
#menu ul li .children {
    position: static;
    width: 100%;
    box-sizing: border-box;
    padding-left: 50px;
    display: block;
}
#menu ul li .children {
    display: none;
}
body.projects.index #menu ul .children {
    display: block;
}

/* Layout */
#content {
    opacity: 1;
    transition: 0.5s;
    padding: 100px var(--default-spacing) 9px var(--default-spacing);
}
#footer {
}

@media only screen and (min-width: 768px) {
    #content {
        padding: var(--default-spacing) var(--default-spacing) 9px var(--default-spacing);
    }
    #header {
        width: 50%;
        background: transparent;
    }
    #menu_button {
        display: none;
    }
    #menu {
        background: #fff;
        position: fixed;
        z-index: 500;
        top: unset;
        left: 0;
        right: unset;
        transform: none;
        transition: 0.5s;
        overflow: visible;
    }
    #menu ul {
        position: absolute;
        bottom: 8px;
        left: 10px;
    }
    
    body.popup #menu {
        display: none;
    }
}
@media only screen and (min-width: 1024px) {
    .logo,
    #logo {
        width: 237px;
        height: 45px;
    }
    #menu ul {
        bottom: 7px;
    }
    body.projects.index #menu ul .children {
        display: none;
    }
    body.projects.index #menu ul li .children.expanded,
    body.projects.index #menu ul li:hover .children {
        display: block;
    }
}
@media only screen and (min-width: 1280px) {
    #header {
        width: 25%;
    }
}