200 lines
4.1 KiB
CSS
200 lines
4.1 KiB
CSS
:root {
|
|
--primary-gold: #ffc107;
|
|
--dark-gold: #e0a800;
|
|
--light-gold: #ffdf7e;
|
|
--bg-light: #f4f7f6;
|
|
--text-dark: #1a202c;
|
|
--text-muted: #718096;
|
|
--white: #ffffff;
|
|
--dark-bg: #111827;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg-light);
|
|
color: var(--text-dark);
|
|
font-family: 'Noto Sans SC', 'Inter', -apple-system, sans-serif;
|
|
font-size: 15px;
|
|
margin: 0;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
/* Navbar */
|
|
.navbar {
|
|
padding: 0.8rem 0;
|
|
background-color: var(--dark-bg) !important;
|
|
}
|
|
|
|
.logo-wrapper {
|
|
width: 52px;
|
|
height: 52px;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
border: 2px solid var(--primary-gold);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #fff;
|
|
box-shadow: 0 0 15px rgba(255, 193, 7, 0.4);
|
|
}
|
|
|
|
.logo-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.brand-text {
|
|
font-size: 1.45rem;
|
|
font-weight: 800 !important;
|
|
letter-spacing: -0.01em;
|
|
color: var(--white);
|
|
background: linear-gradient(135deg, #fff 30%, var(--primary-gold) 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
/* Animations */
|
|
@keyframes rotating {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.rotating {
|
|
animation: rotating 8s linear infinite;
|
|
}
|
|
|
|
/* Carousel Hero - Reduced Height */
|
|
#mainCarousel {
|
|
border-radius: 20px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero-img {
|
|
height: 220px; /* Reduced to roughly half */
|
|
object-fit: cover;
|
|
filter: brightness(0.55) contrast(1.1);
|
|
}
|
|
|
|
.carousel-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
|
|
}
|
|
|
|
.carousel-caption {
|
|
bottom: 10%;
|
|
text-shadow: 0 2px 12px rgba(0,0,0,0.8);
|
|
}
|
|
|
|
.carousel-caption h2 {
|
|
font-size: 2rem !important;
|
|
margin-bottom: 0.25rem !important;
|
|
}
|
|
|
|
.slogan-text {
|
|
font-weight: 400;
|
|
font-size: 1.1rem;
|
|
opacity: 0.95;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
/* Cards */
|
|
.main-card {
|
|
border-radius: 16px !important;
|
|
border: 1px solid rgba(0,0,0,0.05) !important;
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.main-card:hover {
|
|
box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
|
|
}
|
|
|
|
.icon-circle {
|
|
width: 45px;
|
|
height: 45px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
/* Inputs & Outputs */
|
|
textarea.form-control {
|
|
background-color: #fcfdfe;
|
|
border: 2px solid #edf2f7;
|
|
border-radius: 12px;
|
|
padding: 1.25rem;
|
|
font-size: 0.95rem;
|
|
line-height: 1.7;
|
|
resize: none;
|
|
color: #2d3748;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
textarea.form-control:focus {
|
|
background-color: #fff;
|
|
border-color: var(--primary-gold);
|
|
box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
|
|
outline: none;
|
|
}
|
|
|
|
.result-container {
|
|
background-color: #f8fafc;
|
|
border: 2px dashed #e2e8f0 !important;
|
|
font-family: 'Inter', monospace;
|
|
white-space: pre-wrap;
|
|
line-height: 1.8;
|
|
font-size: 0.95rem;
|
|
color: #1a202c;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn-gold {
|
|
background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
|
|
border: none;
|
|
color: #333;
|
|
box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-gold:hover {
|
|
background: linear-gradient(135deg, #ffca2c 0%, #d39e00 100%);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 25px rgba(255, 193, 7, 0.45);
|
|
color: #000;
|
|
}
|
|
|
|
.btn-outline-danger {
|
|
border-width: 2px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
border-top: 4px solid var(--primary-gold);
|
|
}
|
|
|
|
.footer-logo {
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 50%;
|
|
border: 2px solid var(--primary-gold);
|
|
}
|
|
|
|
/* Toast */
|
|
.toast {
|
|
background-color: #111827 !important;
|
|
}
|
|
|
|
/* Responsive fixes */
|
|
@media (max-width: 768px) {
|
|
.hero-img { height: 180px; }
|
|
.carousel-caption h2 { font-size: 1.4rem !important; }
|
|
.slogan-text { font-size: 0.9rem; }
|
|
.display-5 { font-size: 1.8rem; }
|
|
}
|