-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
239 lines (208 loc) · 4.89 KB
/
style.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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
/* Importing necessary fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Source+Sans+Pro:wght@400;700&display=swap');
/* CSS Variables for the Animation */
:root {
--animation-position-x: 0.6;
--animation-position-y: -0.1;
--animation-position-z: 0;
--animation-scale: 2.2;
--num-origins: 4;
--colors: "255,215,0;120,81,169;183,110,121;229,228,226";
}
body {
margin: 0;
overflow: hidden;
background: radial-gradient(circle, #1e1e1e, #2e2e2e);
}
#animation-canvas {
display: block;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: transparent;
}
/* Overlay content container */
#overlay-content {
position: absolute;
top: calc(100vh * 0.05); /* Dynamic top padding */
left: calc(100vw * 0.05); /* Dynamic left padding */
min-width: 20%;
width: 45vmin; /* Fixed relative width */
height: calc(100vh - calc(100vh * 0.08) - 50px); /* Span from top padding to footer (assuming footer height is 50px) */
color: #ffffff;
z-index: 1;
font-family: 'Source Sans Pro', sans-serif;
display: flex;
flex-direction: column;
justify-content: space-between; /* Distribute space between logo and content */
overflow: hidden; /* Hide overflow to manage scroll within content-container */
bottom: 200px;
}
/* Top Section: Logo */
#logo-container {
flex: 0 0 30% ;
display: flex;
align-items: center; /* Vertically center the logo within its container */
justify-content: center;
}
#logo {
width: 100%; /* Make logo the same width as the overlay content */
max-width: 30vmin;
margin-bottom: 0; /* Remove bottom margin to minimize spacing */
object-fit: contain; /* Ensure the logo scales appropriately */
}
/* Bottom Section: Content with fade transitions */
#content-container {
flex: 1; /* Occupies the remaining 70% of the overlay-content height */
display: flex;
flex-direction: column;
justify-content: flex-start; /* Vertically center the content */
align-items: center; /* Horizontally center the content */
width: 100%;
min-width: 30%;
max-height: 100%;
opacity: 1;
transition: opacity 0.5s ease;
overflow: hidden; /* Hide overflow initially */
}
/* Fade transition classes */
.fade-in {
opacity: 1;
}
.fade-out {
opacity: 0;
}
/* Statement styling */
#statement {
font-size: 1.5rem;
margin-top: 5vmin;
margin-bottom: 15px; /* Reduced from 20px for minimal space */
text-align: center;
overflow-y: auto; /* Enable vertical scrolling if content overflows */
}
/* CTA Link styling */
#cta-link {
display: inline-block;
padding: 10px 20px;
background-color: #FFD700;
color: #000;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
transition: background 0.3s;
}
#cta-link:hover {
background-color: #FFC107;
}
/* Contact form styling */
#contact-form {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
/* max-height: 70%; /* Set max height for scrollability */
overflow-y: auto; /* Enable vertical scrolling if content overflows */
}
#contact-form h2 {
color: #ffffff;
margin-bottom: 15px;
}
#contact-form label {
color: #ffffff;
width: 100%;
text-align: left;
margin-bottom: 5px;
}
#contact-form input,
#contact-form textarea {
width: 90%;
justify-items: center;
margin-bottom: 15px;
padding: 8px;
border: 1px solid #ffffff;
border-radius: 5px;
background-color: transparent;
color: #ffffff;
height: 20px;
font-weight: 600;
}
#contact-form select {
width: 93%;
justify-items: center;
margin-bottom: 15px;
padding: 3px;
border: 1px solid #ffffff;
border-radius: 5px;
background-color: transparent;
color: #ffffff;
height: 35px;
font-weight: 600;
}
#contact-form select option {
background-color: transparent;
color: #000000;
}
#contact-form textarea {
min-height: 27px;
height: 100px;
resize: vertical;
}
#contact-form button {
padding: 10px 20px;
background-color: #FFD700;
color: #000;
border: none;
border-radius: 5px;
font-weight: bold;
cursor: pointer;
transition: background 0.3s;
}
#contact-form button:hover {
background-color: #FFC107;
}
/* Placeholder text color */
#contact-form input::placeholder,
#contact-form textarea::placeholder {
color: #ffffff;
}
/* Footer styles */
#footer {
display: flex;
justify-content: space-between;
align-items: center;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background-color: rgba(0, 0, 0, 0.7);
color: #ffffff;
padding: 10px 0px;
font-family: 'Montserrat', sans-serif;
z-index: 1;
}
#footer p {
margin: 0;
flex-grow: 1;
text-align: center;
}
/* Social media icon styling */
#footer-icons {
display: flex;
gap: 10px;
align-items: center;
padding-right: 40px;
}
.social-button {
display: inline-block;
}
.social-icon {
width: 24px;
height: 24px;
filter: brightness(0) invert(1);
transition: transform 0.3s;
}
.social-icon:hover {
transform: scale(1.1);
}