@font-face {
    font-family: 'Inter';
    src: url("../fonts/Inter-VariableFont_slnt,wght.ttf");
}

*{
    margin: 0;
}

html{
    font-family: 'Inter', sans-serif;
    line-height: 1.313rem;
    background-color: #141414;
}

main{
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card{
    padding: 2.5rem;
    width: 19rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #FFFFFF;
    background: #1F1F1F;
}

.profile-pic{
    display: flex;
    justify-content: center;
}

.profile-pic>img{
    height: 5.5rem;
    width: 5.5rem;
    border-radius: 50%;
}

.name-location{
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.title{
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2.25rem;
}

.description{
    font-weight: 700;
    color: #C4F82A;
}

.bio{
    font-weight: 400;
}

.links{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.links>a{
    text-decoration: none;
    font-weight: 700;
    padding: 0.75rem;
    border-radius: 0.5rem;
    color: inherit;
    background-color: #333333;
    transition: background-color 0.8s;
}

.links>a:hover{
    color: #333333;
    background-color: #C4F82A;
    cursor: pointer;
}

.name-location, .bio, .links{
    text-align: center;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .card{
        width: 23.5rem;
    }
}

@media (max-width: 768px) {
    .card{
        width: 17.438rem;
    }
}