/*-- PRELOADER --*/

/*-- NAVIGATION --*/

/*-- ALLGEMEIN --*/
* {
    box-sizing: border-box;
  }

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Open Sans';
    background-color: black;
    margin: 0px;
    width: 100%;
    position: relative;
}

p {
    font-size: 15px;
    line-height: 25px;
    color: white;
    }

a {
    color: #fae616;
    text-decoration: none;
}

/*--
a:hover {
    text-decoration: underline;
}
--*/

h2{
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    line-height: 30px;

}

h3{
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    line-height: 10px;
}


.line-dec {
    width: 45px;
    height: 3px;
    background-color: #fae616;
    margin: 20px 0px 20px 0px;
}

.line-dec-center {
    width: 45px;
    height: 3px;
    background-color: #fae616;
    margin: 20px auto 20px auto;
}

.line-dec-center-top{
    width: 45px;
    height: 3px;
    margin: 20px auto 20px auto;
}

hr{
    margin: 0;
    border: 0;
    height: 3px;
    background-image: linear-gradient(to right, #282b2f, #fae616, #282b2f);
    }

.primary-button a {
    display: inline-block;
    background-color: #fae616;
    padding: 15px 24px;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 11px;
    color: black;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
}
.container{
    width:100%;
    padding-right:20vh;
    padding-left: 20vh;
    margin-right:auto;
    margin-left:auto
}

/*-- ALLGEMEIN - Skalierung --*/

@media (max-width: 1200px){
    .container{
        padding-right:10vh;
        padding-left: 10vh;
    }
    .section-about p {
        text-align: justify;
      }
}

@media (max-width: 767px){
    .container{
        padding-right:5vh;
        padding-left: 5vh;
    }

    .section-about p {
      text-align: justify;
    }
}
@media (max-width: 400px){
    .container{
        padding-right:2vh;
        padding-left: 2vh;
    }
    .section-about p {
        text-align: justify;
      }
}

@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/*-- HOME (#home) --*/
h1 {
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 128px;
    line-height: 120px;
    color: #fae616;
    font-weight: 900;
    text-transform: uppercase;
    text-align-last: center;
}

.home-content {
    min-height: 100vh;
    padding-top: 45vh;
    padding-bottom: 5vh;
    text-align: center;
    background-image: url(../img/header_background.jpg);
    width: 100%;
    background-size: cover;
    background-position: center;
}

.home-content em {
    color: #fff;
    font-weight: 600;
    font-style: normal;
}
        
.home-content span {
    display: inline-block;
    margin-top: -20px;
    font-weight: 300;
    font-size: 48px;
    color: #fff;
}

@media (max-width: 767px){
    h1 {
        font-size: 80px;
        line-height: 90px;
    }
    .home-content span {
        font-size: 40px;
    }
}

@media (max-width: 500px){
    h1 {
        font-size: 55px;
        line-height: 60px;
    }
    .home-content {
        padding-top: 35vh;
        margin-top:10vh;
        text-align: center;
    }

    .home-content span {
        font-size: 25px;
    }
}

@media (max-width: 350px){
    h1 {
        font-size: 35px;
        line-height: 40px;
        margin-bottom: 5vh;
    }
    .home-content {
        padding-top: 35vh;
        margin-top:10vh;
        text-align: center;
    }

    .home-content span {
        font-size: 20px;
    }
}

/*-- INFOS UND NEWS (#waldfest) --*/
.info-content {
    min-height: 100vh;
    padding-top: 10vh;
    padding-bottom: 10vh;
    background-color:#282b2f;
    width: 100%;
    background-size: cover;
}


.news-section{
    display: grid;
    grid-gap: 3vh;
}

.section-about{
    grid-column: 1 / 5;
    grid-row: 1;
    grid-gap: 30px;
    padding-bottom: 50px;
}

.section-news{
    grid-column: 1 / 1;
    grid-row: 2 / 3;
}

.section-news p {
	text-align: justify;
}

.section-festfuehrer{
    background-color: rgba(0, 0, 0, 0.5);
    grid-column: 2;
    grid-row: 2;
    text-align: center;
	padding: 1vh;
}

.section-flyer{
    background-color: rgba(0, 0, 0, 0.5);
    grid-column: 3;
    grid-row: 2;
    text-align: center;
	padding: 1vh;
}

.section-plakate{
    background-color: rgba(0, 0, 0, 0.5);
    grid-column: 4;
    grid-row: 2;
    text-align: center;
	padding: 1vh;
}



/*-- Ausgeblendet für Waldfest 2021

.section-kinowerbung{
    background-color: rgba(0, 0, 0, 0.5);
    grid-column: 3 / 3;
    grid-row: 2;
    text-align: center;
	padding: 1vh;
}

.section-socialmedia{
    background-color: rgba(0, 0, 0, 0.5);
    grid-column: 3;
    grid-row: 2;
    text-align: center;
	padding: 1vh;
}

--*/

@media (max-width: 767px){  
    .section-about{
        grid-column: 1 ;
        grid-row: 1;
        margin-right: auto;
        margin-left: auto;
    }
    
    .section-news{
        grid-column: 1 ;
        grid-row: 2;
        margin-right: auto;
        margin-left: auto;
    }
	
	.section-festfuehrer{
        grid-column: 1;
      	grid-row: 3;
    }
	
	.section-flyer{
        grid-column: 1;
        grid-row: 4;
        margin-right: auto;
        margin-left: auto;
        width: 100%;
    }
	
	.section-plakate{
        grid-column: 1;
        grid-row: 5;
    }
    
    /*-- Ausgeblendet für Waldfest 2021
    
    .section-kinowerbung{
        grid-column: 3 / 3;
        grid-row: 2;
    }
      
	 .section-socialmedia{
        grid-column: 1;
        grid-row: 4;
        margin-right: auto;
        margin-left: auto;
        width: 100%;
    }
    --*/
}

/*-- ANFAHRT UND PARKING (#anfahrt) --*/
.anfahrt-content {
    min-height: 100vh;
    padding-top: 10vh;
    padding-bottom: 10vh;
    background-color:#282b2f;
    width: 100%;
    background-size: cover;
  }

.map-section{
    display: grid;
    grid-gap: 2vh;
}

.section-anfahrt {
    background-color: rgba(0, 0, 0, 0.5);
    grid-column: 1;
    grid-row: 1;
    text-align: center;
    padding-top: 2vh;
}

.section-parking {
    background-color: rgba(0, 0, 0, 0.5);
    grid-column: 2;
    grid-row: 1;
    text-align: center;
    padding-top: 2vh;
}

@media (max-width: 767px){
    .section-anfahrt {
        grid-column: 1;
        grid-row: 1;
        margin-right: auto;
        margin-left: auto;
        width: 100%;
    }

    .section-parking {
        grid-column: 1;
        grid-row: 2;
        margin-right: auto;
        margin-left: auto;
        width: 100%;
    }
}
/*-- GALERIE (#galerie) --*/
    .galerie-content {
        min-height: 100vh;
        padding-top: 10vh;
        padding-bottom: 10vh;
        background-color:#282b2f;
        background-size: cover;
        width: 100%;
      }
    
    .section-galerie{
        background-color: rgba(0, 0, 0, 0.5);
        grid-column: 1;
        grid-row: 1;
        text-align: center;
        padding-top: 5vh;
    
      }
    
    .galerie-grid{
        display: grid;
        grid-template-columns: repeat(
          auto-fill,
          minmax(var(--auto-grid-min-size, 11rem), 1fr)
        );
        grid-gap: var(--auto-grid-gap, 5px);
        padding-left: 1vh;
        padding-right: 1vh;
        padding-bottom: 10vh;
    }
    
    ul.galerie-grid{
        list-style-type: none;
    }
    
    .galerie {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        aspect-ratio: 1/1;
        position: relative;
        padding: 1.5rem;
        color: #ffffff;
        backface-visibility: hidden;
        text-decoration: none;
        overflow: hidden;
      }


    .galerie img {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
        z-index: 0;
        object-fit: cover;
        filter: grayscale(0);
        transition: filter 200ms ease, transform 250ms linear;
      }
    
    .galerie:hover img {
        filter: grayscale(0);
        transform: scale(1.05) rotate(1deg);
    }

    @media (max-width: 500px){
        .galerie-grid{
            display: grid;
            grid-template-columns: repeat(
              auto-fill,
              minmax(var(--auto-grid-min-size, 8rem), 1fr)
            );
            grid-gap: var(--auto-grid-gap, 5px);
            padding-left: 0;
            padding-right: 0;
            padding-bottom: 5vh;
        }
       
    }

/*-- WETTER (#wetter) --*/
.wetter-content {
    padding-top: 10vh;
    padding-bottom: 10vh;
    background-color:#282b2f;
    min-height: 100vh;
    background-size: cover;
    width: 100%;
  }

.wetter-content .widget {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100000;
    text-align: center;
    line-height: 0;
    font-weight: normal;
  }

.wetter-section{
    display: grid;
    grid-gap: 2vh;
  }

  .section-prognose{
    background-color: rgba(0, 0, 0, 0.5);
    grid-column: 1;
    grid-row: 1;
    text-align: center;
    padding-top: 5vh;
  }

  .meteoblue {
      padding-bottom: 5vh;
  }

  .meteoblue a {
      color:white;
      font-style: italic;
      font-weight: 100;
      
  }

  @media (max-width: 500px){
    .wetter-content {
        padding-top: 10vh;
        padding-bottom: 10vh;
    }
}

/*-- SPONSOREN (#sponsoren) --*/
 .sponsoren-content {
    min-height: 100vh;
    padding-top: 10vh;
    padding-bottom: 10vh;
    background-color:#282b2f;
    background-size: cover;
    width: 100%;
  }

.section-sponsoren{
    background-color: rgba(0, 0, 0, 0.5);
    grid-column: 1;
    grid-row: 1;
    text-align: center;
    padding-top: 5vh;

  }

.sponsoren-grid{
    display: grid;
    grid-template-columns: repeat(
      auto-fill,
      minmax(var(--auto-grid-min-size, 10rem), 1fr)
    );
    grid-gap: var(--auto-grid-gap, 5px);
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 10vh;
}

ul.sponsoren-grid{
    list-style-type: none;
}

.sponsor {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    aspect-ratio: 1/1;
    position: relative;
    padding: 1rem;
    color: #ffffff;
    backface-visibility: hidden;
    text-decoration: none;
    overflow: hidden;
  }

.sponsor::before,
.sponsor::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  /*inset: 0;*/
  top: 0;
  left: 0;
}

.sponsor::before {
    background: black;
    transition: 300ms opacity linear;
  }
  
.sponsor::after {
    background: linear-gradient(
      45deg,
      #fae616 10%,
      black 100%
    );
    opacity: 0;
    transition: 300ms opacity linear;
  }

.sponsor > * {
    z-index: 1;
  }

.sponsor h2,
.sponsor p {
  transform: translateY(2ex);
}

.sponsor h2 {
  font-size: 0.7rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.03ch;
  transition: 300ms transform ease;
  hyphens: auto;
}

.sponsor p {
  font-size: 0.8rem;
  font-weight: 500;
}

.sponsor p {
  opacity: 0;
  transition: 300ms opacity linear, 300ms transform ease-in-out;
}


.sponsor:hover :is(h2, p),
.sponsor:focus :is(h2, p) {
  transform: none;
}

.sponsor:hover::after,
.sponsor:focus::after,
.sponsor:hover::before,
.sponsor:focus::before {
  opacity: 0.7;
}

.sponsor:hover p,
.sponsor:focus p {
  opacity: 1;
  transition-delay: 200ms;
}


@media (max-width: 500px){
    .sponsoren-grid{
        display: grid;
        grid-template-columns: repeat(
          auto-fill,
          minmax(var(--auto-grid-min-size, 8rem), 1fr)
        );
        grid-gap: var(--auto-grid-gap, 5px);
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 5vh;
    }

    .sponsor h2 {
        font-size: 0.8 rem;
        line-height: 1.1;
        font-weight: 900;
        letter-spacing: 0.03ch;
        transition: 300ms transform ease;
		hyphens: auto;
    }
      
    .sponsor p {
        font-size: 0.7 rem;
        font-weight: 500;
    }

    .sponsor p {
        opacity: 100;
        
    }

}

  /*-- FOOTER (#footer) --*/
  footer {
    text-align: center;
    background-color: #282b2f;
    padding: 5vh 0px;
  }

 /*-- IMPRESSUM (impressum.html) --*/
  .impressum-content{
    min-height: 100vh;
    padding-top: 5vh;
    padding-bottom: 5vh;
    background-color:#282b2f;
    width: 100%;
    background-size: cover;
  }

  .impressum-content a{
      color: white;
  }