html, body {
  margin: 10px auto;
  padding: 0;
  background-color: #FFFFFF;
  font-family: "Open Sans",verdana,arial,helvetica,sans-serif;
}

div#bg1 {
  margin: 55px 0px;
  height: 200px;
    
}


#wrapper {
  background-color: #FFFFFF;
  color: #fc0539;
  background-image:url(images/headerBG1.png);
  background-repeat: no-repeat;
  
  margin: -57px auto;
  width: 90%;
  border-radius: 5px;
  box-shadow: 0px 2px 8px 5px #7F7F7F;
  -webkit-box-shadow: 0px 2px 8px 5px #7F7F7F; /* WebKit */
  -moz-box-shadow: 0px 2px 8px 5px #7F7F7F; /* Firefox */
 
}
/* oben*/




/* Hauptteil*/
main {
  

  padding: 0;
  margin: 0 auto;
  display: block;  /*wegen Fehldarstellung IE*/
}

#main-inner {
	  
  
 
}

/* Inhalt*/
article {
  margin: 0 auto;
  padding: 5% 5%;
  font-size: 1em;
  font-weight: normal;
  text-align: center;
  line-height: 1.6em; /* Statt 2em */
}
article h1 {
  font-size: 2em;
  margin: 3px 0;
  color: #000000;
  
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px #7F7F7F;
  text-align: center;
}

article p {
  text-align: center;
  color: #000000;
  
}
 /*unten*/

footer {
  
  border-radius: 5px;
	
  margin: 0 auto 10px auto;
  padding: 0;
  text-align: center;
 

  box-shadow: 0px 2px 5px 5px #7F7F7F;
  -webkit-box-shadow: 0px 2px 5px 5px #7F7F7F; /* WebKit */
  -moz-box-shadow: 0px 2px 5px 5px #7F7F7F; /* Firefox */
}

.fussinhalt {

   color:#ff0036;
  
  background-image:url(images/footer.png);
  background-repeat: no-repeat;
  text-align: center;

  height: 125px;
  
  font-size: em;
  font-family: "century gothic",calibri,georgia,serif;
  font-weight: bold;
  justify-content: center;
  letter-spacing: 1px;
 
  
}

.footerlink {

  text-align: center;
  font-size: 0.5rem;
 
}

/* allgemeine Angaben*/

a:link, a:visited, a:active {
  color: #ff0036;
  background-color: transparent;
   
  
  text-decoration: none;
  font-weight: bold;
  padding: 0;
  margin: 0;
}
a:hover {
  color: #fce91c;
  
  text-decoration: none;
}

.clear {
	
 clear: both;
 margin: 0;
 padding: 0;
 line-height: 1px;
}

/******************Besonderheiten für Bildschirmgroesse max. 768px**********************/

@media (max-width: 768px) {


#topnavi {
  float: none;
  text-align: center;
  margin-top: 2px;
  padding-top: 0;
}

aside {
  float: none;
  width: 100%;
}

article {
 margin: 0;
 width: 100%;
}

div#footerinnerbox1 {
  letter-spacing: 1px;
  margin: 0 auto;
  float: none;
  width: 90%;
}

div#footerinnerbox2 {
  letter-spacing: 1px;
  margin: 0 auto;
  float: none;
  width: 90%
}

}

/*****************Besonderheiten für Bildschirmgroesse max. 640px***********************/

@media (max-width: 640px) {

div#bg1 {
  height: 150px;
}

header {
  height: 150px;
}

.headertextbig {
  padding-top: 10px;
}

aside h2 {
  font-size: 1em;
}

nav {
  font-size: 0.838em;
}

article h1,article h2,article h3,article h4,article h5 {
  font-size: 1em;
}

article {
font-size: 0.875em;
}

.fussinhalt  {
  font-size: 0.75em;
}

}

/*****************Besonderheiten für Bildschirmgroesse max. 480px***********************/

@media (max-width: 480px) {

div#bg1 {
  height: 100px;
}

#wrapper {
  width: 100%;
  padding: 0;
  border-radius: 0px;
}

header {
  height: 100px;
}


.headertextsmall {
font-size:0.7em;
}

.headertextbig {
  font-size: 1em;
  padding-top: 10px;
}

.fussinhalt h4 {
 padding: 2px;
 font-size: 0.750em;
}

}

.button-container {
    margin-top: 10px;
    text-align: center;
}

a.nice-button {
    display: inline-block;
    margin: 10px;
    padding: 15px 30px;
    font-size: 18px;
    color: #FF0000 !important; /* KNALLIG GELB */
    background-color: #000000 !important; /* SCHWARZ */
    border: 2px solid #FF0000;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    transition: color 0.3s ease, border-color 0.3s ease;
}

a.nice-button:hover {
    color: #FFFF00 !important; /* Schrift wird ROT */
    background-color: #000000 !important; /* Hintergrund bleibt SCHWARZ */
    border-color: #FF0000 !important; /* Rahmen wird ROT */
}
