-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
234 lines (208 loc) · 5.38 KB
/
index.html
File metadata and controls
234 lines (208 loc) · 5.38 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
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
233
234
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PYONIME</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body, html {
height: 100%;
overflow: hidden;
}
/* Background video */
.bg-video {
position: fixed;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
z-index: -1;
object-fit: cover;
}
/* Navbar */
nav {
width: 100%;
display: flex;
justify-content: flex-start;
align-items: center;
padding: 10px 50px;
background: rgba(217, 217, 217, 0.75);
position: fixed;
top: 0;
left: 0;
z-index: 10;
font-family: lexend deca;
}
nav a {
margin-right: 100px;
text-decoration: none;
color: black;
font-weight: bold;
transition: color 0.3s;
font-family: lexend deca;
font-size: 17px;
font-style: normal;
line-height: 30px;
}
nav .logo {
margin: -20px;
margin-left: auto;
margin-right: -40px;
margin-top: -120px;
margin-bottom: -120px;
}
nav .logo img {
height: 90px;
width: auto;
}
/* Content */
.content {
display: flex;
align-items: center;
justify-content: flex-end;
height: 100vh;
padding: 80px 80px 50px;
position: relative;
}
.info-box {
padding: 35px;
max-width: 500px;
font-size: 20px; /* teks lebih besar */
/* Rectangle 2 */
background: rgba(217, 217, 217, 0.42);
box-shadow: 0px 10px 50px #000000;
backdrop-filter: blur(15px);
/* Note: backdrop-filter has minimal browser support */
border-radius: 30px;
}
.info-box h2 {
margin-top: 8px;
margin-bottom: 25px;
margin-right: 300px;
margin-left: 30px;
font-family: lexend deca;
color: rgba(189, 129, 76, 1);
font-size: 30px; /* judul lebih besar */
}
.info-box p {
margin-bottom: 20px;
margin-right: 30px;
margin-left: 30px;
line-height: 1.5; /* jarak antar baris lebih besar */
font-family: lexend deca;
font-family: 'Lexend Deca';
font-style: normal;
font-weight: 300;
font-size: 20px;
}
.info-box .bottom-row {
display: flex;
justify-content: flex-end; /* tombol ke kanan */
margin-bottom: 10px;
margin-right: 15px;
}
.info-box a.button {
background: rgba(189, 129, 76, 1);
color: white;
text-decoration: none;
padding: 10px 20px;
border-radius: 50px;
font-weight: bold;
transition: background 0.3s;
}
.info-box a.button:hover {
background: #8b4513;
}
/* Karakter di bawah */
.characters {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
display: flex;
justify-content: flex-start;
padding-left: 1px;
pointer-events: none;
pointer-events: none;
}
.char1 {
animation: float 3s ease-in-out infinite;
margin-left: -80px;
height: 1100px;
width: auto;
margin-bottom: -650px;
}
.char2 {
animation: float 5s ease-in-out infinite;
margin-left: -800px;
height: 1200px;
width: auto;
margin-bottom: -570px;
}
.char3 {
animation: float 4s ease-in-out infinite;
height: 1100px;
width: auto;
margin-bottom: -650px;
margin-left: -200px;
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
100% { transform: translateY(0px); }
}
.bg-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.4);
z-index: -1;
}
</style>
</head>
<body>
<!-- Background Video -->
<video autoplay muted loop class="bg-video">
<source src="background2.mp4" type="video/mp4">
</video>
<div class="bg-overlay"></div>
<!-- Navbar -->
<nav>
<a href="community.html">community</a>
<a href="animelist.html">anime list</a>
<a href="about.html">about</a>
<div class="logo"><img src="logo.png" alt="PYONIME Logo"></div>
</nav>
<!-- Content -->
<div class="content">
<div class="info-box">
<h2>Haikyuu</h2>
<p>manga sekaligus anime ciptaan Haruichi Furudate, seorang mangaka asal Jepang. Manga-nya pertama kali terbit di majalah Weekly Shonen Jump pada tahun 2001</p>
<div class="bottom-row">
<a href="karakter.html" class="button">Open</a>
</div>
</div>
</div>
<!-- Karakter di bawah -->
<!-- Karakter di bawah -->
<div class="characters">
<img src="char1.png" alt="Karakter 1" class="char1">
<img src="char3.png" alt="Karakter 3" class="char3">
<img src="char2.png" alt="Karakter 2" class="char2">
</div>
<script>
// ambil video
const bgVideo = document.querySelector("video");
// atur speed jadi lebih lambat
bgVideo.playbackRate = 0.5; // 0.5 = setengah lebih lambat
</script>
</body>
</html>