-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject1.css
More file actions
255 lines (232 loc) · 5.46 KB
/
Copy pathproject1.css
File metadata and controls
255 lines (232 loc) · 5.46 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
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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
@import url(https://fonts.googleapis.com/css2?family=Space+Grotesk&display=swap);
body {
font-family: Space Grotesk, Arial, sans-serif;
background-color: black;
margin: 0;
padding: 0;
color: white;
cursor: url('dot.png'), auto;
}
img {
position: relative;
margin-top: 15px;
margin-left: 20px;
height: 25%;
width: 25%;
}
h2 {
position: relative;
margin-top: 1px;
font-family: Space Grotesk;
margin-left: 200px;
margin-right: 250px;
font-size: 20px;
font-weight: lighter;
}
/* Header styles */
header {
background-color: black;
color: white;
text-align: left;
padding: 20px 0;
display: flex;
justify-content: space-between;
align-items: center;
}
h1 {
font-size: 55px;
font-weight: bolder;
letter-spacing: 0.15cm;
color: #FFA500;
text-align: left;
margin-left: 200px;
margin-top: 15px;
padding: 40px 0;
margin-bottom: 0px;
}
.button-container {
text-align: right;
margin-top: 20px;
display: flex;
flex-direction: column; /* Change flex-direction to column */
}
/* Adjust the margin for buttons */
.button-container .login-button {
margin: 0 200px 10px; /* Added a margin-bottom */
}
.button-container .button {
margin: 0 200px; /* Adjusted the margin for the "Travel facilities" button */
}
.button {
background-color: transparent;
color: white;
padding: 10px 20px;
font-size: 18px;
font-family: Space Grotesk;
border: none;
cursor: pointer;
border-radius: 5px;
position: relative;
}
.button:hover {
background-color: #FFA500;
}
/* Dropdown */
.button-events {
position: relative;
display: inline-block;
}
.button-socials {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: black;
min-width: 160px;
z-index: 1;
top: 100%;
left: 0;
text-align: center;
}
.button-events:hover .dropdown-content,
.button-socials:hover .dropdown-content {
display: block;
}
.button-events .dropdown-content a,
.button-socials .dropdown-content a {
color: white;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.button-events .dropdown-content a:hover,
.button-socials .dropdown-content a:hover {
background-color: #FFA500;
color: #fff;
}
.button-container .button-socials .button {
background-color: transparent;
color: white;
padding: 10px 20px;
font-size: 18px;
font-family: Space Grotesk;
border: none;
cursor: pointer;
border-radius: 5px;
}
.login-button {
background: linear-gradient(45deg, transparent 5%, #FFA500 0);
box-shadow: 6px 0 0 #FFFF00;
position: relative;
color: black;
padding: 10px 20px;
font-size: 18px;
font-family: Space Grotesk;
font-weight: 900;
letter-spacing: 3px;
border: none;
cursor: pointer;
margin: 10px 200px;
transition: background-color 0.3s ease;
position: relative;
}
.login-button.glitch::after {
--slice-0: inset(50% 50% 50% 50%);
--slice-1: inset(80% -6px 0 0);
--slice-2: inset(50% -6px 30% 0);
--slice-3: inset(10% -6px 85% 0);
--slice-4: inset(40% -6px 43% 0);
--slice-5: inset(80% -6px 5% 0);
content: "Login";
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 100000000000000000000000000000000000000000;
background: linear-gradient(
45deg,
transparent 3%,
#FFFF00 3%,
#FFFF00 5%,
#FFA500 5%
);
text-shadow: -3px -3px 0px #f8f005, 3px 3px 0px #FFFF00;
clip-path: var(--slice-0);
animation: glitch 1s infinite steps(2, end);
}
.ani{
height: 500px;
width: 500px;
animation: y 4s infinite;
}
@keyframes glitch {
0% {
clip-path: var(--slice-1);
transform: translate(-20px, -10px);
}
10% {
clip-path: var(--slice-3);
transform: translate(10px, 10px);
}
20% {
clip-path: var(--slice-1);
transform: translate(-10px, 10px);
}
30% {
clip-path: var(--slice-3);
transform: translate(0px, 5px);
}
40% {
clip-path: var(--slice-2);
transform: translate(-5px, 0px);
}
50% {
clip-path: var(--slice-3);
transform: translate(5px, 0px);
}
60% {
clip-path: var(--slice-4);
transform: translate(5px, 10px);
}
70% {
clip-path: var(--slice-2);
transform: translate(-10px, 10px);
}
80% {
clip-path: var(--slice-5);
transform: translate(20px, -10px);
}
90% {
clip-path: var(--slice-1);
transform: translate(-10px, 0px);
}
100% {
clip-path: var(--slice-0);
transform: translate(0);
}
}
.torch {
width: 100px;
height: 100px;
position: absolute;
background-color: rgba(255, 255, 255, 0.75);
border-radius: 50%;
transform: translate(-35%, -35%);
pointer-events: none;
mix-blend-mode: screen;
transition: width 0.2s, height 0.2s;
z-index: 9999;
background-position: center center;
}
@keyframes y{
0%,100%{
transform: translateY(0px);
}
50%{
transform: translateY(15px);
}
}