File size: 2,927 Bytes
7b922de
 
 
 
 
 
72dfda2
fdd77d0
d8a7786
5c3a9b3
20113a4
87a1f86
5c3a9b3
87a1f86
d8a7786
fdd77d0
20113a4
49e1857
 
 
 
 
 
 
 
20113a4
49e1857
 
 
7237c02
49e1857
 
 
 
 
 
5c3a9b3
 
 
d8a7786
8435d04
 
97bf4c9
8435d04
d8a7786
7b922de
20113a4
8435d04
72dfda2
 
5c3a9b3
8435d04
 
97bf4c9
8435d04
 
 
 
9dd2c1c
87a1f86
 
 
1fdf8f9
 
97bf4c9
 
 
 
 
 
 
 
1fdf8f9
87a1f86
1fdf8f9
 
 
87a1f86
1fdf8f9
 
97bf4c9
 
8435d04
 
 
97bf4c9
 
 
8435d04
 
9dd2c1c
72dfda2
 
5c3a9b3
8435d04
5c3a9b3
 
 
8435d04
97bf4c9
8435d04
97bf4c9
5c3a9b3
8435d04
72dfda2
5c3a9b3
 
 
 
 
 
8435d04
 
5c3a9b3
c129869
 
d8a7786
 
97bf4c9
c129869
d3510ca
 
5e47730
6c4b7d6
5e47730
c3223db
 
 
6c4b7d6
7237c02
49e1857
 
5e47730
 
c3223db
 
fdd77d0
 
 
 
a86ed8b
d8a7786
fdd77d0
a86ed8b
fdd77d0
d8a7786
fdd77d0
a86ed8b
fdd77d0
8435d04
fdd77d0
a86ed8b
fdd77d0
8435d04
fdd77d0
c129869
 
 
 
6906109
c129869
 
 
6906109
c129869
 
 
6906109
c129869
 
 
 
 
5c3a9b3
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
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #F3F4F9, #C9D6E3);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  color: #333;
  position: relative;
  padding-top: 40px;
}

header {
  width: 100%;
  text-align: center;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  border-bottom: 2px solid black; /* Garis batas bawah hitam untuk header */
}

header h1 {
  font-size: 2rem;
  color: #2D3A3A;
  font-weight: 600;
}

.container {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: 100%;
  max-width: 600px;
  text-align: center;
  margin-top: 100px;
  margin-bottom: 20px;
}

input, select {
  padding: 12px;
  margin: 10px 0;
  width: 100%;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  color: #555;
}

input:focus, select:focus {
  border: 1px solid #4CAF50;
  outline: none;
  box-shadow: 0 0 8px rgba(0, 180, 50, 0.2);
}

select {
  background-image: url('https://img.icons8.com/ios/452/down-squared.png');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 40px;
}

.currency-selectors {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

span {
  font-size: 18px;
  font-weight: 500;
  color: #555;
}

button {
  padding: 12px 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 8px;
  width: 100%;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #45a049;
}

#result {
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  background-color: #f4f4f4;
  padding: 15px;
  border-radius: 8px;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

footer {
  width: 100%;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  border-top: 2px solid black; /* Garis batas atas hitam untuk footer */
  position: fixed;
  bottom: 0;
}

footer p {
  margin: 0;
}

@media (max-width: 768px) {
  .container {
    padding: 30px;
    max-width: 100%;
  }

  h1 {
    font-size: 1.5rem;
  }

  input, select {
    font-size: 14px;
  }

  button {
    font-size: 16px;
  }
}

@media (min-width: 769px) {
  .container {
    max-width: 700px;
  }

  h1 {
    font-size: 2.5rem;
  }

  input, select {
    font-size: 18px;
  }

  button {
    font-size: 20px;
  }
}