body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

/* Dark Mode */
body.dark-mode {
    background-color: #121212;
    color: white;
}

/* Main container for the quote */
.quote-container {
    max-width: 600px;
    margin: 0 auto;
}

#quote {
    min-height: 0px; /* Keeps the box size fixed */
    font-size: 0px; /* Increased quote text size */
    margin: 0px 0;
    animation: typing 4s steps(30, end), blink-caret .75s step-end infinite;
    white-space: nowrap;
    overflow: hidden;
}


.quote-btn {
    background-color: #00796b;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s;
    margin-top: 20px;
}

.quote-btn:hover {
    background-color: #004d40;
    transform: scale(1.05);
}

/* Top right buttons container */
.top-right-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
}

.quote-help-container {
    position: relative;
    margin-right: 10px;
}

.help-btn {
    background-color: grey;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.help-btn:hover {
    background-color: darkgrey;
}

.tooltip-box {
    display: none;
    position: absolute;
    bottom: -60px; /* Adjusted position */
    right: 0;
    width: 200px;
    background-color: rgba(224, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.1);
    font-size: 12px;
    z-index: 10; /* Ensures tooltip is above other elements */
}

.quote-help-container:hover .tooltip-box {
    display: block;
}

.dark-mode-btn {
    background-color: #00796b;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dark-mode-btn:hover {
    background-color: #004d40;
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 12px; /* Smaller copyright text */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.creator-btn {
    background-color: grey;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s, transform 0.3s;
}

.creator-btn:hover {
    background-color: darkgrey;
    transform: scale(1.05);
}

/* Dark mode styles */
body.dark-mode .creator-btn {
    background-color: darkgrey;
}
/* Adjusted for better display of quotes */
.quote-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

#quote {
    min-height: 100px; /* Adjusted for better text fitting */
    font-size: 24px; /* Increased font size for readability */
    margin: 20px 0;
    white-space: normal; /* Allow text to wrap */
    overflow-wrap: break-word; /* Ensure long words break and wrap */
    animation: typing 1s steps(30, end), blink-caret .75s step-end infinite;
}


.container{
    display: flex;
    justify-content: center;
}

.blur{
    justify-content: center;
    position: center;
    box-shadow: 0 0 2000px 51px #ffffff;
    z-index: 0;
}  
