/* custom scrollbars */

::-webkit-scrollbar-track {
    /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,1); */
    background-color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    background-color: #f50;
    /* border: 2px solid #555555; */
}

@font-face {
    font-family: 'dither';
    src: url('font/DITHER0008.ttf') format('truetype');
}

* {
    box-sizing: border-box;
    scrollbar-width: none;
}

html {
    font-size: 100%;
    scrollbar-color: #f50 #fff;
}

canvas {
    position: fixed;
    top: 0px;
    left: 0px;
}

body {
    /* background-color: chartreuse; */
    position: relative;
    padding: 0px;
    margin: 0px;
    font-family: 'Source Code Pro', mono;
    padding-bottom: 0rem;
    height: 100vh;
    background-color: #ddd;
}

a {
    color: #f50;
    text-decoration: none;
}

a:hover {
    /* font-style: italic; */
    font-weight: 100;
    /* border-bottom: solid 5px #0cf; */
}

letterLink {
    color: #f50;
}

.menuelement p {
    margin: 0;
    padding: 0;
    line-height: 1rem;
}

.menuelement {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    background-color: #fff;
    font-family: inherit;
    font-size: 1rem;
    padding: 0.3em;
    cursor: pointer;
    border: solid 2px #000;
    box-shadow: #00f 3px 3px;
    text-align: center;
    border-radius: 0px;
    margin: auto;
    /* height: 1.5rem; */
    /* margin: 0px 0px 0.4rem 5px; */
}

.menuelement:active {
    border-bottom: solid 5px #f50;
}

.menuelement:visited {
    border-bottom: solid 5px #0cf;
}

.menuelement:hover {
    background-color: #ff0;
    border-radius: 50px;
}

button {
    border: none;
    padding: 0px;
    background: white;
    background-image: none;
}

button:hover {
    /* border-bottom: solid 5px #f50; */
    background-color: #0cf;
}

.article-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.main {
    grid-area: mn;
    overflow-y: scroll;
}

.footer {
    grid-area: ft;
    background-color: #ccc;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 0.75rem;
    border-top: solid 2px #000;
}

.menu {
    z-index: 999999;
    display: flex;
    flex-grow: 2;
    justify-content: space-around;
    background-color: #ccc;
}

.header {
    grid-area: hd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    background-color: #ccc;
    border-bottom: solid 2px #000;
}

.container {
    display: grid;
    /* grid-template-columns: 200px calc(100% - 200px); */
    /* grid-template-columns: repeat(9, 1fr); */
    grid-template-rows: 50px calc(100vh - 100px) 50px;
    grid-template-areas: "hd" "mn" "ft";
}

#footer1, #footer2 {
    height: auto;
    padding-left: 10px;
    padding-right: 10px;
    border-left: solid 5px #f50;
}

#footer1 span:hover, #footer2 span:hover {
    font-weight: 900;
    color: #0cf;
    border-bottom: solid 2px #f50;
    /* font-size: 2vh */
}

#myTitle span:hover {
    /* font-style: italic; */
    font-weight: 900;
    color: #0cf;
    /* font-size: 5vh; */
}

.preview {
    /* height: auto; */
    /* max-height: 250px; */
    /* min-width: 10%; */
    /* width: min-content; */
    flex-grow: 2;
    flex: 0 1 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    grid-template-rows: repeat(2, max-content);
    grid-template-areas: "ti ti";
    /* overflow-y: scroll; */
    font-size: 1rem;
    margin: 0.5rem;
    /* float: right; */
    padding: 0.8em;
    outline: solid 2px #000;
    word-break: break-word;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: 100% auto;
    box-shadow: #00f 5px 5px;
}

.enlarged {
    height: auto;
    max-height: 650px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    grid-template-rows: repeat(2, minmax(0, max-content));
    grid-template-areas: "ti ti" "tx md";
    grid-column-gap: 0.5rem;
    overflow-y: scroll;
    font-size: 1rem;
    margin: 0.5rem;
    float: right;
    padding: 0.8em;
    outline: solid 2px #000;
    word-break: break-word;
    box-shadow: #00f 10px 10px;
}

.preview a:hover, .content a:hover, .enlarged a:hover {
    font-weight: bolder;
    color: #0cf;
    border-bottom: solid 2px #f50;
    /* background-color: white; */
    font-style: italic;
    /* letter-spacing: 3px; */
}

/* 
to change design of single article divs change them down here
*/

.thumb-content {
    grid-area: tb;
}

.media-content {
    display: none;
    grid-area: md;
    /* outline: solid 2px #f50; */
}

.media-content img, img.thumb-content {
    width: 85%;
    height: auto;
    max-width: 550px;
    margin: 15px;
    /* border: solid 3px #f50; */
    box-shadow: #f00 5px 5px;
}

.media-content img:hover, img.thumb-content:hover {
    box-shadow: #f00 10px 10px;
}

.media-content iframe {
    width: 100%;
    height: auto;
    max-width: 550px;
}

.title-content {
    grid-area: ti;
    font-size: 1.5rem;
    color: #000;
    background-color: #fff;
    border: solid 2px #000;
    padding: 0.25rem;
    box-shadow: #f00 3px 3px;
    /* margin-bottom: 0.3rem; */
}

.text-content {
    display: none;
    grid-area: tx;
}

/* text */

.text-content p {
    background: rgba(255, 255, 255, 0.75);
}

.german {
    display: none;
    /* background-color: #fff; */
    /* height: 300px; */
}

.caption {
    font-size: 0.75rem;
    font-style: italic;
}

/*
dynamic content stuff
*/

.inspiration {
    display: none;
    position: relative;
    width: 95%;
    height: auto;
    min-height: 350px;
    /* max-height: 600px; */
    /* overflow-y: scroll; */
    font-size: 1rem;
    margin: 0.5vw;
    float: right;
    padding: 0.8em;
    /* outline: solid 3px #0cf; */
}

#dynamicContent {
    display: flex;
    flex-direction: row;
    flex-flow: wrap;
    justify-content: center;
    /* align-content: stretch; */
    /* position: fixed; */
    box-sizing: border-box;
    /* background-color: red; */
    position: relative;
    /* width: 80%; */
    max-width: 1200px;
    /* display: block; */
    margin: auto;
    /* margin: 10px; */
}

.inspirationContent, .inspirationContentGrid {
    z-index: 0;
    /* position: relative;
    float: left; */
    color: black;
    width: 20%;
    min-width: 100px;
    max-width: 400px;
    height: auto;
    border: none;
    text-align: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 85% auto;
    margin: 5px;
}

.inspirationContentGrid {
    float: left;
    top: 0px;
    left: 0px;
    position: relative;
}

.inspirationContent a {
    /* text-align: center; */
    /* background-color: #fff;
    box-shadow: 5px 5px 20px grey; */
}

.content {
    /* text-align: center; */
    display: flex;
    word-break: break-word;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 5px 5px 20px grey;
    /* width: 75%; */
    /* margin-top: 50%;
    transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%); */
}

.content a {}

.inspirationContent yano {
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    box-shadow: 5px 5px 20px grey;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.inspiration:hover {
    z-index: 999;
}

img.inspirationImage {
    width: 300px;
    border: none;
}

.title {
    /* line-height: 0vh; */
    font-family: 'dither';
    text-align: center;
    color: #f50;
    position: fixed;
    /* bottom: 176px; */
    /* right: 0px; */
    width: max-content;
    width: -moz-max-content;
    width: -webkit-max-content;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    line-height: 0.5em;
    /* padding: 1vw; */
    z-index: -9999;
    font-size: 7rem;
    /* font-weight: bolder; */
    /* transform: rotate(30deg); */
    text-shadow: #00f 2px 2px;
}

/* responsive video container */

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-container iframe, .video-container object, .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

img#header {
    /* display: flex;
    height: 45px;
    margin: 0px auto; */
    /* width: auto; */
    /* float: left; */
    border: none;
}

img#menuIcon {
    display: none;
    /* float: none; */
    /* top: 10px; */
    /* width: 17%; */
    /* height: auto; */
    max-height: 40px;
    max-width: 40px;
}

.menu-2 {
    display: none;
}

@media only screen and (max-width: 899px) {
    html {
        font-size: 75%;
    }
    .output, .german, .project, .process, .inspiration, .team {
        float: none;
        margin: 10px auto;
        width: 85%;
        height: 50vh;
    }
    .inspiration {
        height: auto;
    }
    .preview {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, max-content));
        grid-template-rows: repeat(3, max-content);
        grid-template-areas: "ti ti" "tx tx" "md md";
        overflow-y: scroll;
    }
    .footer {
        grid-area: ft;
        background-color: #ccc;
        display: flex;
        justify-content: space-around;
        align-items: center;
        font-size: 0.75rem;
        border-top: solid 2px #000;
    }
    .enlarged {
        float: none;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, max-content));
        grid-template-rows: repeat(3, max-content);
        grid-template-areas: "ti ti" "tx tx" "md md";
        overflow-y: scroll;
        margin: 0px auto;
        /* max-height: 650px; */
    }
    .media-content {
        text-align: center;
    }
    .menuelement {
        /* font-size: 1.5rem; */
        padding: 0.75rem;
        margin: 10px 0px 0px 3px;
        text-align: center;
    }
    .container {
        display: grid;
        grid-template-columns: 50px calc(100% - 50px);
        grid-template-rows: 40px calc(100vh - 80px) 40px;
        grid-template-areas: "hd hd hd" "mn mn mn" "ft ft ft";
    }
    img#menuIcon {
        display: block;
        margin: 4px;
        height: 30px;
        width: 30px;
    }
    img#header {
        margin-top: 4px;
        height: 30px;
        right: 4px;
    }
    .menu {
        display: none;
    }

    .header{
        align-items: initial;
        justify-content: space-around;
    }
    .logo{
        flex-grow: 3;
    }
    .menu-2 {
        z-index: 999999;
        display: flex;
        flex-direction: column;
        width: 102px;
    }
}