Testinghh / backup-css
GarGerry's picture
Create backup-css
03d958f verified
/* Reset styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: #001F3F; /* Background biru tua */
display: flex;
justify-content: center;
align-items: flex-start; /* Posisi atas */
min-height: 100vh;
padding: 20px;
overflow-y: auto; /* Scroll vertikal */
}
.container {
background: #ffffff;
border-radius: 20px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); /* Bayangan tegas */
padding: 40px;
width: 100%;
max-width: 600px; /* Ukuran lebih besar */
margin-bottom: 20px;
}
header h1 {
font-size: 28px; /* Ukuran header lebih besar */
color: #333;
text-align: center;
margin-bottom: 30px;
}
label {
display: block;
font-size: 16px;
font-weight: bold;
margin-bottom: 8px;
color: #555;
}
input {
padding: 15px;
width: 100%;
font-size: 18px; /* Font input lebih besar */
border-radius: 10px;
border: 1px solid #ccc;
margin-bottom: 20px;
text-align: center;
font-weight: bold;
}
.currency-selectors {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
}
.input-group select {
padding: 15px;
font-size: 16px;
border-radius: 10px;
border: 1px solid #ccc;
width: 100%;
}
/* Tombol swap */
.swap-group {
display: flex;
justify-content: center;
margin: 20px 0;
}
#swapButton {
background-color: #ffffff;
color: #007BFF;
border: 2px solid #ccc;
border-radius: 50%;
width: 60px;
height: 60px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
font-size: 22px; /* Ukuran font lebih besar */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease;
}
#swapButton:hover {
background-color: #f1f1f1;
}
.result-box {
margin-top: 20px;
font-size: 18px;
font-weight: bold;
color: #333;
background-color: #f8f8f8;
padding: 20px;
border-radius: 10px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
button[type="submit"] {
padding: 15px;
background-color: #00BFFF; /* Warna biru langit */
color: white;
border: none;
border-radius: 10px;
font-size: 18px; /* Font lebih besar */
cursor: pointer;
width: 100%;
transition: background-color 0.3s ease;
}
button[type="submit"]:hover {
background-color: #1E90FF; /* Warna biru hover */
}
footer {
margin-top: 30px;
font-size: 14px;
color: #666;
text-align: center;
}
/* Responsiveness */
@media (max-width: 768px) {
.container {
padding: 20px;
max-width: 95%;
}
input {
font-size: 16px; /* Font input lebih kecil untuk mobile */
}
select {
font-size: 14px;
padding: 12px;
}
#swapButton {
width: 50px;
height: 50px;
font-size: 20px;
}
button[type="submit"] {
font-size: 16px;
padding: 12px;
}
header h1 {
font-size: 24px;
}
}
@media (min-width: 769px) {
.container {
max-width: 700px;
}
}