/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

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

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

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

textarea {
    resize: vertical;
}

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


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

@font-face {
  font-family: 'waldstein';
  src: url('../font/waldstein-webfont.eot');
  src: url('../font/waldstein-webfont.eot?#iefix') format('embedded-opentype'),
  url('../font/waldstein-webfont.woff2') format('woff2'),
  url('../font/waldstein-webfont.woff') format('woff'),
  url('../font/waldstein-webfont.ttf') format('truetype'),
  url('../font/waldstein-webfont.svg#waldsteincondensed') format('svg');
  font-weight: normal;
  font-style: normal;
}

ul,
ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: #2d63b2;
}

a:hover {
  opacity: 0.8;
}

.color-1 { color: #C01B1D; } /* red */
.color-2 { color: #336F37 } /* green */
.color-3 { color: #635699; } /* purple */
.color-4 { color: #EF9948; } /* orange */
.color-5 { color: #2d63b2; } /* blue */

body {
  font-size: 14px;
  font-family: 'waldstein';
  margin: 0;
  padding: 0;
}

#header {
  position: relative;
}

h1 {
  margin: 0;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -200px;
  width: 400px;
  height: 180px;
  z-index: 1;
}

h1 a:hover {
  opacity: 1;
}

h1 img {
  width: 100%;
}

#header nav ul {
  position: absolute;
  top: 180px;
  z-index: 2;
  left: 0;
  right: 0;
}

#header nav ul {
  text-align: center;
}

#header nav ul li {
  text-shadow: -1px 0 2px #ffffff, 0 1px 2px #ffffff, 1px 0 2px #ffffff, 0 -1px 2px #ffffff;
  font-size: 36px;
  display: inline-block;
  margin: 0 40px;
  transition: all 0.4s;
  transform: rotate(-1deg);
  white-space: nowrap;
}

#header nav ul li:hover {
  transform: rotate(1deg);
}

.sized {
  margin: 0 auto;
  width: 560px;
}

.align-center {
  text-align: center;
}

ul.logos {
  text-align: center;
}

ul.logos li {
  box-sizing: border-box;
  padding: 0 20px;
  display: inline-block;
  margin: 0;
}

ul.logos li img {
  max-width: 90%;
  max-height: 130px;
}

#content-box {
  background: rgba(255, 255, 255, 0.6);
  padding: 10px;
  border-radius: 20px;
  top: 280px;
  position: relative;
  margin-bottom: 80px;
}

ul.link-list li {
  text-transform: uppercase;
  font-size: 30px;
  text-align: center;
}

#footer {
  position: fixed;
  bottom: 10px;
  right: 10px;
}

iframe {
  width: 100%;
}

.aspect-ratio {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.5%;
}

.aspect-ratio iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0; top: 0;
}

/* Animations */

#bird {
  cursor: pointer;
  position: absolute;
  width: 75px;
  height: 53px;
  top: 230px;
  left: 35%;
  z-index: 3;
  background: url(../img/vogel.png) center no-repeat;
  background-size: 75px 53px;
  transition: all 0.4s;
}

#bird:hover {
  transform: rotate(5deg);
}












/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 1100px) {
  #header nav ul li {
    font-size: 30px;
  }
}

@media only screen and (max-width: 1000px) {
  #header nav ul li {
    width: 50%;
    display: block;
    margin: 0;
    float: left;
    font-size: 30px;
  }
}

@media only screen and (max-width: 600px) {
  h1 {
    width: 300px;
    margin-left: -150px;
  }

  #bird {
    top: 250px;
    left: 30px;
  }

  #content-box {
    top: 300px;
  }

  .sized {
    margin-left: 10px;
    margin-right: 10px;
    width: auto;
  }

  iframe {
    max-width: 100%;
  }

}

@media only screen and (max-width: 520px) {
  #header nav ul li {
    font-size: 20px;
  }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

.hidden {
    display: none !important;
    visibility: hidden;
}

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !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) ")";
    }

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

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

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

    img {
        max-width: 100% !important;
    }

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

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