/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: Arial, Helvetica;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block; }

body {
  line-height: 1; }

ol,
ul {
  list-style: none; }

blockquote,
q {
  quotes: none; }

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem; }
  header h1 {
    margin: 1rem;
    font-size: 1.5rem;
    order: 2; }
  header .blackCat {
    margin-top: 2rem;
    width: 10%;
    order: 1; }
  header p {
    text-align: center;
    color: #6a6a6a;
    order: 3; }

.move {
  animation: moveCat linear 2s;
  animation-iteration-count: 1;
  transform-origin: 50% 50%; }

@keyframes moveCat {
  0% {
    transform: translate(0, -14px); }
  3% {
    transform: translate(0, -14px); }
  5% {
    transform: translate(17px, -47px); }
  12% {
    transform: translate(39px, -1px) rotate(360deg); }
  19% {
    transform: translate(-45px, -100px) rotate(3240deg); }
  29% {
    transform: translate(-31px, -102px) rotate(2836deg); }
  38% {
    transform: translate(-110px, 4px) rotate(2480deg); }
  47% {
    transform: translate(-29px, -32px) scaleX(1.01); }
  53% {
    transform: translate(-29px, -32px) rotate(1879deg); }
  60% {
    transform: translate(-29px, -32px) rotate(1601deg); }
  100% {
    transform: translate(-19px, -14px) rotate(1deg) scaleX(1.01); } }

footer {
  display: flex;
  justify-content: center;
  padding: 2rem 0; }
  footer p {
    color: #222; }
  footer a {
    text-decoration: none;
    color: #6a6a6a; }

body {
  padding: 1rem; }

main .wrapper {
  width: 100%;
  margin: 0 auto; }
  main .wrapper ul {
    display: flex;
    flex-wrap: wrap; }
    main .wrapper ul li {
      position: relative;
      margin: .5rem;
      width: 100%;
      overflow: hidden; }
      main .wrapper ul li p {
        padding-left: .3rem; }
      main .wrapper ul li div img {
        width: 1rem; }
      main .wrapper ul li .thisImage {
        width: 100%; }

.userName,
.imgLikes {
  display: flex;
  align-items: center;
  color: #fff;
  padding-left: .5rem; }

.imgLikes {
  padding-top: 1rem; }

.show {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  width: 100%;
  padding: 1rem 0 1rem 0;
  transition: .5s ease;
  bottom: -7rem; }

.showCats:hover .show {
  bottom: 3px; }

@media (min-width: 500px) {
  main .wrapper ul li {
    width: calc(48% - 1rem); }
  .thisImage {
    object-fit: cover;
    height: 220px; } }

@media (min-width: 700px) {
  main .wrapper ul li {
    width: calc(33.3% - 1rem); }
  .thisImage {
    object-fit: cover;
    height: 300px; } }

@media (min-width: 1024px) {
  main .wrapper {
    width: 900px;
    margin: 0 auto; }
    main .wrapper ul li {
      width: calc(33.3% - 1rem); }
  .thisImage {
    object-fit: cover;
    height: 300px; } }
