MarketMindP / static /css /legal.css
AronWolverine's picture
initial
56bd117
body {
font-family: Arial, sans-serif;
background-color: #f4f2ec;
color: #222;
margin: 0;
transition: background 0.3s, color 0.3s;
}
.dark-mode {
background-color: #131b2b;
color: #fff;
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 30px;
background: #f4f2ec;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
font-size: 18px;
font-weight: bold;
position: sticky;
top: 0;
z-index: 1000;
}
.dark-mode .navbar {
background: #243342;
}
.navbar a {
text-decoration: none;
color: #000;
margin: 0 20px;
font-size: 18px;
font-weight: bold;
transition: color 0.3s;
}
.dark-mode .navbar a {
color: #fff;
}
.legal-container {
max-width: 800px;
margin: 60px auto 40px auto;
background: #fff;
border-radius: 12px;
box-shadow: 0 0 20px #4a8fdf33;
padding: 40px 30px;
animation: fadeIn 1s;
}
.dark-mode .legal-container {
background: #1a2436;
color: #fff;
box-shadow: 0 0 30px #4a8fdf, 0 0 60px #4a8fdf33;
}
.legal-container h1 {
color: #4a8fdf;
margin-bottom: 20px;
}
.legal-container h2 {
color: #007bff;
margin-top: 30px;
}
.legal-container ul {
margin-left: 20px;
margin-bottom: 20px;
}
.legal-container a {
color: #4a8fdf;
text-decoration: underline;
}
.legal-container a:hover {
color: #007bff;
}
footer {
background-color: #2c3e50;
color: #ecf0f1;
padding: 30px 10px 10px 10px;
text-align: center;
font-size: 14px;
margin-top: 40px;
}
.toggle-switch {
position: relative;
display: inline-block;
width: 50px;
height: 25px;
margin-left: 20px;
}
.toggle-switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0; left: 0; right: 0; bottom: 0;
background-color: #ccc;
transition: .4s;
border-radius: 25px;
}
.toggle-circle {
position: absolute;
left: 4px;
bottom: 3px;
width: 18px;
height: 18px;
background: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.4s;
z-index: 2;
font-size: 14px;
}
.toggle-icon {
transition: color 0.4s, content 0.4s;
color: #FFD600;
}
input:checked + .slider {
background-color: #4a8fdf;
}
input:checked + .slider .toggle-circle {
transform: translateX(24px);
}
input:checked + .slider .toggle-icon {
color: #4a8fdf;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px);}
to { opacity: 1; transform: translateY(0);}
}
@media (max-width: 900px) {
.legal-container {
padding: 20px 5vw;
}
.navbar {
flex-direction: column;
align-items: flex-start;
}
}