.image-gallery {
    display: flex;
    align-items: center;
}

.image-gallery>img {
    align-self: center;
    flex-basis: 80%;
}

.arrow {
    flex-basis: 10%;
    font-size: 30px;
    cursor: pointer;
    border: 1px solid #ccc;
}

.arrow:hover {
    background-color: #ccc;
}

.image-gallery.flip {
    animation: flip 3s;
}

.image-gallery.rotate-downscale {
    animation: rotatedownscale 1s;
}

.counter {
    font-family: "Roboto", sans-serif;
}

@keyframes rotatedownscale {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(360deg) scale(0.5);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes flip {
    0% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(360deg);
    }

    100% {
        transform: rotateY(0deg);
    }
}