@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Big+Shoulders:opsz@10..72&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=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Karla:ital,wght@0,200..800;1,200..800&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Lexend+Deca:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@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=Red+Hat+Display:ital,wght@0,300..900;1,300..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Young+Serif&display=swap');

*{
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
:root{
    /*  Primary */
    --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%);
}
body{
    width: 100%;
    background-color: hsl(0, 0%, 97%);
    padding: 4rem;
    display: grid;
    place-items: center;
    min-height: 100vb;
}
header{
    width: inherit;
    display: grid;
    place-items: center;
    text-align: center;
    & h1{
        font-weight: 200;
        & b{
            display: block;
            font-weight: bold;
        }
    }
    & p{
        width: 47%;
        color: var(--Grey_500);
    }
}
main{
    width: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    & .section{
        width: 350px;
        height: 260px;
        background-color: var(--White);
        border-radius: 5px;
        padding: 1rem 2rem;
        margin: 1rem;
        box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1),  4px 0 8px rgba(0, 0, 0, 0.1),  0 4px 8px rgba(0, 0, 0, 0.2) ;  
        &:hover{
            transform: scale(1.01);
            cursor: pointer;
        }
        *{
            margin-top: 0.8rem;
        }
        & h2{
            color: var(--Grey_500);
        }
        & p{
            color: var(--Grey_400);
            font-size: 0.8rem;
        }
        & img{
            position: relative;
            right: -75%;
            top: 8%;
        }
    }
    & #section2{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    & .Supervisor{
        border-top:4px solid var(--Cyan);
    }
    & .Team{
        border-top:4px solid var(--Red);

    }
    & .Karma{
        border-top:4px solid var(--Orange);

    }
    & .Calculator{
        border-top:4px solid var(--Blue);

    }
}

@media (max-width:375px) {
    body{
        width: 100%;
        background-color: hsl(0, 0%, 97%);
        padding: 4rem 1rem;
        display: grid;
        place-items: center;
        min-height: 100vb;
    }
    header{
        & h1{
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }
        & p{
            width: 100%;
        }
    }
    main{
       
        flex-direction: column;
        margin-top: 3rem;
        & .section{
            width: 310px;
            height: 260px;
            background-color: var(--White);
            border-radius: 5px;
            padding: 1rem 2rem;
            margin: 1rem;
            *{
                margin-top: 0.8rem;
            }
            & h2{
    
            }
            & p{
                color: var(--Grey_400);
            }
            & img{
                position: relative;
                right: -11rem;
                top: 0.5rem;
            }
        }

    }
    
}