/* This is a style.css file for the National Headlines USA application. It contains CSS rules for styling the website. */ :root { --primary-color: #007bff; --secondary-color: #6c7ae1; --text-color: #333; --background-color: #f8f9fa; } body { margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; background-color: var(--background-color); color: var(--text-color); } header { background-color: var(--primary-color); color: white; padding: 1rem; text-align: center; } .header-title { font-size: 2.5rem; margin-bottom: 0.5rem; } .content { max-width: 960px; margin: auto; padding: 2rem; background-color: var(--background-color); border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .articles { display: grid; grid-template-columns: repeat(auto-fit, min-content); gap: 1.5rem; } .article { background-color: var(--background-color); border-radius: 5px; overflow: hidden; transition: transform 0.3s ease; } .article:hover { transform: translatey(-5px); } .article h2 { margin-bottom: 0.5rem; font-size: 1.2rem; } .article p { font-size: 0.9rem; } footer { margin-top: 2rem; text-align: center; padding: 1rem; background-color: var(--primary-color); color: white; } @media (max-width: 600px) { .article { grid-column: span 1; } }