body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    text-align: center;
    flex-direction: column;
}

h1 {
    font-size: 3rem;
    color: #ff5733;
    margin-bottom: 20px;
}

button {
    background-color: #ff5733;
    color: white;
    font-size: 1.2rem;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
}

button:hover {
    background-color: #c1351d;
    transform: scale(1.1);
}

button:active {
    transform: scale(1.05);
}

p {
    font-size: 1.5rem;
    color: #333;
    margin-top: 20px;
    word-wrap: break-word;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Prevent content shifting */
#curseWords {
    font-weight: bold;
    font-size: 1.8rem;
    color: #ff5733;
    margin-top: 20px;
    width: 90%; /* Fixed width to control text wrapping */
    min-height: 120px; /* Increased height to fit multiple lines */
    max-width: 90%; /* Keeps the text contained */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5; /* Controls line height for better spacing */
    padding: 10px; /* Adds padding to avoid text touching the edges */
    overflow: hidden; /* No scrollbar and no overflow */
    white-space: normal; /* Allows the text to wrap */
    word-wrap: break-word; /* Breaks long words properly */
}

