@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=League+Spartan:wght@100..900&family=Manrope:wght@200..800&family=Outfit:wght@100..900&family=Quicksand:wght@300..700&family=Roboto:wght@100;300;400;500;700;900&family=Young+Serif&display=swap');


*{
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    font-family: 'Inter', sans-serif;
}

.attribution { font-size: 11px; text-align: center; margin: 20px 0 20px 0; color: white;}
.attribution a { color: hsl(228, 45%, 44%); }

body {
    background-color: hsl(0, 0%, 8%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media only screen and (min-width: 600px) {
    .card {
        margin-top: 100px;
        padding: 40px;
        width: 400px;
        height: auto;
        background-color: hsl(0, 0%, 12%);
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .card img {
        width: 94px;
        border-radius: 100%;
    }

    .card h1 {
        margin-top: 20px;
        color: hsl(0, 0%, 100%);
        font-size: 26px;
    }

    .card h2 {
        margin-top: 10px;
        font-size: 18px;
        font-size: 14px;
        color: hsl(75, 94%, 57%);
    }

    .card p {
        margin-top: 40px;
        color: hsl(0, 0%, 100%);
        font-size: 14px;
    }

    .card__buttons {
        margin-top: 20px;
    }

    .card__buttons button {
        margin-top: 20px;
        height: 50px;
        font-size: 18px;
        width: 100%;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        background-color: hsl(0, 0%, 20%);
        color: hsl(0, 0%, 100%);
        font-weight: bold;
    }

    .card__buttons button:hover {
        color: hsl(0, 0%, 20%);
        background-color: hsl(75, 94%, 57%);
    }
}

@media only screen and (max-width: 600px) {
    .card {
        margin-top: 100px;
        padding: 40px;
        width: 320px;
        height: auto;
        background-color: hsl(0, 0%, 12%);
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .card img {
        width: 94px;
        border-radius: 100%;
    }

    .card h1 {
        margin-top: 20px;
        color: hsl(0, 0%, 100%);
        font-size: 26px;
    }

    .card h2 {
        margin-top: 10px;
        font-size: 14px;
        color: hsl(75, 94%, 57%);
    }

    .card p {
        margin-top: 30px;
        color: hsl(0, 0%, 100%);
        font-size: 12px;
    }

    .card__buttons {
        margin-top: 10px;
    }

    .card__buttons button {
        margin-top: 10px;
        height: 40px;
        font-size: 14px;
        width: 100%;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        background-color: hsl(0, 0%, 20%);
        color: hsl(0, 0%, 100%);
        font-weight: bold;
    }

    .card__buttons button:hover {
        color: hsl(0, 0%, 20%);
        background-color: hsl(75, 94%, 57%);
    }
}