* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #cccccc;
  font-family: "system-ui", sans-serif;
}

a {
  text-decoration: none;
  color: unset;
  cursor: pointer;
}

main {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}

.banner {
  background: url(./assets/cover_photo.png) no-repeat center top;
  display: flex;
  position: relative;
}

.banner img:not(.qr-code) {
  border-radius: 50%;
  border: 5px solid white;
  margin: 0 auto;
  margin-top: 50px;
}

.banner .qr-code {
  position: absolute;
  width: 110px;
  height: 110px;
  left: 61%;
  bottom: -8px;
  border-radius: 8px;
}

.title {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
}

.phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 50px;
  font-weight: 400;
  color: #f5f5f5;
  box-shadow: 2px 1px 5px 0px #4a464680;
  background: #d50707;
  padding: 8px 32px;
  font-size: 22px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.share {
  display: flex;
  gap: 10px;
  justify-content: space-around;
  padding: 0 32px;
  margin-bottom: 48px;
}

.share a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.download {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 48px;
  padding: 0 32px;
}

.download img {
  max-width: 216px;
  width: 100%;
  height: auto;
}

.download a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0 32px;
  margin-bottom: 16px;
}

.contact a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

footer {
  max-width: 600px;
  margin: 0 auto;
  font-size: 10px;
  padding: 8px 16px;
  background: #b3b3b3;
}

/* Modal Styles */
.modal {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.close-button {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
}

.close-button:hover {
  color: #000;
}

.modal-body {
  padding: 20px 0;
}

#qr-code-modal {
  background-color: rgba(0, 0, 0, 0.9);
}

#qr-code-modal .modal-body {
  text-align: center;
  max-height: 90dvh;
}

#qr-code-modal p {
  margin-bottom: 16px;
}

#qr-code-modal img {
  width: 100%;
  max-width: 300px;
  height: auto;
}
