body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    transition: background 0.3s, color 0.3s;
    background-image: url('hj.jpg');
    background-size: cover;
    background-attachment: fixed;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #333;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333; /* Adjust color */
    color: white;
    padding: 3px 20px;
    z-index: 1000; /* Ensures it stays above other elements */
    background-image: url('nn.jpg');
    
}

.social-links a {
    margin: 0 10px;
    color: white;
    text-decoration: underline;
}

#theme-toggle {
    padding: 8px 20px;
    cursor: pointer;
    margin-right: 30px;
}

.quote-card {
    width: 80%;
    max-width: 500px;
    margin: 20px auto;
    padding: 15px;
    text-align: center;
    background: white;
    box-shadow: 0 4px 8px rgb(255, 193, 193, 1);
    border-radius: 10px;
    background-image: url('sh.avif');
    background-size: cover;
    
}

.quote-img {
    width: 100%;
    border-radius: 10px;
}

.quote-text {
    margin: 15px 0;
    text-transform: capitalize;
    font-weight: bold;
}

.copy-btn, button[type='submit'] {
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    background: #007BFF;
    color: white;
    border-radius: 5px;
}

form {
    width: 80%;
    max-width: 500px;
    margin: 20px auto;
    padding: 15px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

textarea, input {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
}

.dark-theme {
    background: #121212;
    color: white;
}

.dark-theme .quote-card, .dark-theme form {
    background: #1e1e1e;
    color: white;
}
