body{
  font-family:"Oswald"
}

ul li a{
  font-size: larger;
}

.nav-link:hover{
  color:  red;
}
.image-container{
  position: relative;
  width: 100%;
  justify-content: center;
  background-color: black;
  z-index:-1;
}

.margin-40{
  margin-bottom:-40%;
}

.intro-img{
  align-self: center;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: .4;
}

.intro-txt{
  font-family: "Oswald";
  font-weight: bold;
  position:absolute;
  width: 100%;
  top:20%;
  text-align: center;
  color: white;
}

#intro-txt img{

  margin-bottom:2%;
}

#hero-container{
  margin-top:-10%;
  max-height: 1000px;
  width: 100%;
}




.hero{
  font-family: "Oswald";
  z-index: 20;
  margin-top: -15%;
  width: 90%;
  height:100%;
  min-height: 500px;
  transition: margin 0.2s ease-in-out;
  background:linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../img/hero-1.webp");
  background-size: cover;
  background-repeat: no-repeat;
  color:white;
  margin-right: 0;
  text-align: center;
  position:relative;
}
.hero:hover{
  margin-top:-15.5%;
  box-shadow: 7px 14px 42px 3px rgba(0, 0, 0, 0.4) !important;
}

.hero-txt{
  display:inline-block;
  padding-top:20%;
  top:20%;
  height: 100%;
}

.hero-btn{
  position:absolute;
  left:0;
  right:0;
  bottom:30px;
  margin-left:auto;
  margin-right:auto;
  width: fit-content;
  color:#fff;
  background-color: #d9241e;
  border-color: #b71e19;
  
}
.hero-btn:hover{
  color:#d9241e;;
  background-color: #fff;
  border-color: #fff;
}

.hero-btn:focus{
  color:#fff;
}

#contact-container{
  margin-top: 6%;

}

#contact-data{
  font-size: 1.5rem;
  font-family: "Oswald";
  text-align: left;
  display: flex;
}

.partner-img{
  max-width: 200px;

}

.partner-link{
  text-decoration: none !important;
  border:0px !important;
  outline:none;
  border-width: 0px;
  outline-width:0px;
  border-bottom: none;
}


address{
  vertical-align: middle;
  display:inline-block;
}
#contact-img{
  vertical-align: middle;
  border-radius: 75px;
  max-width: 500px;
  position:relative;
  top:25%;
}

#contact-company-name{
 font-size: 1.7rem;

}

.vl {
  visibility: hidden;
  display:inline-block;
  border-left: 3px solid black;
  height: 200px;
}

.contact{
  width:90%;
}

.overlay-div{
  height:100%;
  position:absolute;
  background-color: white;
  width: 100%;
  margin: auto;
}

#overlay-container{
  background:white;
  padding:100px;
  box-shadow:
      0 1px 1px hsl(0deg 0% 0% / 0.075),
      0 2px 2px hsl(0deg 0% 0% / 0.075),
      0 4px 4px hsl(0deg 0% 0% / 0.075),
      0 8px 8px hsl(0deg 0% 0% / 0.075),
      0 16px 16px hsl(0deg 0% 0% / 0.075)
    ;
}

/* Add custom styles for the footer and copyright notice */
footer {
  background-color: #1E1E1E;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 0;
  margin-top: -10px;
}
.copyright {
  font-size: 14px;
  margin-top: auto; /* Push the copyright notice to the bottom */
  margin-bottom: 0px;
}

strong{
  font-weight: bold;
}

.lead{
  font-size:1.3rem;
  font-weight:500;
}

input, select, textarea{
  border:1px black solid !important;
}

@media (max-width: 1200px){
  #verkauf-img{
    visibility: visible;
  }
  #intro-img{
    min-height: 900px;
  }
  #intro-txt img{
    width: 200px;
    height:auto;
  }
  #hero-container{
    margin: 0 0 0 0;
    max-height: 1000px;
    min-width: 100%;
  }
  .col-md-4{
    /*padding: 0 0 0 0;*/
    width: 100%;
  }
  #hero-container > * > .col-md-4
  {
    padding: 0 0 0 0;
  }

  .hero{
    min-height: 250px;
    width: 100%;
    margin: 0 0 0 0 !important;
    padding: 0 0 0 0;
    border-top:2px solid white;
  }
  .hero:hover{
    box-shadow: none !important;
    margin-top:0px;
  }
  .hero-txt{
    padding-left:3%;
    padding-right:3%;
    display:block;
    padding-top:7%;
  }
  #bg-overlay{
    visibility: hidden;
  }

  #overlay-container{
    background:white;
    padding:50px;
  }
  #verkauf-img{
    display:none;

  }


}

#scrollToTopFab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #eb4034;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 24px;
  line-height: 50px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index:1000;
  transition: margin 0.5s ease-out;
	-webkit-transition: margin 0.5s ease-out;
    -moz-transition: margin 0.5s ease-out;
    -o-transition: margin 0.5s ease-out;
}

#scrollToTopFab:hover {
  background-color: #eb4034; 
  margin-top: -2;
}

#bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/juppi.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom; /* Set the background position to bottom */
  z-index: 1; /* Make sure the overlay is above other content */
}

i{
  font-size: 40px;
}

p{
  font-size:1.7rem
}

label{
  font-size:1.3rem;
}
.success-banner {
  position: fixed;
  top: -50px;  /* Start hidden above the viewport */
  left: 0;
  width: 100%;
  background-color: #4CAF50; /* Success color */
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 20px;
  z-index: 1000;
  transition: top 0.5s ease; /* Smooth slide animation */
}

/* Position to slide into view */
.success-banner.active {
  top: 0;
}
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    color: #fff;
    padding: 15px;
    text-align: center;
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: calc(12px + 0.5vw); /* Responsive font size */
}

.cookie-banner p {
    margin: 0;
    font-size: inherit; /* Inherit from the parent for responsive sizing */
}

.cookie-banner a {
    color: #fff;
    text-decoration: underline;
    font-size: inherit; /* Inherit from the parent for responsive sizing */
}

.cookie-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: calc(12px + 0.5vw); /* Responsive font size */
}

.cookie-button:hover {
    background-color: #45a049;
}
