html {
  background-color: #1d050d;
}

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 * (1334 / 768));
  width: 100vw;
  text-align: center;
}

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

.link_button {
  display: none;
  width: calc(100vw * (126/ 768));
  height: calc(100vw * (126 / 768));
  border-radius: 20px;
}

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

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

.show { 
  display: flex;
}

.photo {
  position: absolute;
  top: calc(100vw * (970 / 768));
  left: calc(100vw * (630 / 768));
}

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

.pulse {
  animation: pulseAnim 2s infinite;
  filter: drop-shadow(15px 0px 15px rgba(248, 76, 76, 0.7));
  filter: drop-shadow(0px 15px 15px rgba(248, 76, 76, 0.7));
  transition: transform 0.2s ease;
  transform: translateY(-5px) scale(1.02);
}

.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.05);}
  100% { transform: scale(1);}
}

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

  .link{
    padding-top: 1090px;
    padding-left: 12px;
    padding-right: 12px;
    display: flex;
    align-items: center;
  }

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

  .link_button2 {
    width: 156px;
    height: 152px;
    margin-bottom: 20px;
  }

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

  .photo {
    top: 970px;
    left: 630px;
  }

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