-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex_style.css
213 lines (190 loc) · 4.87 KB
/
index_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
@import 'https://fonts.googleapis.com/css2?family=Orbitron&family=Raleway:wght@200;300;400;500;600&family=Roboto+Condensed:wght@300&display=swap';
/*general*/
:root{
--backgound-color: #000;
--text-shadow: #03e9f4;
--text-white: #fafafa;
--icon-shake-color1: #00a8b1;
--icon-shake-color2: #aa0000;
}
html,
body {
font-family: 'Orbitron', sans-serif;
background: var(--backgound-color);
height: 90%;
}
/*start container*/
.start_container {
height: 90%;
width: 100%;
justify-content: center;
align-items: center;
display: flex;
}
.start_container .name {
font-weight: 100;
font-size: 100px;
position: static;
animation: skew-x-shake-name 5s infinite;
text-shadow:0 0 5px var(--text-shadow),
0 0 25px var(--text-shadow),
0 0 50px var(--text-shadow),
0 0 100px var(--text-shadow);
}
.start_container .name:hover {
position: relative;
font-size: 80px;
top: 10%;
color: var(--text-white);
text-transform: uppercase;
transition: all ease-out 0.7s;
}
.start_container .surname {
font-weight: 100;
font-size: 80px;
color: var(--text-white);
position: relative;
top: 10%;
text-transform: uppercase;
animation: skew-x-shake-name 5s infinite;
text-shadow: 0 0 5px var(--text-shadow),
0 0 25px var(--text-shadow),
0 0 50px var(--text-shadow),
0 0 100px var(--text-shadow);
}
@keyframes skew-x-shake-name {
0% { transform: skewX(0deg); }
10% { transform: skewX(0deg); }
20% { transform: skewX(0deg); }
30% { transform: skewX(0deg); }
40% { transform: skewX(-4deg); }
50% { transform: skewX(2deg); }
60% { transform: skewX(0deg); }
70% { transform: skewX(0deg); }
80% { transform: skewX(0deg); }
90% { transform: skewX(0deg); }
100% { transform: skewX(0deg); }
}
.start_container .surname:hover {
position: static;
font-size: 100px;
color: var(--backgound-color);
text-transform: none;
transition: all ease-out 0.7s;
}
/*bottom container*/
.bottom_container {
justify-content: center;
align-items: center;
display: flex;
position: relative;
bottom: 20%;
}
.bottom_container .profession {
font-size: 15px;
letter-spacing: 0.2em;
color: var(--text-white);
text-shadow: 10px 15px 5px var(--text-shadow);
animation: skew-x-shake 5s infinite;
padding-bottom: 30px;
}
.bottom_container .profession:hover {
letter-spacing: 0.5em;
transition: 3s;
color: var(--text-shadow);
text-shadow: 20px 20px 5px var(--icon-shake-color2);
}
@keyframes skew-x-shake {
0% { transform: skewX(-15deg); }
10% { transform: skewX(10deg); }
20% { transform: skewX(0deg); }
30% { transform: skewX(0deg); }
40% { transform: skewX(0deg); }
50% { transform: skewX(0deg); }
60% { transform: skewX(0deg); }
70% { transform: skewX(0deg); }
80% { transform: skewX(0deg); }
90% { transform: skewX(0deg); }
100% { transform: skewX(0deg); }
}
/*buttons*/
.button_container {
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
button {
padding: 20px 40px;
background-color: var(--backgound-color);
color: var(--text-white);
font-weight: bold;
border: none;
border-radius: 5px;
letter-spacing: 4px;
overflow: hidden;
transition: 1s;
cursor: pointer;
text-transform: uppercase;
}
button:hover {
background: var(--icon-shake-color1);
color: var(--backgound-color);
box-shadow: 0 0 5px var(--text-shadow),
0 0 25px var(--text-shadow),
0 0 50px var(--text-shadow),
0 0 100px var(--icon-shake-color2);
}
/*social*/
.socialbtns {
text-align: center;
transform: translateX(-1%);
}
.socialbtns li {
display: inline-block;
}
a {
text-decoration: none;
padding: 10px;
}
a:hover{
text-decoration: none;
padding-left: 40px;
padding-right: 40px;
position: relative;
bottom: 8px;
animation: icon_shake 500ms 2;
}
@keyframes icon_shake {
0% {
text-shadow: 5px 4px var(--icon-shake-color1), -5px -6px var(--icon-shake-color2);
}
25% {
text-shadow: -5px -6px var(--icon-shake-color1), 5px 4px var(--icon-shake-color2);
}
50% {
text-shadow: 5px -4px var(--icon-shake-color1), -8px 4px var(--icon-shake-color2);
}
75% {
text-shadow: -8px -4px var(--icon-shake-color1), -5px -4px var(--icon-shake-color2);
}
100% {
text-shadow: -5px 0 var(--icon-shake-color1), 5px -4px var(--icon-shake-color2);
}
}
.socialbtns .fa {
color: var(--text-white);
text-shadow: 1px 1px 0px var(--backgound-color),
1px -1px 0px var(--backgound-color),
-1px 1px 0px var(--backgound-color),
-1px -1px 0px var(--backgound-color);
transition: all ease-out 0.8s;
}
.socialbtns .fa:hover {
color: var(--backgound-color);
text-shadow: 1px 1px 0px var(--text-white),
1px -1px 0px var(--text-white),
-1px 1px 0px var(--text-white),
-1px -1px 0px var(--text-white);
transition: all ease 0.8s;
}