|
* { |
|
margin: 0; |
|
padding: 0; |
|
box-sizing: border-box; |
|
} |
|
|
|
body { |
|
font-family: Arial, sans-serif; |
|
background-color: #f4f4f9; |
|
display: flex; |
|
justify-content: center; |
|
align-items: center; |
|
height: 100vh; |
|
} |
|
|
|
.container { |
|
background-color: white; |
|
padding: 20px; |
|
border-radius: 10px; |
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); |
|
width: 300px; |
|
text-align: center; |
|
} |
|
|
|
h1 { |
|
font-size: 24px; |
|
margin-bottom: 20px; |
|
} |
|
|
|
input, select { |
|
padding: 10px; |
|
margin: 10px 0; |
|
width: 80%; |
|
font-size: 16px; |
|
border: 1px solid #ccc; |
|
border-radius: 5px; |
|
} |
|
|
|
button { |
|
padding: 10px 15px; |
|
width: 80%; |
|
background-color: #4CAF50; |
|
color: white; |
|
border: none; |
|
border-radius: 5px; |
|
cursor: pointer; |
|
} |
|
|
|
button:hover { |
|
background-color: #45a049; |
|
} |
|
|
|
#result { |
|
margin-top: 20px; |
|
font-size: 18px; |
|
font-weight: bold; |
|
color: #333; |
|
} |