@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');
@tailwind base;
@tailwind components;
@tailwind utilities;

@keyframes movetoright{
    from{
        right: -100%;
    }
    to{
        right: 0;
    }
}

.showModal{
    animation: movetoright 700ms ease-in-out forwards;
}

@keyframes movetoleft{
    from{
        right: 0;
    }
    to{
        right: -100%;
    }
}

.hideModal{
    animation: movetoleft 700ms ease-in-out forwards;
}

.inputError{
    @apply border-red-600;
}

.p1{
    @apply border-l-red-600;
}

.p1 > div:first-child{
    @apply text-red-800 bg-red-200;
}

.p2{
    @apply border-l-orange-600;
}

.p2 > div:first-child{
    @apply text-orange-800 bg-orange-200;
}

.p3{
    @apply border-l-green-600;
}

.p3 > div:first-child{
    @apply text-green-800 bg-green-200;
}

@keyframes growcard{
    from{
        transform: scale(0);
    }
    to{
        transform: scale(1);
    }
}

.growcard{
    transform-origin: center;
    animation: growcard 1s ease-in-out forwards;
}