* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  overflow: hidden;
  padding: 0px;
  width: 100%;
  height: 100%;
  margin: 0px;
  font-family: 'Arial';
  color: #FFF;
  font-size: 14px;
  background-color: #EEE;
}

.gwd-page-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.gwd-page-wrapper {
  position: absolute;
  -webkit-transform: translateZ(0px);
  transform: translateZ(0px);
  background-color: #FFFFFF;
}

.gwd-page-size {
  width: 970px;
  height: 250px;
  overflow: hidden;
  position: relative;
  background-color: #FFFFFF;
  border: 1px solid #1e3160;
}

.targetButton {
  display: block;
  z-index: 100;
  width: 970px;
  height: 250px;
  position: absolute;
  top: 0px;
  left: 0px;
}

img {
  position: absolute;
  border: none;
  display: block;
}

/* ANIMATION
   10 mp-es ciklus (a jQuery initLoop 10000 ms-onként újraindítja)
   0.0 - 1.2  háttér + körök beúsznak
   0.8 - 3.4  szövegek beúsznak (balról / jobbról)
   3.4 - 8.5  állókép
   8.5 - 9.6  minden kiúszik
*/

@-webkit-keyframes fadeIn  { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fadeIn          { 0% { opacity: 0; } 100% { opacity: 1; } }
@-webkit-keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fadeOut         { 0% { opacity: 1; } 100% { opacity: 0; } }

@-webkit-keyframes moveInLeft   { 0% { -webkit-transform: translateX(-990px); } 100% { -webkit-transform: translateX(0); } }
@keyframes moveInLeft           { 0% { transform: translateX(-990px); } 100% { transform: translateX(0); } }
@-webkit-keyframes moveOutLeft  { 0% { -webkit-transform: translateX(0); } 100% { -webkit-transform: translateX(-990px); } }
@keyframes moveOutLeft          { 0% { transform: translateX(0); } 100% { transform: translateX(-990px); } }

@-webkit-keyframes moveInRight  { 0% { -webkit-transform: translateX(990px); } 100% { -webkit-transform: translateX(0); } }
@keyframes moveInRight          { 0% { transform: translateX(990px); } 100% { transform: translateX(0); } }
@-webkit-keyframes moveOutRight { 0% { -webkit-transform: translateX(0); } 100% { -webkit-transform: translateX(990px); } }
@keyframes moveOutRight         { 0% { transform: translateX(0); } 100% { transform: translateX(990px); } }

@-webkit-keyframes bgZoom { 0% { -webkit-transform: scale(1.12); } 100% { -webkit-transform: scale(1); } }
@keyframes bgZoom         { 0% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* ANIMATION END */

.bgr {
  top: 0px;
  left: 0px;
  width: 970px;
  height: 250px;
  z-index: 1;
  -webkit-transform-origin: 70% 40%;
  transform-origin: 70% 40%;
  -webkit-animation: fadeIn .6s 0s ease-out both, bgZoom 9.5s 0s ease-out both;
  animation: fadeIn .6s 0s ease-out both, bgZoom 9.5s 0s ease-out both;
}

.korok {
  top: 0px;
  left: 204px;
  z-index: 2;
  -webkit-transform-origin: 50% 15%;
  transform-origin: 50% 15%;
  -webkit-animation:
    moveInRight 1.2s .2s cubic-bezier(.22,1,.36,1) both,
    moveOutRight .9s 8.7s ease-in forwards;
  animation:
    moveInRight 1.2s .2s cubic-bezier(.22,1,.36,1) both,
    moveOutRight .9s 8.7s ease-in forwards;
}

.text {
  top: 35px;
  left: 131px;
  z-index: 5;
  -webkit-animation: moveInLeft 1.1s .8s cubic-bezier(.22,1,.36,1) both, moveOutLeft .9s 8.5s ease-in forwards;
  animation: moveInLeft 1.1s .8s cubic-bezier(.22,1,.36,1) both, moveOutLeft .9s 8.5s ease-in forwards;
}

.forras {
  top: 143px;
  left: 132px;
  z-index: 5;
  -webkit-animation: fadeIn .8s 1.7s ease-out both, fadeOut .5s 8.5s ease-in forwards;
  animation: fadeIn .8s 1.7s ease-out both, fadeOut .5s 8.5s ease-in forwards;
}

.csatornak {
  top: 204px;
  left: 329px;
  z-index: 5;
  -webkit-animation: moveInRight 1.1s 2.1s cubic-bezier(.22,1,.36,1) both, moveOutRight .9s 8.6s ease-in forwards;
  animation: moveInRight 1.1s 2.1s cubic-bezier(.22,1,.36,1) both, moveOutRight .9s 8.6s ease-in forwards;
}

.atmediahu {
  top: 197px;
  left: 56px;
  z-index: 6;
  -webkit-animation: moveInLeft 1s 2.6s ease-out both, moveOutLeft .8s 8.8s ease-in forwards;
  animation: moveInLeft 1s 2.6s ease-out both, moveOutLeft .8s 8.8s ease-in forwards;
}

.logo {
  top: 196px;
  left: 797px;
  z-index: 6;
  -webkit-animation: moveInRight 1s 2.6s cubic-bezier(.22,1,.36,1) both, moveOutRight .8s 8.8s ease-in forwards;
  animation: moveInRight 1s 2.6s cubic-bezier(.22,1,.36,1) both, moveOutRight .8s 8.8s ease-in forwards;
}
