File size: 2,330 Bytes
05d1a10 9cd7849 05d1a10 1b6268d 05d1a10 1b6268d 05d1a10 9cd7849 05d1a10 1b6268d 05d1a10 1b6268d 05d1a10 1b6268d 9cd7849 05d1a10 1b6268d 9cd7849 1b6268d 05d1a10 1b6268d 05d1a10 1b6268d 05d1a10 1b6268d 05d1a10 4fbca64 1b6268d 05d1a10 9cd7849 91bbfc3 9cd7849 91bbfc3 1b6268d 4fbca64 9cd7849 1b6268d 9cd7849 4fbca64 05d1a10 91bbfc3 1b6268d 9cd7849 05d1a10 1b6268d 91bbfc3 05d1a10 91bbfc3 05d1a10 1b6268d 4fbca64 91bbfc3 1b6268d 91bbfc3 1b6268d 91bbfc3 05d1a10 1b6268d 05d1a10 1b6268d 05d1a10 4fbca64 05d1a10 1b6268d 05d1a10 |
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 |
/* Resetting and global styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #001d4a, #04396e); /* Warna gradien biru gelap */
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
color: #fff;
position: relative;
}
/* Container styles */
.container {
background: #ffffff;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Bayangan */
padding: 30px;
width: 100%;
max-width: 450px;
text-align: center;
color: #333;
}
/* Header section */
header h1 {
font-size: 1.8rem;
font-weight: bold;
color: #001d4a;
margin-bottom: 10px;
}
header p {
font-size: 0.9rem;
color: #555;
margin-bottom: 20px;
}
/* Form styles */
input {
display: block;
width: 100%;
padding: 12px;
font-size: 16px;
margin-bottom: 15px;
border: 1px solid #e0e0e0;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
select {
width: 100%;
padding: 12px;
font-size: 16px;
margin-bottom: 15px;
border: 1px solid #e0e0e0;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
/* Currency selectors with swap button */
.currency-selectors {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-bottom: 15px;
}
.currency-selectors select {
width: 45%;
}
.swap-button {
display: flex;
align-items: center;
justify-content: center;
background-color: #1e90ff;
color: #ffffff;
border: none;
border-radius: 50%;
width: 40px;
height: 40px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.swap-button:hover {
background-color: #1c7ed6;
}
/* Button styles */
button {
width: 100%;
background-color: #4CAF50;
color: white;
padding: 12px;
font-size: 18px;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease;
font-weight: bold;
}
button:hover {
background-color: #45a049;
}
/* Result box */
#result {
margin-top: 20px;
padding: 15px;
font-size: 18px;
background: #f4f4f4;
border-radius: 8px;
text-align: center;
color: #333;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Footer */
footer p {
font-size: 0.8rem;
color: #777;
margin-top: 20px;
}
|