:root {
    --card-bg: #edede9;
    --text-color: #333333;
    --primary-color: #3a5a40;
    --border-color: #a3b18a;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f7f6;
    color: var(--text-color);
    line-height: 1.6;
    padding: 2rem;
}

.profile-card {
    background-color: var(--card-bg);
    border-radius: 25px;
    box-shadow: 0 10px 25px var(--shadow-color);
    display: flex;
    flex-direction: column;
    max-width: 100vw;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem;
    gap: 2rem;
}

.profile-card__avatar-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card__avatar {
    width: 30vw;
    height: 300px;
    border-radius: 50%;
    border: 5px solid var(--border-color);
    object-fit: contain;
    background-color: #a3b18a;
}

.profile-card__info {
    text-align: center;
}

.profile-card__info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.profile-card__bio {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.profile-card__time {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1.5rem;
    word-break: break-all;
}

.profile-card__social-links ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.profile-card__social-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.profile-card__social-links a:hover,
.profile-card__social-links a:focus {
    background-color: var(--primary-color);
    color: white;
}

.profile-card__social-links a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.profile-card__details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.profile-card__details section h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.25rem;
    display: inline-block;
}

.profile-card__details ul {
    list-style: none;
    padding-left: 0;
}

.profile-card__details li {
    background-color: #f9f9f9;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}
@media (min-width: 768px) {
   .profile-card {
        flex-direction: row;
        align-items: flex-start;
    }

   .profile-card__avatar-container {
        flex-shrink: 0;
    }

   .profile-card__info {
        text-align: left;
        flex-grow: 1;
    }

   .profile-card__social-links ul {
        justify-content: flex-start;
    }

   .profile-card__details {
        flex-direction: row;
        justify-content: space-between;
    }

   .profile-card__details section {
        flex-basis: 48%;
    }
}