/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body & Layout */
body {
  font-family: 'Georgia', serif;
  background-color: #fafafa;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Times New Roman', serif;
}

header {
  background-color: #003366;
  color: white;
  padding: 30px 0;
  text-align: center;
}

.header h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.header p {
  font-size: 18px;
  margin-top: 10px;
}

/* Main Content */
.newspaper-page {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
  margin: 50px 20px;
}

.main-news {
  display: flex;
  flex-direction: column;
}

.news-article {
  background-color: white;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.news-article.large {
  background-color: #f8f8f8;
  border-left: 5px solid #003366;
  margin-bottom: 30px;
}

.article-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.article-summary {
  font-size: 16px;
  margin-bottom: 15px;
  color: #555;
}

.read-more {
  font-weight: bold;
  color: #003366;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* Sidebar */
.side-news {
  background-color: white;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.sidebar {
  margin-bottom: 30px;
}

.sidebar h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  margin-bottom: 10px;
}

.sidebar ul li a {
  color: #003366;
  text-decoration: none;
  font-size: 16px;
}

.sidebar ul li a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  background-color: #003366;
  color: white;
  padding: 15px;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .newspaper-page {
    grid-template-columns: 1fr;
  }

  .main-news {
    margin-bottom: 20px;
  }

  .side-news {
    margin-top: 20px;
  }
}

{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Layout */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  margin: 0;
}

/* Breaking News Container */
.breaking-news-container {
  background-color: #ff0000;  /* Red background for breaking news */
  color: white;
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 40px;
}

.breaking-news {
  display: flex;
  align-items: center;
  animation: ticker 15s linear infinite; /* Continuous scrolling animation */
}

.news-text {
  font-size: 18px;
  padding: 0 50px;  /* Add padding for space between text */
  white-space: nowrap; /* Prevent text from wrapping */
}

/* Keyframes for the continuous scroll */
@keyframes ticker {
  0% {
    transform: translateX(100%); /* Start off-screen from right */
  }
  100% {
    transform: translateX(-100%); /* End off-screen to the left */
  }
}

/* Footer */
footer {
  text-align: center;
  background-color: #333;
  color: white;
  padding: 20px;
  margin-top: 50px;
}

/* Main Content */
.content {
  padding: 20px;
  text-align: center;
}

h1 {
  font-size: 32px;
}

p {
  font-size: 18px;
  color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .breaking-news-container {
    height: 30px;
  }

  .news-text {
    font-size: 16px;
  }

  .content h1 {
    font-size: 24px;
  }

  .content p {
    font-size: 16px;
  }
}


