@import url('https://fonts.googleapis.com/css2?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&display=swap');

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


html {
  font-size: 62.5%;
}

:root {
    /* primary colors */
    --color-red: hsl(0, 78%, 62%);
    --color-cyan: hsl(180, 62%, 55%);
    --color-orange: hsl(34, 97%, 64%);
    --color-blue: hsl(212, 86%, 64%);
    
    /* neutral colors */
    --color-grey-500: hsl(234, 12%, 34%);
    --color-grey-400: hsl(212, 6%, 44%);
    --color-white: hsl(0, 0%, 100%);
    --size-medium: 1.5rem;
    --font-size: 1rem;
    --feature-width: 30rem;
    --feature-height: 18rem;
}

body {
    font-family: 'Poppins', sans-serif;
    padding: 4rem 3rem;
    background-color: whitesmoke;
}

p {
  font-weight: 200;
}


.header { 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    
}

.subtitle {
    font-weight: 200;
    font-size: 3rem;
    color: var(--color-grey-400);
}

.title {
    font-weight: 600;
    font-size: 3rem;
    color: var(--color-grey-500);

}

.description {
    margin-top: 1rem;
    color: var(--color-grey-400);
    text-align: center;
    font-size: 1.5rem;
    max-width: 44rem;
}

.features-container {
    display: flex;
    justify-content: center;
    padding: 2rem;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-auto-flow: row;
    gap: 2rem;
    
}

.feature {
    max-width: var(--feature-width);
    box-shadow: 0.5rem 1rem 3rem hsla(229, 6%, 66%, 0.3);
    border-radius: 5px;
    padding: 2rem;
    border-top: 4px solid var(--item-color);
    background-color: var(--color-white);
}

.feature-title {
    color: var(--color-grey-500);
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 1.1rem;
}

.feature-icon {
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-top: 2rem;
}

.supervisor {
    --item-color: var(--color-cyan);

}

.team-builder {
    --item-color: var(--color-red);
}

.karma {
    --item-color: var(--color-orange);
}

.calculator {
    --item-color: var(--color-blue);
}

@media screen and (min-width: 720px) {
    .supervisor {
        grid-column: 1;
        grid-row: 1/3;
        align-self: center;
    }

    .karma {
        grid-column: 2;
        grid-row: 2;
    }
    .calculator {
        grid-row: 1/3;
        grid-column: 3;
        align-self: center;
    }
    .team-builder {
        grid-column: 2;
        grid-row: 1;
    }
}
