html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-image: url("./images/ocean.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  color: black;
}

.flip-card {
  background-color: transparent;
  width: 540px;
  height: 400px;
  perspective: 1000px;
}

@media only screen and (max-width: 600px) {
  .flip-card {
    width: 375px;
    height: 300px;
  }
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 7px 14.1px 14.1px hsl(0deg 0% 0% / 0.28);
}

.flipped {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.flip-card-front img,
.flip-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-card-back {
  transform: rotateY(180deg);
}

.cat-image {
  position: fixed;
  bottom: 20px;
  right: 0px;
  width: 300px;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

@keyframes wiggle {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 1;
  animation: wiggle 0.5s ease-in-out infinite;
}

