html {
  background-color: #2b1b0c;
}

body {
  height: auto;
  min-width: 320px;
  max-width: 768px;
  margin: 0 auto;
  position: relative;
}

.background {
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.main {
  position: relative;
  height: calc(100vw * (1337 / 768));
  width: 100vw;
  text-align: center;
}

.link {
  padding-top: calc(100vw * (1106 / 768));
  padding-left: calc(100vw * (24 / 768));
  padding-right: calc(100vw * (24 / 768));
  display: flex;
  align-items: center;
}

.link_button {
  display: none;
  width: calc(100vw * (119 / 768));
  height: calc(100vw * (119 / 768));
  border-radius: 60px;
  filter: drop-shadow(10px 0px 10px rgba(231, 124, 53, 0.5));
  filter: drop-shadow(0px 10px 10px rgba(231, 124, 53, 0.5));
}

.link_button2 {
  display: none;
  width: calc(100vw * (141 / 768));
  height: calc(100vw * (141 / 768));
  border-radius: 20px;
  margin-bottom: calc(100vw * (22 / 768));
}

.link_button:not(:last-child) {
  margin-right: calc(100vw * (25 / 768));
}

.show {
  display: flex;
}

.photo {
  /* position: absolute;
  top: calc(100vw * (290 / 768));
  left: calc(100vw * (50 / 768)); */
  margin-left: 10px;
}

.photo_qrcode {
  display: block;
  width: calc(100vw * (120 / 768));
  height: calc(100vw * (120 / 768));
}

.pulse {
  transition: transform 0.2s ease;
  transform: translateY(-5px) scale(1.02);
  animation: pulseAnim 2s infinite;
}

.pulse2 {
  animation: pulseAnim 1s infinite;
  filter: drop-shadow(0px 0px 20px rgb(226, 228, 130));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform: translateY(-5px) scale(1.02);
  animation: pulseAnim 1s infinite;
}

@keyframes pulseAnim {
  0% {
    transform: scale(1);
  }

  70% {
    transform: scale(1.07);
  }

  100% {
    transform: scale(1);
  }
}

@media (min-width: 768px) {
  .main {
    height: 1337px;
    width: 768px
  }

  .link {
    padding-top: 1106px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .link_button {
    width: 119px;
    height: 119px;
  }

  .link_button2 {
    width: 145px;
    height: 145px;
  }

  .link_button:not(:last-child) {
    margin-right: 25px;
  }

  .photo {
    /* top: 290px;
    left: 50px; */
    margin-left: 10px;
  }

  .photo_qrcode {
    width: 120px;
    height: 120px;
  }
}
