@font-face {
  font-family: 'Bitter';
  src: url('Bitter-VariableFont_wght.ttf') format('truetype');
}



body {
	margin: 0;
	padding: 0;
	font-family: 'Bitter', sans-serif;
}

.header {
	text-align: center;
	background: #2e94fd;
	color: white;
	font-weight: 900;
	padding: 6px 0px;
	margin: 0 0 40px 0;
}

.content {
	max-width: 1000px;
	margin: 0 auto;
}

.post {
padding: 10px 40px;
  border-radius: 10px;
  margin: 50px 0;
}

.banner {
  padding: 18px;
  border-bottom: 1px solid #cecece;
}

.post .headline {
	font-size: 20pt;
	color: black;
	display: block;
	text-decoration: none;
	margin-top: 20px;
}
.post .headline:hover {
	color: dodgerblue;
	text-decoration: none;
}

.post .description {
	color: #2b2b2b;

}

a {
	text-decoration: none!important;
}

.post img {
	max-width: 100%;
	border-radius: 5px;
	margin-top: 20px;
	height: auto;
}

.grid .post img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	transition: transform 400ms;
	border-radius: 0px;
	margin: 0;
}

.grid .post .wrap {
	overflow: hidden;
	border-radius: 5px;
	line-height: 0;
}

.grid .post:hover img {
	transform: scale(125%);
}

.footer {
	margin-top: 200px;
	background: #36405e;
	padding: 10px;
	color: white;
	text-align: center;
	
}

.metadata {
	color: #3c3c3c;
}

article {
padding: 0 25px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  font-size: 14pt;
  }
article img {
	max-width: 100%;
}
.quote {
	color: #666363;
  border-left: 4px solid #84bdf7;
  padding-left: 20px;
}

.quote.black {
	border-left: 4px solid black;
	font-style: italic;
}
.grid {
 display: grid; 
  grid-template-columns: 1fr 1fr; 
  grid-template-rows: 1fr 1fr; 
  gap: 10px;
}

@media screen and (max-width: 1000px) {
	.grid {
		display: block;
	}
}

@media (prefers-color-scheme: dark) {
  body {
  	background-color: #111;
  	color: white;
  }

  .post .headline {
  	color: white;
  }
  .post .description, .metadata, .quote {
  	color: #c8c8c8;
  	
  }

  .quote.black {
  	border-left-color: white;
  }
  .banner {
  	border-bottom-color: #444;
  }
}


.breaking-news {
display: flex;
  margin-top: 25px;
}

.breaking-snippet {
	background-color: #a13039;
	  z-index: 100;
	  color: white;
	  width: 50px;
	  display: flex;
	  justify-content: center;
	  align-items: center;
}

.breaking-container {
	background-color: #e63946;
	  color: white;
	  padding: 15px 8px;
	  width: 100%;
	  display: flex;
	  z-index: 1;
	  overflow: hidden;
}
.breaking-container span {
animation: breaking-news;
    animation-duration: 0s;
    animation-timing-function: ease;
    animation-iteration-count: 1;
    animation-fill-mode: none;
  animation-timing-function: ease;
  animation-iteration-count: 1;
  animation-fill-mode: none;
  animation-duration: 10s;
  white-space: nowrap;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
  display: inline-block;

}

@keyframes breaking-news {
	from {
	  transform: translateX(50%);
	}
  
	to {
	  transform: translateX(-100%);
	}
  }
