:root {
    --red: hsl(0, 78%, 62%);
    --cyan: hsl(180, 62%, 55%);
    --orange: hsl(34, 97%, 64%);
    --blue: hsl(212, 86%, 64%);

    --grey500: hsl(234, 12%, 34%);
    --grey400: hsl(212, 6%, 44%);
    --white: hsl(0, 0%, 100%);
}

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

body{
    font-family: "Poppins", sans-serif;
    font-size: 15px;
}

header{
    text-align: center;
}

h1{
    font-weight: 200;
    font-size: 1.5rem;
    padding-top: 2em;
}

h2{
    font-weight: 600;
    font-size: 1.5rem;
}

header p{
    font-size: 0.9rem;
    padding: 0.9em 2em 1.5em 2em;
    font-weight: 200;
    max-width: 550px;
    margin: 0 auto;
}

.card{
    margin: 2em 2em;
    box-shadow: 5px 10px 18px #e0e0e0;
    height: 14em;
    padding: 1.5em 1.5em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    
}

.card h3{
    font-weight: 600;
    font-size: 1.1rem;
}

.card p{
    font-weight: 200;
    font-size: 0.8rem;
} 

.card .section-icon {
    align-self: flex-end;
}

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

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

.yellow{
    border-top: 4px solid var(--orange);
}

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

/* Desktop responsive */

@media only screen and (min-width: 1000px) {
  .cards {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .card{
    margin: 1em 1em;
    max-width: 300px;
  }
}