:root {
  --card-ratio: calc(4 / 7);
  --color-backgroud: #fafafa;
  --card-color-backgroud: #fff;
  --card-color-boxshadow: rgba(0, 0, 0, 0.2);
}

body {
  font-family: "Roboto", "Arial", sans-serif;
  background-color: var(--color-backgroud);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.business-card {
  --card-width: 70vw;

  display: grid;
  place-items: center; /* This centers the .business-card-content */
  width: var(--card-width);
  height: calc(var(--card-width) * var(--card-ratio));
  background-color: var(--cad-color-backgroud);
  box-sizing: border-box;
  border-radius: 1rem;
  box-shadow: 0 10px 20px var(--card-color-boxshadow); /* More pronounced shadow */
  background-image: linear-gradient(
    to bottom right,
    #ffffff,
    #f1f1f1
  ); /* Subtle gradient */
  border: 1px solid #e1e1e1; /* Soft border */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions for effects */
}

.business-card:hover {
  transform: translateY(-5px); /* Lift card off the page */
  box-shadow: 0 15px 30px var(--card-color-boxshadow); /* Deeper shadow on hover */
}

.business-card-content {
  display: grid;
  grid-template-rows: 1fr 10fr 1fr;
  row-gap: 10px; /* Adjust the space between grid rows */
  width: 100%;
  height: 100%;
  padding: 0 4vw;
  box-sizing: border-box;
  grid-template-rows: auto auto auto; /* Three rows for website, name, and contact-info */
  justify-items: center; /* Center items horizontally */
  align-items: center; /* Center items vertically */
}

.logo {
  grid-row: 2;
  display: grid;
  justify-items: center;
}

.logo img {
  width: 90%; /* Adjust this value as needed */
  height: auto;
}

.website {
  grid-row: 1;
}

.contact {
  grid-row: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.website,
.name,
.contact-info {
  font-size: clamp(5px, 3vw, 90px);
}

a {
  color: #000; /* Set the text color of the link */
  text-decoration: none; /* Remove underline from the link */
  font-weight: bold; /* Optionally make it bold */
  transition: color 0.3s ease; /* Smooth transition for hover effect */
}

a:hover,
a:focus {
  color: #0056b3; /* Change color on hover or focus for visual feedback */
  text-decoration: underline; /* Optionally add underline on hover */
}

@media (max-width: 480px) {
  .business-card {
    --card-width: 98vw;
  }
}
