File size: 4,202 Bytes
e6c8ac6
e23054e
 
 
 
 
d3036fc
 
e23054e
 
 
 
 
 
 
 
 
 
 
 
d3036fc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e23054e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d3036fc
e23054e
d3036fc
 
e23054e
 
 
 
 
 
 
 
 
d3036fc
e23054e
 
 
 
 
 
d3036fc
e23054e
 
 
 
 
 
 
 
 
 
 
 
 
 
ab1056f
e23054e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d3036fc
e23054e
 
 
 
e6c8ac6
e23054e
 
 
e6c8ac6
e23054e
e6c8ac6
e23054e
 
 
 
 
 
 
 
 
 
ab1056f
e23054e
ab1056f
e23054e
 
 
d3036fc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
html {
  font-family: "Inter", sans-serif;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Enable scrolling on the y-axis */
}

/* GTA Text */
h1 {
  text-shadow: 0 0 0.125em rgb(192 38 211 / 0.5), 0 0 0.45em currentColor;
}
/* Vice City Text */
h2 {
  font-family: "Satisfy", cursive;
  text-shadow: 0 0 0.125em rgb(192 38 211 / 0.5), 0 0 0.45em currentColor;
}

#backgroundVideo video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Adjust the height as needed */
  object-fit: cover;
}

#backgroundVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Adjust the height as needed */
}

#placeholder {
  position: relative;
  left: 0;
  width: 100%;
  height: 75vh; /* Adjust the height as needed */
  background-color: transparent; /* Set the background color to transparent */
  z-index: 20; /* Place the background behind other elements */
}

div #logo_container::before {
  z-index: 20;
  content: "";
  width: 100%;
  height: 100%;
  top: 157%;
  left: 0;
  position: absolute;
  transform: perspective(1em) rotateX(40deg) scale(1, 0.35);
}

.container {
  position: relative;
  z-index: 20;
}

#videoElement {
  opacity: 0;
  width: 80%;
  transition: opacity 3s ease-in-out;
  margin-top: 155px;

}

#videoElement.fade-in {
  opacity: 1;

}

.fade-out {
  opacity: 0.09;
  transition: opacity 16s ease-in-out;
}

/* Modern React Native Design Principles */
/* 1. Minimalistic Design */

#playPauseBtn {
  background-color: #ffea8c;
  opacity: 35;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s ease;
}

#playPauseBtn img {
  width: 30px;
  height: 30px;
}

#playPauseBtn:active {
  background-color: #b1b1b186;
  transition: background-color 0.2s ease;
}

#playPauseBtn:active img {
  transform: scale(1.2);
  transition: transform 0.2s ease;
}

#playPauseBtn:active::after {
  content: '';
  display: block;
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: rgb(218, 0, 0);
  border-radius: 50%;
  animation: ripple 0.4s linear;
}


@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Add a floating up and down animation */
@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

#playPauseBtn:not(:hover) {
  animation: floatUpDown 5s ease-in-out infinite;
}

/* Tooltip */
#playPauseBtn .tooltip-text {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

#playPauseBtn:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

#playPauseBtn .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent transparent;
}

/* Style the scrollbar */
::-webkit-scrollbar {
  width: 5px; /* Adjust the width as needed */
  height: 12px; /* Adjust the height as needed */
}

::-webkit-scrollbar-track {
  background: transparent; /* Set the background color of the scrollbar track */
  border-radius: 10px; /* Adjust the border radius as needed */
}

::-webkit-scrollbar-thumb {
  background: #888888; /* Set the background color of the scrollbar thumb */
  border-radius: 12px; /* Adjust the border radius as needed */
}

/* Responsive styles */
@media (max-width: 768px) {
  #playPauseBtn {
    width: 40px;
    height: 40px;
  }

  #playPauseBtn img {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 480px) {
  #playPauseBtn {
    width: 30px;
    height: 30px;
  }

  #playPauseBtn img {
    width: 20px;
    height: 20px;
  }
}

@media only screen and (max-width: 768px) {
  #backgroundVideo {
    height: auto; /* Adjust the height as needed */
    min-height: 100vh; /* Adjust the minimum height as needed */
  }
}