@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%);
    --grey:hsl(0, 0%, 20%);
    --dark-grey:hsl(0, 0%, 12%);
    --off-black:hsl(0, 0%, 8%);
    --ff-inter:"Inter",sans-serif;
}

html,body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
}

body{
    background-color: var(--off-black);
}

/* main */
main{
    background-color: var(--dark-grey);
    min-height: 30rem;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    width: 94%;
}

img{
    border-radius: 100%;
    height: 6rem;
}

h1{
    color: var(--white);
    font-family: var(--ff-inter);
    font-weight: 700;
    padding: 1rem 0;
}

p{
    font-family: var(--ff-inter);
    color: var(--green);
    font-weight: 600;
    font-size: 14px;
    padding-bottom: 1.4rem;
}

h4{
    color: var(--white);
    font-family: var(--ff-inter);
    font-weight: 400;
    padding-bottom: 1rem;
}

/* buttons */
button{
    min-width: 100%;
    min-height: 3rem;
    border-radius: 5px;
    border: none;
    margin-bottom: 1rem;
    background-color: var(--grey);
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
}


@media(min-width:1024px){
    main{
        min-height: 1rem;
        min-width: 5rem;
        margin: 4rem 0;
    }
    img{
        height: 5rem;
    }

    h1{
        font-weight: 600;
        font-size: 22px;
        padding: 1rem 0;
    }
    p{
        font-weight: 600;
        padding-bottom: 1.4rem;
        font-size: 14px;
    }
    h4{
        font-weight: 200;
        padding-bottom: 1rem;
        font-size: 14px;
    }

    button{
        min-width: 90%;
        min-height: 2rem;
        margin-bottom: 1rem;
    }

    button:hover{
        background-color: var(--green);
        color: var(--off-black);
        cursor: pointer;
    }
}