/* Header Angaben */
header {
    display: flex;
    position: fixed;
    background-color: black;
    color: white;
    width: 100%;
    height: 50px;
    top: -5px;
}

header button {
    background-color: black;
    color: white;
    border: hidden;
    margin-right: 50px;
}


/* Desktop Navigation*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.logo { 
    z-index: 1;
}

.global-navigation__desktop .logo{
    position: absolute;
    margin: 0 auto;
    padding: 0;
    margin-top: 15px;
    margin-left: 15px;
    z-index: 1000;
} 

.global-navigation__desktop img {
    display: absolute;
    width: auto;
    height: 25px;
    z-index: 1;
}

/*.global-navigation__desktop {
    display: block;
    width: 100%;
    height: 40px;
}*/

/* Mega Navigation */
nav {
    position: absolute;
    width: 100%;
    background: black;
    font-size: 15px;
    box-shadow: 0 0 0px rgba(0,0,0,1);
}

 /* first stage */
 nav > ul {
    position: relative;
    display: flex;
    justify-content: center;
    width: 1200px;
    margin: 0 auto;
    padding: 0;
  }

  nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    text-transform:uppercase;
  }

  nav ul li {
    color: black;
    list-style: none;
    transition: 0.5s;
  }
  
  nav > ul > li > a {
    padding: 15px 25px;
  }

  nav ul > li.submenu > a:after {
    position: relative;
    float: right;
    content: '';
    margin-left: 10px;
    margin-top: 5px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #fff;
    border-bottom: 5px solid transparent;
  }

  nav ul > li.submenu:hover > a:after {
    margin-top: 2px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid #fff;
  }
  
  nav > ul > li:hover {
    background: black;
  }

  /* second stage (the mega-menu) */
  nav ul.megamenu {
    position: absolute;
    display: flex;
    flex-wrap: wrap; 
    width: 1080px;
    top: -9999px;
    left: 0;
    padding: 40px 40px 0 40px;
    background: #fff;
    text-align: left;
    border-top: 5px solid white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    z-index: 1;
  }

  nav ul li:hover ul.megamenu {
    top: 100%;
  }
  
/* third stage (child-menus in the mega-menu) */
nav ul.megamenu ul {
    width: 25%;
    margin-bottom: 40px;
    color: #000;
    box-shadow: none;
  }
  
  nav ul.megamenu h4 {
    margin-bottom: 15px;
    text-transform: uppercase;
  }

  nav ul.megamenu ul li {
    display: block;
  }
  
  nav ul.megamenu ul li a {
    margin-top: 10px;
    transition: 0.5s;
    color: #000;
  }

  nav ul.megamenu ul li a:hover {
    color: grey;
  }

  /* Global Navigation Mobile */
  :root {
    --primery-color: rgba(000,000,000);
    --overlay-color: rgb(000, 000, 000);
    --secondary-color: rgb(23, 200, 230);
    --menu-speed: 0.5s;
}

.showcase:before {
    content: '';
    /*background: url('https://yggdrasil-mmorpg.de/image/yggdrasil.jpg') no-repeat fixed center center/cover;*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.showcase .showcase-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    z-index: 0;
}

.global-navigation__mobile .logo {
    display: flex;
    margin: 0px;
    padding: 0px;
    float: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.global-navigation__mobile {
    display: block;
    width: 100%;
    height: 40px; 
}

.global-navigation__mobile img {
    position: relative, fixed;
    width: 40px;
    height: 40px;
}

.global-navigation__mobile ul {
    list-style-type: none;
}

/* MENU STYLES */
.menus {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
}

.menus .toggler {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    cursor: pointer;
    width: 50px;
    height: 50px;
    opacity: 0;
}

/* Struktur des Hamburger */
.menus .hamburger {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 40px;
    height: 40px;
    padding: 0.6rem;
    background: var(--primery-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger Linie Middle?*/
.menus .hamburger > div {
    position: relative;
    flex: none;
    width: 100%;
    height: 2px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

/* Hamburger Linien - Top & Bottom */
.menus .hamburger > div::before,
.menus .hamburger > div::after {
    content: '';
    position: absolute;
    z-index: 1;
    top: -5px;
    width: 100%;
    height: 2px;
    background: inherit;
}

.menus .hamburger > div::after {
    top: 5px;
}

.menus .toggler:checked + .hamburger > div {
    transform: rotate(135deg);
}

.menus .toggler:checked + .hamburger > div:before,
.menus .toggler:checked + .hamburger > div:after {
    top: 0;
    transform: rotate(90deg); 
}

/* show Menu */
.menus .toggler:checked  ~ .menu-bar {
    visibility: visible;
}

.menus .toggler:checked ~ .menu-bar > div {
    transform: scale(1);
    transition-duration: var(--menu-speed);
}

.menus .toggler:checked ~ div > div {
    opacity: 1;
    transition: opacity 0.4s ease 0.4s;
}

.menus .menu-bar {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menus .menu-bar > div {
    background: var(--overlay-color);
    width: 200vw ;
    height: 200vw;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    transform: scale(0);
}

.menus .menu-bar > div > div {
    text-align: center;
    max-width: 90vw;
    max-height: 100vh;
    opacity: 0;
    transition: opacity 0.4 ease;
}

.menus .menu-bar > div > div > ul > li > a {
    color: inherit;
    text-decoration: none;
    transition: color 0.4 ease;
}

/* Versuch für Mobile Responsive */
.menu-item { 
    background-color: black;
    color: white;
    padding: 16px;
    font-size: 18px;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
}

.menu-drop {
    position: relative;
    display: inline-block;
}

.dropdown-content { 
    display: none;
    position: relative;
    background-color: black;
    min-width: 160px;
    z-index: 1;
}

.dropdown-content a {
    color: white;
    padding: 6px 5px;
    text-decoration: none;
    display: block;
    border-color: grey;
    border: 1;
}

.dropdown-content a:hover {
    background-color: black;
    transition: color 1s ease;
}

.menu-drop:hover .dropdown-content {
    display: block;
}

.menu-drop:hover .menu-item {
    background-color: black;
}

/* Scale Navigation */
@media only screen and (max-width: 1027px) {
    .showcase:before {
        background: url('https://yggdrasil-mmorpg.de/image/yggdrasil.jpg') no-repeat fixed center center/cover;
    }
    .global-navigation__mobile {
        visibility: visible;
    }

    .global-navigation__desktop {
        visibility: hidden;
        display: none;
    }

    article, section, aside, footer {
        width: 100%;
        height: auto;
    }

    h1 {
        margin: 5px;
    }

    h2, h3, p {
        margin: 3px;
    }

    aside {
        margin-top: 20px;
    }

    .container h1{
        font-size: 25px;
    }

    .container h2 {
        font-size: 20px;
    }

    .container h3 {
        font-size: 15px;
    }

    section .column1 {
        width: 100%;
        height: auto;
    }
    
    section .column2 {
        width: 100%;
        height: auto;
    }
    
    section .column3 {
        width: 100%;
        height: auto;
    }

    footer .column1 {
        width: 100%;
        height: auto;
    }

    footer .column2 {
        width: 100%;
        height: auto;
    }

    footer .column3 {
        width: 100%;
        height: auto;
    }

    footer .column4 {
        width: 100%;
        height: auto;
    }
	
	aside .ads {
		visibility: hidden;
		display: none;
	}
}

@media only screen and (min-width: 1028px) {
    .global-navigation__mobile {
        visibility: hidden;
        display: none;
    }

    .global-navigation__desktop {
        visibility: visible;
        position: absolute;
    }

    h1 {
        margin: 5px;
    }

    h2, h3, p {
        margin: 3px;
    }

}
/* Kleine Mobile Phone und Geräte */
@media only screen and (max-width: 260px) {
    .global-navigation__mobile img {
        position: relative, fixed;
        width: 30px;
        height: 30px;
    }

    .menus .menu-bar > div {
        width: 100%;
        height: 100%;
    }
    
    .menus .menubar > div > div {
        max-width: 120vw;
        max-height: 150vw;
    }
    .menu-item {
        font-size: 13px;
    } 
}

@media only screen and (max-width: 180px) {
    .global-navigation__mobile img {
        position: relative, fixed;
        width: 25px;
        height: 25px;
    }

    .menus .menu-bar > div {
        width: 100%;
        height: 100%;
    }
    
    .menus .menubar > div > div {
        max-width: 120vw;
        max-height: 150vw;
    }
    .menu-item {
        font-size: 11px;
    } 
}