-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmission.css
More file actions
189 lines (161 loc) · 3.8 KB
/
Copy pathmission.css
File metadata and controls
189 lines (161 loc) · 3.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body and page setup */
html, body {
height: 100%;
font-family: Arial, sans-serif;
background-color: #eaf4fc; /* Light blue background */
color: #333;
line-height: 1.6;
}
body {
display: flex;
flex-direction: column;
min-height: 100vh; /* Full height of the viewport */
}
/* Navigation Styles */
nav {
position: sticky;
top: 0;
background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
padding: 10px 20px;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1000; /* Ensure nav is always on top */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Shadow for depth */
}
/* Logo styling in the nav */
nav .logo a {
font-size: 1.8em;
font-weight: bold;
color: #007bff;
text-decoration: none;
}
/* Navigation links list style */
nav .nav-links {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
/* Navigation link styling */
nav .nav-links li {
margin-right: 20px;
}
nav .nav-links a {
text-decoration: none;
color: #343a40;
font-size: 1.1em;
padding: 8px 15px;
transition: background-color 0.3s ease, color 0.3s ease;
border-radius: 4px;
}
/* Hover effects for nav links */
nav .nav-links a:hover {
background-color: #007bff;
color: white;
}
/* Header Styles */
header {
background-color: #007BFF; /* Primary Blue */
color: white;
text-align: center;
padding: 20px 0;
transition: background-color 0.3s ease;
}
header:hover {
background-color: #0056b3; /* Darker blue on hover */
}
h1 {
font-size: 2.5em;
letter-spacing: 1px;
}
/* Mission Section Styles */
.mission {
padding: 40px;
max-width: 900px;
margin: 0 auto;
background-color: white;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 8px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mission:hover {
transform: scale(1.02);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.mission h2 {
font-size: 2em;
color: #0056b3; /* Blue for headings */
margin-bottom: 15px;
transition: color 0.3s ease;
}
.mission:hover h2 {
color: #003f7f; /* Darker blue on hover */
}
.mission p {
font-size: 1.1em;
line-height: 1.8;
margin-bottom: 20px;
opacity: 0.9;
transition: opacity 0.3s ease;
}
.mission p:hover {
opacity: 1;
}
/* Image Styling */
.mission img {
width: 100%; /* Adjusts the width to 100% of its container */
height: 700px; /* Keeps the aspect ratio intact */
border-radius: 8px;
transition: transform 0.3s ease, filter 0.3s ease;
margin: 20px 0; /* Adds spacing above and below the image */
}
.mission img:hover {
transform: scale(1.05); /* Slight zoom effect */
filter: brightness(90%);
}
/* Footer Styling */
footer {
background-color: #003366; /* Dark blue */
color: white;
text-align: center;
padding: 20px;
position: relative;
width: 100%;
transition: background-color 0.3s ease;
}
footer:hover {
background-color: #002244; /* Darker blue on hover */
}
footer p {
font-size: 1em;
}
/* Ensure Footer Sticks at the Bottom */
main {
flex: 1; /* This ensures the content section expands to take available space */
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.mission {
padding: 20px;
}
.mission h2 {
font-size: 1.8em;
}
.mission p {
font-size: 1em;
}
nav .nav-links {
flex-direction: column;
align-items: center;
}
nav .nav-links li {
margin: 10px 0;
}
}