-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
211 lines (178 loc) · 4.9 KB
/
style.scss
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
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700&display=swap');
body {
font: 18px "Nunito", sans-serif;
color: #DADADA;
min-height: 100vh;
padding: 2rem;
display: flex;
justify-content: center;
align-items: center;
&::before {
content: '';
position: fixed;
inset: 0;
z-index: -1;
pointer-events: none;
background: url("bg.png");
background-size: cover;
animation: backgroundZoomAnimate 50s forwards;
}
}
@keyframes backgroundZoomAnimate {
from {
transform: scale(1);
}
to {
transform: scale(1.3);
}
}
.profile-card {
box-shadow: 0 18px 200px -60px black;
border-radius: 50px;
width: 650px;
position: relative;
backdrop-filter: blur(15px);
border: 2px solid #ffffff40;
padding: 3rem 5rem;
display: flex;
flex-direction: column;
gap: 40px;
@media screen and (max-width: 768px) {
width: auto;
}
&_img img {
margin: auto;
width: 200px;
height: 200px;
border-radius: 50%;
object-fit: cover;
display: block;
box-shadow: 0 10px 60px -10px rgba(13,28,39,.5);
}
&_desc {
text-align: center;
display: flex;
flex-direction: column;
gap: 25px;
h1 {
font-size: 2.5rem;
font-weight: bold;
& + div {
font-size: 20px;
}
}
}
&_info {
display: flex;
justify-content: center;
gap: 50px;
@media screen and (max-width: 576px) {
gap: 30px;
}
& > div {
text-transform: uppercase;
font-weight: bold;
letter-spacing: 1px;
text-align: center;
& > *:first-child {
font-weight: bold;
letter-spacing: 3px;
font-size: 2rem;
margin-bottom: 15px;
}
& > *:last-child {
font-size: 16px;
opacity: .7;
}
}
}
&_social{
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
a {
display: inline-flex;
width: 55px;
height: 55px;
margin: 15px;
border-radius: 40%;
align-items: center;
justify-content: center;
color: white;
position: relative;
flex-shrink: 0;
transition: all .2s;
@media screen and (max-width: 768px) {
width: 50px;
height: 50px;
margin: 10px;
}
@media screen and (min-width: 768px) {
&:hover {
transform: scale(1.2) translateY(-5px);
}
}
&.linkedin {
background: linear-gradient(45deg, #1da1f2, #0e71c8);
box-shadow: 0 4px 30px rgba(43,98,169,0.5);
}
&.github {
background: linear-gradient(45deg, #b113d5, #9e24f0);
box-shadow: 0 4px 30px rgba(43,98,169,0.5);
}
&.behance {
background: linear-gradient(45deg, #333333, #626b73);
box-shadow: 0 4px 30px rgba(63,65,67, 0.6);
}
}
}
&_actions{
display: flex;
align-items: center;
justify-content: center;
gap: 2rem;
@media screen and (max-width: 576px) {
flex-direction: column;
gap: 1.5rem;
}
& > button {
font-weight: bold;
text-align: center;
font-size: 22px;
padding: 15px 0;
min-width: 250px;
border-radius: 50px;
color: white;
cursor: pointer;
transition: all .2s;
@media screen and (max-width: 768px) {
min-width: 170px;
}
@media screen and (max-width: 576px) {
min-width: inherit;
width: 100%;
max-width: 350px;
}
@media screen and (min-width: 576px){
&:hover {
transform: translateY(-5px);
}
}
&.blue {
background: linear-gradient(45deg, #1da1f2, #0e71c8);
box-shadow: 0 4px 30px rgba(19,127,212,0.4);
&.hover {
box-shadow: 0 7px 30px rgba(19,127,212,0.75);
}
}
&.purple {
background: linear-gradient(45deg, #b113d5, #9e24f0);
box-shadow: 0 7px 30px rgba(176, 45, 223, 0.75);
&.hover {
box-shadow: 0 7px 30px rgba(223,45,70,0.75);
}
}
}
}
}