cs23-namitha/Ai-Writer
0
1st.markdown(f"""2 <style>3 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');4 5 html, body {{6 font-family: 'Poppins', sans-serif;7 background: linear-gradient(135deg, #1e1e2f, #3a3a52);8 color: {text_color};9 }}10 11 section.main > div {{12 background-color: transparent;13 padding: 2rem;14 }}15 16 .title {{17 text-align: center;18 font-size: 50px;19 font-weight: 700;20 color: {header_color};21 margin-top: 20px;22 text-shadow: 2px 2px 4px rgba(0,0,0,0.2);23 }}24 25 .summary-box {{26 background-color: {card_color};27 padding: 20px;28 border-radius: 15px;29 margin-top: 25px;30 box-shadow: 0 10px 25px rgba(0,0,0,0.2);31 }}32 33 .stTextArea, .stFileUploader, .stSelectbox {{34 background-color: #ffffff10 !important;35 border-radius: 10px;36 padding: 10px;37 color: {text_color};38 }}39 40 .stButton>button {{41 background-color: {primary};42 color: white;43 padding: 12px 30px;44 border-radius: 30px;45 font-weight: bold;46 font-size: 16px;47 box-shadow: 0 0 15px {primary};48 transition: 0.3s ease;49 }}50 51 .stButton>button:hover {{52 background-color: #333;53 color: {primary};54 box-shadow: 0 0 20px {primary};55 }}56 57 .stDownloadButton>button {{58 background-color: #2e7d32;59 color: white;60 padding: 10px 25px;61 border-radius: 25px;62 font-weight: bold;63 margin-top: 10px;64 }}65 </style>66""", unsafe_allow_html=True)67 