* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
    font-size: 14px;
}

: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%);
    --fontFamily: "Inter", sans-serif;
}

body {
    width: 100vw;
    height: 100vh;
    font-family: var(--fontFamily);
}

main {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background-color: var(--Grey-900);
    color: var(--White);
}

main .profile-box {
    background-color: var(--Grey-800);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
}

.profile-box .image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width .3s ease;
    margin-bottom: 10px;
}

.profile-box .image img {
    width: 60px;
    border-radius: 50%;
    transition: scale .3s ease;

    &:hover {
        scale: 1.2;
    }
}

.profile-box .name {
    font-size: 16px;
    width: 100%;
}

.profile-box .location {
    color: var(--Green);
    font-size: 9px;
    font-weight: bold;
    margin-top: -5px;
    padding: 0 10px;
    width: 100%;
}

.profile-box .job-title {
    padding: 10px;
    font-size: 10px;
}


.profile-box .links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.profile-box .links li {
    width: 100%;
    text-align: center;
    background-color: var(--Grey-700);
    border-radius: 5px;
    border: 1px solid transparent;


    &:hover {
        background-color: transparent;
        border: 1px solid;
        color: var(--Green);
    }
}

.profile-box .links:hover li {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.profile-box .links li:hover {
    opacity: 1 !important;
}

.profile-box .links li a {
    color: inherit;
    font-weight: bolder;
    font-size: 12px;
    width: 100%;
    padding: 5px;
    display: block;
}

.attribution {
    font-size: 10px;
    text-align: center;
    padding: 10px;
    margin-top: 10px;
}

.attribution p {
    font-size: 10px;
    margin-bottom: 5px;
}

.attribution a {
    color: var(--Green);
    font-weight: bolder;
    text-decoration: none;
    font-style: italic;
    font-size: 10px;
    opacity: .8;
    transition: all .3s ease;

    &:hover {
        opacity: 1;
        font-size: 11px;
    }
}

@media screen and (max-width:576px) {
    .attribution {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
}