@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@media screen and (max-width: 1440px), screen and (max-width: 375px) {
    body {
        background-color: hsl(0, 0%, 8%);
        font-family: "Figtree", sans-serif;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 80px 0px 0px 0px;
    }
}

.card {
    background-color: hsl(0, 0%, 12%);
    color: white;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    height: 33rem;
    border-radius: 10px;
}

.avatar {
    width: 22%;
    height: 15%;
    border-radius: 50%;
    margin-top: 20px;
}

h1 {
    font-size: 20px;
    color: hsl(0, 0%, 100%);
    font-weight: 600;
    padding: 5px;
    margin: 10px 0px 0px;
}

h2 {
    font-size: 12px;
    color: hsl(75, 94%, 57%);
    font-weight: 600;
    padding: 0px;
    margin: 0px;
}

p {
    font-size: 13px;
    color: hsl(0, 0%, 100%);
    margin-top: 20px;
    padding-top: 5px;
    font-weight: 400;
}

button {
    background-color: hsl(0, 0%, 20%);
    color: hsl(0, 0%, 100%);
    border: solid 1px hsl(0, 0%, 20%);
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    height: 2.5rem;
    width: 16rem;
}

button:hover {
    background-color: hsl(75, 94%, 57%);
    color: hsl(0, 0%, 20%);
    border: solid 1px hsl(0, 0%, 20%);
    
}

.attribution {
    font-size: 12px;
    color: hsl(0, 0%, 100%);
    margin-top: 20px;
    text-align: center;
}