@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

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

:root {
    --green: hsl(75, 94%, 57%);
    --white: hsl(0, 0%, 100%);
    --grey700: hsl(0, 0%, 20%);
    --grey800: hsl(0, 0%, 12%);
    --grey900: hsl(0, 0%, 8%);
}

body {
    font-family: "Inter", serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--grey900);
}

.container {
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--grey800);
    text-align: center;
    padding: 8px;
    border-radius: 14px;
}

.avatar img {
    width: 50%;
    border-radius: 50%;
    margin: 1.2rem 0 1.5rem 0;
}

.details {
    color: var(--white);
}

.details h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.details h3 {
    color: var(--green);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.details h4 {
    font-size: 14px;
    font-weight: 400;
    opacity: 60%;
}

.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 1.5rem 0;
}

.buttons button {
    width: 280px;
    border: none;
    background-color: var(--grey700);
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.buttons a {
    color: var(--white);
    text-decoration: none;
}

.buttons button:hover {
    color: var(--grey900);
    background-color: var(--green);
}

@media (min-width: 765px) {
    .container {
        width: 380px;
    }

    .buttons button {
        width: 300px;
    }
}