:root {
  --gradient: linear-gradient(45deg, #ff7c7d, #ffda67);
  --card: #0c0241;
}
.card {
  display: flex;
  align-items: center;
  /* width: 75vw; */
  max-width: 1700px;
  padding: 44px 30px 44px 20px;
  background: var(--card);
  border-radius: 24px;
  color: #fdfcfd;
  margin: 50px 50px 50px 90px;
  box-shadow: 12px 8px 15px rgba(0, 0, 0, 0.5);
}
.card img {
  max-width: 280px;
  max-width: 36vw;
  max-height: 300px;
  object-fit: cover;
  margin-left: -60px;
  margin-right: 30px;
  border-radius: inherit;
  box-shadow: 0 60px 40px rgb(0 0 0 / 8%);
  transition: border-radius 0.3s;
}
.card h2 {
  font-size: 22px;
  font-weight: 400;
  margin-top: 0;
  margin-right: 30px;
  margin-bottom: 10px;
}
.card h3 {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  opacity: 0.75;
  margin-bottom: 15px;
}
.card p {
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 30px;
  opacity: 0.5;
}
.socials > button {
  position: relative;
  border: 0;
  background: transparent;
  color: #f8f8f8;
  padding: 10px;
}
.socials > button:first-child::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 125px;
  height: 60px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--gradient);
  transition: 0.3s;
  transform: translateY(0);
}
.socials > button > a {
  position: relative;
  z-index: 1;
  border: 4px solid var(--card);
  background: #3f3b39;
  display: grid;
  place-items: center;
  font-size: 20px;
  height: 25px;
  width: 120px;
  border-radius: 40px;
  text-decoration: none;
  color: #f8f8f8;
}

/* Responsive Styles for Mobile */
@media screen and (max-width: 768px) {
    .card {
      flex-direction: column; /* Stack items vertically */
      align-items: center; /* Center all items */
      text-align: center; /* Center text */
      margin: 30px auto; /* Adjust margin for mobile */
      padding: 20px; /* Adjust padding for smaller screens */
    }
  
    .card img {
      display: none; /* Hide the image on mobile */
    }
  }