stat / styles.css
TDN-M's picture
Update styles.css
a23638f verified
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
color: #333;
line-height: 1.6;
}
header {
background: linear-gradient(135deg, #1e3c72, #2a5298);
color: white;
text-align: center;
padding: 50px 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
position: relative;
}
.header-content h1 {
font-size: 2.5em;
margin: 0;
animation: fadeIn 1s ease-in;
}
.header-content p {
font-size: 1.2em;
margin-top: 10px;
}
.header-img {
width: 100%;
max-height: 300px;
object-fit: cover;
margin-top: 20px;
border-radius: 8px;
}
section {
padding: 40px 20px;
max-width: 1200px;
margin: 0 auto;
border-radius: 8px;
margin-bottom: 20px;
}
#intro {
background: rgba(173, 216, 230, 0.2); /* Light Blue */
}
#challenges {
background: rgba(240, 230, 140, 0.2); /* Light Yellow */
}
#solutions {
background: rgba(144, 238, 144, 0.2); /* Light Green */
}
#implementation {
background: rgba(221, 160, 221, 0.2); /* Light Plum */
}
#benefits {
background: rgba(255, 182, 193, 0.2); /* Light Pink */
}
#why-us {
background: rgba(135, 206, 235, 0.2); /* Light Sky Blue */
}
h2 {
color: #1e3c72;
font-size: 2em;
border-bottom: 2px solid #2a5298;
display: inline-block;
padding-bottom: 5px;
}
#intro p {
font-size: 1.1em;
margin: 15px 0;
}
.challenge-item {
background: white;
padding: 20px;
margin: 20px 0;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
}
.challenge-item:hover {
transform: translateY(-5px);
}
.solution-card {
background: #fff;
padding: 20px;
margin: 15px 0;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s;
}
.solution-card:hover {
transform: scale(1.03);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.solution-card h3 {
color: #2a5298;
margin-top: 0;
}
.section-img {
width: 100%;
max-height: 250px;
object-fit: cover;
margin-top: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
ul {
list-style-type: disc;
margin-left: 20px;
}
footer {
background: #1e3c72;
color: white;
text-align: center;
padding: 30px 20px;
margin-top: 40px;
}
footer h2 {
color: white;
border-bottom: 2px solid white;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}