-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
179 lines (155 loc) · 2.78 KB
/
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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
}
video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;
object-fit: cover;
z-index: 10;
}
.showcase {
position: relative;
right: 0;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 40px 100px;
color: white;
transition: right 0.8s ease-in-out;
}
.showcase.active {
right: 300px;
}
.toggle {
background-image: url("assets/menu.png");
height: 60px;
width: 60px;
background-repeat: no-repeat;
background-position: center;
background-size: 30px;
cursor: pointer;
}
.toggle.active {
background-image: url("assets/close.png");
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
z-index: 30;
}
.navbar h2 {
text-transform: uppercase;
cursor: pointer;
}
.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background-color: #a9d7ec;
mix-blend-mode: overlay;
z-index: 20;
}
.heading {
position: relative;
z-index: 30;
color: rgb(255, 115, 0);
}
.heading h1 {
font-size: 5em;
line-height: 1;
font-weight: 800;
}
.heading h2 {
font-size: 4em;
line-height: 1;
font-weight: 700;
}
.heading p {
font-size: 18px;
max-width: 700px;
margin: 20px 0;
}
.heading a {
display: inline-block;
padding: 10px 30px;
text-decoration: none;
color: black;
background-color: white;
font-size: 18px;
text-transform: uppercase;
letter-spacing: 2px;
font-weight: 500;
margin-top: 10px;
transition: 0.5s;
border-radius: 30%;
}
.heading a:hover {
letter-spacing: 6px;
}
.social ul {
position: relative;
display: flex;
list-style: none;
align-items: center;
gap: 20px;
z-index: 30;
}
.social img {
width: 50%;
filter: invert(1);
}
.social li {
transition: transform 1s;
}
.social li:hover {
transform: translateY(-15px);
}
.menu {
position: absolute;
top: 0;
right: 0;
width: 300px;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 0;
}
.menu ul {
list-style: none;
}
.menu li {
margin-bottom: 10px;
}
.menu a {
text-decoration: none;
color: black;
font-size: 22px;
}
.menu li a:hover {
color: #03a9f4;
}
@media (max-width: 768px) {
.showcase {
padding: 40px 20px;
}
.heading h1 {
font-size: 3em;
}
.heading h2 {
font-size: 2em;
}
}