* {
    padding: 0px;
    margin: 0px;
}
/* langueges */
@media only screen and (min-width: 768px) {
    #change_lang_de, #change_lang_eng {
        display: none !important;
    }
}

/* The header background */
#menu{
position: fixed;
z-index: 100;
top: 0;
left: 0;
list-style-type: none;
margin: 0;
background-color: white;
height: 5vw;
width: 100%;
}
/* Menu links */ 
#mobile_menu{
    position: fixed;
    right: 1vw;
    top: 1vw;
    z-index: 10;
    visibility: hidden;  
}
#mobile_menu img {
    width: 10vw;
    height: auto;
}

#nav {
    position: fixed;
    left: 18.6vw;
    top: -0.2vw;
    width: 80vw;
}
.header-name {
    color:#2c2c2c;
}

.menu-item {
    float: left;
    list-style-type: none;
    padding: 1.5vw;
    text-transform: uppercase;
    
}

#nav_menu p{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 1vw;
}

.header-icon img {
    height: 1.5vw; 
    margin: 0px auto;
    padding-bottom: 0.2vw;
    display: block;
    filter: brightness(40%) grayscale(100%);
}
#realmforge_icon {
    height: 1.8vw;
}
#home_menu_item {
    padding-top: 1.2vw;
}
/* Logo */
#nav_menu #logo_image {
    position: fixed;
    top: 1vw;
    left: 5vw;
    width: 7.5vw;
    height: auto;
    transition: width 1s, top 1s;
}
#nav_menu #logo_text {
    position: fixed;
    top: 9vw;
    left: 5vw;
    width: 7.5vw;
    transition: top 1s, left 1s;
    image-rendering:-webkit-optimize-contrast;      
}
#nav_menu #logo_background {
    position: fixed;
    top: 1vw;
    left: 4.25vw;
    width: 9vw;
    transition: height 0.75s, width 0.75s;
    height: 12vw;
    background-color: white;
}
/* make the logo smaller */ 
#nav_menu #logo_image.smaller {
    top: 0.9vw;
    width: 3.3vw;
}
#nav_menu #logo_text.smaller {
    top: 0.85vw;
    left: 9vw;
}
#nav_menu #logo_background.smaller {
    height: 0%;
    width: 16.5vw;
    transition: height 1.5s, width 1.5s;
}

/* hover effect */
.menu-item:hover .header-name{
    color: #d15c2c;
}
.menu-item:hover .header-icon img{
    filter: brightness(100%);

} 
/* The footer background */
#footer{
z-index: 100;
position: fixed;
bottom: 0;
left: 0;
list-style-type: none;
margin: 0;
background-color: #2c2c2c;
height: 3vw;
width: 100%;
}
#social_media {
    position: fixed;
    bottom: 0vw;
    right: 5vw;
}
.social_icon {

    float: left;
    list-style-type: none;
    padding: 0.5vw;
    text-transform: uppercase;
}
#impressum {
    position: fixed;
    left: 5vw;
    bottom: 0.8vw;
    color: white;
    
}
#impressum a {
    font-size: 1vw;
}
.social_icon img {
    width: 2vw;
}
#footer #impressum a{
    color: white;
}
#footer #impressum a:hover{
    color: #d15c2c;
}
/* languages */ 
#languages {
    position: fixed;
    right: 5vw;
    top: 1.4vw;
}

#languages a {
    float: left;
    margin-left: 1vw;
}

#languages a img{
    width: 2.5vw;
}
#germany img{
    filter: none;
}
#germany.changed img {
    filter: gray;
    -webkit-filter: grayscale(100%); 
    -moz-filter: grayscale(100%); 
    -ms-filter: grayscale(100%); 
    -o-filter:  grayscale(100%);
}
#germany:hover img{
    cursor: initial;
}
#germany.changed:hover img{
    filter: gray;
    cursor: pointer;
    -webkit-filter: grayscale(50%); 
    -moz-filter: grayscale(50%); 
    -ms-filter: grayscale(50%); 
    -o-filter:  grayscale(50%);
}

#english img{
    filter: gray;
    -webkit-filter: grayscale(100%); 
    -moz-filter: grayscale(100%); 
    -ms-filter: grayscale(100%); 
    -o-filter:  grayscale(100%);
}
#english.changed img{
    filter: none;
}
#english:hover img{
    filter: gray;
    -webkit-filter: grayscale(50%); 
    -moz-filter: grayscale(50%); 
    -ms-filter: grayscale(50%); 
    -o-filter:  grayscale(50%);
}

#english.changed:hover img{
    filter: none;
    cursor: initial;
}

/*  Cookie popup    */
#cookie_popup {
    position: fixed;
    bottom:-10vw;
    left: 30vw;
    background-color: rgba(44, 44, 44, 0.8); 
    width: 40vw;
    height: 7vw;
    z-index: 5;
    overflow: hidden;
    transition: bottom 2s;
}
#cookie_popup.active {
    bottom:3vw;
}

#cookie_popup p {
    font-size: 1vw;
}

#cookie_text {
    padding: 1vw;
    color: white;
    margin-top: 1vw;
    text-align: center;
}

#cookie_buttons a{
    width: 7vw;
    height: 2vw;
    margin: 0 1vw 1vw 1vw;
    display: inline-flex;
}
#cookie_buttons p {
    margin: auto;
    color: white;  
}

#cookie_buttons{
    margin: 0 auto;
    display: table;
}

#cookie_allow {
    background-color: rgba(44, 44, 44, 0.8); 
    border: 0.2vw solid rgba(20, 255, 20, 0.8);
    border-radius: 5px;
}
#cookie_allow:hover {
    background-color: rgba(44, 44, 44, 1); 
    border: 0.2vw solid #d15c2c;
}
#cookie_not_allow {
    background-color: rgba(44, 44, 44, 0.8); 
    border: 0.2vw solid rgba(255, 20, 20, 0.8);
    border-radius: 5px;
}
#cookie_not_allow:hover {
    background-color: rgba(44, 44, 44, 1); 
    border: 0.2vw solid #d15c2c;
}

#cookie_allow:hover p, #cookie_not_allow:hover p{
    color: #d15c2c;
}