/* Base Styles */
body {
  font-family: "Merriweather", serif;
}
.wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.underline {
  border-bottom: 1px solid black;
  padding-bottom: 2px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0) 80%);
  opacity: 1;
  transition: opacity 2s ease-in-out;
  z-index: 1; 
}
.pfp {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-right: 20px;
  border-radius: 50%;
}
.business-card {
  position: relative;
  z-index: 3;
  display: flex; 
  width: max-content;
  align-items: center;
  text-align: left;
  padding: 2em;
  background-color: #f2eeeb;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
  margin: 0 auto; /* Centers the card horizontally */
}
.left_pfp {
  display: flex;
  flex-direction: column;
}

.business-card p {
  margin: 0.3em 0; 
}
.business-card::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 60px;
  border-left: 3px solid #cfcfcf;
  border-bottom: 3px solid #cfcfcf; 
  border-bottom-left-radius: 3px;
  bottom: -3px;
  left: -3px;
}
.business-card::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 60px;
  border-right: 3px solid #cfcfcf;
  border-top: 3px solid #cfcfcf;
  border-top-right-radius: 3px;
  top: -3px;
  right: -3px;
}
.fade {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.fade.visible {
  opacity: 1;
}

.contact {
  margin-top: 15px;
  font-size: 1.1em;
  color: #444;
  line-height: 1.6;
}
.contact a {
  text-decoration: none;
  font-weight: 600;
  color: #0077b5;
  transition: color 0.3s ease-in-out;
}
.contact a:hover {
  text-decoration: underline;
  color: #005a8d;
}
.links {
  margin-top: 15px;
  font-size: 1.1em;
  font-weight: bold;
}
.links a {
  text-decoration: none;
  color: #0077b5;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}
.links a:hover {
  background-color: #0077b5;
  color: white;
  text-decoration: none;
  padding: 5px 12px;
}

@media (max-width: 550px) {
  .business-card {
    flex-direction: column;
    width: 100%;
    padding: 1em;
  }
  .pfp {
    margin-right: 0;
    margin-bottom: 1em;
  }
}