GarGerry's picture
Update style.css
a86ed8b verified
raw
history blame
2.37 kB
* {
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;
justify-content: center;
align-items: center;
height: 100vh;
color: #333;
position: relative;
}
.container {
background: #ffffff;
border-radius: 20px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
padding: 40px;
width: 450px;
text-align: center;
position: relative;
max-width: 500px; /* Lebar maksimal di desktop */
}
h1 {
font-size: 30px;
margin-bottom: 25px;
color: #2D3A3A;
font-weight: 700;
}
input, select {
padding: 15px;
margin: 12px 0;
width: 100%;
font-size: 18px;
border-radius: 10px;
border: 1px solid #D1D1D1;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
}
input:focus, select:focus {
border: 1px solid #4CAF50;
outline: none;
box-shadow: 0 0 8px rgba(0, 180, 50, 0.2);
}
.currency-selectors {
display: flex;
justify-content: space-between;
gap: 15px;
}
span {
font-size: 20px;
font-weight: 600;
color: #555;
}
button {
padding: 15px 25px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 10px;
width: 100%;
font-size: 20px;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s;
}
button:hover {
background-color: #45a049;
transform: translateY(-2px); /* Efek hover tombol */
}
button:active {
transform: translateY(0); /* Efek tombol ketika ditekan */
}
#result {
margin-top: 30px;
font-size: 24px;
font-weight: bold;
color: #333;
text-transform: uppercase;
}
/* Watermark dengan Copyright */
body::after {
content: "© 2025 Powered by Teggar";
font-size: 16px;
font-weight: 400;
color: rgba(0, 0, 0, 0.2);
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
z-index: -1;
opacity: 0.5;
pointer-events: none;
user-select: none;
letter-spacing: 2px;
text-transform: uppercase;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* Media Query untuk Layar Lebih Kecil */
@media (max-width: 768px) {
.container {
padding: 30px;
width: 100%;
max-width: 100%;
}
h1 {
font-size: 24px;
}
input, select {
font-size: 16px;
}
button {
font-size: 18px;
}
}