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

html {
  background-color: #aa2f34;
}

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 * (73 / 768));
  padding-right: calc(100vw * (73 / 768));
  display: flex;
  align-items: center;
}

.link_button {
  display: none;
  width: calc(100vw * (104/ 768));
  height: calc(100vw * (104 / 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 * (25 / 768));
}

.show { 
  display: flex;
}

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

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

.pulse {
  animation: pulseAnim 2s infinite;
  filter: drop-shadow(10px 0px 10px rgba(255,102,0, 0.4));
  filter: drop-shadow(0px 10px 10px rgba(231, 124, 53, 0.5));
  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));
}

@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: 73px;
    padding-right: 73px;
    display: flex;
    align-items: center;
  }

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

  .link_button2 {
    width: 124px;
    height: 121px;
    margin-bottom: 20px;
  }

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

  .photo {
    top: 950px;
    left: 60px;
  }

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