.gif{
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}
.person{
    width: 87px;
    height: 105px;
    position: absolute;
    left: 0;
    top: 0;
    animation: girl .5s ease infinite;
}

.person-boy{
    width: 87px;
    height: 105px;
    position: absolute;
    right: 0;
    top: 0;
    animation: boy .5s ease infinite;
}

@keyframes girl {
    0% {
        transform: translateY(0px)
    }
    25% {
        transform: translateY(5px)
    }
    50% {
        transform: translateY(0px)
    }
    75% {
        transform: translateY(-5px)
    }
}

@keyframes boy {
    0% {
        transform: translateY(0px)
    }
    25% {
        transform: translateY(-5px)
    }
    50% {
        transform: translateY(0px)
    }
    75% {
        transform: translateY(5px)
    }
}


.double-image{
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    display: flex;
}

.arrow-left{
    position: absolute;
    top: 82px;
    left: 130px;
    animation: arrow .5s ease infinite;
}
.arrow-right{
    position: absolute;
    top: 82px;
    right: 130px;
    animation: arrow .5s ease infinite;
}


@keyframes arrow {
    0% {
        transform: translateY(0px)
    }
    25% {
        transform: translateY(5px)
    }
    50% {
        transform: translateY(10px)
    }
    75% {
        transform: translateY(15px)
    }
}

.img-content{
    display: none;
}

.more-btns{
    position: relative;
    max-width: 640px;
    margin: 0 auto 10px;
}

.to-form{
    display: none;
    cursor: pointer;
}

.btn{
    cursor: pointer;
    box-shadow: 1px 1px 3px 1px rgba(0,0,0,.5);
}

.more-btns.open .to-form{
    display: block;
}


.double-btn-left{
    width: 50%;
    height: 50px;
    position: absolute;
    left: 0;
    bottom: 5px;
    cursor: pointer;
}

.double-btn-right{
    width: 50%;
    height: 50px;
    position: absolute;
    right: 0;
    bottom: 5px;
    cursor: pointer;
}

.toMore{
    cursor: pointer;
}


@media screen and (max-width: 1024px) {
    .arrow-left{
        width: 50px;
        height: 50px;
        top: 70px;
        left: 60px;
    }
    .arrow-right{
        width: 50px;
        height: 50px;
        top: 70px;
        right: 60px;
    }
}

@media screen and (max-width: 1016px){
    .double-image{
        width: 100%;
        max-width: 100%;
    }
    .double-image img{
        width: 50%;
    }
}

@media screen and (max-width: 640px) {
    .double-image{
        width: 100%;
    }
    .double-image img{
        width: 50%;
    }

    .person{
        width: 50px;
        height: calc( 50px * 105 / 87);
        position: absolute;
        left: 5px;
        top: 0;
        animation: girl .5s ease infinite;
    }

    .person-boy{
        width: 50px;
        height: calc( 50px * 105 / 87);
        position: absolute;
        right: 5px;
        top: 0;
        animation: boy .5s ease infinite;
    }

    .arrow-left{
        width: 40px;
        height: 50px;
        top: 40px;
        left: 60px;
    }
    .arrow-right{
        width: 40px;
        height: 50px;
        top: 40px;
        right: 60px;
    }

}

@media screen and (max-width: 480px) {

    .arrow-left{
        width: 20px;
        height: 30px;
        top: 40px;
        left: 60px;
    }
    .arrow-right{
        width: 20px;
        height: 30px;
        top: 40px;
        right: 60px;
    }
}