@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Outfit:wght@100..900&display=swap');


body {
    background-color: hsl(210, 46%, 95%);
    font-size: 13px;
    font-family: 'Manrope', sans-serif;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.card {
    max-width: 700px;
    max-height: 800px;
    width: 800px;
    min-height: 250px;
    border-radius: 10px;
    background-color: white;
    justify-content: center;
    display: flex;
    flex-direction: row;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible;
}


.image-section img {
    width: 100%;
    height: 100%;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    object-fit: cover;
}

.profile-section img {
    border-radius: 90%;
    width: 40px;
    height: 40px;
}

.content-section {
    padding-top: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
    padding-left: 3rem;
    max-width: 350px;
}

.profile-section {
    flex-direction: row;
    display: flex;
}

span {
    margin-left: 5%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.share-section {
    margin-left: 40%;
    margin-right: auto;
}

.person-name {
    padding-top: 2%;
    color: hsl(217, 19%, 35%);
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

#popup {
    position: absolute;
    top: 160px;
    right: -15px;
    bottom: 2px;
    background: hsl(217, 19%, 35%);
    color: white;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    display: block;
    width: 150px;
    height: 1em;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    font-family: 'Manrope', sans-serif;
    color: hsl(212, 23%, 69%)
}

#share-icon {
    cursor: pointer;
    width: 40px;
    height: 40px;
}

#popup.hidden {
    display: none;
}

#popup span {
    font-size: small;
    text-align: center;
}



#popup a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
    background: hsl(214, 17%, 51%);
    border-radius: 5px;
    transition: background 0.3s ease;
    margin-left: 0.5em;
}

.birth-date {
    color: hsl(212, 23%, 69%)
}

h2 {
    font-weight: 700;
    color: hsl(217, 19%, 35%);
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 1.5em;
}

p {
    color: hsl(214, 17%, 51%);
}

.attribution {
    padding-top: 2%;
    font-size: 11px;
    text-align: center;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}