body {
    margin: 0;
    padding: 0;
    height: 100%;
    color: teal;
    background-color: #3cff00;
    font-family: 'Comic Sans MS', 'Comic Sans', 'Chalkboard SE', 'Comic Neue', sans-serif;
}

.footer {
    height: 10%;
    width: 100%;
}

.centre-div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.centre-img {
    max-width: 100%;
    max-height: 100%;
}

.centre-piece {
    display: inline;
}

.flipping-img {
    animation: flip 1.5s infinite;
}

.margin-auto {
    margin: 0 auto 0 auto;
}

.marquee {
    animation: scroll 15s linear infinite;
}

.flip-helper {
    animation: dog-flipper 15s linear infinite;
}


#border-img1 {
    border: 50px solid transparent;
    border-image: url(../assets/question-border.png) 120 round;
}

@keyframes flip {
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes dog-flipper {
    0%,50% {
        transform: scaleX(1);
    }

    80%,100% {
        transform: scaleX(-1);
    }
}

@keyframes scroll {
    0%,40% {
        transform: translateX(100%);
    }
    50%,90% {
        transform: translateX(-20%);
    }
    100% {
        transform: translateX(100%);
    }
}
