/*

General

 */

/* inter-300 - latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    src: local(''),
    url('font/inter-v2-latin-ext-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('font/inter-v2-latin-ext-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* inter-regular - latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: local(''),
    url('font/inter-v2-latin-ext-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('font/inter-v2-latin-ext-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* inter-600 - latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: local(''),
    url('font/inter-v2-latin-ext-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('font/inter-v2-latin-ext-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* inter-800 - latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    src: local(''),
    url('font/inter-v2-latin-ext-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('font/inter-v2-latin-ext-800.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* typicons  */
@font-face {
    font-family: 'typicons';
    src: local(''),
    url('font/typicons.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('font/typicons.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


a:link {
    color: #666;
}

a:hover, a:active {
    color: #d40000;
}

a:visited {
    color: #0088d4;
}

h1, h2, h3, h4 {
    font-weight: 300;
    margin: 0;
    padding: 0;
}

strong {
    font-weight: 600;

}

p {
    line-height: 155%;
}

body {
    font-family: Inter, Arial, sans-serif;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    background-color: white;
    color: black;
    overflow-x: hidden;
    font-weight: 400;
}

.content {
    padding: 40px 20px 50px 20px;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}

#headermenu, #footermenu, main {
    display: grid;
    grid-template-columns: 1fr min(1600px, 100%) 1fr;
}

#headermenu > *, #footermenu > *, main > * {
    grid-column: 2;
}

/*

Menu

 */

#headermenu h1, header nav,
#footermenu h2, footer nav{
    margin-top: 10px;
    flex-basis: 50%;
}


#headermenu h1 a,
#footermenu h2 a {
    display: block;
    text-indent: -99999px;
    width: 170px;
    height: 18px;
    background: url(../image/logo.svg);
    background-size: 170px 18px;
}

#headermenu ul,
#footermenu ul {
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

@media only screen and (max-width: 400px) {

    #headermenu ul,
    #footermenu ul {
        font-size: 0.8em;
    }

}

#headermenu ul :first-child,
#footermenu ul :first-child {
    list-style-type: none;
}

#headermenu li,
#footermenu li{
    list-style-type: '/';
    padding: 0 5px;
    margin-right: 5px;
    white-space: nowrap;
}

#headermenu nav a, #headermenu nav a:visited,
#footermenu nav a, #footermenu nav a:visited {
    color: black;
    text-decoration: none;
}

/*

Main

 */

main {
    position: relative;
    background: #111;
}

main header.recentwork {
    display: none;
}


span.sash {
    position: absolute;
    top: 0;
    left: -100px;
    height: 790px;
    background-color: #d40000;
    width: 650px;
    transform: skew(-14deg);
    grid-column: 2;
}

@media only screen and (max-width: 650px) {
    span.sash {
        top:0;
        left: 0;
        width: 100%;
        transform: none;
    }
}


.controls {
    position: absolute;
    background: white;
    padding: .5rem;
    border-radius: 1rem;
    top: 650px;
    margin-left: 20px;
    opacity: 0.2;
    transition: opacity .2s;
}

.controls:hover {
    opacity: 1;
}

.controls button {
    background-color: transparent;
    color: #d40000;
    font-size: .5rem;
    border: none;
    padding: 0;
    margin: 0;
    transition: color .5s;
}

.controls button:hover {
    color: black;
}
#recentwork h3 {
    position: relative;
    font-size: 3rem;
    color: white;
}


#recentwork .article-content {
    position: absolute;
    max-width: 450px;
    height: 690px;
    padding: 100px 20px 0px 20px;
}

#recentwork p {
    position: relative;
    color: white;
}

#recentwork img {
    position: absolute;
    display: block;
    width: 100%;
    height: 790px;
    object-fit: cover;
    top: 0;
    left: 0;
}

#recentwork {
    height: 790px;
}

#recentwork article {
    opacity: 1;
    transition: opacity 3s;
}

#recentwork article.fade {
    opacity: 0;
}


#howitworks {
    color: white;
    padding: 80px 20px;
    display: flex;
    flex-wrap: wrap;
    max-width: 1160px;
    margin: auto;
}

#howitworks #howitworksintro {
}

#howitworks header {
    flex: 0 0 100%;
    padding-bottom: 40px;
}

#howitworks header p {
    /*max-width: 560px;*/
    font-weight: 300;
    font-size: 1.2rem;
}

#howitworks header h2 {

    text-indent: -99999px;
    width: 170px;
    height: 18px;
    background: url(../image/logo_diapos.svg);
    background-size: 170px 18px;
}

#creative, #copy {

}

#concept {

}

#howitworks article {
    max-width: 560px;
}

#howitworks article.left
{
    margin-right: auto;
}

#howitworks a:link {
    color: white;
}


#howitworks h2, #howitworks h3 {
    text-transform: uppercase;
    font-weight: 800;

}

#howitworks h3 {
    font-size: 5rem;
    margin: 0;
    padding-bottom: 20px;
    color: white;
    background-clip: text;
    -webkit-background-clip: text;
}

@media only screen and (max-width: 450px) {
    #howitworks h3 {
        font-size: 3rem;
    }

}

#copy h3 {
    background-image: url("../image/copybg.jpg");
    color: transparent;

}

#concept h3 {
    background-image: url("../image/conceptbg.jpg");
    color: transparent;
}

#creative h3 {
    background-image: url("../image/creativebg.jpg");
    color: transparent;
}
#custom h3 {
    background-image: url("../image/custombg.jpg");
    color: transparent;
}

#howitworks article p {
    margin-top: 0;
    margin-bottom: 50px;
    font-size: 1.2rem;
}

address {
    flex-basis: 100%;
    color: #666;
    margin: 3rem 0 1rem 0;
    line-height: 180%;
    font-style: normal;
}

#footermenu h2
{
    font-size: 1rem;
    font-weight: 800;
}

address a {
    text-decoration: none;
}

#oldsite,
#oldsite:visited {
    font-size: .8rem;
    display: inline-block;
    color: #666;
}

/*

Footer

 */

footer {
    /*display: none;*/
}