html, body {
	margin: 0;
	padding: 0;
	height: 100vh;
	overflow: hidden;
	background-color: #fffff2;
	font-family: 'Trebuchet MS', sans-serif;
}

body {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.cntr {
	display: flex;
	width: 100%;
	justify-content:  space-around;
	align-items: center;
}

.won {
	font-size: xx-large;
	color: #ff2020;
}

.lost {
	font-size: xx-large;
	color: #ff2020;
}




.bg-image-container {
  position: relative;
  width: 25vh;
  height: 25vh;
  max-width: 35vw;
  max-height: 35vw;
}

.layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover; /* Adjust based on your needs */
  background-position: center;
}

.layer1 {
  background-image: url('../img/schizopost.webp');
}

.layer2 {
  background-image: url('../img/bg_gtlogo.png');
  animation: spin 5s infinite linear; /* Spin animation */
}

.layer3 {
  background-image: url('../img/bg_boys.png');
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.quilt-image-container {
  position: relative;
  width: 25vh;
  max-width: 50%;
  overflow: hidden;
  aspect-ratio: 1;
}

/* The animated image */
.animated-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: switchImage 0.1s infinite, jitter 0.3s infinite;
  object-fit: cover;
}

/* Alternate between two images */
@keyframes switchImage {
  0%, 100% {
    content: url('../img/quilt_ack.png');
  }
  50% {
    content: url('../img/quilt_ack_rev.png');
  }
}

/* Jitter effect */
@keyframes jitter {
  0% {
    transform: translate(0px, 0px);
  }
  20% {
    transform: translate(-5px, -5px);
  }
  40% {
    transform: translate(5px, 5px);
  }
  60% {
    transform: translate(-3px, 3px);
  }
  80% {
    transform: translate(3px, -3px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}

@keyframes flash {
  0% {
    color: red;
  }
  50% {
    color: white;
  }
  100% {
    color: red;
  }
}

.flash-text {
  animation: flash 0.3s infinite;
}


@keyframes gentleShake {
  0% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(4px, -3px);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  30% {
    transform: translate(3px, -5px);
  }
  40% {
    transform: translate(-3px, 4px);
  }
  50% {
    transform: translate(5px, 1px);
  }
  60% {
    transform: translate(-1px, -4px);
  }
  70% {
    transform: translate(3px, 3px);
  }
  80% {
    transform: translate(-4px, -2px);
  }
  90% {
    transform: translate(2px, 2px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.gentle-shake {
  animation: gentleShake 15s ease-in-out infinite;
}

@keyframes scaleBounce {
  0%, 100% {
    transform: scale(1) rotate(-10deg); /* Normal size */
  }
  50% {
    transform: scale(1.2) rotate(-10deg); /* Scaled up */
  }
}

.scale-bounce {
  animation: scaleBounce 2s ease-in-out infinite;
}


@keyframes scaleBounce2 {
  0%, 100% {
    transform: scale(1) rotate(10deg) scale(-1, 1); /* Normal size */
  }
  50% {
    transform: scale(1.2) rotate(10deg) scale(-1, 1); /* Scaled up */
  }
}

.scale-bounce2 {
  animation: scaleBounce2 2s ease-in-out infinite;
}
