-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshared.css
More file actions
162 lines (141 loc) · 3.36 KB
/
shared.css
File metadata and controls
162 lines (141 loc) · 3.36 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
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "poppins", sans-serif; }
header .header__overlay {
width: 100%;
height: 100%;
background: linear-gradient(96deg, #d9e9b5 46%, #486861 47%);
position: absolute; }
.header__picture img {
position: absolute;
z-index: 100;
right: 5px;
top: 67px;
width: 50%;
height: 90%;
opacity: 0.8; }
.header-content-wrapper {
position: relative;
z-index: 1;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1em 3em 0em 3em; }
/* LOGO */
.logo img {
width: 120px;
height: 60px;
display: relative;
animation: spin 5s linear 1s infinite none; }
/* NAV LINKS */
.nav-link {
color: white;
font-size: 20px;
font-weight: bold;
text-decoration: none;
transition: 0.5s;
padding: 2px 10px;
margin: 10px 20px; }
.nav-link.active {
color: #d9e9b5; }
.nav-link:hover {
color: #486861;
background-color: #d9e9b5;
border-radius: 26px; }
.sparkle:hover {
cursor: pointer; }
.u-hover--sparkle {
box-sizing: border-box;
position: relative;
padding: 0.6em; }
.u-hover--sparkle::before, .u-hover--sparkle::after {
content: "";
box-sizing: border-box;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
transform-origin: center; }
.u-hover--sparkle::before {
border-top: 0.1em solid white;
border-bottom: 0.1em solid white;
transform: scale3d(0, 1, 1);
border-radius: 26px; }
.u-hover--sparkle::after {
border-left: 0.2em solid white;
border-right: 0.2em solid white;
border-radius: 26px;
transform: scale3d(1, 0, 1); }
.u-hover--sparkle:hover::before, .u-hover--sparkle:hover::after {
transform: scale3d(1, 1, 1);
transition: transform 900ms; }
.hero__wrapper {
margin: auto 50px;
height: 90%;
display: flex;
flex-direction: column;
justify-content: center; }
.hero__wrapper p {
margin: 10px 0 20px 0;
opacity: 0.5;
font-size: 17.5px; }
.btn:link,
.btn:visited {
text-decoration: none;
position: relative;
top: 0;
left: 0;
padding: 10px 20px;
display: inline-block;
transition: all 0.5s;
letter-spacing: 2px; }
.btn-white {
background: #486861;
color: #d9e9b5; }
.btn:hover {
box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.2);
transform: translateY(-3px); }
.btn:active {
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
transform: translateY(-1px); }
.btn-bottom-animation-1 {
animation: comeFromBottom 1s ease-out 0.8s; }
.btn::after {
content: "";
text-decoration: none;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
display: inline-block;
z-index: -1;
transition: all 0.5s; }
.btn-white::after {
background: #486861; }
.btn-animation:hover::after {
transform: scaleX(1.4) scaleY(1.6);
opacity: 0; }
#hero__wrapper--hi,
#hero__wrapper--name {
font-size: 50px;
font-weight: bolder;
color: #486861;
transition: 0.5s; }
@keyframes spin {
0% {
transform: rotateY(0); }
100% {
transform: rotateY(360deg); } }
@keyframes comeFromBottom {
0% {
opacity: 0;
transform: translateY(40px); }
100% {
opacity: 1;
transform: translateY(0); } }
/*# sourceMappingURL=shared.css.map */