@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,100..900&family=Figtree:ital,wght@0,300..900;1,300..900&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kumbh+Sans:wght@100..900&family=League+Spartan:wght@100..900&family=Lexend+Deca:wght@100..900&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Overpass:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&family=Roboto:wght@100;300;400;500;700;900&family=Work+Sans:ital,wght@0,100..900;1,100..900&family=Young+Serif&display=swap');

* {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
    font-family: var(--font-family);
}

:root {

    /* Primary Colors */
    --red: hsl(0, 78%, 62%);
    --cyan: hsl(180, 62%, 55%);
    --orange: hsl(34, 97%, 64%);
    --blue: hsl(212, 86%, 64%);

    /* Neutral Colors */
    --grey-500: hsl(234, 12%, 34%);
    --grey-400: hsl(212, 6%, 44%);
    --off-white: hsl(0, 0%, 98%);
    --white: hsl(0, 0%, 100%);

    /* Typography Desktop*/
    --font-family: 'Poppins', sans-serif;
    --font-size-title-h1: 32px;
    --font-size-title-h2: 28px;
    --font-size-title-p: 16px;
    --font-size-card-h1: 24px;
    --font-size-card-p: 16px;

    /* Font Weights */
    --font-weight-light: 200;
    --font-weight-regular: 400;
    --font-weight-semibold: 600;
}

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

@media only screen and (min-width: 600px) {

    body {
        width: 100vw;
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: var(--off-white);
    }


    .title {
        text-align: center;
    }

    .title h2 {
        color: var(--grey-400);
        font-weight: var(--font-weight-light);
        font-size: var(--font-size-title-h2);
    }

    .title h1 {
        color: var(--grey-500);
        font-weight: var(--font-weight-semibold);
        font-size: var(--font-size-title-h1);
    }

    .title p {
        margin-top: 20px;
        width: 560px;
        color: var(--grey-400);
        font-weight: var(--font-weight-regular);
        font-size: var(--font-size-title-p);
    }

    .cards {
        margin-top: 60px;
        width: 1200px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .card {
        padding: 20px;
        width: 360px;
        background-color: var(--white);
        border-radius: 4px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    .cardCyan {
        border-top: 4px solid var(--cyan);
    }

    .cardRed {
        border-top: 4px solid var(--red);
    }

    .cardOrange {
        margin-top: 40px;
        border-top: 4px solid var(--orange);
    }

    .cardBlue {
        border-top: 4px solid var(--blue);
    }

    .card h1 {
        color: var(--grey-500);
        font-weight: var(--font-weight-semibold);
        font-size: var(--font-size-card-h1);
    }

    .card p {
        margin-top: 10px;
        color: var(--grey-400);
        font-weight: var(--font-weight-regular);
        font-size: var(--font-size-card-p);
    }

    .card img {
        margin-top: 40px;
        margin-left: 240px;
    }

}

@media only screen and (max-width: 600px) {

    body {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: var(--off-white);
    }

    
    .title {
        padding: 20px;
        margin-top: 40px;
        text-align: center;
    }

    .title h2 {
        color: var(--grey-400);
        font-weight: var(--font-weight-light);
        font-size: var(--font-size-title-h2);
    }

    .title h1 {
        color: var(--grey-500);
        font-weight: var(--font-weight-semibold);
        font-size: var(--font-size-title-h1);
    }

    .title p {
        margin-top: 20px;
        max-width: 560px;
        color: var(--grey-400);
        font-weight: var(--font-weight-regular);
        font-size: var(--font-size-title-p);
    }

    .cards {
        margin-top: 60px;
        width: 1200px;
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
        justify-content: space-between;
    }

    .card {
        padding: 20px;
        width: 300px;
        background-color: var(--white);
        border-radius: 4px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    .cardCyan {
        border-top: 4px solid var(--cyan);
    }

    .cardRed {
        border-top: 4px solid var(--red);
    }

    .cardOrange {
        margin-top: 40px;
        border-top: 4px solid var(--orange);
    }

    .cardBlue {
        border-top: 4px solid var(--blue);
    }

    .card h1 {
        color: var(--grey-500);
        font-weight: var(--font-weight-semibold);
        font-size: var(--font-size-card-h1);
    }

    .card p {
        margin-top: 10px;
        color: var(--grey-400);
        font-weight: var(--font-weight-regular);
        font-size: var(--font-size-card-p);
    }

    .card img {
        margin-top: 40px;
        margin-left: 180px;
    }

}
