File size: 5,133 Bytes
13dc079
08c2a59
70dad81
08c2a59
 
 
9232266
 
08c2a59
 
 
 
 
 
 
 
9232266
08c2a59
fc665dd
08c2a59
 
 
 
9232266
08c2a59
 
edb508f
08c2a59
edb508f
 
 
 
 
 
 
 
 
 
 
08c2a59
 
 
 
 
9232266
08c2a59
fc665dd
 
08c2a59
 
 
fc665dd
 
08c2a59
 
 
 
 
 
 
 
9232266
fc665dd
08c2a59
 
 
9232266
08c2a59
 
0e021f1
08c2a59
 
 
 
 
70dad81
fc665dd
08c2a59
9232266
 
08c2a59
 
 
0e021f1
13dc079
 
9232266
13dc079
fc665dd
70dad81
 
13dc079
 
0e021f1
13dc079
 
9232266
13dc079
fc665dd
13dc079
 
 
08c2a59
fc665dd
 
9232266
fc665dd
08c2a59
 
 
fc665dd
 
08c2a59
fc665dd
08c2a59
 
 
 
13dc079
08c2a59
 
 
13dc079
08c2a59
fc665dd
 
08c2a59
 
0e021f1
 
 
 
 
 
 
08c2a59
fc665dd
 
08c2a59
fc665dd
08c2a59
 
 
 
 
70dad81
08c2a59
70dad81
 
 
 
 
08c2a59
 
 
fc665dd
9232266
0e021f1
 
3b278a9
13dc079
3b278a9
 
6e157b2
 
0e021f1
 
6e157b2
 
 
 
7472ac3
6e157b2
 
 
 
 
 
0e021f1
6e157b2
 
 
0e021f1
6e157b2
 
 
3b278a9
7472ac3
0e021f1
 
13dc079
08c2a59
 
 
 
9232266
08c2a59
 
fc665dd
 
08c2a59
fc665dd
 
08c2a59
 
 
 
9232266
 
08c2a59
 
 
 
 
 
fc665dd
 
08c2a59
 
 
 
fc665dd
 
9232266
08c2a59
 
 
 
 
fc665dd
08c2a59
 
 
 
fc665dd
 
08c2a59
0e021f1
 
 
 
 
 
08c2a59
 
 
fc665dd
9232266
08c2a59
 
 
 
9232266
08c2a59
fc665dd
08c2a59
fc665dd
08c2a59
 
 
0e021f1
 
 
 
08c2a59
 
 
fc665dd
08c2a59
 
 
 
 
 
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
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
/* Body */
body {
    font-family: 'Open Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: white;
}

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

/* Logo di Navbar */
.navbar .logo img {
    height: 50px; /* Sesuaikan ukuran logo */
    object-fit: contain; /* Memastikan proporsi logo tetap */
}

.navbar .logo a {
    text-decoration: none;
}

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

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

.headline h1 {
    font-size: 40px;
    font-weight: 700;
}

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

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

/* Container untuk semua elemen konversi */
.converter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    padding: 40px;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* Flexbox untuk bagian input Amount, From, Swap, dan To */
.currency-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

/* Untuk input amount */
.currency-box .amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.currency-box label {
    font-weight: 600;
    font-size: 18px;
    color: #004d00;
    margin-bottom: 10px;
}

.currency-box input {
    padding: 20px;
    font-size: 18px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Menyusun From, Swap, dan To secara horizontal */
.currency-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 25px;
    margin: 30px 0;
}

.currency-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.currency-group select {
    padding: 20px;
    font-size: 18px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #ccc;
}

/* Swap Button */
#swap-btn {
    color: #000;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #000;
    font-size: 30px;
    height: 70px;
    width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
    font-weight: bold;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

/* Mode Mobile */
@media screen and (max-width: 768px) {
    .currency-select {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    #swap-btn {
        transform: rotate(0deg); /* Rotasi tombol swap untuk mobile */
        width: 60px;
        height: 60px;
        margin: 0;
    }
}

/* Mode Web dan Tablet */
@media screen and (min-width: 769px) {
    .currency-select {
        flex-direction: row;
        align-items: center;
        gap: 25px;
    }

    #swap-btn {
        transform: rotate(90deg); /* Rotasi horizontal untuk desktop */
        width: 70px;
        height: 70px;
    }
}

/* Convert Button */
#convert-btn {
    background-color: #004d00;
    color: white;
    cursor: pointer;
    padding: 18px 35px;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    margin-top: 25px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#convert-btn:hover {
    background-color: #003300;
    transform: translateY(-2px);
}

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

.how-to-use h2 {
    font-weight: 700;
    margin-bottom: 25px;
    color: #004d00;
}

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

.step {
    background-color: #f0f0f0;
    padding: 25px;
    border-radius: 10px;
    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: 600;
    color: #004d00;
}

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

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

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

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