@font-face {
    font-family: "Interfont";
    src: url("assets/fonts/static/Inter-Bold.ttf");
    font-weight: 700;
}
@font-face {
    font-family: "Interfont";
    src: url("assets/fonts/static/Inter-Regular.ttf");
    font-weight: 400;
}
@font-face {
    font-family: "Interfont";
    src: url("assets/fonts/static/Inter-SemiBold.ttf");
    font-weight: 600;
}
/* 
initialize a var that contains colors */
:root{
    --green-color: hsl(75, 94%, 57%);

 --text-color: hsl(0, 0%, 100%);

 --list-color: hsl(0, 0%, 20%);
 --card-color:hsl(0, 0%, 12%);
 --background-color:hsl(0, 0%, 8%);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

body{
    height: 100vh;
    font-family: "Interfont";
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background-color: var(--background-color);

}

article{
    background-color: var(--card-color);
    border-radius: 1rem;
    width: min(90%, 400px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

article header{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

article header .Profile_pic{
    width: 100px;
    border-radius: 20rem;
}
article header .name{
    font-weight: 700;
    font-size: 1.5785rem;
}

article header .location{
    font-style: normal;
    font-weight: 600;
    color: var(--green-color);
}

article header .info{
    font-size: 14px;
    padding: 0.5rem;
}


article ._links{
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 1em;
}

article ._links a{
    
    background-color: var(--list-color);
    border-radius: 0.5em;
    padding: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
     display: block;
    width: 100%;
}
article ._links a:hover,
article ._links a:focus{
    background-color: var(--green-color);
    color: var(--background-color);
    transition: 500ms;
}

footer{
    font-weight: 600;
}

footer a{
    text-decoration: none;
    color: var(--green-color);
    font-weight: 700;
}

