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

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

:root {
    --green: hsl(75, 94%, 57%);
    --white: hsl(0, 0%, 100%);
    --grey7: hsl(0, 0%, 20%);
    --grey8: hsl(0, 0%, 12%);
    --grey9: hsl(0, 0%, 8%);
}

body {
    font-family: "Inter", sans-serif;
    font-size: 14px;
}

main {
    background-color: var(--grey9);
    color: var(--white);
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

article {
    background-color: var(--grey8);
    border-radius: 10px;
    padding: 20px;
    width: 400px;
    text-align: center;
    transition: box-shadow 0.3s ease;

    margin: 0 20px;
}

article:hover {
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.5);
}

.user {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.user img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.user img:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.user h1 {
    font-size: 24px;
}

.user p {
    font-weight: 600;
    color: var(--green);
}

.userq {
    margin-top: 35px;
}

.buttons {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    gap: 20px;
}

.b {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: var(--grey7);
    border-radius: 10px;
    transition: transform 0.3s ease;
    text-align: center;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.b:hover {
    cursor: pointer;
    background-color: var(--grey9);
    color: var(--green);
    transform: scale(1.1);
}

a {
    text-decoration: none;
    color: inherit;
}

a:visited {
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: inherit;

}

a:active {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 420px) {
    body {
        font-size: 12px;
    }

    article {
        width: 90%;
        padding: 15px;
    }

    .user img {
        width: 80px;
        height: 80px;
    }

    .user h1 {
        font-size: 20px;
    }

    .b {
        padding: 10px;
    }
}
