@import url(normalize.css);
@import url(https://fonts.googleapis.com/css?family=Tangerine:400,700);
@import url(https://fonts.googleapis.com/css?family=Raleway:400);

/* Generell */
body {
  background: #cff;
  color: #000;
  font-family: 'Raleway',sans-serif;
  font-size: 2em;
  font-weight: 400;
  height: 100%;
  line-height: 2.5em;
  margin: 0 auto;
  max-width: 900px;
  min-width: 320px;
  padding: 0;
  text-align: center;
  width: 95%;
}
p {
  font-size: .8em;
  line-height: 1.4em;
  font-weight: 400;
  text-align: left;
}
a:link,
a:visited {
  color: #00c;
  text-decoration: none;
}
a:hover,
a:active {
  color: #000;
  transition: .5s;
}

.button {
  background: #0cc;
  border: 2px solid #00f;
  border-radius: 4px;
  color: #000;
  display: inline-block;
  font-weight: 700;
  padding: 10px 10px 5px;
  line-height: 1em;
}
.button:hover,
.button:active {
  color: #000;
  transition: .5s;
  box-shadow: 0 0 4px #00f;
}

.center {
  text-align: center;
}

/* Kopfzeile */
header {
  display: block;
}
header h1 {
  color: #c00;
  display: inline-block;
  font-size: 4em;
  font-weight: 700;
  margin: 1em 0 0;
  font-family: 'Tangerine',sans-serif;
}
header a:link,
header a:active,
header a:hover,
header a:visited {
  color: #c00;
}

/* Hauptteil */
main {
  display: block;
}
main h1 {
  color: #c00;
  margin: 1.5em 0 1em;
  font-size: 2.5em;
  font-weight: 400;
  font-family: 'Tangerine',sans-serif;
}
main h2 {
  margin: 1em auto .5em;
  font-size: 2em;
  font-weight: 400;
  font-family: 'Tangerine',sans-serif;
}

/* Anordung der Elemente */
.right {
  width: 400px;
  float: right;
}
.centerleft {
  padding: .1em 0 0;
  margin: 1em auto;
  margin-right: 430px;
}
.clear {
  padding-top: .5em;
  clear: both;
}

/* Floating boxes */
.floating-box,
.floating-box2,
.floating-box3 {
  display: inline-block;
}

.floating-box {
  max-width: 250px;
  margin: 20px;
  min-height: 400px;
  vertical-align: top;
}

.floating-box3 {
  width: 350px;
  margin: 20px;
  text-align: left;
}

.floating-box h3 {
  margin: 0 auto;
  text-align: center;
  color: #c00;
  line-height: 1em;
  font-size: 1.5em;
  font-family: 'Tangerine',sans-serif;
}

.floating-box p {
  margin: 0 auto;
  text-align: left;
  line-height: 1em;
  font-size: .7em;
}


/* Bilder */
iframe,
.rounded img,
.floating-box img {
  border: 2px solid #00c;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

/* Anpassung an kleine Display */
@media all and (max-width: 850px) {
  .right {
    width: 100%;
    float: none;
  }
  .centerleft {
    padding: 0;
    width: 100%;
    margin: jem auto;
  }
  header h1 {
    line-height: 1em;
    margin-top: .4em;
  }
  img {
    max-width: 100%;
  }
  iframe {
    max-width: 100%;
  }
}
@media all and (max-width: 420px) {
  img {
    width: 100%;
  }
  p {
    font-size: .7em;
    line-height: 1.3em;
  }
}
