* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Trebuchet MS', Helvetica, sans-serif;
}
body {
  background-color: #505050;
}
img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.time {
  background-color: #202020;
  border-radius: 15px;
  padding: 0 10px;
  color:white;
  position: absolute;
  top: 0;
}
.heading-container {
  background-color: #fed136;
  color: #303030;
  padding: 0.5em 0;
  width: 100%;
  text-align: center;
  border-radius: 15px;
  border: 1px, solid, black;
  box-shadow: 0 0 15px black;
}
.heading-container h4 {
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.5rem;
}
.options-container {
  margin: 1em 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  text-align: center;
}
.option {
  background-color: #fed136;
  cursor: pointer;
  color: #303030;
  font-size: 1rem;
  padding: 0.5rem;
  text-align: center;
  border-radius: 15px;
  border: 1px, solid, black;
  box-shadow: 0 0 15px black;
}
.active {
  border-radius: 15px;
  border: 1px, solid, black;
  box-shadow: 0 0 5px black;
}
.view-button {
  background-color: #fed136;
  cursor: pointer;
  color: #303030;
  font-size: 1rem;
  padding: 0.5rem;
  text-align: center;
  text-transform: capitalize;
  border-radius: 15px;
  border: 1px, solid, black;
  box-shadow: 0 0 15px black;
}
.container {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 1em;
}
.news-card {
  display: grid;
  position: relative;
  grid-template-rows: auto 1fr;
  margin: 1em 0;
  overflow: hidden;
  border-radius: 15px;
  border: 1px, solid, black;
  box-shadow: 0 0 15px black;
}

.news-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1em;
  font-size: 15px;
}
.news-title {
  font-weight: 600;
  color: #f1f1f1;
}
.news-description {
  color: #f1f1f1;
  text-align: justify;
  margin: 0.8em 0 1em 0;
}
@media only screen and (max-width: 768px) {
  .container {
    grid-template-columns: repeat(1, 1fr);
  }
}
