:root {
    --background-color:  rgb(215 215 215);
    --header-height: 100px;

    --header-background-color: rgb(255, 255, 255);
    --header-menu_nav-background-color: rgb(255, 255, 255, 0.8);
    --header-border-color: rgb(240, 240, 240);
    --header-border-size: 3px;

    /*
    --background-color: rgb(240, 240, 240);
    --header-background-color: var(--background-color);
    --header-menu_nav-background-color: rgb(245, 245, 245);
    */
}

@font-face {
    font-family: "museo sans";
    src: url("fonts/MuseoSans_700.otf") format("opentype");
}
@font-face {
    font-family: 'American Typewriter';
    src: url('../fonts/american-typewriter.ttf')  format('truetype'); /* Legacy iOS */
  }
@import url('http://fonts.cdnfonts.com/css/american-typewriter');


html, body
{
    margin: 0px;
    height: 100%;
    background-color: var(--background-color);
}
.header
{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    transition: top 0.5s;
}
.header.hidden
{
    top: calc(0px - var(--header-height));
}
.header > .content
{
    width: 100%;
    height: calc(var(--header-height) - var(--header-border-size));
    background-color: var(--header-background-color);
    box-shadow: none;
    position: relative;
    top: 0;
    left: 0;
    z-index: 3;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    border-bottom: solid var(--header-border-size) var(--header-border-color);
}
.logo 
{
    width: 255px;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
}
.header .logo a
{
    font-size: 20px;
    font-weight: bold;
    color: rgb(222 0 0);
}
.header .logo a h1
{
    font-size: 24px;
    margin: 0px;
    color: black;
}
.header .logo a h2
{
    font-size: 20px;
    font-weight: bold;
    color: rgb(222 0 0);
    margin: 0px;    
}
.logo img 
{
    display: block;
    border: 0;
    height: auto;
    max-width: 100%;
    border: 0;
}

.header a 
{
    font-family: "American Typewriter";
    font-size: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #222;
    background-color: transparent;
    text-decoration: none;
}

.header .menu
{
    position: absolute;
    left: 30px;
    text-decoration: none !important;
    top: 50%;
    transform: translateY(-50%);
    border-bottom: solid 2px transparent;
    border-top: solid 2px transparent;
}
.header .menu:hover
{
    border-bottom: solid 2px orange;
}
.header .menu span.selected
{
    border-bottom: solid 2px orange;
}
.header .about
{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0px;
    display: block;
    right: 30px;
    padding-left: 0px;
    border-bottom: solid 2px transparent;
    border-top: solid 2px transparent;
}
.header .about:hover
{
    border-bottom: solid 2px orange;
}
.header .about li 
{
    display: inline-block;
}
.header .languages ul
{
    position: absolute;
    top: 50%;
    transform: translate(50%, -50%);
    margin: 0px;
    display: block;
    right: 25%;
    padding-left: 0px;
    border-bottom: solid 2px transparent;
    border-top: solid 2px transparent;
}
.header .languages ul li
{
    display: inline;
    line-height: 60px;
    font-family: 'American Typewriter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0 1em;
    text-transform: uppercase;
    list-style-type: none;
    margin: 3px;
}
.header .languages ul li img
{
    height: 20px;
}
.header .menu_nav
{
    position: absolute;
    top: calc(100% + var(--header-border-size));
    width: 100%;
    overflow: hidden;
    transition: height 0.5s;
    height: 60px;
    background: var(--header-menu_nav-background-color);
}
.header .menu_nav ul
{
    margin: 0px;
    padding: 0px;
    height: 60px;
}
.header .menu_nav ul li
{
    display: inline;
    line-height: 60px;
    font-family: 'American Typewriter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0 1em;
    text-transform: uppercase;
    list-style-type: none;
}
.header .menu_nav ul li:hover a
{
    color: orange;
}
.header .menu_nav ul li a 
 {
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 300;
    font-feature-settings: "kern", "liga";
 }
 .header .menu_nav.hidden
 {
    height: 0px;
    padding: 0px;
 }
body > .content
{
    padding-top: calc(var(--header-height) + 60px);
    height: 100%;
    box-sizing: border-box;
}

.header .menu_back
{
    position: absolute;
    left: 30px;
    text-decoration: none !important;
    bottom: -40px;
    border-bottom: solid 2px transparent;
    border-top: solid 2px transparent;
    cursor: pointer;
    height: 22px;
    width: 48px;
}
.header .menu_back .image_back
{
    width: 100%;
    height: auto;
    vertical-align: middle;    
    display: none;
}
.header .menu_back:hover .image_back
{
    display: inline;
}
