File size: 4,278 Bytes
b8b80bc
42b863b
b8b80bc
 
1c65488
 
42b863b
d26d78d
 
42b863b
b8b80bc
edad6bb
 
 
 
42b863b
 
228c131
6bf2ecf
42b863b
6bf2ecf
42b863b
 
6bf2ecf
 
edad6bb
228c131
d302e50
 
42b863b
 
 
 
 
 
b8b80bc
492db51
42b863b
6bf2ecf
42b863b
 
d302e50
 
6bf2ecf
 
edad6bb
d302e50
 
6bf2ecf
 
8b68395
 
42b863b
6bf2ecf
42b863b
edad6bb
 
 
 
ceb59d5
 
edad6bb
 
 
 
 
 
 
42b863b
 
 
1c65488
edad6bb
 
1c65488
da3ee7d
edad6bb
1ef8ef7
42b863b
3fc2fb9
 
1c65488
42b863b
edad6bb
f592951
edad6bb
6bf2ecf
228c131
 
 
1c65488
 
 
018ef60
1c65488
42b863b
1c65488
42b863b
1c65488
 
 
 
 
366fbf0
42b863b
1c65488
 
 
42b863b
1c65488
 
 
 
 
 
42b863b
edad6bb
42b863b
228c131
edad6bb
42b863b
edad6bb
42b863b
edad6bb
 
42b863b
a00c45d
 
42b863b
 
8e5c5e9
 
edad6bb
42b863b
 
edad6bb
 
42b863b
edad6bb
42b863b
b8b80bc
edad6bb
 
 
1ef8ef7
edad6bb
42b863b
 
edad6bb
 
 
42b863b
 
edad6bb
 
42b863b
edad6bb
f91bb94
6460dfb
42b863b
edad6bb
 
 
 
 
 
 
42b863b
8b68395
 
 
42b863b
 
 
4f6b6be
 
8b68395
42b863b
edad6bb
 
228c131
42b863b
 
 
 
 
 
42b530b
 
edad6bb
 
42b863b
edad6bb
 
42b863b
8b68395
42b863b
8b68395
edad6bb
8b68395
228c131
42b863b
edad6bb
 
 
 
42b863b
 
 
 
 
 
 
 
 
 
 
f6a19e4
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
body {
    font-family: 'Poppins', Arial, sans-serif; /* Font modern */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal scroll */
    background-color: white; /* Warna dasar putih */
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #004d00; /* Hijau tua */
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Bayangan ringan */
}

.navbar .logo img {
    height: 40px;
}

.navbar .logo img:hover {
    transform: scale(1.1); /* Efek hover */
    transition: transform 0.3s ease;
}

/* Headline */
.headline {
    text-align: center;
    background-color: #004d00; /* Hijau tua */
    color: white;
    padding: 60px 20px;
    margin-top: 50px;
}

.headline h1 {
    font-size: 36px;
    font-weight: bold;
}

.headline p {
    font-size: 18px;
}

/* Converter Content */
.content {
    background-color: #004d00; /* Hijau tua */
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.converter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    padding: 30px;
    border-radius: 12px;
    background-color: white; /* Kontras putih */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Bayangan ringan */
    box-sizing: border-box;
}

.currency-box label {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
    color: #004d00; /* Hijau tua */
}

.currency-box input {
    padding: 15px;
    font-size: 16px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.currency-select {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.currency-group label {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
    color: #004d00; /* Hijau tua */
}

.currency-group select {
    padding: 15px;
    font-size: 16px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* Swap Button */
#swap-btn {
    background-color: #004d00; /* Hijau tua */
    color: white;
    cursor: pointer;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#swap-btn:hover {
    background-color: #003300; /* Warna lebih gelap saat hover */
    transform: rotate(180deg);
}

/* Convert Button */
#convert-btn {
    background-color: #004d00; /* Hijau tua */
    color: white;
    cursor: pointer;
    padding: 15px 30px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#convert-btn:hover {
    background-color: #003300; /* Hijau lebih gelap */
    transform: translateY(-2px); /* Sedikit naik */
}

/* How-to-Use Section */
.how-to-use {
    background-color: white;
    color: black;
    padding: 40px 20px;
    margin-top: 20px;
    text-align: center;
}

.how-to-use h2 {
    font-weight: bold;
    margin-bottom: 20px;
    color: #004d00; /* Hijau tua */
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.step {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.step:hover {
    background-color: #e0e0e0;
    transform: translateY(-5px);
}

.step h3 {
    font-weight: bold;
    color: #004d00; /* Hijau tua */
}

/* Footer */
.footer {
    background-color: #004d00; /* Hijau tua */
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
    border-top: 2px solid #003300;
}

.footer-content p {
    margin: 5px 0;
}

.footer-content a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #ccc;
}