html {
   background-image: linear-gradient(90deg, #222, black, black, black, #222);
}
body {
    padding: 0px;
    margin: 0px;
    height: 250px;
    color: #60b99a;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.8em;
    width: 100%;
}

nav input {
  display: none;
}

h1, h2, h4, h5, h6 {
    color: #60b99a;
}

h3 {
    color: #aaa;
    font-family: 'Metrophobic', 'Open Sans';
    font-weight: normal;
    font-size: 130%;
    border-bottom: solid 2px #aaa;
}


h3:hover {
    border-bottom: solid 2px red;
    transition: all 1s ease-in-out;
}


header {
    height: 340px;
    /*background-color: black;*/
    margin-bottom: 40px;
}

header img {
    width: auto;
    max-height: 300px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 3px solid #ccc;
    transition: all 1s ease-in-out;
    animation: changeheader 5s;
  /*********************************/
}

section.right label {
  display: inline-block;
  margin-right: 5px;
}

/************************/
@keyframes changeheader {
    0% {opacity: 0;}
   20% {opacity: 0,2;}
   40% {opacity: 0,8;}
   60% {opacity: 1;}
   80% {opacity: 0,5;}
  100% {opacity: 0,1;}
  }


@keyframes slide {
    0%     {top: 0}
    12%  {top: 0}
    16%  {top: -100%}
    28%  {top: -100%}
    32%  {top: -200%}
    44%  {top: -200%}
    48%  {top: -300%}
    60%  {top: -300%}
    65%  {top: -400%}
    78%  {top: -400%}
    83%  {top: -500%}
    95%  {top: -500%}
    100% {top: 0}
}
/******************************/
header .left {
    display: block;
    visibility: hidden;
    float: left;
    width: 250px;
    height: 40px;
    margin-left: 5px;
    z-index: 5;
    text-align: right;
}

header .right {
    display: block;
    float: right;
    width: 250px;
    height: 40px;
    margin-right: 5px;
    z-index: 5;
}

header nav {
  height: 20px;
  margin-top: -5px;
  border-bottom: solid #60b99a 3px;
  width: 100%;
}

header nav a {
    text-decoration: none;
    color: #60b99a;
    font-weight: bold;
    display: inline;
    height: 15px;
    text-align: left;
    border: #000 0px;
    border-radius:0px;  
}

header nav.active {
  color: green;
  border-bottom: 3px solid green;
  background-color: #60b99a;
  color: black;
  border-radius: 0px;
}

/* Hauptmenue (Quer unter Header */

nav {
    margin-top: 30px;
    margin-bottom: 10px;
    height: 35px;
    margin-left: 5px;
    margin-right: 5px;
}

nav ul {
    list-style: none;
    padding-left: 0px;
    text-align: center;
    position: relative;

}

nav li {
    display: inline-block;
    margin-right: 5px;
    position: relative;
}

nav a {
    text-decoration: none;
    padding-top: 7px;
    color: #60b99a;
    font-weight: bold;
    display: block;
    width: 150px;
    height: 30px;
    text-align: center;
    border: #000 2px;
    border-radius: 5px;
    border: solid #60b99a 1px;  
}

nav a:hover {
    background-color: #60b99a;
    color: black;
    border-radius: 5px;
}


nav.active {
    border: green 2px;
    background-color: #60b99a;
    color: black;
    border-radius: 5px;
}


/* Hauptteil der Seite */


/* Struktur des Mittelteils */

main {

    margin-top: 10px;
    display: grid;
    grid-template-columns: 200px auto 150px;
    column-gap: 15px;
    border-top: solid #60b99a 3px; 
}

aside.left {
  grid-column: 1;
}

aside.left ul {
    list-style: none;
    padding-left: 15px;
}

aside.left a {
    background-image: linear-gradient(90deg, #60b99a99, #60b99a00);
    text-decoration: none;
    color: #60b99a;
    font-weight: bold;
    display: block;
    height: 15px;
    text-align: left;
    border-bottom: solid #60b99a 3px;
    border-radius:0px;  
    margin-bottom: 3px;

}

aside.left a:hover {
    background-color: #60b99a;
    color: black;  
}

article {
    grid-column: 2;
}

article nav {
  width: 100%;
  margin-top: 20px;
}

article ul {
  background-color: grey;
  margin: 0px;
}

aside.right {
    grid-column: 3;
}

footer {
  margin-top: 3px;
  width: 100%
}

footer ul {
  text-align: center;
}

footer li {
   display: inline-block;
   margin-right: 5px;
   }

footer a {
    text-decoration: none;
    background-color: #60b99a;
    color: black;
    padding-top: 2px;
    font-weight: bold;
    display: block;
    width: 200px;
    height: 20px;
    text-align: center;
    border-radius: 3px;
}


/*******************************************************/
/* Joomla-Klassen                                      */

article dl, article dt, article dd {
  padding-left: 0px;
  margin-left: 0px;
  font-size: 1em;
}

.readmore a {
    text-decoration: none;
    background-color: #60b99a;
    color: black;
    padding-top: 7px;
    font-weight: bold;
    display: block;
    width: 150px;
    height: 30px;
    text-align: center;
    border: #000 2px;
    border-radius: 5px;
    margin-right: 5px;
}
/*
.pagination__wrapper {
  display: block;
  margin-top: 10px;
}*/

.pagination__wrapper li {
   display: inline-block;
   }

.pagination__wrapper a {
    text-decoration: none;
    background-color: #60b99a;
    color: black;
    /*padding-top: 4px;*/
    font-weight: bold;
    display: block;
    width: 40px;
    height: 20px;
    text-align: center;
    /*margin-right: 2px;*/
    border-radius: 5px;
}

.next, .previous {
  display: block;
  width: 100%;
  margin-bottom: 3px;
}

/*******************************/
/* Screens unter 1120px Breite */
/*******************************/
@media screen and (max-width: 1120px) {
  nav {
    height: 75px;
    width: 660px;
    margin-left: auto;
    margin-right: auto;
  }
  
  header img {
        max-height: 150px;
  }
  
  header {
    height: 200px;
  }
  
  
main {
    display: grid;
    grid-template-columns: 200px auto;
    grid-template-rows: auto auto;
}  
  
  article {
    grid-column: 2;
    grid-row: 1;
}
  
  aside.left {
    grid-column: 1;
    grid-row: 1;  
}
  
  aside.right {
    grid-column: 2;
    grid-row: 2;  
}  
}

/*******************************/
/* Screens unter 660px Breite */
/*******************************/
@media screen and (max-width: 660px) {
  nav {
    text-align: center;
    height: auto;
    width: auto;
    display: block;
    position: relative;
  }
  
  nav li {
    display: block;
  }
  
  nav a {
    margin-left: auto;
    margin-right: auto;  
    margin-bottom: 2px;
  }
   
  nav ul{
    display: none;
    border-bottom: none;
    width: auto;
  }
  
  nav label::before {
    display: block;
    width: 30px;
    height: 30px;
    background-image: url("./images/menu-button3-30px.png"); /* Drei Balken Menü geschlossen*/
    background-repeat: no-repeat;
    content: "";
    margin-top: 70px;
    }
  
    nav input:checked+label::before {
        background-image: url("./images/close3-30px.png"); /* rotes X Menü offen */
        }

    nav input:checked+label ul {
        display: block;
        margin-top: -35px;
        } 

  header {
    width: 100%;
    height: 220px;
  }
  header img {
        max-width: 95%;
  }
  
  header nav {
    padding-top: 5px;
    height: 40px;
  }
  
  header nav ol, header nav li {
    display: inline;
  }

main {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
}  
  
  article {
    grid-column: 1;
    grid-row: 2;
    padding-left: 5px;
    padding-right: 5px;
}
  
  aside.left {
    grid-column: 1;
    grid-row: 1;  
}
  
  aside.right {
    grid-column: 1;
    grid-row: 3;  
}
  
  article nav {
    margin-top: 30px;  
    background-color: gold;
  }  
  
  
  
}
