@import url('https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,100..900;1,100..900&display=swap');

html, body {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  font-family: "Exo", sans-serif;
  font-optical-sizing: auto;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  background: hotpink;
  font-size: 3rem;
  font-weight: 600;
  text-align: center;
}


@keyframes wiggleBounce {
  0% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(15deg) translateY(-10px); }
  50% { transform: rotate(-15deg) translateY(10px); }
  75% { transform: rotate(15deg) translateY(-10px); }
  100% { transform: rotate(0deg) translateY(0); }
}
@-moz-keyframes spin {
  from { -moz-transform: rotate(0deg); }
  to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  from { -webkit-transform: rotate(0deg); }
  to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  from {transform:rotate(0deg);}
  to {transform:rotate(360deg);}
}

@keyframes pan {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

img {
  display: block;
  margin: 50px auto;
}


.flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 128px;
}

.perimage {
  width: 60%;
  animation: wiggleBounce 2s linear infinite;
}

.qrimage {
  height: 200px;
  animation: spin 4s infinite linear;
}

@media only screen and (max-width: 600px) {

  .container {
    font-size: 2rem;
  }

  html, body {
    overflow: hidden;
  }

  .flex {
    flex-direction: column;
    gap: 0px;
    justify-content: center;
  }

  .perimage {
    height: auto;
    width: 200%;
    animation: pan 6s linear infinite;
  }

  .qrimage {
    height: 120px;
    position: absolute;
    bottom: 16px;
  }

  .qrimage:first-child {
    display: none;
  }
}
