body {
    background-color: black;
    color: white;
    font-family: 'Raleway', sans-serif;
}

@font-face {
    font-family: 'V';
    src: url(V.ttf);
}

p {
    font-size: 16px;
}

h1 {
    font-size: 50px;
    text-align: center;
    padding-bottom: 100px;
}

footer {
    margin-top: 200px;
}
h2 {
    text-align: center;
}
.img-wrap {
    width: 500px;
}
.grid-wrap {
    display: flex;
    justify-content: center;
}
.image {
    width: 500px;
    height: 500px;
    border: 4px solid rgb(112, 0, 0);
}

.sprite {
    background: url("spriteSheet2.png");
    animation: play 4s steps(80) infinite;
}

.cow {
    background: url("cow.svg");
    width: 500px;
    height: 500px;
}

.svg {
    background: url("abduction.svg");
}

@keyframes play {
    from { 
        background-position: 0px; 
    }
    to { 
        background-position: -40000px; 
    }
}

.grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 50px;
}

#cowg {
    animation: wiggle 3s infinite;
    transform-origin: center;
}
@keyframes wiggle {
    0% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(5deg);
    }
}

#ship {
    width: 500px;
    height: 500px;
    position: relative;
}

@media only screen and (max-width: 1000px) {
    .grid {
        grid-template-columns: auto;
    }
  }

  @media only screen and (max-width: 600px) {
    body {
        transform: scale(0.7);

    }
  }