.news-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;

  padding-top: 10rem;
  gap: 3rem;
}

.news {
  display: flex;
  max-width: 70rem;
  margin: 0 1rem;
  gap: 1rem;
  border-bottom: solid gray 1px;
  padding-bottom: 2rem;
}

.news:last-of-type {
  border-bottom: none;
}

.news img {
  width: 20rem;
  border-radius: 12px;
}

.news-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.news .news-info .news-header {
  display: flex;
  flex-direction: column;
}

.news .news-info .news-header h4 {
  color: var(--secondary-color);
  font-size: 1.5rem;
}

.news .news-info .news-header p {
  font-style: italic;
  color: gray;
}

.news .news-info a {
  color: var(--secondary-color);
}

@media screen and (max-width: 800px) {
  .news {
    flex-direction: column;
  }

  .news:nth-of-type(1) {
    flex-direction: column-reverse;
  }


  .news:nth-of-type(3) {
    flex-direction: column-reverse;
  }

  .news img {
    width: 100%;
  }
}