@charset "utf-8";

@charset "utf-8";

/* TYPEFACE */
@font-face {
  font-family: 'Funktional-Grotesk';
  src:  url('../fonts/FunktionalGrotesk-Regular.eot'),
        url('../fonts/FunktionalGrotesk-Regular.woff2') format('woff2'),
        url('../fonts/FunktionalGrotesk-Regular.woff') format('woff')
}

@font-face {
  font-family: 'Funktional-Grotesk-Italic';
  src:  url('../fonts/FunktionalGrotesk-RegularItalic.eot'),
        url('../fonts/FunktionalGrotesk-RegularItalic.woff2') format('woff2'),
        url('../fonts/FunktionalGrotesk-RegularItalic.woff') format('woff')
}


* {
    margin: 0px;
    padding: 0px;
}

/* general */

html {
    font-family: 'Funktional-Grotesk';
    line-height: 1.1;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: greyscale;    
}

body {
    background-color: #1b1b1b;
    box-sizing: border-box;
    padding: 0em;
}

*, a {
    text-decoration: none;
    color: #f4f4f4;
}

a:hover {
    font-family: 'Funktional-Grotesk-Italic';
}

/* menu top */

nav ul {
    position: fixed;
    top: 0;
    background-color: #1b1b1b;
    width: 100vw;
    z-index: 10;
    display: flex;
    list-style: none;
    box-sizing: border-box;
    padding-top: 0.4em;
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 0.1em;
}

li, 
#container {
    font-size: 1.4em;
}

.home {
    width: 25%;
    padding-right: 1em; 
    box-sizing: border-box;
    min-width: 12em;
}

.about {
    width: 50%;
    padding-right: 1.5em;
    box-sizing: border-box;
}

.contact {
    width: 25%;
    box-sizing: border-box;
    min-width: 8em;
    color: rgb(235, 235, 135);
}

.new {
    color: rgb(235, 235, 135);
    display: none;
}

#container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    margin-top: 2em;
    margin-bottom: 1em;
    padding-right: 1rem;
    padding-left: 1rem;
    box-sizing: border-box;
}


/* bottom menu */
.captions {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.9em;
    margin-top: 0.6em;
    margin-bottom: 0.7em;
}

.captions p:nth-child(1)  {
    width: 75%;
    margin-right: 0.5rem;
}


/* images */

#slideshow {
    width: 100%;
    height: calc(100vh - 2em);
}









/* next and previous buttons */



#next, #prev {
    position: absolute;
    height: calc(100vh - 4em);
    width: calc(50vw - 1em);
    top: 2em;
}

#next {
    left: calc(50vw);
}

#prev {
    left: 1em;
}

#next:hover {
    cursor:  url("../images/arrow_right.png"), e-resize;
}

#prev:hover {
    cursor:  url("../images/arrow_left.png"), w-resize;
}



@media only screen and (max-width: 1050px) { 
    
    .contact {
        width: 40%;
    }
    
    .captions p:nth-child(1)  {
        width: 70%;
        margin-right: 0.5rem;
    }
    
    #container .contact {
        display: none;
    }
    
    #container .about {
        width: 100%;
    } 
    
  


}




@media only screen and (max-width: 800px) {
    
    li, 
    #container {
        font-size: 1.25rem;
    }
    
    nav ul {
        justify-content: space-between;
    }
    
    nav .about {
        text-align: right;
        padding: 0;
    }
    
    nav .contact {
        display: none;
    }
    
    nav .aboutpage {
        display: none;
    }
    
    #container {
        flex-direction: column-reverse;
    }
    
    #mobile_slideshow {
        margin-top: 2em;
    }
    
    #mobile_slideshow .captions {

    }
    
    
    #container .about,
    #container .contact {
        max-width: 28em;
        width: 100%;
        padding: 0;
        margin-bottom: 1em;
    }
    
   
        
    .captions p:nth-child(2)  {
    display: none;
    }
    
    #next, #prev {
        display: none;
    }
    
    nav ul, .captions, #container {
        padding-left: 0.5em;
        padding-right: 1em;
    }

    .captions {
        font-size: 0.7em;
    }
    
    .captions p {
        font-variant-numeric: tabular-nums;
    }
    
    .captions p:nth-child(1)  {
    width: 100%;
    }
    
    .new {
        display: block;
    }
    
}


@media only screen and (min-width: 1500px) {

    li, 
    #container {
        font-size: 1.5vw;
    }
    
}