105 lines
3.2 KiB
CSS
105 lines
3.2 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap');
|
|
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
:root {
|
|
--yellow: #FFD23F;
|
|
--coral: #FF5C5C;
|
|
--mint: #4ECDC4;
|
|
--lavender: #A593E0;
|
|
--sky: #5BCEFA;
|
|
--dark: #2D2D2D;
|
|
--cream: #FFF8E7;
|
|
--white: #FFFFFF;
|
|
--shadow-card: 0 6px 0 rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
|
|
--shadow-btn: 0 5px 0 rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.12);
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
html, body {
|
|
font-family: 'Fredoka', system-ui, sans-serif;
|
|
background: var(--cream);
|
|
color: var(--dark);
|
|
-webkit-font-smoothing: antialiased;
|
|
margin: 0;
|
|
}
|
|
|
|
body { min-height: 100vh; overflow-x: hidden; }
|
|
|
|
@layer components {
|
|
.btn {
|
|
@apply font-bold inline-flex items-center justify-center gap-2 rounded-full border-[3px] border-dark cursor-pointer transition-transform;
|
|
box-shadow: var(--shadow-btn);
|
|
padding: 14px 24px;
|
|
font-size: 16px;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 rgba(0,0,0,0.18), 0 4px 10px rgba(0,0,0,0.14); }
|
|
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,0.18); }
|
|
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
|
|
.btn-primary { background: var(--coral); color: white; }
|
|
.btn-secondary { background: var(--mint); color: var(--dark); }
|
|
.btn-ghost { background: white; color: var(--dark); }
|
|
.btn-yellow { background: var(--yellow); color: var(--dark); }
|
|
|
|
.panel {
|
|
background: white;
|
|
border: 3px solid var(--dark);
|
|
border-radius: 22px;
|
|
padding: 22px;
|
|
box-shadow: var(--shadow-card);
|
|
}
|
|
|
|
.pill {
|
|
@apply inline-flex items-center gap-2 rounded-full border-2 border-dark bg-white font-bold;
|
|
padding: 6px 14px;
|
|
font-size: 13px;
|
|
box-shadow: 0 3px 0 rgba(0,0,0,0.10);
|
|
}
|
|
|
|
.input-text {
|
|
@apply font-semibold w-full;
|
|
font-family: inherit;
|
|
font-size: 15px;
|
|
padding: 12px 16px;
|
|
border: 2px solid var(--dark);
|
|
border-radius: 14px;
|
|
background: var(--cream);
|
|
outline: none;
|
|
}
|
|
.input-text:focus { background: white; border-color: var(--coral); }
|
|
|
|
.field-label {
|
|
@apply font-bold uppercase tracking-wider text-xs mb-2 block;
|
|
color: rgba(45,45,45,0.6);
|
|
}
|
|
|
|
.logo-mark {
|
|
width: 44px; height: 44px; border-radius: 14px; background: var(--coral);
|
|
display: grid; place-items: center; box-shadow: var(--shadow-card); transform: rotate(-6deg);
|
|
color: white;
|
|
}
|
|
|
|
.logo-mark.sm { width: 38px; height: 38px; border-radius: 12px; }
|
|
}
|
|
|
|
/* Scrollbar */
|
|
::-webkit-scrollbar { width: 10px; height: 10px; }
|
|
::-webkit-scrollbar-track { background: transparent; }
|
|
::-webkit-scrollbar-thumb { background: rgba(45,45,45,0.2); border-radius: 999px; }
|
|
::-webkit-scrollbar-thumb:hover { background: rgba(45,45,45,0.35); }
|
|
|
|
/* Utility for the chunky offset shadow */
|
|
.shadow-card { box-shadow: 0 6px 0 rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08); }
|
|
.shadow-btn { box-shadow: 0 5px 0 rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.12); }
|
|
.shadow-chunky { box-shadow: 0 3px 0 rgba(0,0,0,0.15); }
|
|
|
|
@keyframes float {
|
|
0%, 100% { transform: translateY(0) rotate(-2deg); }
|
|
50% { transform: translateY(-8px) rotate(2deg); }
|
|
}
|
|
.animate-float { animation: float 3.5s ease-in-out infinite; }
|