bellsworne-website/res/css/main.css

287 lines
5.0 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=League+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');
body {
background-color: #2a2a2a;
color: #f0f0f0;
font-family: 'Lora', serif;
margin: 0;
padding: 0;
line-height: 1.6;
overflow-x: hidden;
}
/* Typography */
h1, h2, h3 {
font-family: 'League Gothic', sans-serif;
text-transform: uppercase;
letter-spacing: 2px;
font-weight: 400;
}
a {
color: #5076ba;
text-decoration: none;
transition: color 0.3s ease;
}
/* Header & Logo Animation */
header {
display: flex;
justify-content: center;
align-items: center;
padding: 2rem 1rem;
flex-direction: column;
text-align: center;
}
#logo {
width: 95%;
max-width: 950px;
height: auto;
}
.company-title h1 {
font-size: 4rem;
margin: 0.5rem 0 0 0;
color: #ffffff;
}
.company-title p {
margin: 0;
font-size: 1.1rem;
color: #a0a0a0;
font-family: 'Lora', serif;
}
/* Main Content & Sections */
main {
padding: 2rem 1rem;
}
.sections-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
max-width: 1800px;
margin: 0 auto;
}
.section-card {
background-color: #333333;
border-radius: 12px;
padding: 2.5rem;
text-align: center;
flex: 1 1 300px;
max-width: 350px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
border: 1px solid #444;
}
.section-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.section-card h2 {
font-size: 2.5rem;
margin-top: 0;
color: #ffffff;
}
.section-card h2 a {
text-decoration: none;
color: inherit;
}
.section-card h3 {
font-size: 1.8rem;
color: #ffffff;
margin-top: 2rem;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid #555;
}
.section-logo {
height: 180px;
width: 180px;
margin: 1rem auto;
color: #a0a0a0; /* Icon color */
transition: color 0.3s ease;
}
.section-card:hover .section-logo {
color: #ffffff;
}
.section-card object {
pointer-events: none;
}
.section-card p {
color: #c0c0c0;
font-size: 1rem;
}
.section-card ul {
display: inline-block;
text-align: left;
margin-top: 1rem;
padding-left: 0;
}
.section-card ul {
list-style: circle;
padding-left: 0;
margin-top: 1rem;
}
.section-card li {
color: #c0c0c0;
padding-left: 1.8rem;
position: relative;
margin-bottom: 0.8rem;
}
/*.section-card li {*/
/* margin-bottom: 0.5rem;*/
/*}*/
/*.section-card li a {*/
/* color: #ffffff;*/
/* text-decoration: underline;*/
/*}*/
/*.section-card li a:hover {*/
/* color: #e0e0e0;*/
/*}*/
/* Footer */
footer {
text-align: center;
padding: 2rem 1rem;
margin-top: 3rem;
font-size: 0.9rem;
color: #777;
}
/* About Section Styling */
.content-container {
background-color: #333333;
border-radius: 12px;
padding: 2.5rem;
margin: 2rem auto;
max-width: 1200px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
border: 1px solid #444;
}
.content-container h2 {
text-align: center;
font-size: 2.5rem;
color: #ffffff;
margin-bottom: 1.5rem;
}
.content-container h3 {
font-size: 1.8rem;
color: #ffffff;
margin-top: 2rem;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid #555;
}
.content-container p {
color: #c0c0c0;
font-size: 1rem;
line-height: 1.7;
}
.content-container ul {
list-style: none;
padding-left: 0;
margin-top: 1rem;
}
.content-container li {
color: #c0c0c0;
padding-left: 1.8rem;
position: relative;
margin-bottom: 0.8rem;
}
.content-container .checklist li::before {
content: '✔';
position: absolute;
left: 0;
top: 2px;
color: #ffffff;
font-size: 1.2rem;
}
/* Social Media Icons Styling */
.social-icons {
list-style: none;
padding: 0;
display: flex;
justify-content: center;
gap: 1.5rem;
}
.social-icons li {
display: inline-block;
}
.social-icons a {
color: #a0a0a0;
font-size: 2rem;
transition: color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover {
color: #ffffff;
transform: scale(1.1);
}
/* Divider Styling */
.divider {
text-align: center;
margin: 4rem 0;
display: flex;
align-items: center;
justify-content: center;
}
.divider h1 {
font-size: 2.2rem;
color: #ffffff;
margin: 0 2rem;
position: relative;
display: inline-block;
}
.divider::before,
.divider::after {
content: '';
flex-grow: 1;
height: 1px;
background-color: #555;
}
/* Responsive Design */
@media (max-width: 768px) {
.company-title h1 {
font-size: 2.5rem;
}
.section-card {
flex-basis: 100%;
max-width: none;
}
}