BIS_Reasoning_v1.0 / styles.css
nguyenthanhasia's picture
Upload 7 files
f3cdc9d verified
/* Reset and Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary-color: #2563eb;
--secondary-color: #1e40af;
--accent-color: #3b82f6;
--text-primary: #1f2937;
--text-secondary: #6b7280;
--text-light: #9ca3af;
--background: #ffffff;
--background-alt: #f8fafc;
--border-color: #e5e7eb;
--success-color: #10b981;
--warning-color: #f59e0b;
--error-color: #ef4444;
--gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
body {
font-family: 'Inter', sans-serif;
line-height: 1.6;
color: var(--text-primary);
background-color: var(--background);
overflow-x: hidden;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
font-family: 'Playfair Display', serif;
font-weight: 600;
line-height: 1.2;
margin-bottom: 1rem;
}
h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
p {
margin-bottom: 1rem;
color: var(--text-secondary);
}
/* Navigation */
.navbar {
position: fixed;
top: 0;
width: 100%;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border-color);
z-index: 1000;
transition: all 0.3s ease;
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
justify-content: space-between;
align-items: center;
height: 70px;
}
.nav-logo h2 {
color: var(--primary-color);
margin: 0;
font-size: 1.5rem;
}
.nav-menu {
display: flex;
list-style: none;
gap: 2rem;
}
.nav-link {
text-decoration: none;
color: var(--text-primary);
font-weight: 500;
transition: color 0.3s ease;
position: relative;
}
.nav-link:hover {
color: var(--primary-color);
}
.nav-link::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: var(--primary-color);
transition: width 0.3s ease;
}
.nav-link:hover::after {
width: 100%;
}
.hamburger {
display: none;
flex-direction: column;
cursor: pointer;
}
.hamburger span {
width: 25px;
height: 3px;
background: var(--text-primary);
margin: 3px 0;
transition: 0.3s;
}
/* Hero Section */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
opacity: 0.1;
}
.hero-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
position: relative;
z-index: 1;
}
.hero-title {
font-size: 3.5rem;
margin-bottom: 1rem;
background: linear-gradient(45deg, #ffffff, #e0e7ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-subtitle {
display: block;
font-size: 1.5rem;
margin-top: 0.5rem;
opacity: 0.9;
}
.hero-description {
font-size: 1.2rem;
margin-bottom: 2rem;
opacity: 0.9;
color: #e0e7ff;
}
.hero-stats {
display: flex;
gap: 2rem;
margin-bottom: 2rem;
}
.stat-item {
text-align: center;
}
.stat-number {
display: block;
font-size: 2.5rem;
font-weight: 700;
color: #fbbf24;
}
.stat-label {
font-size: 0.9rem;
opacity: 0.8;
}
.hero-buttons {
display: flex;
gap: 1rem;
}
.btn {
padding: 0.75rem 2rem;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
display: inline-block;
border: 2px solid transparent;
}
.btn-primary {
background: white;
color: var(--primary-color);
}
.btn-primary:hover {
background: transparent;
color: white;
border-color: white;
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}
.btn-secondary {
background: transparent;
color: white;
border-color: white;
}
.btn-secondary:hover {
background: white;
color: var(--primary-color);
transform: translateY(-2px);
}
/* Syllogism Example */
.hero-visual {
display: flex;
justify-content: center;
align-items: center;
}
.syllogism-example {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 2rem;
border: 1px solid rgba(255, 255, 255, 0.2);
max-width: 400px;
}
.premise, .conclusion {
margin-bottom: 1.5rem;
padding: 1rem;
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
border-left: 4px solid #fbbf24;
}
.premise-label, .conclusion-label {
display: block;
font-weight: 600;
margin-bottom: 0.5rem;
color: #fbbf24;
}
.premise-text, .conclusion-text {
color: white;
font-size: 0.9rem;
}
.validity-badge {
display: inline-block;
background: var(--success-color);
color: white;
padding: 0.25rem 0.75rem;
border-radius: 20px;
font-size: 0.8rem;
margin-top: 0.5rem;
}
/* Section Styles */
section {
padding: 5rem 0;
}
.section-title {
text-align: center;
margin-bottom: 3rem;
color: var(--text-primary);
position: relative;
}
.section-title::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 4px;
background: var(--primary-color);
border-radius: 2px;
}
/* Abstract Section */
.abstract {
background: var(--background-alt);
}
.abstract-text {
font-size: 1.1rem;
line-height: 1.8;
margin-bottom: 2rem;
text-align: center;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
.key-contributions {
margin-top: 3rem;
}
.key-contributions h3 {
text-align: center;
margin-bottom: 2rem;
}
.contributions-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.contribution-item {
background: white;
padding: 2rem;
border-radius: 15px;
text-align: center;
box-shadow: var(--shadow-md);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contribution-item:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-xl);
}
.contribution-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
.contribution-item h4 {
color: var(--primary-color);
margin-bottom: 1rem;
}
/* Dataset Section */
.dataset-description {
margin-bottom: 3rem;
text-align: center;
}
.example-section {
margin-bottom: 3rem;
}
.example-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
align-items: center;
background: white;
padding: 2rem;
border-radius: 15px;
box-shadow: var(--shadow-md);
}
.example-image {
width: 100%;
height: auto;
border-radius: 10px;
}
.categories-section {
margin-top: 3rem;
}
.categories-visual {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 2rem;
align-items: center;
background: white;
padding: 2rem;
border-radius: 15px;
box-shadow: var(--shadow-md);
}
.categories-image {
width: 100%;
height: auto;
border-radius: 10px;
}
/* Results Section */
.results {
background: var(--background-alt);
}
.results-overview {
margin-bottom: 4rem;
}
.performance-table {
overflow-x: auto;
background: white;
border-radius: 15px;
box-shadow: var(--shadow-md);
}
.performance-table table {
width: 100%;
border-collapse: collapse;
}
.performance-table th,
.performance-table td {
padding: 1rem;
text-align: left;
border-bottom: 1px solid var(--border-color);
}
.performance-table th {
background: var(--primary-color);
color: white;
font-weight: 600;
}
.performance-table .top-performer {
background: rgba(37, 99, 235, 0.1);
font-weight: 600;
}
.prompt-analysis {
margin-top: 4rem;
}
.prompt-charts {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin-bottom: 2rem;
}
.chart-container {
background: white;
padding: 2rem;
border-radius: 15px;
box-shadow: var(--shadow-md);
}
.chart-container h4 {
text-align: center;
margin-bottom: 1rem;
color: var(--primary-color);
}
.chart-image {
width: 100%;
height: auto;
border-radius: 10px;
}
.prompt-insights {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.insight-item {
background: white;
padding: 2rem;
border-radius: 15px;
box-shadow: var(--shadow-md);
border-left: 4px solid var(--primary-color);
}
.insight-item h4 {
color: var(--primary-color);
margin-bottom: 1rem;
}
/* Findings Section */
.findings-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2rem;
}
.finding-item {
background: white;
padding: 2rem;
border-radius: 15px;
box-shadow: var(--shadow-md);
transition: transform 0.3s ease;
}
.finding-item:hover {
transform: translateY(-5px);
}
.finding-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
.finding-item h3 {
color: var(--primary-color);
margin-bottom: 1rem;
}
/* Resources Section */
.resources {
background: var(--background-alt);
}
.resource-links {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-bottom: 3rem;
}
.resource-item {
background: white;
padding: 2rem;
border-radius: 15px;
box-shadow: var(--shadow-md);
text-align: center;
}
.resource-item h3 {
color: var(--primary-color);
margin-bottom: 1rem;
}
.resource-link {
display: inline-block;
background: var(--primary-color);
color: white;
padding: 0.75rem 2rem;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
margin-top: 1rem;
}
.resource-link:hover {
background: var(--secondary-color);
transform: translateY(-2px);
}
.citation {
background: white;
padding: 2rem;
border-radius: 15px;
box-shadow: var(--shadow-md);
margin-bottom: 2rem;
}
.citation-box {
background: #f8fafc;
border: 1px solid var(--border-color);
border-radius: 10px;
padding: 1.5rem;
overflow-x: auto;
}
.citation-box code {
font-family: 'Monaco', 'Menlo', monospace;
font-size: 0.9rem;
color: var(--text-primary);
}
.contact {
background: white;
padding: 2rem;
border-radius: 15px;
box-shadow: var(--shadow-md);
}
/* Footer */
.footer {
background: var(--text-primary);
color: white;
padding: 3rem 0 1rem;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.footer-section h3,
.footer-section h4 {
margin-bottom: 1rem;
color: white;
}
.footer-section ul {
list-style: none;
}
.footer-section ul li {
margin-bottom: 0.5rem;
}
.footer-section a {
color: #d1d5db;
text-decoration: none;
transition: color 0.3s ease;
}
.footer-section a:hover {
color: white;
}
.footer-bottom {
border-top: 1px solid #374151;
padding-top: 1rem;
text-align: center;
color: #9ca3af;
}
/* Responsive Design */
@media (max-width: 768px) {
.hamburger {
display: flex;
}
.nav-menu {
position: fixed;
left: -100%;
top: 70px;
flex-direction: column;
background-color: white;
width: 100%;
text-align: center;
transition: 0.3s;
box-shadow: var(--shadow-lg);
padding: 2rem 0;
}
.nav-menu.active {
left: 0;
}
.hero-container {
grid-template-columns: 1fr;
text-align: center;
}
.hero-title {
font-size: 2.5rem;
}
.hero-stats {
justify-content: center;
}
.example-container,
.categories-visual {
grid-template-columns: 1fr;
}
.prompt-charts {
grid-template-columns: 1fr;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
.container {
padding: 0 1rem;
}
section {
padding: 3rem 0;
}
}
/* Image styling - ensure visibility */
img {
max-width: 100%;
height: auto;
display: block;
opacity: 1 !important;
transition: opacity 0.3s ease;
}
.example-image, .categories-image, .chart-image {
width: 100%;
height: auto;
border-radius: 10px;
opacity: 1 !important;
visibility: visible !important;
}
/* Hero title animation */
.hero-title {
opacity: 1;
transform: translateY(0);
transition: opacity 1s ease, transform 1s ease;
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fade-in-up {
animation: fadeInUp 0.6s ease-out;
}
/* Loading animation for stats */
@keyframes countUp {
from { opacity: 0; }
to { opacity: 1; }
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Loading animation for stats */
@keyframes countUp {
from { opacity: 0; }
to { opacity: 1; }
}