* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: inherit;
}

a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: inherit;
    vertical-align: baseline;
}

img {
    width: 100%;
    height: auto;
}

body, html {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

a {
    font-family: objektiv-mk1, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    color: black;
    transition: opacity .25s ease-in-out;
}

a:hover {
    opacity: .5;
}

#main {
    width: 100%;
    height: 100vh;
}

/* Container for flexboxes */
#hero {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding-top: 5vh;
    padding-bottom: 1vw;
}

.hero-i {
    padding: 1vw;
    border: 2px solid black;
    flex: 1;
}

.hero-i + .hero-i {
    border-left: none 
}

.hero-i:nth-child(4) {
    flex: 2;
}

.hero-i:first-of-type {
    border-left: none;
}

.hero-i:last-of-type {
    border-right: none;
}

.hero-i img {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.hero-i.hidden-d {
    cursor: pointer;
}

#ticker-w {
    width: 100%;
    overflow: hidden;
}

#ticker {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 1vw;
    padding-right: 1vw;
    padding-bottom: 1vw;
    border-bottom: 2px solid black;
}

.ticker-i {
    font-family: objektiv-mk1, sans-serif;
    font-weight: 300;
    font-size: 1vw;
    color: black;  
}

.divider {
    flex-grow: 1;
    align-self: center;
    padding-left: .25vw;
    padding-right: .25vw;
}

.line {
    padding-top: 4px;
    border-bottom: 1px solid black;
}

.line-l,
.line-r {
    position: relative;
    border-bottom: 2px solid black;
}

.line-l:after {
    content: ""; 
    position: absolute; 
    bottom: -11px; 
    right: 0; 
    height: 20px; 
    width: 20px; 
    background: black; 
    border-radius: 10px;
}

.line-r:before {
    content: ""; 
    position: absolute; 
    bottom: -11px; 
    left: 0; 
    height: 20px; 
    width: 20px; 
    background: black; 
    border-radius: 10px;
}

#image-p {
    z-index: 10;
    display: none;
    position: absolute;
    width: 350px;
    height: 465px;
    background: url("http://emti.studio/img/emti_portrait.jpg");
    background-size: contain;
    pointer-events: none;
    border: 2px solid black;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.5));
}

#footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 2vw;
    padding-bottom: 2.5vw;
}

#logo {
    width: 25vw;
    padding-top: .5vw;
    padding-left: 1vw;
    padding-right: 1vw;
}

/* Style the navigation menu */
nav {
    width: 100%;
    padding-bottom: 5vh;
}

nav ul {
    list-style-type: none;
}

/* Style the list inside the menu */
nav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 1vw;
    padding-bottom: 1vw;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}

nav ul li {
    padding-left: .5vw;
}

nav ul li:after {
    content: "•";
    padding-left: .5vw;
}

nav ul li a:first-of-type {
	text-decoration: underline;
}

nav ul li a:first-of-type:hover {
	cursor: pointer;
}

nav ul li:last-of-type:after {
    content: "";
}

@media only screen and (min-width: 749px) {
    .hidden-d {
        display: none;
    }
}

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

    a {
        font-size: 3.5vw;
    }

    .hidden-m {
        display: none;
    }

    #hero {
        height: 65vh;
        padding-top: 5vw;
    }

    .hero-i {
        border-right: none;
    }

    .hero-i img {
        height: 100%;
    }

    .hero-i:not(:first-child) {
        display: none;
    }

    .ticker-i {
        font-size: 2.5vw;
    }

    #logo {
        width: 50vw;
    }

    nav {
        padding-bottom: 5vw;
    }

    nav ul li {
        font-size: 3.5vw;
        padding-left: 2vw;
    }

    nav ul li:after {
        padding-left: 2vw;
    }

}