/*
Theme Name: Weltrekords
Theme URI: http://weltrekords.ch/
Description: Custom Template for Weltrekords
Author: Roger Burkhard
Author URI: http://www.rogerburkhard.com
*/

/*------------------------------------------------------
THE BIG FAT RESET
------------------------------------------------------*/

html, body, div, span, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td, header, footer {
  margin: 0;
  padding: 0;
}

/*------------------------------------------------------
GENERAL
------------------------------------------------------*/

html {
  margin:0 !important;
}

body {
  width: 100%;
  height: 100%;
  font: bold 22px/30px Helvetica, Arial, Verdana, sans-serif;
  color: #fff;
  overflow-x: hidden;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  font-smoothing: antialiased;
  -webkit-backface-visibility: hidden;
  background:#000;
}

body.noscroll {
  overflow: hidden;
}

/*------------------------------------------------------
TYPOGRAPHY
------------------------------------------------------*/

h1 {
  margin: 0;
  padding: 0;
  font: bold 44px/52px Helvetica, Arial, Verdana, sans-serif;
  letter-spacing: 0.01em;
}

p {
  margin-bottom: 20px;
}

b, strong {
  font-weight: bold;
}

/*------------------------------------------------------
GENERAL LINKS
------------------------------------------------------*/

a {
  outline: none;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
  border-bottom:2px solid #fff;
}

a:hover {
  opacity: 0.8;
}

/* Firefox Hack to elmininate that ugly dotted line */
:focus {
  -moz-outline-style: none;
}

/*------------------------------------------------------
IMAGES
------------------------------------------------------*/

img {
  border: none 0;
}

/*------------------------------------------------------
CLEAR
------------------------------------------------------*/

.clear {
  clear: both;
}

/*------------------------------------------------------
WRAPPER
------------------------------------------------------*/

#wrapper {
  display:block;
  position:relative;
  z-index:5;
}

/*------------------------------------------------------
CONTENT
------------------------------------------------------*/

.logo_weltrekord, h1, .content {
  display:block;
  -webkit-transition:all 0.3s ease-in-out;
  transition:all 0.3s ease-in-out;
}

.logo_weltrekord span.logo_s {
  display:none;
}

.logo_weltrekord {
  margin:72px 0 35px 56px;
}

h1, .content {
  display:block;
  margin-left:72px;
  max-width: 540px;
}

.content {
  margin-top:52px;
  margin-bottom:52px;
}

a.go_to_pol {
  display:block;
  position:fixed;
  bottom:8px;
  right:20px;
  border-bottom:none 0;
}

/*------------------------------------------------------
STARS AND TWINKLING
------------------------------------------------------*/

.stars, .twinkling {
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  height:100%;
  display:block;
}

.stars {
  background:#000 url(images/stars.png) repeat top center;
  z-index:0;
}

.twinkling{
  background:transparent url(images/twinkling.png) repeat top center;
  z-index:1;
  -moz-animation:move-twink-back 700s linear infinite;
  -ms-animation:move-twink-back 700s linear infinite;
  -o-animation:move-twink-back 700s linear infinite;
  -webkit-animation:move-twink-back 700s linear infinite;
  animation:move-twink-back 700s linear infinite;
}

@keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-webkit-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-moz-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-ms-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}

/*------------------------------------------------------
Media Queries
------------------------------------------------------*/

@media all and (max-width: 660px) and (min-width: 0) {

  body {
    font-size:14px;
    line-height: 19px;
  }
  .logo_weltrekord {
    margin:32px 0 17px 24px;
  }
  .logo_weltrekord span.logo_m {
    display:none;
  }
  .logo_weltrekord span.logo_s {
    display:block;
  }
  h1 {
    font-size:28px;
    line-height: 33px;
  }
  h1, .content {
    margin-left:34px;
    max-width: 350px;
  }
  .content {
    margin-top:31px;
    margin-bottom:31px;
  }
  a.go_to_pol {
    display:none;
  }

}

@media all and (max-width: 390px) and (min-width: 0) {

  h1 {
    font-size:22px;
    line-height: 28px;
  }
  h1, .content {
    max-width: 260px;
  }

}