Files
www_mycelium_society/src/index.css
2025-09-30 19:22:33 +03:00

467 lines
11 KiB
CSS

/* Custom CSS for Mycelium Society */
/* Import Roboto Mono and Avenir fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;500;700&display=swap');
/* Avenir is a system font on macOS, but we'll use a web-safe fallback stack */
/* Reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Avenir', 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: #000000;
color: white;
min-height: 100vh;
line-height: 1.6;
}
/* Keep all headings as Roboto Mono */
h1, h2, h3, h4, h5, h6 {
font-family: 'Roboto Mono', monospace;
}
/* Keep buttons as Roboto Mono */
button {
font-family: 'Roboto Mono', monospace;
}
/* Utility classes */
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.z-10 { z-index: 10; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.p-4 { padding: 1rem; }
.pl-6 { padding-left: 1.5rem; }
.w-48 { width: 12rem; }
.h-48 { height: 12rem; }
.w-72 { width: 18rem; }
.h-96 { height: 24rem; }
.h-72 { height: 18rem; }
.h-24 { height: 6rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.uppercase { text-transform: uppercase; }
.font-bold { font-weight: 700; }
.border-2 { border-width: 2px; }
.border-l-2 { border-left-width: 2px; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-col { flex-direction: column; }
/* Background classes */
.bg-dark-gradient { background: #000000; }
.bg-gray-900 { background-color: #000000; }
.bg-amber-100 { background-color: #fef3c7; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-pink-100 { background-color: #fce7f3; }
.bg-yellow-100 { background-color: #fef3c7; }
.bg-green-100 { background-color: #dcfce7; }
.bg-orange-100 { background-color: #fed7aa; }
.bg-purple-100 { background-color: #e9d5ff; }
/* Text colors */
.text-white { color: #ffffff; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-bright-cyan { color: #00d9ff; }
.text-red-accent { color: #ff3366; }
/* Border colors */
.border-bright-cyan { border-color: #00d9ff; }
/* Text sizes */
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-7xl { font-size: 4.5rem; }
/* Extra small text sizes */
.text-xs { font-size: 0.75rem; }
.text-xxs { font-size: 0.65rem; }
/* Button styles */
.btn-primary {
background: transparent;
border: 2px solid #00d9ff;
color: #00d9ff;
text-transform: uppercase;
font-size: 0.875rem;
padding: 0.625rem 1.5rem;
border-radius: 2px;
transition: all 0.3s ease;
cursor: pointer;
text-decoration: none;
display: inline-block;
font-family: 'Roboto Mono', monospace;
}
.btn-primary:hover {
box-shadow: 0 0 20px #00d9ff, 0 0 30px #00d9ff;
transform: scale(1.05);
}
.btn-primary-selected {
background: #00d9ff;
color: #000000;
border: 2px solid #00d9ff;
}
/* Container widths */
.container-width {
max-width: 56rem;
margin-left: auto;
margin-right: auto;
padding-left: 1.5rem;
padding-right: 1.5rem;
}
.section-padding {
padding-top: 5rem;
padding-bottom: 5rem;
}
/* Text gradient */
.text-gradient {
background: linear-gradient(to right, #00d9ff, #00ffff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Animations */
@keyframes pulse-glow {
0% { box-shadow: 0 0 5px #00d9ff; }
100% { box-shadow: 0 0 20px #00d9ff, 0 0 30px #00d9ff; }
}
.animate-pulse-glow {
animation: pulse-glow 2s ease-in-out infinite alternate;
}
/* Scrolling animation */
@keyframes scroll {
0% { transform: translateX(0); }
100% { transform: translateX(-100%); }
}
.animate-scroll {
animation: scroll 30s linear infinite;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #000000;
}
::-webkit-scrollbar-thumb {
background: #00d9ff;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #00ffff;
}
/* Responsive design */
@media (min-width: 640px) {
.sm\:flex-row { flex-direction: row; }
}
@media (min-width: 768px) {
.md\:text-2xl { font-size: 1.5rem; }
.md\:text-3xl { font-size: 1.875rem; }
.md\:text-5xl { font-size: 3rem; }
.md\:text-6xl { font-size: 3.75rem; }
.md\:text-xl { font-size: 1.25rem; }
}
@media (min-width: 1024px) {
.lg\:text-7xl { font-size: 4.5rem; }
.lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
.lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
}
/* Line clamp utility */
.line-clamp-2 {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* Additional spacing utilities */
.tracking-widest { letter-spacing: 0.1em; }
/* Terminal styles */
.terminal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(10px);
z-index: 50;
display: flex;
align-items: center;
justify-content: center;
}
.terminal {
width: 90%;
max-width: 800px;
height: 600px;
background: #0a0a0a;
border: 1px solid #00d9ff;
border-radius: 8px;
box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
display: flex;
flex-direction: column;
}
.terminal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem 1rem;
background: #1a1a1a;
border-bottom: 1px solid #00d9ff;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
color: #00d9ff;
font-family: 'Roboto Mono', monospace;
}
.terminal-title {
font-weight: bold;
}
.terminal-close {
background: none;
border: none;
color: #ff3366;
cursor: pointer;
font-family: 'Roboto Mono', monospace;
font-size: 1rem;
}
.terminal-body {
flex-grow: 1;
padding: 1.5rem;
overflow-y: auto;
font-family: 'Roboto Mono', monospace;
color: #00ff00;
}
#terminal-content {
white-space: pre-wrap;
word-wrap: break-word;
}
.terminal-cursor {
display: inline-block;
width: 10px;
height: 1.2em;
background: #00ff00;
animation: blink 1s step-end infinite;
vertical-align: bottom;
}
@keyframes blink {
50% {
opacity: 0;
}
}
.text-green-400 {
color: #4ade80;
}
.text-red-400 {
color: #f87171;
}
.text-cyan-400 {
color: #22d3ee;
}
.font-mono {
font-family: 'Roboto Mono', monospace;
}
.focus\:outline-none:focus {
outline: none;
}
.focus\:ring-0:focus {
box-shadow: none;
}
/* Custom utility for no-underline */
.no-underline {
text-decoration: none;
}
/* Missing Tailwind-like utility classes */
.h-16 { height: 4rem; } /* 16 * 0.25rem = 4rem */
.min-w-fit { min-width: fit-content; }
.tracking-tight { letter-spacing: -0.025em; }
.whitespace-nowrap { white-space: nowrap; }
.rounded { border-radius: 0.25rem; } /* 4px */
.bg-green-500 { background-color: #22c55e; } /* A common green-500 shade */
.border-green-500\/30 { border-color: rgba(34, 197, 94, 0.3); } /* Green-500 with 30% opacity */
/* Hover effects */
.hover\:text-green-400:hover { color: #4ade80; }
.hover\:text-bright-cyan:hover { color: #00d9ff; }
.hover\:bg-green-400:hover { background-color: #4ade80; }
/* Transitions */
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; }
.duration-200 { transition-duration: 200ms; }
/* Spacing utilities (similar to Tailwind's space-x) */
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-x-12 > * + * { margin-left: 3rem; }
.space-x-16 > * + * { margin-left: 4rem; }
/* Responsive spacing */
@media (min-width: 640px) {
.sm\:space-x-6 > * + * { margin-left: 1.5rem; }
.sm\:space-x-12 > * + * { margin-left: 3rem; }
}
@media (min-width: 1024px) {
.lg\:space-x-8 > * + * { margin-left: 2rem; }
.lg\:space-x-16 > * + * { margin-left: 4rem; }
}
/* Responsive text sizes (already present, but ensuring consistency) */
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
/* Flex utilities (small missing subset similar to Tailwind) */
.flex-1 { flex: 1 1 0%; }
.flex-row { flex-direction: row; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
/* Text alignment utilities */
.text-right { text-align: right; }
.text-left { text-align: left; }
/* ===== Footer layout utilities (added) ===== */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.w-1\/2 { width: 50%; }
.justify-end { justify-content: flex-end; }
.gap-12 { gap: 3rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.mt-8 { margin-top: 2rem; }
.border-t { border-top-width: 1px; }
/* Border color utilities */
.border-white { border-color: #ffffff; }
/* Border style utility */
.border-solid { border-style: solid; }
/* Tailwind-like color opacity utility used in footer borders */
.border-bright-cyan\/20 { border-color: rgba(0, 217, 255, 0.2); }
/* Simple social icon circles used in footer */
.social-circle {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 9999px;
background: #ffffff;
color: #000000;
font-family: 'Roboto Mono', monospace;
font-weight: 700;
text-decoration: none;
cursor: pointer;
position: relative;
z-index: 1;
pointer-events: auto;
box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset;
transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}
.social-circle:hover {
transform: scale(1.05);
box-shadow: 0 0 0 2px rgba(0,217,255,0.5) inset, 0 0 10px rgba(0,217,255,0.25);
}
/* ===== Footer responsive helpers ===== */
.w-full { width: 100%; }
@media (min-width: 640px) {
.sm\:w-1\/2 { width: 50%; }
.sm\:mt-0 { margin-top: 0; }
}
/* Missing utility used by footer links */
.tracking-wide { letter-spacing: 0.05em; }
/* Solid royal blue background to match reference footer */
.bg-royal-blue { background-color: #0b1fd1; }
.bg-bright-cyan { background-color: #00d9ff; }
/* Footer separator (cyan blue, thinner) */
.footer-separator {
width: 100%;
height: 1px; /* Thinner line */
background: #ffffff; /* Bright white */
opacity: 0.95; /* Slightly toned */
box-shadow: 0 0 8px rgba(0, 217, 255, 0.25); /* subtle cyan glow */
}