* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    background-color: hsl(0, 0%, 8%);
    display: flex;
    font-family: "Inter", sans-serif;
    /* align-items: center; */
    /* justify-content: center; */
}

.card {
    position: relative;
    display: flex;
    width: 320px;
    height: 520px;
    background-color: hsl(0, 0%, 12%);
    margin: auto;
    border-radius: 12px;
    justify-content: center;
}

.card .image {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: hsl(0, 0%, 8%);
    left: 50%;
    transform: translateX(-50%);
    margin-top: 30px;
}

.card .text {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    color: hsl(0, 0%, 100%);
    /* text-align: center; */
}

.card .text .info {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 12px;
}

.card .text .address p{
    color: hsl(75, 94%, 57%);
    font-weight: bold;
    margin-bottom: 12px;
}

.card .text .username h3 {
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 20px;
}

.card .text .job p{
    font-weight: normal;
    white-space: nowrap;
}

.card nav {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    width: 100%;
    gap: 12px;
    margin-top: auto;
    margin-bottom: 32px;
}

.card button {
    width: 80%;
    padding: 12px;
    margin: 0 32px;
    background-color: hsl(0, 0%, 20%);
    color: hsl(0, 0%, 100%);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 570;
    cursor: pointer;
    transition: all 0.3s ease;
}

nav button:hover {
    background-color: hsl(75, 94%, 57%);
    color: hsl(0, 0%, 8%);
}