body, html {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    background-color: #e2e0f3;  
}

#ly {
    font-size: 20px;
}

.container {
    text-align: center;
    padding: 20px;
}

.greeting {
    font-size: 20px;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: opaque; }
}

h1 {
    overflow: hidden;
    border-right: .15em solid #ffffff;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: typing 4s steps(40, end) forwards, blink-caret .75s step-end infinite;
}

h2 {
    font-size: 20px;
    overflow: hidden;
    border-right: .1em solid #ffffff;
    white-space: nowrap;
    margin: 0 auto 20px;
    animation: typing 3s steps(30, end) forwards, blink-caret .75s step-end infinite;
}

.reasons-container {
    margin: 20px 0;
    min-height: 50px;
    color: #5211f6;
    font-size: 16px;
}

button {
    background-color: #32419f;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
    transition: transform 0.2s;
}

button:hover {
    background-color: #5211f6;
    transform: scale(1.05);
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    color: #000000;
}

.heart {
    color: #000000;
    font-size: 15px;
    padding-left: 5px;
}

/* Responsive font sizes for the main title */
@media (max-width: 768px) {
    h1 {
        font-size: 20px; /* Adjust based on your design */
        padding: 0 10px; /* Add some padding on the sides */
    }

    .reasons-container p {
        font-size: 16px; /* Adjust for readability */
    }
}

/* Ensure the reasons text wraps properly */
.reason {
    word-wrap: break-word; /* Allow long words to wrap */
    padding: 5px; /* Add padding for better spacing */
}

/* Adjusting container padding and margin */
.container {
    padding: 10px; /* Adjust as needed */
    margin: auto; /* Center the container */
}

/* Ensuring buttons and clickable elements are adequately sized */
button {
    min-width: 44px; /* Minimum touch target size */
    min-height: 44px; /* Minimum touch target size */
    padding: 10px; /* Increase touch area */
}