

body {
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background: #f3f3f3; */
    /* background: #f3eee7;
    color: #222; */
    background: #faf7f2;
    color: #222;
    font-family: "Inter", sans-serif;
    overflow: hidden;
}

/* WRAPPER to center the card properly */
.card-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* FINAL, CLEAN #dis styling */
#dis {
    width: 90%;
    max-width: 360px;
    min-height: 120px;
    padding: 20px 22px;
    background: white;
    border-radius: 12px;
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

#dis:empty::before {
    content: "Your quote will appear here...";
    color: rgba(0,0,0,0.45);
    font-style: italic;
}

a{
    color:black;
}

/* RESPONSIVE FIX */
@media (max-width: 480px) {
    #dis {
        width: 88%;
        max-width: 330px;
        font-size: 1.05rem;
        padding: 16px 18px;
        min-height: 110px;
    }
}

button {
    margin-top: 20px;
    padding: 12px 25px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #333;
    color: white;
    transition: 0.3s;
}

button:hover {
    background: #555;
}

button:active {
    transform: scale(0.97);
}

footer {
    text-align: center;
    padding: 28px;
    margin-top: 60px;
    opacity: 0.6;
    font-size: 0.95rem;
}


#quote-heading {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #555;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

#quote-heading:hover {
    color: #000;
}

#dis {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: #333;
    text-align: center;
    padding: 10px 20px;
    transition: opacity 0.25s ease;
    opacity: 1;
}

/* Fade-in animation when quote updates */
.fade {
    opacity: 0;
}


h1 {
    font-family: 'Parisienne', cursive;
    font-size: 2.8rem;
    text-align: center;
    color: #111;
}





.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
