* {
    margin: 0;
    box-sizing: border-box;
}

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

main {
    width: 90%;
}

.card {
    background-color: var(--grey-medium);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    gap: 1.5rem;
    color: white;
}

.profile-img {
    width: 26%;
    aspect-ratio: 1/1;
    border-radius: 50%;

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
}

.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.325rem;
}

.name {
    font: 700 1.25rem/1.5 'Inter', sans-serif;
}

.location {
    font: 600 0.75rem/1.5 'Inter', sans-serif;
    color: var(--green);
}

.desc {
    font: 400 0.75rem/1.5 'Inter', sans-serif;
}

.social {
    text-align: center;
    width: 100%;
}

.social_list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link {
    display: block;
    width: 100%;
    padding: 0.625rem 1rem;
    background-color: var(--grey-light);
    color: #fff;
    text-decoration: none;
    border-radius: 0.625rem;
    font: 600 0.75rem/1.5 'Inter', sans-serif;
}

.link:hover {
    background-color: var(--green);
    color: black;
    cursor: pointer;
}

:root {
    --grey-light: hsl(0, 0%, 20%);
    --grey-medium: hsl(0, 0%, 12%);
    --grey-dark: hsl(0, 0%, 8%);
    --green: hsl(75, 94%, 57%);
}

@font-face {
    font-family: "Inter";
    src: url("./assets/fonts/Inter-VariableFont_slnt,wght.ttf") format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@media (max-width: 480px) {
    main {
        width: 90%;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    main {
        width: 80%;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    main {
        width: 40%;
    }
}

@media (min-width: 1201px) {
    main {
        width: 20%;
    }
}