:root{
    --primary-color: hsl(0, 0%, 20%);
    --secondary-color: hsl(0, 0%, 12%);
    --accent-color: hsl(0,0%, 8%);
    --green-color: hsl(75, 94%, 57%);
    --White: hsl(0, 0%, 100%);
}

@font-face {
    font-family:'regularFont' ;
    src: url('./assets/fonts/static/Inter-Regular.ttf') format(truetype);
    font-weight: 400;
    font-size: 14px;
}

@font-face {
    font-family:'boldFont' ;
    src: url('./assets/fonts/static/Inter-Bold.ttf') format(truetype);
    font-weight: 700;
    font-size: 14px;
}

@font-face {
    font-family:'semiBoldFont' ;
    src: url('./assets/fonts/static/Inter-SemiBold.ttf') format(truetype);
    font-weight: 600;
    font-size: 14px;
}

*{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

body{
    background-color: var(--accent-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card{
    background-color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 290px;
    padding: 10%;
    border-radius: 5%;
    gap: 1rem;
}

.profile-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}
.profile-pic{
    width: 50%;
    border-radius:3em;
}

.username{
    font-family: 'boldFont';
    color: var(--White);
    font-size: 700;
}
.address{
    font-family: 'semiBoldFont';
    font-size: 14px;
    font-weight: 600;
    color: var(--green-color);
}
.info{
    color: var(--White);
    font-family: 'regularFont';
    font-size: 14px;
}
.links{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: .5rem;
}
.links ul{
    width: 100%;
     gap: 1rem;
}

.link a{
    align-self: center;
    display: block;
    background-color: var(--primary-color);
    padding: 15px 0px;
    margin: 15px 0px;
    width: 100%;
    color: var(--White);
    text-align: center;
    border-radius: 0.5rem;
    font-family: 'semiBoldFont';
    font-size: 14px;
}

.link a:hover{
    align-self: center;
    display: block;
    background-color: var(--green-color);
    padding: 15px 0px;
    margin: 15px 0px;
    width: 100%;
    color: var(--secondary-color);
    text-align: center;
    border-radius: 0.5rem;
    font-family: 'semiBoldFont';
    font-size: 14px;
}
