File size: 3,996 Bytes
b8b80bc
8b68395
b8b80bc
 
6bf2ecf
dd9d8c5
d26d78d
 
b8b80bc
6bf2ecf
 
 
 
 
 
 
 
 
 
 
 
 
d302e50
 
b8b80bc
492db51
6bf2ecf
 
 
 
d302e50
 
6bf2ecf
 
 
d302e50
 
6bf2ecf
 
8b68395
 
6bf2ecf
 
 
 
dd9d8c5
 
 
6bf2ecf
 
 
 
 
 
f592951
da3ee7d
727b8d0
2757916
727b8d0
 
deee09e
dd9d8c5
6bf2ecf
 
ceb59d5
 
 
e5301d5
 
 
ceb59d5
 
743d5ce
 
 
f592951
743d5ce
 
3fc2fb9
 
 
 
dd9d8c5
3fc2fb9
 
727b8d0
3fc2fb9
 
 
 
f592951
e5301d5
727b8d0
f592951
e5301d5
da3ee7d
 
 
f592951
 
da3ee7d
f592951
dd9d8c5
 
da3ee7d
 
 
 
 
3fc2fb9
 
da3ee7d
 
6bf2ecf
f592951
3fc2fb9
6bf2ecf
da3ee7d
727b8d0
 
 
7e440a0
727b8d0
 
dd9d8c5
 
727b8d0
2757916
f592951
deee09e
 
727b8d0
 
 
7e440a0
8b68395
 
 
 
b8b80bc
8b68395
727b8d0
3fc2fb9
 
 
727b8d0
3fc2fb9
8b68395
 
6bf2ecf
 
 
 
727b8d0
 
 
8b68395
 
 
6bf2ecf
 
 
 
 
 
 
 
 
8b68395
 
 
 
4d4310e
6bf2ecf
8b68395
e5301d5
4f6b6be
 
8b68395
deee09e
492db51
8b68395
deee09e
6bf2ecf
b8b80bc
6bf2ecf
 
 
 
42b530b
 
8b68395
deee09e
8b68395
6bf2ecf
8b68395
6bf2ecf
deee09e
6bf2ecf
 
 
 
42b530b
 
8b68395
e5301d5
8b68395
e5301d5
8b68395
3fc2fb9
e5301d5
 
 
 
 
 
3fc2fb9
 
 
727b8d0
 
 
 
3fc2fb9
 
727b8d0
 
3fc2fb9
6bf2ecf
 
 
727b8d0
 
 
3fc2fb9
6bf2ecf
8b68395
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
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #006400; /* Green */
    padding: 10px 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

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

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

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

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

.content {
    background-color: white;
    padding: 40px 20px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.converter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #ccc;
    background-color: #f8f8f8;
    box-sizing: border-box;
}

.currency-box {
    margin: 10px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align left */
}

.currency-box label {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.currency-box input {
    padding: 15px;
    font-size: 16px;
    width: 100%;
    max-width: 400px;
    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%;
    margin: 20px 0;
    flex-wrap: wrap;
}

.currency-group {
    display: flex;
    flex-direction: column;
    margin: 10px;
    flex-grow: 1;
    width: 100%;
    max-width: 180px;
}

.currency-group label {
    font-weight: bold;
    font-size: 16px;
}

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

#swap-btn {
    background-color: #006400; /* Dark Green */
    color: white;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    font-size: 20px;
    margin: 10px 0;
    height: 50px;
    width: 50px;
}

#swap-btn:hover {
    background-color: #004d00;
}

#convert-btn {
    background-color: #006400;
    color: white;
    cursor: pointer;
    padding: 15px 30px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    width: 100%;
    margin-top: 10px;
}

#convert-btn:hover {
    background-color: #004d00;
}

#result {
    font-size: 18px;
    margin-top: 20px;
}

.how-to-use {
    background-color: #004d00; /* Dark Green */
    color: white;
    padding: 30px 20px;
    margin-top: 20px;
    text-align: center;
}

.how-to-use h2 {
    font-weight: bold;
}

.steps {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    background-color: #e0e0e0;
    padding: 20px;
    margin: 10px;
    width: 300px;
    border-radius: 8px;
    text-align: center;
}

.step h3 {
    font-weight: bold;
}

.footer {
    background-color: #666666;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #fff;
}

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

@media screen and (max-width: 768px) {
    .currency-select {
        flex-direction: column;
        align-items: center;
    }

    .currency-group {
        width: 100%;
        max-width: 200px;
    }

    .steps {
        flex-direction: column;
    }

    .currency-box input,
    .currency-select select,
    .currency-select button {
        width: 100%;
    }

    .currency-select button {
        margin: 10px 0;
    }
}

@media screen and (max-width: 480px) {
    .currency-box input,
    .currency-select select,
    .currency-select button {
        width: 100%;
    }
}