


@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root{
    --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%);
    --Font-Family: 'Inter-Regular',sans-serif;

    --radius: 0.5rem;
    --mb-1: 1.5rem;
    --mb-2: 1rem;
    --mb-3: 0.5rem;
}
body{
    font-family: var(--Font-Family);
    background-color: var(--Grey-900);
    color: var(--White);
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}
.profile-container{
    background-color: var(--Grey-800);
    border-radius: var(--radius);
    padding: 2rem;
    margin: 5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    
    
}

img{
    border-radius: 50%;
    height: 5rem;
}
figure{
    margin-bottom: var(--mb-1);
}
h1{
    font-weight: 700;
    margin-bottom: var(--mb-3);
}
.location{
    font-weight: 600;
    color: var(--Green);
    margin-bottom: var(--mb-1);
}
.bio{
    margin-bottom: var(--mb-1);
}

ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    margin: 0;
}
li{
    background-color: var(--Grey-700);
    border-radius: var(--radius);
    text-align: center;
}
li a{
    color: var(--White);
    display: block;
    padding: 0.8rem 1rem;
    text-decoration: none;
    font-weight: 600;
}
li a:hover{
   background-color: var(--Green);
   color: var(--Grey-900);
   border-radius: var(--radius);
    
    
}

/* to align the button with texts */
.user-info{
    align-self: stretch;
}
.buttons{
    align-self: stretch;
}

@media (max-width: 375px){
    .profile-container{
        margin: 1rem;
        padding: 1.5rem;
    }
    body{
        font-size: 12px; 
    }
    img{
    height: 4rem;
}
    
}