reactbits-mcp-server
Version:
MCP Server for React Bits - Access 99+ React components with animations, backgrounds, and UI elements
922 lines (786 loc) • 16.9 kB
CSS
.landing-wrapper {
min-height: 100dvh;
position: relative;
overflow-x: hidden;
}
.landing-wrapper::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 300px;
height: 100vh;
background: linear-gradient(to right, #060010, transparent);
z-index: 2;
pointer-events: none;
}
.landing-wrapper::after {
content: '';
position: absolute;
top: 0;
right: 0;
width: 300px;
height: 100vh;
background: linear-gradient(to left, #060010, transparent);
z-index: 2;
pointer-events: none;
}
.landing-content {
position: relative;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
height: 100%;
max-width: calc(1200px + 6em);
margin: 0 auto;
padding: 0 4em;
margin-top: 250px;
z-index: 10;
}
.landing-title {
user-select: none;
white-space: nowrap ;
font-size: 3.6rem;
font-weight: 500;
position: relative;
z-index: 6;
color: #fff;
margin-bottom: 1rem;
max-width: 22ch;
letter-spacing: -3px;
line-height: 1;
text-shadow:
0 0 2px rgba(255, 255, 255, 0.1),
0 0 4px rgba(255, 255, 255, 0.3),
0 0 8px rgba(255, 255, 255, 0.4),
0 0 136px rgba(120, 60, 255, 0.8);
}
.landing-subtitle {
user-select: none;
overflow: visible ;
font-size: 1.2rem;
text-align: left ;
font-weight: 300;
line-height: 1.2;
color: #c8b5ff;
max-width: 30ch;
margin-bottom: 2rem;
text-shadow:
0 0 2px rgba(255, 255, 255, 0.1),
0 0 4px rgba(255, 255, 255, 0.3),
0 0 8px rgba(255, 255, 255, 0.4),
0 0 136px rgba(120, 60, 255, 0.8);
z-index: 6;
}
.hero-split {
white-space: nowrap ;
overflow: visible ;
}
.landing-button {
position: relative;
background: linear-gradient(135deg,
#7c3aed,
rgba(24, 47, 255, 0.6));
background-size: 200% 200%;
font-weight: 600;
font-size: 1.1rem;
border-radius: 50px;
border: none;
padding: 1rem 1rem 1rem 2.5rem;
color: white;
cursor: pointer;
isolation: isolate;
z-index: 15;
box-shadow:
0 0 40px rgba(124, 58, 237, 0.4),
0 0 80px rgba(139, 92, 246, 0.3),
0 8px 32px rgba(0, 0, 0, 0.3);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
animation: glow-pulse 3s ease-in-out infinite alternate;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
letter-spacing: 0.5px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1.6rem;
}
.button-arrow-circle {
display: flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
background: rgba(255, 255, 255, 0.9);
border-radius: 50%;
color: #4c1d95;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
flex-shrink: 0;
}
.landing-button:hover .button-arrow-circle {
background: rgba(255, 255, 255, 1);
transform: translateX(4px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.landing-button span {
position: relative;
z-index: 2;
display: inline-block;
transition: all 0.3s ease;
}
.landing-button:hover span {
transform: scale(1.01);
}
.landing-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg,
transparent,
rgba(255, 255, 255, 0.4),
transparent);
transition: left 0.6s ease;
z-index: 1;
}
.landing-button::after {
content: '';
position: absolute;
inset: -2px;
background: linear-gradient(45deg,
transparent,
rgba(255, 255, 255, 0.1),
transparent,
rgba(255, 255, 255, 0.1),
transparent);
background-size: 200% 200%;
border-radius: 50px;
z-index: -1;
animation: border-dance 4s linear infinite;
opacity: 0;
transition: opacity 0.3s ease;
}
.landing-button:hover {
box-shadow:
0 0 60px rgba(124, 58, 237, 0.2),
0 0 120px rgba(139, 92, 246, 0.2),
0 0 180px rgba(109, 40, 217, 0.2),
0 12px 40px rgba(0, 0, 0, 0.4),
inset 0 2px 0 rgba(255, 255, 255, 0.4),
inset 0 -2px 0 rgba(0, 0, 0, 0.3);
transform: translateY(-4px) scale(1.01);
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
animation-duration: 1.5s;
}
.landing-button:hover::before {
left: 100%;
}
.landing-button:hover::after {
opacity: 1;
}
.landing-button:active {
transform: translateY(-2px) scale(1.02);
transition: all 0.1s ease;
}
@keyframes glow-pulse {
0% {
filter: brightness(1) saturate(1);
}
100% {
filter: brightness(1.1) saturate(1.2);
}
}
@keyframes border-dance {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes fadeInUp {
0% {
opacity: 0;
transform: translateY(30px) scale(0.9);
}
100% {
opacity: 1;
transform: translateY(0) scale(1);
}
}
@keyframes fadeInUpRotate1 {
0% {
opacity: 0;
transform: translateY(30px) scale(0.9) rotate(-13deg);
}
100% {
opacity: 1;
transform: translateY(0) scale(1) rotate(-13deg);
}
}
@keyframes fadeInUpRotate2 {
0% {
opacity: 0;
transform: translateY(30px) scale(0.9) rotate(10deg);
}
100% {
opacity: 1;
transform: translateY(0) scale(1) rotate(10deg);
}
}
@keyframes fadeInUpRotate3 {
0% {
opacity: 0;
transform: translateY(30px) scale(0.9) rotate(-5deg);
}
100% {
opacity: 1;
transform: translateY(0) scale(1) rotate(-5deg);
}
}
@keyframes fadeInUpMobile {
0% {
opacity: 0;
transform: translateY(30px) scale(0.9);
}
100% {
opacity: 1;
transform: translateY(0) scale(1);
}
}
@keyframes fadeInUpMobileRotate1 {
0% {
opacity: 0;
transform: translateY(30px) scale(0.9) rotate(-13deg);
}
100% {
opacity: 1;
transform: translateY(0) scale(1) rotate(-13deg);
}
}
@keyframes fadeInUpMobileRotate2 {
0% {
opacity: 0;
transform: translateY(30px) scale(0.9) rotate(10deg);
}
100% {
opacity: 1;
transform: translateY(0) scale(1) rotate(10deg);
}
}
@keyframes fadeInUpMobileRotate3 {
0% {
opacity: 0;
transform: translateY(30px) scale(0.9) rotate(-5deg);
}
100% {
opacity: 1;
transform: translateY(0) scale(1) rotate(-5deg);
}
}
.hero-main-content {
flex: 1;
display: flex;
flex-direction: column;
align-items: flex-start;
max-width: 60%;
}
.hero-cards-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 2.4rem;
max-width: 40%;
margin-left: .6rem;
}
.hero-cards-row {
display: flex;
gap: 2.4rem;
}
.hero-glitch {
mix-blend-mode: screen;
border-radius: 30px ;
}
.hero-dot-grid {
overflow: hidden ;
transform: translateY(5px) translateX(5px);
}
.hero-metaballs {
mix-blend-mode: screen;
opacity: 1;
}
.hero-falling-text .falling-text-canvas {
width: 100% ;
height: 100% ;
}
.hero-lines {
width: 100% ;
height: 100% ;
}
.hero-card {
width: 200px;
height: 200px;
background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(69, 40, 217, 0.2));
border: 2px solid rgba(255, 255, 255, 0.2);
border-radius: 30px;
box-shadow:
0 30px 100px rgba(6, 0, 16, 0.95),
0 20px 70px rgba(6, 0, 16, 0.9),
0 15px 50px rgba(6, 0, 16, 0.8),
0 10px 30px rgba(6, 0, 16, 0.7),
0 8px 32px rgba(124, 58, 237, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
cursor: pointer;
opacity: 0;
}
.hero-card-1 {
animation: fadeInUpRotate1 0.8s ease-out forwards;
animation-delay: 0.2s;
transform: translateY(0) scale(1) rotate(-13deg);
}
.hero-card-2 {
animation: fadeInUpRotate2 0.8s ease-out forwards;
animation-delay: 0.4s;
transform: translateY(0) scale(1) rotate(10deg);
}
.hero-card-3 {
animation: fadeInUpRotate3 0.8s ease-out forwards;
animation-delay: 0.6s;
transform: translateY(0) scale(1) rotate(-5deg);
}
.hero-card:hover {
filter: grayscale(50%);
box-shadow:
0 50px 140px rgba(6, 0, 16, 0.98),
0 35px 100px rgba(6, 0, 16, 0.95),
0 25px 70px rgba(6, 0, 16, 0.9),
0 15px 50px rgba(6, 0, 16, 0.8),
0 12px 40px rgba(124, 58, 237, 0.6),
inset 0 1px 0 rgba(255, 255, 255, 0.3);
backdrop-filter: blur(25px);
-webkit-backdrop-filter: blur(25px);
}
.hero-card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s ease;
}
.hero-card:hover::before {
left: 100%;
}
@media (max-width: 1440px) {
.landing-title {
font-size: 3.6rem;
}
.landing-subtitle {
font-size: 1.3rem;
}
.landing-content {
margin-top: 250px;
}
}
@media (max-width: 1366px) {
.landing-title {
font-size: 3.6rem;
}
.landing-subtitle {
font-size: 1.2rem;
}
.landing-content {
margin-top: 250px;
}
}
@media (max-width: 1200px) {
.landing-title {
font-size: 3.6rem;
}
.landing-subtitle {
font-size: 1.1rem;
}
.landing-content {
margin-top: 250px;
}
}
@media (max-width: 1100px) {
.landing-title {
font-size: 3.6rem;
}
.landing-subtitle {
font-size: 1rem;
}
.landing-content {
margin-top: 250px;
}
}
@media (max-width: 1024px) {
.landing-title {
font-size: 3.6rem;
}
.landing-subtitle {
font-size: 0.95rem;
}
.landing-content {
margin-top: 300px;
padding: 0 2em;
max-width: calc(1200px + 2em);
flex-direction: column;
align-items: center;
}
.hero-main-content {
max-width: 100%;
align-items: center;
text-align: center;
margin-bottom: 2rem;
}
.hero-cards-container {
max-width: 100%;
width: 100%;
margin-left: 0;
margin-top: 2rem;
flex-direction: row;
gap: 1.5rem;
justify-content: space-between;
}
.hero-cards-row {
display: contents;
}
.hero-card {
flex: 1;
height: 120px;
max-width: calc(33.333% - 1rem);
}
.hero-card-1 {
animation: fadeInUpMobileRotate1 0.8s ease-out forwards;
animation-delay: 0.2s;
transform: translateY(0) scale(1) rotate(-13deg);
}
.hero-card-2 {
animation: fadeInUpMobileRotate2 0.8s ease-out forwards;
animation-delay: 0.4s;
transform: translateY(0) scale(1) rotate(10deg);
}
.hero-card-3 {
animation: fadeInUpMobileRotate3 0.8s ease-out forwards;
animation-delay: 0.6s;
transform: translateY(0) scale(1) rotate(-5deg);
}
.landing-wrapper>div[style*="position: absolute"][style*="width: 100vw"][style*="height: 100vh"] {
opacity: 0.7;
}
}
@media (max-width: 950px) {
.landing-title {
font-size: 3.6rem;
}
.landing-subtitle {
font-size: 0.9rem;
text-align: center ;
}
.landing-content {
margin-top: 290px;
}
}
@media (max-width: 900px) {
.landing-title {
font-size: 3.6rem;
}
.landing-subtitle {
font-size: 0.85rem;
text-align: center ;
}
.landing-content {
margin-top: 280px;
}
.landing-wrapper::before {
width: 100px;
}
.landing-wrapper::after {
width: 100px;
}
}
@media (max-width: 820px) {
.landing-title {
font-size: 3.4rem;
}
.landing-subtitle {
font-size: 0.8rem;
}
.landing-content {
margin-top: 270px;
}
}
@media (max-width: 768px) {
.landing-title {
font-size: 3.2rem;
text-align: center;
max-width: 100%;
}
.landing-subtitle {
font-size: 0.75rem;
text-align: center ;
max-width: 100%;
}
.landing-content {
margin-top: 260px;
align-items: center;
padding: 0 1.5rem;
}
.landing-button {
padding: 0.8rem 0.8rem 0.8rem 1.8rem;
font-size: 1rem;
gap: 1.2rem;
}
.button-arrow-circle {
width: 32px;
height: 32px;
}
.hero-cards-container {
flex-direction: row;
gap: 1.2rem;
width: 100%;
justify-content: space-between;
}
.hero-cards-row {
display: contents;
}
.hero-card {
flex: 1;
height: 120px;
max-width: calc(33.333% - 0.8rem);
}
.hero-card-1 {
animation: fadeInUpMobileRotate1 0.8s ease-out forwards;
animation-delay: 0.2s;
transform: translateY(0) scale(1) rotate(-13deg);
}
.hero-card-2 {
animation: fadeInUpMobileRotate2 0.8s ease-out forwards;
animation-delay: 0.4s;
transform: translateY(0) scale(1) rotate(10deg);
}
.hero-card-3 {
animation: fadeInUpMobileRotate3 0.8s ease-out forwards;
animation-delay: 0.6s;
transform: translateY(0) scale(1) rotate(-5deg);
}
.landing-wrapper>div[style*="position: absolute"][style*="width: 100vw"][style*="height: 100vh"] {
opacity: 0.5;
}
}
@media (max-width: 700px) {
.landing-title {
font-size: 2.6rem;
margin-bottom: 2rem;
text-align: center;
max-width: 100%;
}
.landing-subtitle {
font-size: 1rem;
text-align: center ;
max-width: 100%;
}
.landing-content {
margin-top: 250px;
align-items: center;
padding: 0 1.5rem;
}
}
@media (max-width: 640px) {
.landing-title {
font-size: 2.4rem;
text-align: center;
max-width: 100%;
}
.landing-subtitle {
text-align: center ;
max-width: 100%;
}
.landing-content {
margin-top: 240px;
align-items: center;
padding: 0 1.5rem;
}
}
@media (max-width: 580px) {
.landing-title {
font-size: 2.2rem;
text-align: center;
max-width: 100%;
}
.landing-subtitle {
text-align: center ;
max-width: 100%;
}
.landing-content {
margin-top: 230px;
align-items: center;
padding: 0 1.5rem;
}
}
@media (max-width: 520px) {
.landing-title {
font-size: 2rem;
text-align: center;
max-width: 100%;
}
.landing-subtitle {
text-align: center ;
max-width: 100%;
}
.landing-content {
margin-top: 220px;
align-items: center;
padding: 0 1.5rem;
}
}
@media (max-width: 480px) {
.landing-title {
font-size: 1.8rem;
text-align: center;
max-width: 100%;
}
.landing-subtitle {
text-align: center ;
max-width: 100%;
}
.landing-content {
margin-top: 210px;
align-items: center;
padding: 0 1.5rem;
}
.landing-button {
padding: 0.7rem 0.7rem 0.7rem 1.5rem;
font-size: 0.95rem;
gap: 1rem;
}
.button-arrow-circle {
width: 28px;
height: 28px;
}
.hero-cards-container {
flex-direction: row;
gap: 1rem;
width: 100%;
justify-content: space-between;
}
.hero-cards-row {
display: contents;
}
.hero-card {
flex: 1;
height: 120px;
max-width: calc(33.333% - 0.666rem);
}
.hero-card-1 {
animation: fadeInUpMobileRotate1 0.8s ease-out forwards;
animation-delay: 0.2s;
transform: translateY(0) scale(1) rotate(-13deg);
}
.hero-card-2 {
animation: fadeInUpMobileRotate2 0.8s ease-out forwards;
animation-delay: 0.4s;
transform: translateY(0) scale(1) rotate(10deg);
}
.hero-card-3 {
animation: fadeInUpMobileRotate3 0.8s ease-out forwards;
animation-delay: 0.6s;
transform: translateY(0) scale(1) rotate(-5deg);
}
.landing-wrapper>div[style*="position: absolute"][style*="width: 100vw"][style*="height: 100vh"] {
opacity: 0.3;
}
}
@media (max-width: 430px) {
.landing-title {
font-size: 1.6rem;
letter-spacing: -1px;
text-align: center;
max-width: 100%;
}
.landing-subtitle {
text-align: center ;
max-width: 100%;
}
.landing-content {
margin-top: 205px;
align-items: center;
padding: 0 1.5rem;
}
}
@media (max-width: 390px) {
.landing-title {
font-size: 1.8rem;
letter-spacing: -1px;
text-align: center;
max-width: 100%;
}
.landing-subtitle {
text-align: center ;
max-width: 100%;
}
.landing-content {
margin-top: 202px;
align-items: center;
padding: 0 1.5rem;
}
}
@media (max-width: 375px) {
.landing-title {
font-size: 1.6rem;
letter-spacing: -1px;
text-align: center;
max-width: 100%;
}
.landing-subtitle {
text-align: center ;
max-width: 100%;
}
.landing-content {
margin-top: 150px;
align-items: center;
padding: 0 1.5rem;
}
.landing-button {
padding: 0.6rem 0.6rem 0.6rem 1.2rem;
font-size: 0.9rem;
gap: 0.8rem;
}
.button-arrow-circle {
width: 26px;
height: 26px;
}
}
/* Mobile hero background styles */
.mobile-hero-background-container {
position: absolute;
inset: 0;
overflow: hidden;
width: 100vw;
height: 100vh;
z-index: -1;
}
.mobile-hero-background-image {
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.6;
}