@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

{ margin: 0; padding: 0; box-sizing: border-box; font-family: "Poppins", serif; color: black; text-decoration: none; }
html,
body {
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(
      circle at 10% 20%,

  #ff000013 0%,
  #f7f9fc 30%,
  transparent 50%
),
radial-gradient(
  circle at 85% 30%,
  #ffff0029 0%,
  #eef6ff 20%,
  transparent 40%
),
radial-gradient(
  circle at 50% 70%,
  rgba(128, 0, 128, 0.149) 0%,
  #e2f2ff 30%,
  transparent 60%
);
  background-color: #1244810f;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin: 0;
  /* overflow: hidden; */
}

main {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 4.5rem;
  width: 100%;
  min-height: 100vh;
  max-width: 95rem;
  padding: 2rem 4rem;
  margin: 0 auto;
}

section.content {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background: #000; */
}

.content h1 {
  width: fit-content;
  text-align: center;
  font-weight: 700;
  font-size: 36px;
  position: relative;
  margin-bottom: 1rem;
  color: #333;
}

.content p {
  width: 100%;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #515151;
}

.content h1 span {
  color: #124481;
  background: linear-gradient(45deg, #008ac2, #124481 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.qr {
  width: fit-content;
  /* background: #000; /
  display: flex;
  justify-content: space-between;
  / align-items: end; */
  flex-direction: column;
}

.card-container {
  /* background-color: green; */
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease-in-out forwards;
}

.card .profile {
  width: 5rem;
  height: 5rem;
  position: absolute;
  padding: 0.5rem;
  left: 50%;
  top: -1.5%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.2);
  /* box-shadow: inset 1px 1px #0000004d, inset -1px 1px #0000004d,
    -10px -10px 20px #fff;
  border-top: 1px solid #00000050; */
}
.profile i{
  font-size: 32px;
}

.profile i.fa-whatsapp{
  color: #1dab61;
}

.profile i.fa-linkedin-in{
  color: #0077b5;
}

.card .profile img {
  width: 100%;
  height: 100%;
  border-radius: 100%;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a {
  width: fit-content;
}
.qr-card {
  border-radius: 10px;
  max-width: 24rem;
  max-height: 24rem;
  padding: 4rem 3.5rem 3.5rem;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1), 0px -5px 20px rgba(0, 0, 0, 0.1);
  /* box-shadow: -9px -9px 50px 13px #c7c7c7,9px 9px 50px 13px #c7c7c7; */
}

.info i {
  color: #fff;
  font-size: 12px;
}
.qr-card .info {
  width: fit-content;
  margin: 0 auto;
  margin-top: 0.5rem;
}

.qr-card .info span {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  margin-left: 5px;
}

.linkedin {
  background-color: #0077b5;
}
.twitter {
  background-color: #000;
}
.whatsapp {
  background-color: #1dab61;
}
.card {
  width: 17rem;
  height: 17rem;
  min-height: 17rem;
  min-width: 17rem;
  border-radius: 10px;
  background-color: #fff;
  position: relative;
  z-index: 20;
  display: flex;
  border-radius: 10px;
  flex-direction: column;
  padding: 2.5rem 1rem 1rem;
  border: 1px solid #00000050;
  transition: all ease-in-out 0.15s;
  box-shadow: 0px 10px 20px #00000039,
  inset -2px -2px 3px #0000004d;
  /* box-shadow: 8px 8px 5px #00000039, -10px -10px 20px #fff,
    inset -3px -3px 8px #0000004d, inset 0 0 2px #0000004d; */
}

.qr-card:hover .card {
  transform: scale(1.04);
}
.card-content h2 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  text-align: center;
}
.card-content p {
  font-size: 12px;
  line-height: 16px;
  color: #515151;
  font-weight: 500;
  text-align: center;
}

/* .linkedin .card-content h2 {
  color: #0077b5;
} /
/ .qr-card .card .twitter-img {
  padding: 1.5rem;
} /
.whatsapp .card,
.whatsapp .profile {
  background-color: #fff;
}
/ .whatsapp .card h2,
.whatsapp .card p {
  color: #fff;
}.whatsapp .card  .qr-image img{
  filter: invert(100);
} */
.whatsapp .card-content p {
  height: 3rem;
}
.whatsapp .qr-content h2 {
  background: linear-gradient(45deg, #25d366, #075e54);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.card-content h1 {
  font-size: 24px;
}

.qr-image {
  /* background: #000; */
  height: 8rem;
  width: 8rem;
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translate(-50%);
}

.qr-image img {
  width: 100%;
  height: 100%;
}

.qr-content {
  padding: 0 1rem;
}

.qr-content h2 {
  text-align: center;
  font-weight: 600;
  color: #333;
}

.qr-content p {
  text-align: center;
  font-size: 14px;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #515151;
}

@media screen and (max-width: 1250px) {
  main {
    padding: 3%;
  }

  .qr-content {
    padding: 0 0.3rem;
  }

  .card-content h2 {
    font-size: 18px;
  }

  .qr-content p {
    font-size: 14px;
  }

  section.qr {
    align-items: end;
  }
  .card-container {
    gap: 1.5rem;
  }

  .whatsapp .card-content p {
    height: 4rem;
  }
  .card .profile {
    width: 4.75rem;
    height: 4.75rem;
  }
  .card-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 1100px) {
  .card .profile {
    width: 5rem;
    height: 5rem;
  }
  section.content h1 {
    font-size: 32px;
    margin-bottom: 0.5rem;
  }

  section.content p {
    margin-bottom: 0.5rem;
    font-size: 14px;
  }
  .qr-card {
    width: 100%;
    grid-column: span 1;
  }
  .card {
    height: 17rem;
    max-width: 17rem;
    width: 100%;
  }
}

@media screen and (max-width: 850px) {
  main {
    padding: 4rem 1rem;
    gap: 2.5rem;
  }
  section.content h1 {
    font-size: 24px;
  }
  .qr {
    max-width: 80%;
    width: 100%;
  }
  .card-container {
    width: 100%;
    display: grid;
    row-gap: 2rem;
    place-items: center;
    grid-template-columns: repeat(1, 1fr);
  }
  .qr-card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    grid-column: span 1;
    padding: 4.5rem 3.5rem 1.5rem 3.5rem;
  }
}

@media screen and (max-width: 550px) {
  .qr {
    max-width: 100%;
    width: 100%;
  }
  .card-content h2 {
    font-size: 16px;
  }
  .card-content p {
    font-size: 12px;
  }
  .qr-card {
    padding: 3.5rem 2rem 0.5rem 2rem;
  }
}
.card-content p {
    font-size: 12px;
    line-height: 16px;
    color: #515151;
    font-weight: 500;
    text-align: center !important;
}
