#anim1 {
    width: 100px;
    height: 100px;
    position: relative;
    border-radius: 15px;
    animation-name: rotating-animation;
    animation-duration: 8s;
    animation-iteration-count: infinite;

}

/* ANIMACIONES */
@keyframes rotating-animation {
    0% {
        transform: rotateY(0deg)
    }

    50% {
        transform: rotateY(180deg)
    }

    100% {
        transform: rotateY(0deg)
    }
}


/*  Whatsapp*/
.whatsapp {
    position: fixed;
    width: 58px;
    height: 64px;
    bottom: 106px;
    right: 28px;
    background-image: url(../img/icons/whatsapp.PNG);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 99999;
}

.whatsapp-icon {
    margin-top: 13px;
}

@media only screen and (max-width: 600px) {
    .bg-white {
        background: #f8f8f8;
        display: flex;
    }
    .whatsapp {
        position: fixed;
        width: 58px;
        height: 64px;
        bottom: 83px;
        right: 22px;
        background-image: url(../img/icons/whatsapp.PNG);
        border-radius: 50px;
        text-align: center;
        font-size: 30px;
        z-index: 99999;
    }
}



#pagewrap {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}

.gallery {
    width: 100%;
    margin: 0 auto;
    padding: 10vh 5vh;
    display: flex;
    flex-wrap: wrap;
}

.image {
    width: 22%;
    border: 1.5px solid #ccc;
    padding: 10px;
    margin: 2% 1.5%;
    flex-grow: 1;
    background-color: #ecf0f1;
}

.image img {
    max-width: 100%;
    margin: 0 auto;
}

.image:hover {
    box-shadow: 0 1px 30px rgba(0, 0, 0, .3);
    transform: scale(1.10);
    border: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    z-index: 1;
}

.image p {
    padding: 10px;
}

/*@media (max-width: 900px){
    .image{
     width: 45%;
    }
     .gallery{
       padding: 10vh 1vh;
     }
   }
   
   @media (max-width: 600px){
    .image{
     width: 50%;
    }
   }*/

.inner {
    --width: calc(100%);
    width: max-content;
}

.text {
    --width: calc(100%);

    /* transform: translateX(var(--width)) */
    animation: merquee 9s linear 1s infinite;
    animation-fill-mode: both;
}


@keyframes merquee {
    0% {
        transform: translateX(0);
        /*     margin-left: 0; */
    }

    50% {
        /*     transform: translateX(calc(-1 * 100%); */
        transform: translateX(calc(1349px - 100%))
            /*     margin-left: calc(900px - 100%); */
    }

    100% {
        transform: translateX(0);
        /*     margin-left: 0; */
    }
}