-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathstyle.css
More file actions
203 lines (196 loc) · 3.7 KB
/
style.css
File metadata and controls
203 lines (196 loc) · 3.7 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
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
@import url('https://fonts.googleapis.com/css2?family=Sonsie+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Poppins:ital,wght@0,300;1,500&display=swap');
@font-face {
font-family: 'Sassy Frass';
src: url('../assets/fonts/Sassy_Frass/SassyFrass-Regular.ttf');
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
overflow: hidden;
font-family: 'Sonsie One', cursive;
background-color: #a493af;
}
#webgl-canvas {
outline: none;
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
}
.logo{
z-index: 0;
color: rgb(218, 242, 214);
position: absolute;
top: 50%;
left: 50%;
font-size: 20vw;
padding: none;
transform: translate(-50%,-50%);
overflow: hidden;
/* stroke: #0e0e0e;
-webkit-text-stroke-width: 0.001rem;
-webkit-text-stroke-color: #0e0e0e; */
}
.name{
font-family: 'Poppins', sans-serif;
position: absolute;
top: 39px;
left: 50%;
transform: translateX(-50%);
z-index: 2;
font-size: 14px;
opacity: 0.7;
}
.cta{
font-family: 'Poppins', sans-serif;
z-index: 3;
font-size: 12px;
text-transform: uppercase;
position: absolute;
top: 30px;
right: 40px;
text-decoration: none;
color: #0e0e0e;
background-color: #ffffffb5;
padding: 5px 25px;
border: 1px solid #0e0e0e;
border-radius: 2px;
transition: all 0.3s ease;
border-radius: 50px;
/* letter-spacing: -1px; */
}
.cta:hover{
background-color: #abcaa9;
/* color: rgb(228, 228, 228); */
}
.socials{
position: absolute;
top: 30px;
left: 25px;
display: flex;
flex-direction: row;
z-index: 3;
}
.socials li{
cursor: pointer;
color: #0e0e0e;
list-style: none;
border: 1px solid #0e0e0e;
background-color: #ffffffb5;
padding: 4px 5px 0px 5px;
margin: 0 10px;
border-radius: 50%;
transition: all 0.3s ease;
}
.socials li:hover{
background-color: #abcaa9;
}
.socials li img{
width: 20px;
height: 20px;
}
.enterSceneContainer{
font-family: 'Poppins', sans-serif;
z-index: 4;
position: absolute;
display: block;
width: 100%;
height: 100%;
text-align: center;
font-size: 25px;
background-color: #a4a0a075;
backdrop-filter: blur(5px);
transition: all 0.5s ease;
}
.enterSceneContainer p{
cursor: pointer;
margin: 50vh auto;
background-color: #ffffff;
padding: 20px 40px;
width: 300px;
border-radius: 50px;
color: #abcaa9;
transition: all 0.3s ease-in-out;
}
.enterSceneContainer p:hover{
background-color: #abcaa9;
color: #ffffff;
}
.playbackControls{
z-index: 3;
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
display: flex;
flex-direction: row;
}
.playbackControls button{
border: none;
background-color: #dfdede00;
cursor: pointer;
margin: 20px;
border-radius: 50%;
padding: 5px 5px 2px 5px;
display: none;
}
#toggleSound{
z-index: 1
}
button img{
width: 20px;
height: 20px;
}
#pause,#soundOn{
display: block;
}
#boink{
font-family: 'Kaushan Script', cursive;
position: absolute;
color: #fefefe;
padding: 2px 10px;
font-size: 20px;
transform: scale(2);
}
.vignette{
width: 100%;
height: 100vh;
position: absolute;
background: radial-gradient(circle, rgba(255,255,255,0) 31%, rgb(6 140 120 / 43%) 99%);
z-index: 2;
}
@media screen and (max-width:800px) {
.cta{
top: 20px;
right: 20px;
}
.name{
position: absolute;
top: auto;
bottom: 20px;
left: 0;
bottom: 20px;
width: 100%;
text-align: center;
transform: translateX(0);
font-size: 10px;
opacity: 0.7;
}
.socials{
top: 20px;
left: 20px;
}
.socials li{
padding: 4px 2px -1px 2px;
margin: 0;
margin-right: 10px;
border-radius: 50%;
transition: all 0.3s ease;
}
}