body {
    background: #600202 url(../images/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
        height: 100%;
    min-height: 100vh;
    position: relative;
    padding-bottom: 0;
}

#trees {
    position: fixed;
    width: 100%;
    height: 100%;
    background: url(../images/trees.png) bottom center;
    background-size: cover;
}

.decoration-wrapper {
    -moz-animation: 3s ease 0s normal none infinite swing;
    -moz-transform-origin: center top;
    -webkit-animation:swing 3s infinite ease-in-out;
    -webkit-transform-origin:top;
    -ms-animation:swing 3s infinite ease-in-out;
    -ms-transform-origin:top; 
}

.decoration {
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border: 10px solid #fff;
    position: relative;
}

.decoration .name {
    opacity: 0;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    box-sizing: border-box;
    text-align: center;
    padding-top: 40%;
    
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,.75);
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 1.4em;
    line-height: 1em;
    
    transition-delay: 0s;
    transition-property: all;
	transition-duration: .5s;
	transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}


.decoration span {
    font-family: "tk-expo-serif-pro", serif;
    font-size: 80%;
}

.decoration:hover .name {
    opacity: 1;
    transition-delay: .7s;
}

.decoration:before {
    height: 2000px;
    width: 35px;
    background: url("../images/string.png") bottom center;
    display: block;
    content: " ";
    position: absolute;
    top: -2005px;
    left: 50%;
    margin-left: -17px;
}

.decoration:after {
    height: 76px;
    width: 193px;
    background: url("../images/shadow.png") bottom center;
    display: block;
    content: " ";
    position: absolute;
    bottom: -67px;
    left: 50%;
    margin-left: -97px;
}

.decoration:hover {
    -webkit-animation-duration: 1s; 
    animation-duration: 1s; 
    -webkit-animation-fill-mode: both; 
    animation-fill-mode: both;
    -webkit-animation-name: bounce2; 
    animation-name: bounce2; 
}

.decoration-wrapper.pecak {
    transform-origin: 100px -40vh;
    -moz-animation: 3s sine 0s normal none infinite swing !important;
    -webkit-animation:swing 3s infinite ease-in-out;
    -ms-animation:swing 3s infinite ease-in-out;
    animation:swing 3s infinite ease-in-out;
}
.decoration-wrapper.pecak .decoration{
    background: url("../images/pecak.jpg");
    background-size: cover;
    position: absolute;
    top: 40vh;
    left: -80px;
    height: 200px;
    width: 200px;
}

.decoration-wrapper.vaca {
    transform-origin: 85px -20vh;
    -moz-animation: 2s sine 0s normal none infinite swing !important;
    -webkit-animation:swing 2s infinite ease-in-out;
    -ms-animation:swing 2s infinite ease-in-out;
    animation:swing 2s infinite ease-in-out;
}
.decoration-wrapper.vaca .decoration{
    background: url("../images/vaca.jpg");
    background-size: cover;
    position: absolute;
    top: 20vh; left: -50px;
    width: 170px;
    height: 170px;
}

.decoration-wrapper.domca {
    transform-origin: 80px -55vh;
    -moz-animation: 1.6s sine 0s normal none infinite swing !important;
    -webkit-animation:swing 1.6s infinite ease-in-out;
    -ms-animation:swing 1.6s infinite ease-in-out;
    animation:swing 1.6s infinite ease-in-out;
}
.decoration-wrapper.domca .decoration{
    background: url("../images/domca.jpg");
    background-size: cover;
    position: absolute;
    top: 55vh;
    left: -50px;
    width: 160px;
    height: 160px;
}

.decoration-wrapper.peta {
    transform-origin: 0px -16vh;
    -moz-animation: 2.7s sine 0s normal none infinite swing !important;
    -webkit-animation:swing 2.7s infinite ease-in-out;
    -ms-animation:swing 2.7s infinite ease-in-out;
    animation:swing 2.7s infinite ease-in-out;
}
.decoration-wrapper.peta .decoration{
    background: url("../images/peta.jpg");
    background-size: cover;
    position: absolute;
    top: 10vh;
    left: -100px;
    width: 220px;
    height: 220px;
}


.decoration-wrapper.david {
    transform-origin: 110px -55vh;
    -moz-animation: 3s sine 0s normal none infinite swing !important;
    -webkit-animation:swing 3s infinite ease-in-out;
    -ms-animation:swing 3s infinite ease-in-out;
    animation:swing 3s infinite ease-in-out;
}
.decoration-wrapper.david .decoration{
    background: url("../images/david.jpg");
    background-size: cover;
    position: absolute;
    top: 55vh;
    left: -100px;
    width: 220px;
    height: 220px;
}


.decoration-wrapper.mara {
    transform-origin: 85px -30vh;
    -moz-animation: 2s sine 0s normal none infinite swing !important;
    -webkit-animation:swing 2s infinite ease-in-out;
    -ms-animation:swing 2s infinite ease-in-out;
    animation:swing 2s infinite ease-in-out;
}
.decoration-wrapper.mara .decoration{
    background: url("../images/mara.jpg");
    background-size: cover;
    position: absolute;
    top: 30vh;
    left: -60px;
    width: 170px;
    height: 170px;
}

.shareaholic-canvas {
 margin-bottom: 10px;   
}

/* smaller than phablet */
@media (max-width: 550px) {

#trees {
    display: none;
}

.decoration-wrapper {
    position: static !important;
    margin: 0 auto !important;
    top: auto !important;
    left: auto !important;
    -moz-animation: 3s sine 0s normal none infinite rotation !important;
    -webkit-animation:rotation 3s infinite ease-in-out !important;
    -ms-animation:rotation 3s infinite ease-in-out !important; 
    transform-origin: top center !important; 
}
    
.decoration-wrapper.pecak {
    -moz-animation-duration: 5s !important;
    -webkit-animation-duration:5s !important;  
    -ms-animation-duration: 5s !important; 
    animation-duration: 5s !important;   
}

.decoration-wrapper.vaca {
    -moz-animation-duration: 4s !important;
    -webkit-animation-duration:4s !important;  
    -ms-animation-duration: 4s !important; 
    animation-duration: 4s !important;   
}
    
.decoration-wrapper.domca {
    -moz-animation-duration: 2s !important;
    -webkit-animation-duration:2s !important;  
    -ms-animation-duration: 2s !important; 
    animation-duration: 2s !important;   
}
    
.decoration-wrapper.david {
    -moz-animation-duration: 6s !important;
    -webkit-animation-duration:6s !important;  
    -ms-animation-duration: 6s !important; 
    animation-duration: 6s !important;   
}
    
.decoration-wrapper.mara {
    -moz-animation-duration: 2.5s !important;
    -webkit-animation-duration:2.5s !important;  
    -ms-animation-duration: 2.5s !important; 
    animation-duration: 2.5s !important;   
}
    

.decoration-wrapper .decoration {
    position: static !important;
    margin: 0 auto !important;
    top: auto !important;
    left: auto !important;
}

.decoration:before {
    display: none;
}

.decoration:after {
    display:  none;
}
    
.decorations {
    padding: 20px 0 50px 0;   
}

}

#video {
 position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
}

#video iframe {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    border: 0;
}

#TV {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    margin-bottom: -30px;
}

#webcam {
    position: absolute;
    left: 12.4%;
    top: 21.6%;
    height: 60.2%;
}

#TVoverlay {
    width:100%;
    position: relative;
    z-index: 1000;
}
    
    
/******
Helpers
*******************************************************/

.centered {
    text-align: center;   
}

p {
    
}

/*
.relative {
    position: relative;
}

.fullheight {
    height: 100vh;
    height: 100%;
}
*/
/*********
Animations
*******************************************************/

/*swing*/
@-moz-keyframes swing{
    0%{-moz-transform:rotate(-1.5deg)}
    50%{-moz-transform:rotate(1.5deg)}
    100%{-moz-transform:rotate(-1.5deg)}
}
@-webkit-keyframes swing{
    0%{-webkit-transform:rotate(-1.5deg)}
    50%{-webkit-transform:rotate(1.5deg)}
    100%{-webkit-transform:rotate(-1.5deg)}
}
@-ms-keyframes swing{
    0%{-ms-transform:rotate(-1.5deg)}
    50%{-ms-transform:rotate(1.5deg)}
    100%{-ms-transform:rotate(-1.5deg)}
}

/*rotate*/
@-moz-keyframes rotation{
    0%{-moz-transform:rotate(-7.5deg)}
    50%{-moz-transform:rotate(8.5deg)}
    100%{-moz-transform:rotate(-7.5deg)}
}
@-webkit-keyframes rotation{
    0%{-webkit-transform:rotate(-7.5deg)}
    50%{-webkit-transform:rotate(8.5deg)}
    100%{-webkit-transform:rotate(-7.5deg)}
}
@-ms-keyframes rotation{
    0%{-ms-transform:rotate(-7.5deg)}
    50%{-ms-transform:rotate(8.5deg)}
    100%{-ms-transform:rotate(-7.5deg)}
}


/*bounce*/
@-moz-keyframes bounce {
    0%{-moz-transform:translate(0px,0px)}
    50%{-moz-transform:translate(0px,-10px)}
    100%{-moz-transform:translate(0px,0px)}
}
@-webkit-keyframes bounce{
    0%{-webkit-transform:translate(0px,0px)}
    50%{-webkit-transform:translate(0px,-10px)}
    100%{-webkit-transform:translate(0px,0px)}
}
@-ms-keyframes bounce{
    0%{-ms-transform:translate(0px,0px)}
    50%{-ms-transform:translate(0px,-10px)}
    100%{-ms-transform:translate(0px,0px)}
}

/*bounce2*/

@-webkit-keyframes bounce2 { 
    0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);} 
    40% {-webkit-transform: translateY(-20px);} 
    60% {-webkit-transform: translateY(-10px);} 
} 

@keyframes bounce2 { 
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 
    40% {transform: translateY(-20px);} 
    60% {transform: translateY(-10px);} 
} 



/**********************************/

 #credits {
	  height: 25px;
	  line-height: 25px;
	  position: fixed;
	  bottom: 0;
	  right: 0;
	  background: #222 url(../images/pixel-heart.png) 8px 8px no-repeat;
	  color: #666;
	  text-decoration: none;
	  font-size: 10px;
	  z-index: 10000;
	  display: block;
	  padding-left: 24px;
	  padding-right: 10px;
  }
  
   #credits:hover {
	  background: #000 url(../images/pixel-heart.png) 8px 8px no-repeat;
	  color: #fff;
  }

/*Vácova bublinka*/
#credits span {display: none;}
#credits:hover span {
    display: block;
    position: absolute;
    padding: 0 .5em;
    content: attr(title);
    min-width: 120px;
    text-align: center;
    width: auto;
    height: auto;
    white-space: nowrap;
    top: -32px;
    left: -50px;
    background: rgba(35,35,35,.8);
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
    color: #fff;
    font-size: 1em;
}

#credits:hover {
    color: #666;
}
#credits:hover span:after {
    position: absolute;
    display: block;
    content: "";
    border-color: rgba(35,35,35,.8) transparent transparent transparent;
    border-style: solid;
    border-width: 10px;
    height:0;
    width:0;
    bottom: -16px;
    left: 53px;
}