
#txtWel{
   display:flex;
   align-items:center;
   justify-content:center;
   flex:1;
   font-family: Georgia, serif;
   letter-spacing:0.5px;
   font-size:1.7rem;
   font-weight:700;
   position:relative;
   transform-style:preserve-3d;
   perspective:200px;
   -webkit-transform-style:preserve-3d;
   -webkit-perspective:100px;
}
#txtWel>b{
   height:2.0rem;
   box-shadow:0 .4rem .3rem -.3rem #aaa;
   color:#979c9f;
   background:linear-gradient(#aaf,#acf,#afc);
   background-clip:text;
   text-fill-color:transparent;
   -webkit-background-clip:text;
   -webkit-text-fill-color:transparent;
   transform-origin:bottom;
   transform:rotateX(-85deg);
   -webkit-transform-origin:bottom;
   -webkit-transform:rotateX(-85deg);
   animation:getUp 10s infinite;
}
#txtWel>b:nth-child(2){
   animation-delay:.25s;
}
#txtWel>b:nth-child(3){
   animation-delay:.5s;
}
#txtWel>b:nth-child(4){
   animation-delay:.75s;
}
#txtWel>b:nth-child(5){
   animation-delay:1s;
}
#txtWel>b:nth-child(6){
   animation-delay:1.25s;
}
#txtWel>b:nth-child(7){
   animation-delay:1.5s;
}
#txtWel>b:nth-child(8){
   animation-delay:1.75s;
}
#txtWel>b:nth-child(9){
   animation-delay:2s;
}
#txtWel>b:nth-child(10){
   animation-delay:2.25s;
}
#txtWel>b:nth-child(11){
   animation-delay:2.50s;
}
@keyframes getUp{
   10%,50%{
      transform:rotateX(0);
   }
   0%,60%,100%{
      transform:rotateX(-85deg);
   }
}

.rotating-text-wrapper {
  height: 0vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.rotating-text-wrapper h2 {
  font-size: 3.0em;
  margin: 0;
  padding: 0.1em;
  letter-spacing:0.6px;
  font-weight: bold;
  color: #fff;
  text-shadow: #12c754 2px 5px;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  opacity: 0;
}
.rotating-text-wrapper h2:nth-child(1) {
  background-color: rgba(179, 95, 27, 0.0);  
  margin: 0;
  animation-name: rotating-text-1;
}
@keyframes rotating-text-1 {
  0% {
    transform: translateY(200%);
  }
  33% {
    transform: translateY(100%);
    opacity: 1;
  }
  34% {
    opacity: 0;
  }
}
.rotating-text-wrapper h2:nth-child(2) { 
  margin: 0;
  background-color: rgba(179, 95, 27, 0.0);  
  animation-name: rotating-text-2;
}
@keyframes rotating-text-2 {
  33% {
    transform: translateY(100%);
    opacity: 0;
  }
  66% {
    transform: translateY(0);
    opacity: 1;
  }
  67% {
    opacity: 0;
  }
}
.rotating-text-wrapper h2:nth-child(3) {
  margin: 0;
  background-color: rgba(179, 95, 27, 0.0);  
  animation-name: rotating-text-3;
}
@keyframes rotating-text-3 {
  66% {
    transform: translateY(0);
    opacity: 0;
  }
  99% {
    transform: translateY(-100%);
    opacity: 1;
  }
  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}
@media screen and (max-width: 576px) {
  .rotating-text-wrapper {
    font-size: 0.7rem;
  }
}


  .boxkupu {
 position: absolute;
 bottom: -10px;
  left : 0px;
  width:200px;
  margin:0px;
   rotate: z +30deg;
}
.boxadam {
  width:100px;
  margin:20px;
  display:flex;
  perspective:500px;
}
.boxadam::before,
.boxadam::after{
  content:"";
  padding-top:56%; /* ratio based on your image */
  flex:1; /* half the main element size */
  background-image:url(../img/kupu.png);
  background-size:200% 100%; /* twice bigger than the pseudo element to get half the image*/
  animation:left .9s linear infinite alternate;  
  transform-origin:right;
}
.boxadam::after {
  background-position:right; /* get the right part of the image */
  animation-name:right;
  transform-origin:left;
 
}
 .boxkupuA {
 position: absolute;
 bottom: 30px;
  left : 50%;
  width:80px;
  margin:0px;
   rotate: z -30deg;
}
.boxadam2 {
  width:60px;
  height: 20px;
  margin:20px;
  display:flex;
  perspective:300px;
}
.boxadam2::before,
.boxadam2::after{
  content:"";
  padding-top:56%; /* ratio based on your image */
  flex:1; /* half the main element size */
  background-image:url(../img/kupu2.png);
  background-size:200% 100%; /* twice bigger than the pseudo element to get half the image*/
  animation:left .5s linear infinite alternate;  
  transform-origin:right;
}
.boxadam2::after {
  background-position:right; /* get the right part of the image */
  animation-name:right;
  transform-origin:left;
 
}


  .boxkupu2 {
 position: absolute;
 bottom: 10px;
  right : -50px;
  width:200px;
  margin:0px;
   rotate: z -30deg;
}
.boxhawa {
  width:100px;
  margin:20px;
  display:flex;
  perspective:500px;
}
.boxhawa::before,
.boxhawa::after{
  content:"";
  padding-top:56%; /* ratio based on your image */
  flex:1; /* half the main element size */
  background-image:url(../img/kupu.png);
  background-size:200% 100%; /* twice bigger than the pseudo element to get half the image*/
  animation:left 0.8s linear infinite alternate;  
  transform-origin:right;
}
.boxhawa::after {
  background-position:right; /* get the right part of the image */
  animation-name:right;
  transform-origin:left;
 
}
 .boxkupuH {
 position: absolute;
 bottom: 15px;
  left : 80px;
  width:70px;
  margin:0px;
   rotate: z +30deg;
}
.boxhawa2 {
  width:60px;
  margin:20px;
  display:flex;
  perspective:500px;
}
.boxhawa2::before,
.boxhawa2::after{
  content:"";
  padding-top:56%; /* ratio based on your image */
  flex:1; /* half the main element size */
  background-image:url(../img/kupu3.png);
  background-size:200% 100%; /* twice bigger than the pseudo element to get half the image*/
  animation:left 0.45s linear infinite alternate;  
  transform-origin:right;
}
.boxhawa2::after {
  background-position:right; /* get the right part of the image */
  animation-name:right;
  transform-origin:left;
}

.boxkupuWel {
 position: absolute;
 bottom: -8px;
  left : 69px;
  width:100px;
  margin:0px auto;
   rotate: z -20deg;
}
.boxWel {
  width:100px;
  margin:0px auto;
  display:flex;
  perspective:500px;
}
.boxWel::before,
.boxWel::after{
  content:"";
  padding-top:56%; /* ratio based on your image */
  flex:1; /* half the main element size */
  background-image:url(../img/kupu.png);
  background-size:200% 100%; /* twice bigger than the pseudo element to get half the image*/
  animation:left 0.65s linear infinite alternate;  
  transform-origin:right;
}
.boxWel::after {
  background-position:right; /* get the right part of the image */
  animation-name:right;
  transform-origin:left;
}
.boxkupuWel2 {
 position: absolute;
 bottom: 40px;
  left : -13px;
  width:75px;
  margin:0px auto;
   rotate: z +30deg;
}
.boxWel2 {
  width:75px;
  margin:0px auto;
  display:flex;
  perspective:500px;
}
.boxWel2::before,
.boxWel2::after{
  content:"";
  padding-top:56%; /* ratio based on your image */
  flex:1; /* half the main element size */
  background-image:url(../img/kupu3.png);
  background-size:200% 100%; /* twice bigger than the pseudo element to get half the image*/
  animation:left 0.45s linear infinite alternate;  
  transform-origin:right;
}
.boxWel2::after {
  background-position:right; /* get the right part of the image */
  animation-name:right;
  transform-origin:left;
}
.boxkupuWel3 {
 position: absolute;
 bottom: 38px;
  right : 0px;
  width:55px;
  margin:0px auto;
   rotate: z -30deg;
}
.boxWel3 {
  width:55px;
  margin:0px auto;
  display:flex;
  perspective:500px;
}
.boxWel3::before,
.boxWel3::after{
  content:"";
  padding-top:56%; /* ratio based on your image */
  flex:1; /* half the main element size */
  background-image:url(../img/kupu2.png);
  background-size:200% 100%; /* twice bigger than the pseudo element to get half the image*/
  animation:left 0.8s linear infinite alternate;  
  transform-origin:right;
}
.boxWel3::after {
  background-position:right; /* get the right part of the image */
  animation-name:right;
  transform-origin:left;
}

@keyframes left{
  to {transform:rotateY(85deg)}
}
@keyframes right{
  to {transform:rotateY(-85deg)}
}


 .ball-wrapper {
  position: absolute;
  top: 0px;
  left: 50%;
  right: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 200vh;
  -webkit-transform-origin: top;
  -ms-transform-origin: top;
  transform-origin: top;
  animation: pendulum 2.0s ease-in-out alternate infinite;
  -webkit-animation: pendulum 2.0s ease-in-out alternate infinite;
  z-index: 99999;
}

@-webkit-keyframes pendulum {
  0% {
    -webkit-transform: rotate(15deg);
    transform: rotate(15deg);
  }
  50% {
    -webkit-transform: rotate(-15deg);
    transform: rotate(-15deg);
  }
  100% {
    -webkit-transform: rotate(15deg);
    transform: rotate(15deg);
  }
}
@keyframes pendulum {
  0% {
    -webkit-transform: rotate(15deg);
    transform: rotate(15deg);
  }
  50% {
    -webkit-transform: rotate(-15deg);
    transform: rotate(-15deg);
  }
  100% {
    -webkit-transform: rotate(15deg);
    transform: rotate(15deg);
  }
}
.ball {
  width: 15vw;
  height: 15vw;
  background: linear-gradient(rgba(45, 235, 114, 0.2), rgba(45, 235, 114, 0.4)), url(../poto/adam4.jpeg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  -webkit-box-shadow: -10px 8px 20px 6px #3002026b, 10px 8px 20px 6px #3002026b;
  box-shadow: -10px 8px 20px 6px #3002026b, 10px 8px 20px 6px #3002026b;
  border-radius: 50%;
  border: 1px solid #eee;
  animation: fadeIn 1.5s ease-in; 
}

.ball-wire {
  width: 0.6vw;
  height: 190px;
  background: #fff;
  background: -webkit-gradient(linear, left top, right top, from(#87836d), color-stop(63%, #e3dabf), to(#858164));
  background: -o-linear-gradient(left, #87836d 0%, #e3dabf 63%, #858164 100%);
  background: linear-gradient(90deg, #87836d 0%, #e3dabf 63%, #858164 100%);
  
}



.burbujas{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 480px;
    z-index: 1;
}
    .burbujas li{
        position: absolute;
        list-style: none;
        display: block;
        text-align: center;
        color: white;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, .7);
        background-color: rgba(255, 255, 255, 0.3);
        bottom: -160px;
        box-shadow: 0 0 20px 1px rgba(255, 255, 255, .5);
        -webkit-animation: square 25s infinite;
        -moz-animation: square 25s infinite;
        animation: square 25s infinite;
        -webkit-transition-timing-function: linear;
        -moz-transition-timing-function: linear;
        transition-timing-function: linear;
    }
    .burbujas li span{
     background: linear-gradient(rgba(45, 235, 114, 0.2), rgba(45, 235, 114, 0.4)), url(../poto/adam4.jpeg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
        position: absolute;
        display: block;
        -webkit-border-radius: 50%;
        -moz-border-radius:50%;
        border-radius: 50%;
        width: 90%;
        height: 90%;
        background-color: rgba(255, 255, 255, .15);
    }

    .burbujas li:nth-child(1){
        left: 10%;

    }
    .burbujas li:nth-child(2){
        left: 20%;
        width: 80px;
        height: 80px;
        box-shadow: 0 0 20px 1px rgba(255, 255, 255, 0);
        -webkit-animation-delay: 2s;
        -moz-animation-delay: 2s;
        animation-delay: 2s;
        -webkit-animation-duration: 17s;
        -moz-animation-duration: 17s;
        animation-duration: 17s;
    }
    .burbujas li:nth-child(3){
        left: 25%;
        -webkit-animation-delay: 4s;
        -moz-animation-delay: 4s;
        animation-delay: 4s;
    }
    .burbujas li:nth-child(4){
        left: 40%;
        width: 60px;
        height: 60px;
        box-shadow: 0 0 20px 1px rgba(255, 255, 255, .2);
        -webkit-animation-duration: 22s;
        -moz-animation-duration: 22s;
        animation-duration: 22s;
        background-color: rgba(255, 255, 255, .25);
    }
    .burbujas li:nth-child(5){
        left: 70%;
    }
    .burbujas li:nth-child(6){
        left: 80%;
        width: 130px;
        height: 130px;
        box-shadow: 0 0 20px 1px rgba(255, 255, 255, 0);
        -webkit-animation-delay: 3s;
        -moz-animation-delay: 3s;
        animation-delay: 3s;
        background-color: rgba(255, 255, 255, .22);
    }
    .burbujas li:nth-child(7){
       
        left: 32%;
        width: 160px;
        height: 160px;
        box-shadow: 0 0 20px 1px rgba(255, 255, 255, 0);
        -webkit-animation-delay: 7s;
        -moz-animation-delay: 7s;
        animation-delay: 7s;
    }
    .burbujas li:nth-child(8){
        left: 55%;
        width: 20px;
        height: 20px;
        -webkit-animation-delay: 15s;
        -moz-animation-delay: 15s;
        animation-delay: 15s;
        -webkit-animation-duration: 40s;
        -moz-animation-duration: 40s;
        animation-duration: 40s;
    }
    .burbujas li:nth-child(9){
        left: 65%;
        width: 35px;
        height: 35px;
        -webkit-animation-delay: 2s;
        -moz-animation-delay: 2s;
        animation-delay: 2s;
        -webkit-animation-duration: 40s;
        -moz-animation-duration: 40s;
        animation-duration: 40s;
        background-color: rgba(255, 255, 255, .3);
    }
    .burbujas li:nth-child(10){
        left: 90%;
        width: 160px;
        height: 160px;
        box-shadow: 0 0 20px 1px rgba(255, 255, 255, 0);
        -webkit-animation-delay: 11s;
        -moz-animation-delay: 11s;
        animation-delay: 11s;
    }

    @-webkit-keyframes square{
        0%{
            -webkit-transform: translateY(0);
            -moz-transform: translateY(0);
            transform: translateY(0);
        }
        100%{
            -webkit-transform: translateY(-700px) rotate(600deg);
            -moz-transform: translateY(-700px) rotate(600deg);
            transform: translateY(-700px) rotate(600deg);
        }
    }

    @keyframes square{
        0%{
            -webkit-transform: translateY(0);
            -moz-transform: translateY(0);
            transform: translateY(0);
        }
        100%{
            -webkit-transform: translateY(-700px) rotate(600deg);
            -moz-transform: translateY(-700px) rotate(600deg);
            transform: translateY(-700px) rotate(600deg);
        }
    }

.bg-animado-blue{
    background-color: #0770ac;
    background: -webkit-linear-gradient(24deg, #7be9fb, #0770ac, #23b9ff);
    background: -moz-linear-gradient(24deg, #7be9fb, #0770ac, #23b9ff);
    background: linear-gradient(24deg, #7be9fb, #0770ac, #23b9ff);
    background-size: 600% 600%;
    -webkit-animation: AnimationName 11s ease infinite;
    -moz-animation: AnimationName 11s ease infinite;
    animation: AnimationName 11s ease infinite;
}

@-webkit-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 48%}
    100%{background-position:0% 50%}
}

@keyframes AnimationName { 
    0%{background-position:0% 50%}
    50%{background-position:100% 48%}
    100%{background-position:0% 50%}
}
