/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* CSS Variables */
:root {
    /* Colors */
    --green: hsl(75, 94%, 57%);
    --white: hsl(0, 0%, 100%);
    --grey-700: hsl(0, 0%, 20%);
    --grey-800: hsl(0, 0%, 12%);
    --grey-900: hsl(0, 0%, 8%);

    /* Typography */
    --font-family: 'Inter', sans-serif;
    --font-size-base: 14px;
    --font-size-large: 24px;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 2.5rem;

    /* Border radius */
    --border-radius: 12px;
    --border-radius-sm: 8px;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    line-height: 1.5;
    color: var(--white);
    background-color: var(--grey-900);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    overflow: hidden;
}

/* Profile Card */
.profile-card {
    background-color: var(--grey-800);
    border-radius: var(--border-radius);
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    max-width: 400px;
    width: 100%;
    /* Replace box-shadow with gradient shadow */
    position: relative;
    z-index: 0;
}


/* Profile Header */
.profile-header {
    margin-bottom: var(--spacing-lg);
}

.profile-image {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin-bottom: var(--spacing-md);
    object-fit: cover;
    border: 2px solid var(--green);
}

.profile-name {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

.profile-location {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--green);
    margin-bottom: var(--spacing-md);
}

.profile-quote {
    font-size: var(--font-size-base);
    color: var(--white);
    opacity: 0.8;
    font-style: italic;
}

/* Social Links */
.social-links {
    width: 100%;
}

.social-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.social-link {
    display: block;
    background-color: var(--grey-700);
    color: var(--white);
    font-weight: var(--font-weight-semibold);
    font-size: 14px;
    text-decoration: none;
    padding: 0.75rem 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.social-link:hover,
.social-link:focus {
    background-color: var(--green);
    color: var(--grey-900);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link:focus {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.social-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.descricao {
    border: 2px solid rgb(86, 60, 179);
}

.biografia {
    border: 2px solid blue;
    overflow-y: scroll;
    padding: 10px;
    max-height: 163px;

}


/* Responsive Design */
@media (max-width: 375px) {
    body {
        padding: var(--spacing-sm);
        align-items: flex-start;
    }

    .profile-card {
        padding: var(--spacing-lg) var(--spacing-md);
        margin: var(--spacing-sm);
    }

    .profile-name {
        font-size: 20px;
    }

    .social-link {
        padding: var(--spacing-sm);
        font-size: 13px;
    }
}

@media (max-width: 320px) {
    .profile-card {
        padding: var(--spacing-md);
    }

    .profile-image {
        width: 72px;
        height: 72px;
    }
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Print styles */
@media print {
    body {
        background-color: white;
        color: black;
    }

    .profile-card {
        background-color: white;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Attribution (opcional) */
.attribution {
    font-size: 11px;
    text-align: center;
    margin-top: var(--spacing-lg);
    color: var(--white);
    opacity: 0.6;
}

.attribution a {
    color: var(--green);
    text-decoration: none;
}

.attribution a:hover {
    text-decoration: underline;
}