.item1 { grid-area: logo; 
        left: 0;
        top: 0;}
.item2 { grid-area: nav; 
        top: 0;
        padding: 0;
        margin: 0;
        position: sticky;
        z-index:100;}
.item3 { grid-area: main; 
        grid-column-start: 1;
        grid-column-end: 4;
        left: 0;}
.item4 { grid-area: footer; 
        height: fit-content;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        }
.grid-container {
  display: grid;
  grid-template-areas:
    'nav nav nav'
    'main main main'
    'footer footer footer';
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  gap: 0;
}

.blank{ grid-area: blank;
width: 100%;
max-height: 100px;
}
.welcome { grid-area: mainh; 
  left: 0;
  width: fit-content;
  max-width: 50%;
  height: fit-content;
  vertical-align: middle;
  grid-column-start: 1;
  grid-column-end: 4;
 }



.grid-container-home {
  display: grid;
  grid-template-areas:
    'blank blank blank'
    'mainh mainh main'
    'blank blank blank';
  margin: 0;
  padding: 0;
  gap: 0;
  height: 10%;
  width: 100%;
}

.grid-container > div {
  background-color: rgba(255, 255, 255);
  text-align: center;
  padding: 0;
  font-size: 30px;
}

.responsive-iframe {
    top: 91px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-image: url(img/home.JPG);
    background-repeat: no-repeat;
    background-size: cover;
  }

.topnav {
  padding-top: 20px;
    overflow: hidden;
    float: right;
  }
  
  .topnav a {
    float: left;
    display: block;
    color: rgb(13, 2, 116);
    text-align: center;
    font-size: 20px;
    padding: 10px 10px;
    text-decoration: none;
  }
  
  .topnav a:hover:not(.active) {
    color: #f3a143;
  }
  
  .topnav a.active {
    color: #f3a143;
  }

  .footer{
    text-decoration: none; 
    color: white; 
    font-size: 15px;
  }

  .footer-tel{
    color: black;
  }

  .footer-tel:hover{
    color: blue;
  }

  .topnav .icon {
    display: none;
  }
  
  .contact{display: none;}

  .test{
    padding: 20px 60px 20px 100px; 
    text-align: left;
  }
  
  @media screen and (min-aspect-ratio: 4/3) {
    .grow{
      float: left;
      width: 50%;
    }
    .shrink{
      display: block;
      float: right;
      width: 50%;
    }
    .responsive-iframe{
      position: absolute;
    }
    .appear{
      display: none;
    }
    .disappear{
      display: inline;
    }
    .right{width: 75%;}
  }

  @media screen and (max-aspect-ratio: 4/3) {
    .topnav a {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
    }
    .footer-home {display: none;}
    .contact {display: inline}
    .welcome{max-width: 100%;}
  }
  
  @media screen and (min-width: 1930px){
    .head-welcome{font-size: 40px;}
    .body-welcome{font-size: 20px;}
    .resize_text{font-size: 20px;}
    .topnav a{font-size: 25px;}
    .resize_axel{width: 70%;}
    .resize_title{font-size: 25px;}
    .slideshow-container {max-width: 1400px;}
  }

  @media screen and (min-height: 1090px) {
    .head-welcome{font-size: 40px;}
    .body-welcome{font-size: 20px;}
    .resize_text{font-size: 20px;}
    .topnav a{font-size: 25px;}
    .resize_axel{width: 70%;}
    .resize_title{font-size: 25px;}
    .slideshow-container {max-width: 1400px;}
  }

  @media screen and (max-width: 1929px){
    .head-welcome{font-size: 30px;}
    .body-welcome{font-size: 17px;}
    .resize_text{font-size: 17px;}
    .resize_axel{width: 70%;}
    .resize_title{font-size: 20px;}
    .slideshow-container {max-width: 1000px;}
  }

  @media screen and (max-height: 1089px) {
    .head-welcome{font-size: 30px;}
    .body-welcome{font-size: 17px;}
    .resize_text{font-size: 17px;}
    .resize_axel{width: 70%;}
    .resize_title{font-size: 20px;}
    .slideshow-container {max-width: 1000px;}
  }
  @media screen and (max-aspect-ratio: 4/3) {
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
    .responsive-iframe{ 
      background-image: none;
      height: fit-content;
    }
    .test{ padding: 20px 60px 20px 110px; }
    .resize_leistungen{font-size: 15px;}
    .shrink{
      display: none;
      width: 0%;
    }
    .grow{
      float: left;
      width: 100%;
    }
    .appear{
      display: block;
    }
    .disappear{
      display: none;
    }
    .right{width: 90%;}
  }

  .not-home{
    display: none;
  }

  .mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.prev_team, .next_team {
  cursor: pointer;
  position: absolute;
  top: 75%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next_team, .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev_team, .prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover, .prev_team:hover, .next_team:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
  cursor: pointer;
}

.slide_active,
.demo:hover {
  opacity: 1;
}

.fade {
  animation-name: fade;
  animation-duration: 2s;
}

.left {
  float: left;
  width: 50%;
}

.right {
  float: right;
}

.leistungen{
  list-style-type:disc;
  padding-top: 0;
  margin-top: 0;
}

.leistungen li{
  text-align: left;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next, .prev_team, .next_team, .text {font-size: 11px}
}