.blog-container { width: 80%; margin: 0 auto; padding: 20px; background-color: #f9f9f9; } .blog-post { background-color: #ffc5d358; padding: 20px; margin-bottom: 20px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .post-title { font-size: 28px; font-weight: bold; color: #333; margin-bottom: 10px; } .post-date { font-size: 14px; color: #777; margin-bottom: 15px; } .post-content p { font-size: 16px; line-height: 1.6; color: #333; margin-bottom: 15px; } .back-button-container { text-align: center; } .back-button { display: inline-block; background-color: #df4c91; color: white; text-decoration: none; font-size: 18px; padding: 12px 20px; border-radius: 8px; transition: background-color 0.3s ease, transform 0.3s ease; } .back-button:hover { background-color: #b00555; transform: scale(1.1); } body { opacity: 1; transition: opacity 0.5s ease-in-out; } body.fade-out { opacity: 0; } .animated-bg { transition: opacity 0.5s ease-in-out; } body { opacity: 0; animation: fadeIn 0.5s forwards; transition: opacity 0.5s ease-in-out; } @keyframes fadeIn { to { opacity: 1; } } body.fade-out { opacity: 0; } .animated-bg { transition: opacity 0.5s ease-in-out; }