@charset "UTF-8";

@font-face {
    font-family: Inter;
    src: url(../assets/fonts/Inter-VariableFont_slnt\,wght.ttf);
}
@import url(../assets/fonts/static/Inter-Bold.ttf);

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

    font-size: 14px;
    font-family: Inter;
}

:root{
    --green: hsl(75, 94%, 57%);
    --grey-700: hsl(0, 0%, 20%);
    --grey-800: hsl(0, 0%, 12%);
    --grey-900: hsl(0, 0%, 8%);
}

h1, p, a{
    color: white;

    span{
        color: var(--green);
        font-weight: bold;
    }
}

body {
    background-color: var(--grey-900);

    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;

    height: 100vh;
    /* display: grid;
    place-items: center; */
}

article {
    background-color: var(--grey-800);
    width: 400px;
    height: 670px;
    border-radius: 10px;
    text-align: center;

    header{
        img{
            width: 100px;
            border-radius: 100%;
            margin-top: 40px;
            margin-bottom: 25px;
        }

        h1{
            font-size: 2rem;
            margin-bottom: 10px;
        }

        margin-bottom: 40px;
    }
    p{
        margin-bottom: 30px;
    }

    li{
        list-style: none;
        width: 80%;
        margin: auto;

        a {
            display: block;
            text-decoration: none;

            background-color: var(--grey-700);
            color: white;
            width: 100%;
            padding: 16px;
            border-radius: 10px;
            font-weight: bold;
            
            margin-top: 20px;

            &:hover{
                background-color: var(--green);

                color: var(--grey-800);
            }
        }
    }
}