No title
0
January 20, 2024
.love-form {
max-width: 400px;
margin: 0 auto;
padding: 20px;
border-radius: 15px; /* Increased border-radius for a rounded form */
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Slightly increased box-shadow */
background-color: #fff;
transition: transform 0.3s ease-in-out;
box-sizing: border-box;
}
.form-group {
margin-bottom: 20px;
}
label {
display: block;
font-size: 16px; /* Increased font size */
margin-bottom: 10px; /* Increased margin-bottom */
color: #4CAF50; /* Green color for labels */
}
input {
width: 100%;
padding: 15px; /* Increased padding for input fields */
box-sizing: border-box;
border: none;
border-bottom: 2px solid #4CAF50; /* Green underline effect */
border-radius: 5px;
background-color: #f8f8f8;
transition: border-color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
input:focus {
border-color: #e91e63; /* Pink color on input focus */
background-color: #fff;
}
button {
background-color: #e91e63; /* Pink color for the button */
color: white;
padding: 15px 20px; /* Increased padding for the button */
border: none;
border-radius: 25px; /* Increased border-radius for a rounded button */
cursor: pointer;
transition: background-color 0.3s ease-in-out;
}
button:hover {
background-color: #c2185b; /* Darker pink color on button hover */
}
.row {
margin-bottom: 20px;
}
h1, h2 {
margin-top: 20px;
color: #e91e63; /* Pink color for headings */
}
.heart {
color: red;
font-size: 48px;
margin-right: 5px;
}
/* ... (existing styles) */
/* ... (existing styles) */
.back-button {
display: inline-block; /* Use inline-block to make the button only as wide as its content */
margin: 20px auto; /* Center horizontally */
background-color: #e91e63;
color: #fff;
padding: 10px 20px;
text-decoration: none;
border-radius: 4px;
transition: background-color 0.3s;
text-align: center;
}
.back-button:hover {
background-color: #e91e63;
}
/* Override Bootstrap styles for the back button */
.back-button,
.back-button:hover,
.back-button:active,
.back-button:focus {
background-color: #e91e63 !important; /* Important to ensure override */
color: #fff !important;
border: none !important;
outline: none !important;
box-shadow: none !important;
}
/* Additional style for centering */
/* ... (existing styles) */
.social-links {
margin-top: 20px;
text-align: center;
}
.social-link {
display: inline-block;
margin: 0 10px;
padding: 8px 16px;
background-color: #3498db;
color: #fff;
text-decoration: none;
border-radius: 4px;
transition: background-color 0.3s;
}
.social-link:hover {
background-color: #2980b9;
}
/* ... (existing styles) */
#result {
margin-top: 20px;
text-align: center;
}
.big-heart {
position: relative;
margin-top: 20px;
}
.big-heart .heart {
font-size: 72px;
color: red;
}
.love-score {
font-size: 24px;
color: #333;
}
/* ... (existing styles) */
.container {
text-align: center;
}
