@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&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    html {
        scroll-behavior: smooth;
    }
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
    }

    /* Firefox */
    input[type=number] {
    -moz-appearance: textfield;
    }
}

@keyframes size-in {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes wewew {
    0% { transform: scale(1, 1); }
    25% { transform: scale(1.1, .9); }
    50% { transform: scale(.9, 1.1); }
    75% { transform: scale(1.1, .9); }
    100% { transform: scale(1, 1); }
}

.container {
    @apply w-[1280px] mx-auto;
}

.container-grid {
    @apply grid grid-cols-8 gap-6;
}

.switch {
    @apply rounded-lg transition;
}
.switch > .handler {
    @apply rounded-md p-[6px] transition-[margin];
}


.switch-on {
    @apply border-primary bg-primary bg-opacity-40;
}
.switch-on > .handler {
    @apply bg-primary ms-[50%];
}

.switch-off {
    @apply border-disabled bg-transparent;
}
.switch-off > .handler {
    @apply bg-disabled ms-0;
}