-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
243 lines (241 loc) · 4.68 KB
/
index.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
242
243
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body {
width: 100%;
height: 100vh;
background-color: rgb(67, 66, 66);
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 5rem;
background-color: rgb(67, 66, 66);
}
nav span {
color: rgb(229, 124, 35);
}
nav a,
nav li {
text-decoration: none;
list-style-type: none;
color: white;
position: relative;
}
nav ul {
width: 300px;
display: flex;
justify-content: space-between;
font-size: 16px;
}
nav ul li a:after {
content: "";
width: 0;
height: 2px;
position: absolute;
left: 0;
bottom: 0;
background: white;
transition: width 0.1s linear;
}
nav ul li a:hover:after {
width: 100%;
}
nav .bar{
font-size: 20px;
color: #fff;
display: none;
}
.responsive-navbar{
width: 100%;
height: auto;
background-color: rgb(67, 66, 66);
position: absolute;
z-index: 6;
text-align: center;
font-size: 18px;
line-height: 70px;
font-weight: 600;
display: none;
}
.responsive-links a{
text-decoration: none;
color: white;
cursor: pointer;
}
body {
margin: 0;
font: normal 75% Arial, Helvetica, sans-serif;
}
canvas {
display: block;
}
/* ---- particles.js container ---- */
#particles-js {
position: relative;
width: 100%;
height: 89vh;
background-color: rgb(67, 66, 66);
background-image: url("");
background-repeat: no-repeat;
background-size: cover;
background-position: 50% 50%;
display: flex;
justify-content: center;
align-items: center;
}
.container {
width: 800px;
height: 450px;
position: absolute;
backdrop-filter: blur(10px);
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
border-radius: 15px;
display: flex;
flex-wrap: wrap;
}
.profile {
width: 40%;
height: 100%;
background: rgb(244,236,230);
color: white;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border-top-left-radius: 15px;
border-bottom-left-radius: 15px;
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}
.profile img{
width: 130px;
height: 130px;
border-radius: 50%;
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}
.profile h1{
font-size: 36px;
color: rgb(77, 60, 119);
}
.profile p{
font-weight: 600;
font-size: 18px;
color: black;
text-shadow: 2px 2px 10px #4d4d4da9;
}
.profile-links{
width: 100%;
margin-top: 3rem;
display: flex;
text-decoration: none;
justify-content: space-evenly;
font-size: 24px;
color: rgb(77, 60, 119);
}
.profile-content{
display: none;
width: 50%;
padding: 2rem;
padding-right: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.profile-content h1{
font-size: 36px;
color: rgb(229, 124, 35);
}
.profile-content p{
margin-top: 2rem;
line-height: 22px;
color: white;
}
.profile-buttons{
display: flex;
gap: 20px;
width: 100%;
}
.profile-button{
min-width: 100px;
color: #fff;
padding: 6px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
display: inline-block;
outline: none;
border-radius: 20px;
z-index: 0;
background: var(--primary-color);
overflow: hidden;
border: 2px solid rgb(255, 255, 255);
color: rgb(255, 255, 255);
text-decoration: none;
text-align: center;
}
.profile-button:hover {
color: rgb(0, 0, 0);
}
.profile-button:hover:after {
width: 100%;
}
.profile-button:after {
content: "";
position: absolute;
z-index: -1;
transition: all 0.3s ease;
left: 0;
top: 0;
width: 0;
height: 100%;
background: rgb(255, 255, 255);
}
.profile-button:active{
transform: scale(0.97);
}
.contact{
width: 100%;
margin-top: 2rem;
}
@media screen and (max-width: 768px){
nav .bar{
display: inline;
}
.links{
display: none;
}
.container{
width: 400px;
min-width: 300px;
height: auto;
top: 0;
flex-direction: column;
margin: 2rem 0;
}
.profile{
width: 100%;
padding: 1rem 0;
border-radius: 15px;
}
.profile-content{
width: 100%;
padding: 2rem 1rem;
}
}
@media screen and (max-width: 400px){
.container{
width: 100%;
}
nav{
padding: 1rem;
}
.auto-type{
font-size: 14px;
}
}