/* ibm-plex-sans-regular - latin */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/ibm-plex-sans-v14-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/ibm-plex-sans-v14-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/ibm-plex-sans-v14-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/ibm-plex-sans-v14-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/ibm-plex-sans-v14-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/ibm-plex-sans-v14-latin-regular.svg#IBMPlexSans') format('svg'); /* Legacy iOS */
  }
  /* ibm-plex-sans-700 - latin */
  @font-face {
    font-family: 'IBM Plex Sans';
    font-style: bold;
    font-weight: 700;
    src: url('../fonts/ibm-plex-sans-v14-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/ibm-plex-sans-v14-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/ibm-plex-sans-v14-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/ibm-plex-sans-v14-latin-700.woff') format('woff'), /* Modern Browsers */
         url('../fonts/ibm-plex-sans-v14-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/ibm-plex-sans-v14-latin-700.svg#IBMPlexSans') format('svg'); /* Legacy iOS */
  }

body {
    background-color: #222222; /*fallback color */
    background-size: cover;
    font-family: 'IBM Plex Sans', sans-serif;
    margin: 0;
}

body.bg1 {
    background: url(../img/Bioenergie-Ambergau-aus-der-Luft-blau.webp) no-repeat center top fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

body.bg2 {
    background: url(../img/Bioenergie-Ambergau-aus-der-Luft-braun-dunkel.webp) no-repeat center top fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}


h2 {
    margin-top: 0;
    padding-top: 10px;
}

div.start h3 a {
    color: white;
}

a {color: #4C8D60;}

a:hover {color: #FEDE65;}

address {
    display: block;
    font-style: normal;
}


header, footer, div.page, div.start {
    width: 280px;
    padding: 20px 20px 20px 20px;
    margin: 0 auto;
    margin-top: 50px;
    font-size: 90%;
}

#pic {
    border: 1px solid white;
    width: 100%;
}

.embed-container {
  border: 1px solid white;
  position: relative;
  padding-bottom: 56.25%; /* ratio 16x9 */
  height: 0;
  overflow: hidden;
  width: 100%;
  height: auto;
}
.embed-container iframe {

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* ratio 4x3 */
.embed-container.ratio4x3 {
  padding-bottom: 75%;
}


/* ============================ Header ============================ */

header nav {float: right;}

header img {
    margin-top: 0;
    margin-right: 5px;             /* wenn zu hoch > Umbruch Navi */
    width: 52%;
}

header nav ul {
    list-style: none;
    margin-top: 7px;               /* Ausrichtung Navi oben */
    padding: 0;
}

header nav ul li {                   /* einzelne li-Elemente */
    font-weight: bold;
    margin: 0 4px 0 0;
    padding: 0;
}

header nav ul li a {
    color: #4C8D60;
    margin: 4px 4px 0 0;
    text-decoration: none;
}

header nav ul li a:hover {color: #FEDE65;}


/* ============================ DIVs ============================ */

div.page {
    color: white;
    margin-top: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

div.start {
    color: white;
    line-height: 1.8;
    margin-bottom: 8%;
    text-align: left;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* ============================ Footer ============================ */

footer {
    background: white;
    background: rgba(256, 256, 256, 0.0);
    color: #dddddd;
    font-size: 60%;
    font-weight: bold;
    text-align:center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

footer a {
    color: #dddddd;
    text-decoration: none;
}

footer img {
    width: 20%; /* Fachverband Biogas */
}




/* ============================ Responsive ============================ */

/* === Small devices (portrait tablets and large phones, 600px and up) === */
@media only screen and (min-width: 600px) {

header, footer, div.page, div.start {
    font-size: 100%;
    width: 480px;
}

header img {
    margin-right: 5px;             /* wenn zu hoch > Umbruch Navi */
    width: 52%;
}

header nav ul {
    list-style: none;
    margin-top: 15px;               /* Ausrichtung Navi oben */
    padding: 0;
}

div.start {
    font-size: 100%;
    margin-top: 50px;
    padding-left: 0px;
    padding-right: 0px;
}

footer {font-size: 80%;}




/* === Medium devices (landscape tablets, 768px and up) === */
@media only screen and (min-width: 768px) {
    header, footer, div.page, div.start {
        font-size: 100%;
        width: 480px;
    }

    header img {
        margin-right: 5px;             /* wenn zu hoch > Umbruch Navi */
        width: 52%;
    }

    header nav ul {
        list-style: none;
        margin-top: 15px;               /* Ausrichtung Navi oben */
        padding: 0;
    }

    div.start {
        font-size: 100%;
        margin-top: 50px;
        padding-left: 0px;
        padding-right: 0px;
    }

    footer {font-size: 80%;}

}


/* === Large devices (laptops/desktops, 992px and up) === */
@media only screen and (min-width: 992px) {
header, footer, div.page, div.start {
    font-size: 105%;
    width: 580px;
}

    header img {
        margin-right: 5px;             /* wenn zu hoch > Umbruch Navi */
        width: 58%;
    }

    header nav ul {
        list-style: none;
        margin-top: 22px;               /* Ausrichtung Navi oben */
        padding: 0;
    }

    div.start {
        font-size: 100%;
        margin-top: 70px;
        padding-left: 0px;
        padding-right: 0px;
    }

    footer {font-size: 90%;}

}

/* === Extra large devices (large laptops and desktops, 1200px and up) === */
@media only screen and (min-width: 1200px) {
    header, footer, div.page, div.start {
        font-size: 105%;
        width: 680px;
    }

        header img {
            margin-right: 5px;             /* wenn zu hoch > Umbruch Navi */
            width: 52%;
        }

        header nav ul {
            list-style: none;
            margin-top: 22px;               /* Ausrichtung Navi oben */
            padding: 0;
        }

        div.start {
            font-size: 110%;
            margin-top: 60px;
            padding-left: 0px;
            padding-right: 0px;
        }

        footer {font-size: 95%;}

}


/* === XXX large devices (large laptops and desktops, 1900px and up) === */
@media only screen and (min-width: 1900px) {
    header, footer, div.page, div.start {
        font-size: 105%;
        width: 780px;
    }

        header img {
            margin-right: 5px;             /* wenn zu hoch > Umbruch Navi */
            width: 55%;
        }

        header nav ul {
            list-style: none;
            margin-top: 35px;               /* Ausrichtung Navi oben */
            padding: 0;
        }

        div.start {
            font-size: 120%;
            margin-top: 40px;
            padding-left: 0px;
            padding-right: 0px;
        }

        footer {font-size: 110%;}

}
}
