*,
*::before, 
*::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    background-color: hsl(210, 46%, 95%);
    color: hsl(214, 17%, 51%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    flex-direction: column;
}
/* Card Component */
.card {
    background-color: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.card-image {
    margin: 0;
    padding: 0;
}
.card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.card-content {
    padding: 2rem;
}
.card-header h1 {
    font-size: 1.25rem;
    color: hsl(217, 19%, 35%);
    margin: 0 0 1rem;
    line-height: 1.4;
}
.card-header p {
    margin: 0 0 1.5rem;
}
/*Footer*/
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/*Profile*/
.profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.profile-info h3 {
    font-size: 0.875rem;
    margin: 0;
    color: hsl(217, 19%, 35%)
}
.profile-info p {
    font-size: 0.75rem;
    margin: 0;
}
/*Share Button*/
.share-container {
    display: flex;
    align-items: center;
    position: relative;
}
.share-btn {
    background-color: hsl(210, 46%, 95%);
    color: #6e8098;
    border: none;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
/*Share Popup*/
.share-popup {
    position: absolute;
  bottom: 60px;
  right: 10px;
  background-color: #48556a;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  display: none;
  z-index: 10;
  gap: 12px;
}
.share-popup img {
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.share-container.active .share-popup {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}
/*Attribution*/
.attribution { 
    font-size: 12px; 
    text-align: center; 
    margin-top: 2rem;
}
.attribution a { 
    color: hsl(228, 45%, 44%);
}
/*Media queries*/
@media (min-width: 768px) {
    .card {
      display: flex;
      max-width: 900px;
    }
  
    .card-image {
      flex: 1;
    }
  
    .card-content {
      flex: 1;
      padding: 2.5rem;
    }
  
    .card-header h1 {
      font-size: 1.5rem;
    }
  }  