-
Notifications
You must be signed in to change notification settings - Fork 0
/
Project.css
241 lines (208 loc) · 5.1 KB
/
Project.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
239
240
241
* {
margin: 0;
padding: 0;
box-sizing: border-box; /* Include padding and border in element's total width and height */
}
body {
background-color: #f0eed7;
color: #161616;
overflow: hidden; /* Hide vertical scroll */
font-family: Arial, sans-serif; /* Ensure consistent font rendering */
}
header {
position: absolute;
display: flex;
align-items: center;
justify-content: space-between;
top: 0;
height: 80px;
width: 100%;
}
header .img img {
width: 60px;
padding: 0px 20px;
filter: invert(0.9);
}
header .heading {
font-family: "Neutral Face";
}
header .menu img {
width: 35px;
padding: 0px 50px;
}
.scroll-container {
overflow-x: auto; /* Enable horizontal scroll */
overflow-y: hidden; /* Prevent vertical scroll */
white-space: nowrap; /* Ensure that children are aligned horizontally */
height: 100vh; /* Full viewport height */
display: flex; /* Flexbox for aligning children */
align-items: stretch; /* Stretch children to fill the container's height */
padding: 20px 0; /* Padding for spacing */
box-sizing: border-box; /* Include padding in the element's total width and height */
}
.container {
display: flex;
align-items: stretch; /* Ensure containers stretch to full height */
}
.inner-container {
min-width: 300px; /* Minimum width for each container */
height: 100%; /* Full height of the scroll container */
flex: 0 0 auto; /* Prevent containers from shrinking and growing beyond content size */
margin: 0 10px; /* Space between containers */
display: flex;
align-items: center;
justify-content: center;
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
background-image: transparent;
transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1) ease-in-out;
position: relative; /* Ensure absolute positioning within containers works */
}
.inner-inner-container {
width: 100%;
height: auto; /* Adjust height based on content */
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
text-align: center; /* Center text horizontally */
padding: 20px; /* Add padding inside container */
}
.top-section h1 {
font-size: 3rem; /* Adjust font size for better fit */
font-family: "Kenoky";
font-weight: lighter;
text-transform: uppercase;
margin: 0; /* Remove default margins */
}
.top-section p {
padding: 0.5rem 0;
font-family: "Neutral Face";
font-size: 1rem; /* Adjust font size */
letter-spacing: 1px;
margin: 0; /* Remove default margins */
}
.bottom-section {
font-size: 14rem; /* Adjust font size */
margin: 0; /* Remove default margins */
font-family: "Kenoky";
font-weight: lighter;
color: #8f0000;
}
.inner-container:hover .top-section h1,
.inner-container:hover .top-section p,
.inner-container:hover .bottom-section {
color: white;
}
.inner-container-1:hover {
background-image: url(1.jpg);
cursor: pointer;
}
.inner-container-2:hover {
background-image: url(2.jpg);
cursor: pointer;
}
.inner-container-3:hover {
background-image: url(3.jpg);
cursor: pointer;
}
.inner-container-4:hover {
background-image: url(5.jpg);
cursor: pointer;
}
.inner-container-5:hover {
background-image: url(6.jpg);
cursor: pointer;
}
.inner-container-6:hover {
background-image: url(4.jpg);
cursor: pointer;
}
.c-nav-social {
position: relative;
display: inline-block;
}
.c-nav-social > a {
z-index: 4;
position: relative;
color: #383838;
text-decoration: none;
}
.c-nav-social:hover > a {
z-index: 4;
position: relative;
color: #383838;
text-decoration: none;
}
#line4 {
margin-left: 2.6vw;
margin-top: 2.8vw;
margin-bottom: 0vw;
width: 67%;
height: 1px;
color: #333;
border-bottom: transparent;
}
.c-nav-social__dropdown {
position: absolute;
top: 100%;
left: 0;
width: 16vw;
height: 100px;
background: #f0eed7;
border-radius: 25px;
visibility: hidden;
opacity: 0;
transform: translateY(-10px);
transform-origin: top;
transition: all 0.4s cubic-bezier(0, .89, .41, 1);
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.c-nav-social__dropdown ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.c-nav-social__dropdown ul li {
padding: 10px 20px;
opacity: 0;
transform: translateY(10px);
transition: transform 0.3s ease, opacity 0.3s ease;
}
.c-nav-social__dropdown ul li:first-child {
margin-top: 70px; /* Adjust this value as needed */
}
.c-nav-social__dropdown ul li:last-child {
margin-bottom: 15px; /* Adjust this value as needed */
}
.c-nav-social__dropdown ul li a {
margin-top: 0px;
margin-left: 20px;
text-decoration: none;
color: #383838;
display: block;
position: relative;
}
.c-nav-social:hover .c-nav-social__dropdown {
visibility: visible;
opacity: 1;
transform: translateY(0);
}
.c-nav-social:hover .c-nav-social__dropdown ul li {
opacity: 1;
transform: translateY(0);
transition-delay: calc(var(--order) * 0.1s);
}
.c-nav-social__dropdown ul li:hover {
background-color: #f0f0f0;
}
.c-nav-social__dropdown:after {
content: url('drop-down.0028b9b3.svg');
position: absolute;
right: 28px;
top: 15px;
z-index: 4;
width: 20px;
}