/* Global reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Dark theme with gradient background */
body {
font-family: “Segoe UI”, Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
color: #f0f0f0;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px;
}
/* Main container */
.container {
width: 90%;
max-width: 600px;
background-color: rgba(40, 40, 40, 0.8);
border-radius: 15px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
padding: 30px;
text-align: center;
margin-bottom: 20px; /* Added space between container and term and condition */
}
.logo {
width: 150px;
height: auto;
margin-bottom: 25px;
max-width: 100%;
}
/* Instruction text */
.instruction {
margin-bottom: 25px;
font-size: 18px;
color: #e0e0e0;
}
/* Button styling */
#generateButton {
background-color: #e84a94;
color: white;
border: none;
border-radius: 30px;
padding: 12px 30px;
font-size: 18px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
margin-bottom: 25px;
box-shadow: 0 4px 8px rgba(232, 74, 148, 0.3);
}
#generateButton:hover {
background-color: #d63a84;
transform: translateY(-2px);
box-shadow: 0 6px 12px rgba(232, 74, 148, 0.4);
}
#generateButton:active {
transform: translateY(1px);
}
/* Output area */
.output-container {
background-color: rgba(30, 30, 30, 0.7);
border-radius: 10px;
padding: 20px;
min-height: 100px;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 25px;
border-left: 4px solid #e84a94;
}
#output {
font-size: 22px;
font-weight: 500;
color: #e84a94;
word-wrap: break-word;
max-width: 100%;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.container {
width: 95%;
padding: 20px;
}
.logo {
width: 120px;
}
}
/* Popup styles */
.popup {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(40, 40, 40, 0.9);
border-radius: 15px;
padding: 30px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
z-index: 1000;
text-align: center;
}
.popup-content {
color: #c0c0c0;
font-size: 14px;
}
.popup-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
z-index: 999;
}
.popup-button {
background-color: #e84a94;
color: white;
border: none;
border-radius: 30px;
padding: 8px 20px;
font-size: 16px;
font-weight: bold;
cursor: pointer;
margin-top: 20px;
transition: background-color 0.3s ease;
}
.popup-button:hover {
background-color: #d63a84;
}
/* Terms and Conditions */
.terms-container {
width: 90%;
max-width: 600px;
background-color: rgba(30, 30, 30, 0.5);
border-radius: 10px;
padding: 20px;
text-align: left;
margin-bottom: 20px;
}
.terms-title {
color: #e84a94;
margin-bottom: 10px;
font-size: 16px;
text-align: center;
}
.terms-content {
color: #c0c0c0;
font-size: 12px;
}
.terms-content a {
color: #e84a94; /* Color for the link */
text-decoration: underline; /* Underline the link */
}
.terms-content a:hover {
text-decoration: none; /* Remove underline on hover if desired */
}
/* popup button container */
.popup-buttons-container {
display: flex;
justify-content: space-around;
gap: 10px;
}