@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');
*{
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}
: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%);
}
body{
    font-family: 'Poppins';
    color: var(--Grey500);
    font-size: 15px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

header h2{
    font-weight:400;
    margin: 10px;
    text-align: center;
}
header p{
    max-width: 530px;
    text-align: center;
}
.main-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 40px;
}
.imp{
    color: black;
    font-weight: 600;
}
.card{
    max-width: 312px;
    min-height: 250px;
    box-shadow: 1px 1px 5px;
    border-radius: 10px;
    padding: 20px;
}
.card1{
    border-top: solid var(--Cyan) 5px;
}
.card2{
    border-top: solid var(--Red) 5px;
}
.card3{
    border-top: solid var(--Orange) 5px;
}
.card4{
    border-top: solid var(--Blue) 5px;
}
.img{
    display: flex;
    justify-content: flex-end;
    margin: 30px;
}
.and4{
    display: flex;
    flex-direction: column;
    gap: 30px;
}
@media (min-width:600px){
    .main-container{
        display: grid;
        grid-template-columns: repeat(3,1fr);
    }
}