/*! HTML5 Boilerplate v7.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

 
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */



/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #000;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




 /* ==========================================================================
   Author's custom styles
   ========================================================================== */

*, *:before, *:after{
  box-sizing: border-box;
}

html {
  font-size: 110%;
}

body {
  color: black;
}
body, .callout, nav ul {
  margin: 0;
}

.bg_bild{
background-image: url('koppel.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;
height: 100%;
}
img{
max-width:100%;
margin: 0;
padding: 0;
}
.bild1{
float: left;

margin-right: 0.5rem;
margin-bottom: 0.5rem;
max-width: 100%;
}
.bild2{
float: right;
margin-left: 0.5rem;
margin-bottom: 0.5rem;
max-width: 100%;
}
#bilder{
display: flex;
flex-direction: row;
max-width: 510px;
}
#holder {
  background-color: white;
  background: rgba(255,255,255, 0.7); 
}
#holder2 {
  background-color: white;
  background: rgba(255,255,255, 0.7); 
}
.b{
font-family: comic sans ms;
font-weight: bold;
color: red;
border: 1px solid blue;
}
header{
	background-image: url('banner2.gif');
	background-repeat: no-repeat;
	max-width: 100%;
	background-position: center;
	background-size: 98%;
	height: 121px;
}
.callout {
  font: bold 1.3rem Georgia, "Times New Roman", Times, serif;
  padding: 0.5rem;
}
.horu{
max-width: 96%;
text-align: center;
}
h2{
  color: #EE4539;
}
h3{
color: #B3632A;
}
nav {
  text-align: center;
}

nav ul {
  padding: 0.2rem;
}

nav ul li {
  list-style-type: none;
  display: inline-block;
  margin-top: 0.3rem;
  transition: all 1s ease;
}

nav ul a {
  padding: 0.3rem;
  font-size: 0.8rem;
  font-weight: bold;
  text-decoration: none;
  color: #A37B2E;
  background: #87BE71;
  border-radius: 0.3em;
}
nav a:hover{
  color: #E8C87B;
  
}
nav ul li:hover{
transform: rotate(15deg);
}
nav ul li .sub{
display: none;
}
nav ul li:hover .sub{
display: block;
}
main {
  padding: 0 0.4rem;
}

main p {
  font-size: 1rem;
  line-height: 1.4;
  text-align: justify;
}
.mehrspaltig{
	-webkit-column-width: 30em;
	column-width: 30em;
}
article{
padding: 10px;

}
.section{
max-width: 80%;
}
/*-- Menübutton -- */
 
.button{
  display: inline-block;
  padding: 0.6rem;
  text-decoration: none;
  color: #fff;
  font-family: comic sans ms;
  font-size: 12px; 
  text-align: center;
  border-radius: 10px;
  background-color: #4D96E3;
  transition: all 1s ease;
}
.button:hover{
  color: #fff;
  background-color: #4D96E3;
  
  /*
    
    * background-image: -webkit-linear-gradient(#4D96E3,#4D96E3);
  background-image: linear-gradient(#4D96E3,#4D96E3);*/
  transform: rotate(15deg);
}

/*-- Menübutton Ende -- */

footer {
  font-size: 0.8rem;
  padding: 0.4rem;
  color: #000;
  font-size: 0.8rem;
  border-top: 1px solid #655843;
}
/*-----------------------------------------------------*/
@media screen and (min-width: 40em) {

html {
  font-size: 100%;
}

#holder {
  display: flex;
  flex-wrap: wrap;
  width: 85%;
  max-width: 70rem;
  margin: 0 auto;
}
#holder2 {
  display: flex;
  flex-wrap: wrap;
  width:95%;
  max-width: 80rem;
  margin: 0 auto;
}
header{
	background-image: url('banner2.gif');
	background-repeat: no-repeat;
	max-width: 100%;
	background-position: center;
	background-size: 98%;
	height: 218px;
}
header, footer {
  	width: 100%;
}
.callout {
  font-size: 2rem;
  padding: 0.8rem;
}
.horu{
max-width: 96%;
text-align: center;
}

nav {
  flex-basis: 23%;
  padding: 1rem;
  text-align: left;
  
}

nav ul {
  padding: 0.2rem;
  background: #87BE71;
  border-right: 1px solid #655843;
  border-top: 1px solid #655843;
  border-top-right-radius: 40px;
}

nav ul li {
  padding: 0.2rem;
  display: block;
  margin-top: 0;
  border-bottom: 1px dashed #000;
}
nav ul li:hover{
transform: rotate(0);
}
.border_bottom{
  border-bottom: 0px;
}
.sub{
border-bottom: 0px;
border-right: 0px;
border-top: 0px;
}
nav ul a {
  display:inline-block;
  width: 90%;
  font-size: 1rem;
  margin: 0.1rem;
  padding: 0.3rem;
  color: #A37B2E;
  
}

nav a:hover, nav a:active, nav a:focus{
  color: #E8C87B;
  background: #87BE71;
}
.gras{
	background-image: url('gras.gif');
	background-repeat: repeat-x;
	width: 100%;
	height: 70px;
}
main {
  flex: 1;
  padding: 0 1rem;
}

.section{
max-width: 80%;
}
footer {
  font-size: 0.8rem;
  padding: 0.8rem;
  border-top: 1px solid #655843;
}

}


 /* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

 
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

   @media only screen and (min-width: 40em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

 
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


