section {
    width: 80%;
    display:flex;
    flex-direction: column;
    gap:1rem;
}
.news {
  font-family: "Poppins", sans-serif;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  margin-top: 3rem;
  gap: 3rem;
}
.news h1 {
  font-family: "Merriweather Sans", sans-serif;
  font-size: 3rem;
}

.news-container {
  width: 100%;
  display: flex;
  justify-content: space-around;
  gap: 4rem;
  flex-wrap: wrap;
}

.new {
  width: 50rem;
  display: flex;
  height: 20rem;
  gap: 1rem;
  border-radius: 2rem;
  cursor: pointer;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.new img {
  width: 40%;
  height: 90%;
  border-radius: 2rem;
}
.new-texts {
  padding-top: 1rem;
  text-align: start;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2rem;
}
.news h2 {
  font-weight: bold;
  font-size: 1.5rem;
}
.news p {
  font-size: 1.2rem;
}

.new:hover {
  transform: scale(105%);
  transition-property: transform;
  -webkit-box-shadow: -1px -1px 24px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: -1px -1px 24px 0px rgba(0, 0, 0, 0.75);
  box-shadow: -1px -1px 24px 0px rgba(0, 0, 0, 0.75);
}

a {
  color: black;
}

@media screen and (max-width: 600px) {
  .new {
      width: 40rem;
  }
  .news h2 {
  font-size: 1.2rem;
}
.news p {
  font-size: 1rem;
}

}
@media screen and (max-width: 420px) {
  .new {
      width: 30rem;
  }
  .news h2 {
  font-size: 1rem;
}
.news p {
  font-size: 1rem;
}

}
