-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexperience.css
193 lines (166 loc) · 3.55 KB
/
experience.css
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
190
191
192
193
/* General Reset */
html {
scroll-behavior: smooth;
}
body {
margin: 0;
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: #f8f9fc;
color: #333333;
}
.nav {
display: flex;
justify-content: space-between; /* Centers the entire navbar content */
}
.nav ul {
display: flex; /*Aligns the links horizontally */
gap: 1.5rem; /* Adds space between each link */
list-style: none; /* Removes bullet points */
/* margin: 0; Ensures no extra spacing */
/* padding: 0; Ensures no extra spacing */
}
/* Styles for larger screens (768px and up) */
@media (min-width: 768px) {
.nav ul {
gap: 15rem; /* Increase gap for desktop view */
}
}
.nav a {
/* text-decoration: none; Removes underline */
font-size: 1.2rem; /* Adjusts the font size */
color: #000000; /* Black text color */
font-weight: 500; /* Semi-bold */
transition: color 0.3s ease; /* Smooth hover transition */
}
.nav a:hover {
color: #007bff; /* Changes color on hover */
cursor: pointer;
}
.nav-link.active {
color: #0d6efd; /* A blue color for the active link */
font-weight: bold; /* Makes the link text bold */
}
.navbar-collapse {
flex-grow: 0;
}
/* Header Section */
.section-header {
text-align: center;
padding: 2rem 1rem;
background-color: #ffffff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.section-header h1 {
font-size: 2rem;
margin-bottom: 1rem;
}
.section-header p {
max-width: 700px;
margin: 0 auto;
color: #666666;
}
/* Main Grid */
.learning-journey {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
padding: 2rem;
max-width: 1200px;
margin: 0 auto;
}
/* Card Design */
.card {
background: #ffffff;
padding: 1.5rem;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
/* Card Icon */
.card-icon {
font-size: 2.5rem;
margin-bottom: 1rem;
color: #6c63ff;
}
/* Card Text */
.card h3 {
font-size: 1.25rem;
margin-bottom: 1rem;
}
.card p {
font-size: 0.9rem;
color: #555555;
line-height: 1.5;
}
.team-section {
background-color: #f9f9f9;
border-radius: 10px;
}
.team-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.card-img-top {
object-fit: cover;
height: 20rem;
border-bottom: 5px solid #007bff;
}
.card-title {
color: #007bff;
font-weight: bold;
}
.collapse {
font-size: 0.9em;
color: #555555;
}
/* css for video on landing page */
/* images and videos max out at full width */
/* General Reset */
body, html {
margin: 0;
padding: 0;
height: 100%; /* Ensure body and html are 100% height */
}
.hero {
position: relative;
width: 100%;
height: 89vh; /* Full viewport height */
overflow: hidden;
}
.video-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover; /* Ensures the video covers the entire area without distortion */
z-index: 1;
filter: brightness(50%);
}
.overlay {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 2; /* Ensure overlay content is on top of the video */
color: white;
text-align: center;
}
.overlay h1 {
font-size: 2rem; /* Adjust for smaller screens */
font-weight: 600;
}
@media (min-width: 768px) {
.overlay h1 {
font-size: 3rem; /* Larger size for medium/large devices */
}
}