Love Calculator
Love Calculator
Enter your names and click "Calculate" to see your love compatibility (for fun only!)
body {
font-family: sans-serif;
margin: 0;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #f0f0f0;
}
.container {
background-color: #fff;
border-radius: 10px;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
width: 400px;
}
h1 {
text-align: center;
margin-bottom: 10px;
}
p {
font-size: 16px;
color: #777;
text-align: center;
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 5px;
}
input[type="text"] {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
margin-bottom: 10px;
}
button {
background-color: #f0f8ff;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background-color: #d0e3ff;
}
#result {
text-align: center;
font-size: 18px;
margin-top: 20px;
}