@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@700&display=swap');

html {
  background-color: #a0866f;
}

body {
  height: auto;
  min-width: 320px;
  max-width: 768px;
  margin: 0 auto;
  position: relative;
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: bold;
  color: #ffffff;
}

a {
  color: #ffffff;
  text-decoration: none;
}

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

.main {
  position: relative;
  height: calc(100vw * (1334 / 768));
  width: 100vw;
}

.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 * (124 / 768));
  height: calc(100vw * (124 / 768));
  border-radius: 20px;
  margin-bottom: 10px;
}

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

.link_button img, 
.link_button2 img,
.photo_qrcode {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.show {
  display: flex;
}

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

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

.pulse {
  animation: pulseAnim 2s infinite;
  -webkit-filter: drop-shadow(15px 0px 15px rgba(248, 76, 76, 0.7)) drop-shadow(0px 15px 15px rgba(248, 76, 76, 0.7));
  filter: drop-shadow(15px 0px 15px rgba(248, 76, 76, 0.7)) drop-shadow(0px 15px 15px rgba(248, 76, 76, 0.7));
  transform: translateY(-5px) scale(1);
  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));
}

.info {
  color: #ffffff;
  font-size: 2.94vw;
  margin: 0px;
  word-break: break-all;
  font-weight: bold;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}

@keyframes pulseAnim {
  0% {
    transform: translateY(-5px) scale(1);
  }
  70% {
    transform: translateY(-5px) scale(1.05);
  }
  100% {
    transform: translateY(-5px) scale(1);
  }
}

@-webkit-keyframes pulseAnim {
  0% {
    -webkit-transform: translateY(-5px) scale(1);
  }
  70% {
    -webkit-transform: translateY(-5px) scale(1.05);
  }
  100% {
    -webkit-transform: translateY(-5px) scale(1);
  }
}

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

  .link {
    padding-top: 1090px;
    display: flex;
    align-items: center;
    justify-content: 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: 960px;
    left: 595px;
    /* margin-left: 10px; */
  }

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

  .info {
    font-size: 22px;
  }
}
