@import url('https://fonts.googleapis.com/css?family=Ubuntu&display=swap');

body, html 
{
    --darkgray: #585858;
    --lightgray: #D8D8D8;
    --middlegray: rgb(173, 173, 173);
    --red: #e31e24;
    --darkred: #680d10;

    margin-top:  0;
    margin-left: 0;
    width: 100%;
    background-color: #ffffff;
    font-family: 'Ubuntu', sans-serif;
    background: linear-gradient(to top, #b9b9b9 0%, white 100%);
      
    }
header 
{
    position: fixed;
    top: 0px; left:0px; right:0px;
    height: 150px;
    width: 100%;
    background-color: #353535;
    background: linear-gradient(to left, var(--darkgray) 0%, #353535 100%);


    z-index: 999999;
    
}
#top{
    position: absolute;
    top:0;
}

.l  {
    position: absolute;
    width: 20%;
    max-width: 110px;
    left: 8%;
    top: 5%;
    z-index: 999999;
    -webkit-animation-name: example; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 4s; /* Safari 4.0 - 8.0 */
    animation-name: example;
    animation-duration: 4s;
    animation-delay: 10s;
    animation-timing-function: linear;
    animation-iteration-count: 4;
    animation-direction: alternate;
    
}
 @-webkit-keyframes example {
    from {width: 200px;}
    to {width: 210px;}
}
@keyframes example {
    from {width: 200px;}
    to {width: 210px;}
}

a{
    text-decoration: none;
    color: white;
    font-family: 'Ubuntu', sans-serif;

}

.p  {
    position: absolute;
    right: 3em;
    top: 50px;
    color: white;
    font-size: 1.3em;
}

.icon-bar {
    position: fixed;
    top: 150px; left: 0;
    width: 100%; 
    background-color: var(--darkgray);
    overflow: hidden; 
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    z-index: 999998;
    
}
.icon-bar a {
    float: left;
    text-align: center;
    width: 15%; 
    padding: 1em 0; 
    font-variant: small-caps;
    color: #fff; 
    font-size: 1.1em; 
    text-shadow: 0 0 2px black;
    }

.icon-bar a:hover {
    position: relative;
    bottom: -1px;
    text-shadow: 0 0 2px black;
}

.topnav {
    position: fixed;
    top: 0; left: 0;  
    width: 100%;  
    max-width: 100%;  
    overflow: hidden;
    background: rgb(0, 0, 0); 
    background: var(--darkgray); 
    z-index: 999998;    
    
  }
  .topnav #myLinks {
    display: none;
  }
  .topnav a {
    color: white;
    padding: .5em .5em;
    text-decoration: none;
    font-size: 1.1em;
    display: block;   
    font-variant: small-caps;
  }

  .topnav a.icon {
    background: var(--darkgray);
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
    transition: ease-in-out background-color 2s;
  }
  .topnav a.icon:hover {
    background-color: #ddd;
    color: var(--darkgray);
  }

  .active {
    background: var(--darkgray); 
  } 


footer{ 
    margin-top:  0;
    width: 100%;
    height: 70vh;
    background-color: var(--darkgray);
    background-image: linear-gradient(to bottom right, #000000 0%, #2c2c2c 100%);
    color: #eeeeee;
    overflow: auto;
                  
}   

.box1 h3,.box2 h3,.box3 h3,.box4 h3{
    color: white;
    
}

.box1,.box2,.box3,.box4{
 color: white;
 font-size: 0.9em;
 margin-top: 1vh;        
 float: left;
 width: 43%;
 padding-top: 50px;    
 padding: 2em;
 box-sizing: border-box;
 margin-left: 6%;
 } 

/* Zum Anfang der Seite Button */

 .bg {
    padding-top: 0;
    position: static;
    height: 50px;
    margin-top: 0;
    width: 100%;
    background-color: var(--darkgray);
    text-align: center;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    
    }
.bg a {
    color: white;
    text-decoration: none;
    font-size: 0.8em;
    
}

.logo img {
    width: 30%;
}



.popup {
    position: relative;
    display: inline-block;
    
}
.popup .popuptext {
    visibility: hidden;
    width: 60vw;
    margin: auto;
    height: 400px;
    background: rgb(48, 48, 48); /* Fallback color */
    background: rgba(48, 48, 48, 0.95); /* Black background with 0.5 opacity */
    color: #fff;
    font-size: 1em;
    text-align: center;
    border: 5px solid white;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    left: 20vw;
    top: 270px;
    z-index: 999999;
    list-style-type: none;
   }
.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 10%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}
.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1.5s;
    animation: fadeIn 1.5s;
}
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
@-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}


@media only all and (max-width: 1024px) {
    .icon-bar a {width: 15.5%;} .logo img {width: 80%;}}
@media only all and (max-width: 1000px) { header, .icon-bar, section.module.content-3, .box_1000 {visibility: hidden;} .topnav {display: block;} .anfang{margin-top: 50px;} .logo img {width: 90%;}.topnav a{font-size: 2em;} #mbmcookie p, href{font-size: 2em;}}
