/* ############### */
/**#** General **#**/
/* ############### */
:root {
  --primary-color: #8ABE53;
  --secondary-color: #096A2E;
}
* {
  font-family: Arial, Helvetica, sans-serif;
}
body {
  margin: 0;
}
/* Hauptbereiche auf den Seiten */
main {
  color: white;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
  background: linear-gradient(to right bottom, var(--secondary-color),var(--primary-color),var(--secondary-color) );
  min-height: 75vh;
  padding-bottom: 32px;
  text-align: center;
}
main h1 {
  font-size: 48px;
}
main a {
  color: white;
  font-weight: 700;
}
main a:hover {
  color: white;
}
#stylemainpagebutton
{
  margin-right: 200px;
  margin-left: 200px;
}
.background {
  margin: 2%;
  padding-bottom: 15px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  padding: 1%;
}
a {
  color: black;
  position: relative;;
  text-decoration: none;
}
a:hover {
  color: var(--secondary-color);
}
a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transition: 0.6s ease;
}
a:hover::before {
  transform: scaleX(1);
}
/* Scrollbar Einstellungen */
 ::-webkit-scrollbar {
  width: 3px;
}
::-webkit-scrollbar-track {
  background: black;
}
::-webkit-scrollbar-thumb {
  background: white;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}
/* ################# */
/**#** Kopfzeile **#**/
/* ################# */
/* Container für Bild & Text*/
.header-container {
  display: flex;
  align-items: center;
}
/* Header Bild */
.logo {
  width: 25%;
}
.logo img {
  width: 150px;
  height: auto;
  margin-left: 100px;
  transition: 0.6s ease;
}
.logo img:hover {
  transform: scale(1.1);
  transition: 0.6s ease-out;
}
.logo a:hover::before {
  transform: scaleX(0);
}
/* Header Text */
.slogan {
  font-size: 2rem;
  width: 75%;
  text-align: center;
  color: var(--secondary-color);
}

.slogan * {
  margin: auto;
}

.slogan p {
  font-size: 22px;
  margin-bottom: 20px;
}

.icon-logo {
  width: 25px;
  margin-bottom: -0.3%;
}
/* ################## */
/**#** Navigation **#**/
/* ################## */
nav {
  font-size: 1.5rem;
}
/* Unsortiere Liste zur Überordnung */
nav ul {
  font-weight: bold;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
/* Liste um die Navbar nebeneinander zu haben */
nav li {
  border-left: none;
  float: left;
  display: flex;
  padding: 8px 16px;
}

nav li * {
  margin: 0;
}

nav li.ad-banner {
  float: right;
  margin-right: 370px;
}

/* Bestimmt Abstand der Navbar und das sie nicht ineinander geht */
nav li a {
  display: inline;
}
/* Zeigt an auf welcher Seite man sich befindet */
#navactive {
  text-decoration: underline;
  text-decoration-color: var(--primary-color);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
#navactive:hover::before {
  transform: scaleX(0);
}
/* ################## */
/**#** Startseite **#**/
/* ################## */
/* Jump Button Einstellungen */
.shortcuts {
  width: 100%;
  margin-bottom: 50px;
}
.shortcutbox {
  margin: 0 30px 0 30px;
  border: 2px solid black;
  border-radius: 25px;
  background: rgba(0, 0, 0, 0.1);
  width: 80%;
  padding: 10px;
  display: flex;
}
.shortcutbox a:hover {
  color: white
}
.shortcutbox a:hover::before {
 color: antiquewhite;
}
.shortcutbox h1 {
  font-size: 32px;
  margin: auto;
}
/* Jump Button Anordnung */
.grid-boxes{
  display: grid;
  grid-template-areas:
  'main main main main main';
  align-content: space-evenly;
  
}
/* Aufteilung des Bildschirms auf 3 Spalten */
.container-split {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
}
.container-split img {
  height: 490px;
}

.container-split img, .container-split video{
  border: 1px solid black;
  border-radius: 25px;
}
/* Inhalt der Spalten */
.item {
  padding: 20px;
}

.item-center {
  font-size: 24px;
  padding: 0px;
}

/* ##################### */
/**#** Galerieseite **#**/
/* ##################### */
/* Hauptbox der Galerie */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
} 
/* Box der Bilder */
.imagebox {
  padding: 30px;
  width: 350px;
}
/* Das Bild in der Bilderbox */
.gallery img {
  width: 100%;
  height: auto;
  border: 1px solid black;
  border-radius: 25px;
  transition-duration: 0.6s;
}
/* Effekt beim drüberhovern */
.gallery img:hover {
  cursor: pointer;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}
/* Einstellungen für das Click Even auf den Bildern/ Die Großansicht */
.lightbox-bg {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* overflow: auto; */
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.lightbox-content {
  position: relative;
  margin: auto;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  border: 1px solid black;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.lightbox-content img {
  height: 95%;
  margin-top: 20px;
  border: 1px solid black;
}
.lightbox-garten, .lightbox-baum {
  display: none;
}
.close {
  position: absolute;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--primary-color);
  padding: 8px 12px;
  top: 0;
  right: 0;
  font-size: 48px;
  font-weight: bold;
  z-index: 1;
}
.close:hover, .close:focus {
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
}
/* Die Pfeil Einstellungen */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--primary-color);
}
.prev {
  left: 0;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
/* Bild Nummerierung */
.numbertext {
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--primary-color);
  font-size: 48px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}
.numbertext:hover{
  color: var(--primary-color);
  cursor: pointer;
}
/* #################### */
/**#** Kontaktseite **#**/
/* #################### */
/* Eingabefelder */
input {
  height: 30px;
  border-radius: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* Spezifisch für den Button auf der Profilseite */
input[type="submit"] {
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  width: 150px;
}
/* Spezifisch für die Checkboxen auf der Anfrageseite */
input[type="checkbox"] {
  width: 30px;
  height: 30px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* Standard für die Textboxen auf der Anfrageseite */
input[type="text"], input[type="tel"], input[type="email"] {
  width: 400px;
}
/* Standard für die Textarea auf der Anfrageseite */
#dienst{
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}
/* Für alle Label */
label {
  margin: 1%;
  display: block;
  font-weight: bold;
}
/* ################# */
/**#** Impressum **#**/
/* ################# */
.impressum {
  margin: 0 25% 0 25%;
  font-size: 1.5rem;
}
/* ############# */
/**#** AGB's **#**/
/* ############# */
.tos {
  margin: 0 25% 0 25%;
  font-size: 1.5rem;
}
/* ################### */
/**#** Datenschutz **#**/
/* ################### */
.datapolicy {
  margin: 0 25% 0 25%;
  font-size: 1.5rem;
}
.list {
  text-align: left;
}
/* ################ */
/**#** Redirect **#**/
/* ################ */
.redirect {
  width: 25%;
}
/* ############# */
/**#** ERROR **#**/
/* ############# */
.error h1 {
  font-size: 3rem;
}
.error h2 {
  font-size: 2rem;
  font-weight: 500;
}
button {
  background-color: var(--secondary-color);
  border: 0;
  border-radius: 56px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: system-ui,-apple-system,system-ui,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",sans-serif;
  font-size: 18px;
  font-weight: 600;
  outline: 0;
  padding: 16px 21px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: all .3s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
button:before {
  background-color: initial;
  background-image: linear-gradient(#fff 0, rgba(255, 255, 255, 0) 100%);
  border-radius: 125px;
  content: "";
  height: 50%;
  left: 4%;
  opacity: .5;
  position: absolute;
  top: 0;
  transition: all .3s;
  width: 92%;
}
button:hover {
  box-shadow: rgba(255, 255, 255, .2) 0 3px 15px inset, rgba(0, 0, 0, .1) 0 3px 5px, rgba(0, 0, 0, .1) 0 10px 13px;
  transform: scale(1.05);
}
/* ################# */
/**#*** Fußzeile **#**/
/* ################# */
.footer-container {
  font-size: 1.125rem;
  font-weight: bold;
  text-align: center;
}
.footeroben {
  padding-bottom: 18px;
}
.footerunten {
  display: flex;
  margin: 0 80px 0 80px;
  padding-bottom: 15px;
}
.footerallgemein  {
  width: 50%;
  text-align: center;
}
.footerextras {
  width: 50%;
  text-align: center;
}
footer a {
  padding: 0 0 2px 0;
}
.footerbox {
  display: inline;
  padding: 0 15px 8px 15px;
  width: 33%;
}
/* #################### */
/**#*** Mediaqueries**#**/
/* #################### */
/* Für Bildschirme mit einer maximalen Breite von 500 Pixeln */
@media screen and (max-width: 480px) {
  /* Beispiel für die Anpassung der Hauptbereiche */
  main {
    padding: 2px 0 2px 0;
  }
  /* Beispiel für die Anpassung des Headers */
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  .logo {
    width: 50%;
  }
  .logo img {
    width: 150px;
    margin-left: 0;
  }
  .slogan {
    width: 100%;
    font-size: 1.5rem;
  }
  /* Beispiel für die Anpassung der Navigation */
  nav ul {
    font-size: 1rem;
  }
  nav li {
    padding: 8px 8px;
  }
  /* Beispiel für die Anpassung der Galerieseite */
  .imagebox {
    padding: 15px;
    width: 100%;
    height: auto;
  }
  /* Beispiel für die Anpassung der Kontaktseite */
  input[type="text"], input[type="tel"], input[type="email"], #dienst {
    width: 50%;
  }
  /* Beispiel für die Anpassung des Footers */
  .footer-container {
    font-size: 1rem;
  }
  .footeroben, .footerunten {
    margin: 0 20px 0 20px;
  }
  .footerbox {
    padding: 0 10px 5px 10px;
  }
}
/* Für Bildschirme mit einer maximalen Breite von 800 Pixeln */
@media screen and (max-width: 800px) {
  /* Beispiel für die Anpassung der Hauptbereiche */
  main {
    padding: 2px 0 2px 0;
  }
  /* Beispiel für die Anpassung des Headers */
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  .logo {
    width: 50%;
  }
  .logo img {
    width: 150px;
    margin-left: 0;
  }
  .slogan {
    width: 100%;
    font-size: 1.5rem;
  }
  /* Beispiel für die Anpassung der Navigation */
  nav ul {
    font-size: 1rem;
  }
  nav li {
    padding: 8px 8px;
  }
 main h1{
    font-size: x-large;
  }
  nav li.ad-banner {
    float: left;
    margin-right: 0px;
  }

  .shortcutbox {
    margin: 0 10px 0 10px;
    width: 90%;
  }
  
  .shortcutbox h1 {
    font-size: 16px;
    margin: auto;
  }

  .grid-boxes {
    grid-template-areas:
    'main'
    'main'
    'main'
    'main'
    'main';
    grid-row-gap: 10px;
  }

  .container-split {
    grid-template-columns: auto;
    padding: 15px;
  }

  .container-split img {
    width: 100%;
    height: unset;
  }

  .item {
    padding: 10px;
  }

  .item p {
    font-size: 18px;
  }
  /* Beispiel für die Anpassung der Galerieseite */
  .imagebox {
    padding: 15px;
    width: 100%;
    height: auto;
  }
  /* Beispiel für die Anpassung der Kontaktseite */
  input[type="text"], input[type="tel"], input[type="email"], #dienst {
    width: 100%;
  }
  /* Beispiel für die Anpassung des Footers */
  .footer-container {
    font-size: 1rem;
  }
  .footeroben, .footerunten {
    margin: 0 20px 0 20px;
  }
  .footerbox {
    padding: 0 10px 5px 10px;
  }
  button {
    padding: 16px 48px;
  }
}
@media screen and (max-width: 1280px) {

  nav li.ad-banner {
    float: left;
    margin-right: 0px;
  }
  #stylemainpagebutton{
    font-size: 30px;
    margin-left: 100px;
    margin-right: 100px;
  }
  .container-split {
    grid-template-columns: auto;
    padding: 15px;
  }

  .container-split img {
    width: 90%;
    height: unset;
  }

  .shortcutbox {
    margin: 0 10px 0 10px;
    width: 90%;
  }
  
  .shortcutbox h1 {
    font-size: 20px;
    margin: auto;
  }
  .grid-boxes {
    grid-template-areas:
    'main'
    'main'
    'main'
    'main'
    'main';
    grid-row-gap: 10px;
  }
}
  @media screen and (max-width: 1700px) {
    .container-split img{
      width: 95%;
    }
  }
