article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
  display: block;
}

html {
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff url(images/topbluefade.gif) repeat-x;
}

body {
  text-align: center;

  background: url(images/sun.png) 32% 7% no-repeat, url(images/cloud.png) 90% 10% no-repeat, url(images/tree-small.png) 10% 89% no-repeat, url(images/cloud2.png) 15% 10% no-repeat, url(images/flower.png) 80% 93% no-repeat, url(images/apple.png) 20% 93% no-repeat;

  font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
  font-size: 100%;

  _background-image: none;
  /*  -webkit-animation-name: drifting;
  -webkit-animation-duration: 9s;
  -webkit-animation-iteration-count: 2;
  -webkit-animation-direction: alternate;
  -webkit-animation-timing-function: ease-in-out;*/
}

/*
@-webkit-keyframes drifting {
  0% {
    background-position: 90% 10%;
  }
  50% {
    background-position: 92% 12%;
  }
  80% {
    background-position: 89% 11%;
  }
  100% {
    background-position: 90% 10%;
  }
}*/

nav h1 {
  float: left;

  width: 0;
  height: 0;
  margin: 0;

  text-indent: -600em;
}

#navlinks {
  margin: 5px 0;
  padding: 0.5em 3em;

  font-size: 1.125em;
}

#navlinks li {
  display: inline;

  margin-right: 0.5em;
  padding-right: 0.625em;

  border-right: 1px solid #99C;

  font-weight: bold;
  line-height: 1.625em;
}

#navlinks li.last {
  border-right: 0;
}

#navlinks a {
  display: inline-block;

  -webkit-transition: color 0.5s linear;
  transition: color 0.5s linear;
  text-decoration: none;

  color: green;
  border-bottom: 3px solid rgba(255, 255, 255, 0);
}

#navlinks a:hover,
#navlinks a:focus {
  color: #FF1A00;
  border-bottom: 3px solid #cf0;
  outline: none;
}

.banner {
  position: relative;
}

.banner:after {
  position: absolute;
  top: 140px;
  left: 50%;

  width: 70px;
  height: 70px;
  margin-left: 270px;

  content: "";
  -webkit-transform: rotate(70deg);
  transform: rotate(70deg);
  -webkit-animation: rainbow 5s ease-in-out infinite;
  animation: rainbow 5s ease-in-out infinite;

  border-radius: 170px 0 0 0;
  -webkit-box-shadow: #FB323C -2px -2px 0 1px, #F99716 -4px -4px 0 3px, #FEE124 -6px -6px 0 5px, #AFDF2E -8px -8px 0 7px, #6AD7F8 -10px -10px 0 9px, #60B1F5 -12px -12px 0 11px, #A3459B -14px -14px 0 13px;
  box-shadow: #FB323C -2px -2px 0 1px, #F99716 -4px -4px 0 3px, #FEE124 -6px -6px 0 5px, #AFDF2E -8px -8px 0 7px, #6AD7F8 -10px -10px 0 9px, #60B1F5 -12px -12px 0 11px, #A3459B -14px -14px 0 13px;
}

@-webkit-keyframes rainbow {
  50% {
    -webkit-transform: rotate(80deg);
  }
}

@keyframes rainbow {
  50% {
    -webkit-transform: rotate(80deg);
    transform: rotate(80deg);
  }
}

#tree,
#tree:before,
#tree:after {
  width: 600px;
  height: 400px;

  border: 6px solid #fff;
  -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

#tree {
  position: relative;

  margin: 60px auto 70px;

  cursor: pointer;
}

#tree:before,
#tree:after {
  position: absolute;
  z-index: -1;
  content: "";
  background: #768590;
}

#tree:before {
  background: #eff4de;
}

#tree:hover {
  -webkit-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.stack1:after {
  top: -2px;
  left: -6px;
}

.stack1:before {
  top: 4px;
  left: -6px;
}

.stack2:after {
  top: 5px;
  left: 0;
  -webkit-transform: rotate(4deg);
  transform: rotate(4deg);
}

.stack2:before,
.stack3:after {
  left: -10px;
  -webkit-transform: rotate(-5deg);
  transform: rotate(-5deg);
}

.stack2:before {
  top: 0;
}

.stack3:after {
  top: -2px;
}

.stack3:before {
  z-index: -1;
  top: 5px;
  left: -15px;
  -webkit-transform: rotate(-10deg);
  transform: rotate(-10deg);
}

.stack4:after {
  top: -17px;
  left: -16px;
  -webkit-transform: rotate(-3deg);
  transform: rotate(-3deg);
}

.stack4:before {
  top: -19px;
  left: -26px;
  -webkit-transform: rotate(-7deg);
  transform: rotate(-7deg);
}

.stack5:after {
  top: -8px;
  left: -6px;
  -webkit-transform: rotate(5deg);
  transform: rotate(5deg);
}

.stack5:before {
  top: -10px;
  left: -6px;
  -webkit-transform: rotate(9deg);
  transform: rotate(9deg);
}

.stack6:after {
  top: -2px;
  left: 8px;
  -webkit-transform: rotate(2deg);
  transform: rotate(2deg);
}

.stack6:before,
.stack7:before {
  -webkit-transform: rotate(8deg);
  transform: rotate(8deg);
}

.stack6:before {
  top: -6px;
  left: 12px;
}

.stack7:after {
  top: -5px;
  left: -6px;
  -webkit-transform: rotate(-8deg);
  transform: rotate(-8deg);
}

.stack7:before {
  top: -5px;
  left: -6px;
}

img.shadow {
  margin: 10px;
  padding: 10px;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  -webkit-box-shadow: 3px 3px 6px #ccc;
  box-shadow: 3px 3px 6px #ccc;
}

img.shadow:hover {
  -webkit-transform: rotate(-0.5deg);
  transform: rotate(-0.5deg);
  -webkit-box-shadow: 3px 3px 8px #b2b2b2;
  box-shadow: 3px 3px 8px #b2b2b2;
}

*img.shadow {
  padding: 5px 10px 10px 5px;
  background: url(images/shadow-1000x1000.gif) no-repeat right bottom;
}

h1 {
  margin: .7em 0 .5em;
  color: #151515;
  text-shadow: #999 1px 1px 3px;
  font-size: 3em;
}

h1 span {
  position: relative;
  display: inline-block;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

h1 span:hover {
  top: 3px;
}

h1 .char1 {
  -webkit-transform: rotate(-3deg);
  transform: rotate(-3deg);
}

h1 .char1:hover {
  color: #C44032;
}

h1 .char2:hover {
  color: #E36B23;
}

h1 .char3 {
  top: -1px;
  -webkit-transform: rotate(2deg);
  transform: rotate(2deg);
}

h1 .char3:hover {
  color: #E6C92E;
}

h1 .char4 {
  top: -3px;
}

h1 .char4:hover {
  color: #5DA028;
}

h1 .char5:hover {
  color: #4584BE;
}

h1 .char6 {
  top: -2px;
  -webkit-transform: rotate(-2deg);
  transform: rotate(-2deg);
}

h1 .char6:hover {
  color: #7073CF;
}

h2 {
  margin-top: -10px;
  font-size: 1.250em;
}

h2 a:link,
h2 a:visited {
  text-decoration: none;
  color: #FF1A00;
}

h2 a:hover,
h2 a:focus {
  color: #008C00;
}

p {
  font-size: 0.75em;
  line-Height: 0.2em;
}

img {
  border: 0;
}

hr {
  width: 80%;
}

.button {
  cursor: pointer;
}

footer {
  background: transparent url(images/an_ant_circling.gif) no-repeat left bottom;
}

address p {
  padding-bottom: 6px;
}

#leaf {
  vertical-align: bottom;
}

#hcard-miname {
  display: none;
}

#hcard-download {
  padding: 5px 0 0 34px;

  text-decoration: none;

  background: transparent url(images/icon-hcard-download.png) no-repeat left top;
}

#hcard-download:hover,
#hcard-download:focus {
  border-bottom: 2px solid #cf0;
  outline: none;
}

#copyright {
  font-size: 0.6875em;
}

/** Sliding Twitter **/
#sliding_twitter {
  position: absolute;
  top: 190px;
  left: 40px;
  display: none;

  width: 300px;
  height: 266px;

  text-align: left;
  background: -webkit-gradient(linear, left top, left bottom, from(#fe6), color-stop(60%, #f5da41), to(#f6ef97));
  background: linear-gradient(to bottom, #fe6, #f5da41 60%, #f6ef97);
  background-color: #fe6;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  text-shadow: 0 1px 0 #F6EF97;
}

#sliding_twitter:before,
#sliding_twitter:after,
#sliding_twitter h1:before {
  position: absolute;

  display: block;

  content: '';

  opacity: 1;
}

#sliding_twitter:before,
#sliding_twitter:after {
  z-index: -1;
  bottom: 3px;
  left: 10px;

  width: 90%;
  height: 20%;

  background-color: rgba(0, 0, 0, .5);
  -webkit-box-shadow: 0 0 10px #000;
  box-shadow: 0 0 10px #000;
}

#sliding_twitter:before {
  -webkit-transform: rotate(-3deg);
  transform: rotate(-3deg);
}

#sliding_twitter:after {
  -webkit-transform: rotate(3deg);
  transform: rotate(3deg);
}

#sliding_twitter h1:before {
  top: -15px;
  left: 80px;

  width: 90px;
  height: 25px;

  -webkit-transform: rotate(-2deg);
  transform: rotate(-2deg);

  background-color: rgba(255, 255, 255, .25);
  -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, .15);
  box-shadow: 0 0 2px rgba(0, 0, 0, .15);
}

#sliding_twitter h1 {
  margin: 15px 0 5px 20px;
  padding-left: 20px;

  font: bold 14px georgia, times, serif;

  background: transparent url(images/yada.png) no-repeat left top;
}

#sliding_twitter h1 a {
  text-decoration: none;
  color: #008000;
}

#sliding_twitter h1 a:hover,
#sliding_twitter h2 a:focus {
  border-bottom: 1px solid #999;
}

@-ms-viewport {
  width: device-width;
}

/* IE10 Viewport fix */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
  body {
    background: url(images/cloud.png) 90% 10% no-repeat, url(images/cloud2.png) 15% 10% no-repeat;
  }

  #navlinks {
    font-size: 2em;
  }

  #navlinks li {
    line-height: 2.125em;
  }
}