@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,400;0,600;1,200;1,400;1,600&display=swap');

article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,nav,section,summary{display: block;}audio,canvas,video{display: inline-block;}audio,input[type=reset],input[type=submit]{-webkit-appearance: button;cursor: pointer;}button[disabled],input[disabled]{cursor: default;}


:root{
    --Red: hsl(0, 78%, 62%);
    --Cyan: hsl(180, 62%, 55%);
    --Orange: hsl(34, 97%, 64%);
    --Blue: hsl(212, 86%, 64%);

    /* Neutral */
    --Grey-500: hsl(234, 12%, 34%);
    --Grey-400: hsl(212, 6%, 44%);
    --White: hsl(0, 0%, 100%);

}

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

body{
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--White);
}

header{
    text-align: center;
    width: 50%;
    padding-bottom: 1rem;
}

header h2, h1{
    font-size: 2.2rem;
}
h1{
    font-weight: 600;
    color: var(--Grey-500);
    padding-bottom: 0.875rem;
}
h2{
    color: var(--Grey-400);
    font-weight: 400;
}

.container{
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    justify-items: center; 
    place-content: center;
}

.box{
    width: 25rem;
    height: 14rem;
    margin: 1rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
    /* box-shadow: 0.5rem 0.5rem var(--Grey-400); */
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.box *{
    padding: 0.25rem;
}

.box .icon{
    display: flex;
    justify-content: flex-end;
}

.box:not(:last-child) {
    margin-bottom: 0;
  }

.box-supervisor{
    border-top: 0.35rem solid var(--Cyan);
    grid-column: 1 / 2;
    grid-row: 1 / 4;
    justify-self: flex-end;
    align-self: center;
}
.box-team-builder{
    border-top: 0.35rem solid var(--Red);
    grid-column: 2 / 3;
    grid-row: 2/3;
}
.box-karma{
    border-top: 0.35rem solid var(--Orange);
    grid-column: 2/3;
    grid-row: 3/4;
}
.box-calculator{
    border-top: 0.35rem solid var(--Blue);
    grid-column: 3/4;
    grid-row: 2/4;
    align-self: center;
    justify-self: flex-start;
}

@media(max-width: 1250px) {
    body{
        min-height: 100vh;
        padding: 2rem;
        /* width: 100%; */
        font-size: 1.25rem;
    }

    header{
        width: 100%;
    }
    .container{
        display: flex;
        flex-direction: column;
        margin: 0;
        box-shadow: none;
    }
    h2{
        color: var(--Grey-400);
    }

    h3{
        color: var(--Grey-500);
    }

    .box{
        width: 40rem;
    }

}

@media(max-width: 375px) {
    .container{
        display: flex;
        flex-direction: column;
    }
    
    .box{
        width: 20rem;
    }

    body{
        width: 100%;
    }

    header{
        width: 100%;
    }

    header h1{
        font-size: 1.5rem;
        
    }
    header h2{
        font-size: 1.5rem;
    }

    /* .box{
        margin: 0 1rem;
    } */

    .box p{
        font-size: 0.75rem;
    }

    header p{
        font-size: 0.875rem;
    }
}