body {
  margin: 3rem 5% 3rem 5%;
  background-color: #d8d8d8;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2rem;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.836);
}

header > img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

nav ul {
  list-style: none;
  text-align: center;
  background-color: rgba(73, 94, 87, 0.795);
  border-radius: 3rem;
}

nav li {
  display: inline-block;
  margin: 0 0.5rem;
}
nav li a {
  text-decoration: none;
  font-size: 1.8rem;
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.541);
  transition: color 0.6s;
}
nav li a:hover {
  color: rgb(255, 215, 0);
}

section {
  display: flex;
}

.promo-article {
  border-radius: 1rem;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../img/starters3.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 5px rgb(0, 0, 0);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.507);
}

.promo-article p {
  padding: 0 3rem;
}

article {
  flex: 1;
  margin: 1rem 0;
  min-width: 350px;
}

.news-section {
  display: flex;
  flex-wrap: wrap;
  border-radius: 1rem;
  gap: 2rem;
}

.news-section article {
  background-color: rgba(71, 255, 102, 0.068);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.164);
  border-radius: 1rem;
}
.news-section p {
  margin: 1.5rem 3rem;
  text-align: center;
}

.news-section img {
  border-radius: 1rem;
  display: block;
  margin: 0 auto;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.664);
  transition: 0.3s linear;
}
.news-section img:hover {
  transform: scale(1.03);
}

.news-section article:last-child ul {
  list-style-type: none;
  text-align: center;
  margin-left: -2.5rem;
}
.news-section a {
  text-decoration: none;
  transition: color 0.5s;
}
.news-section a:hover {
  color: rgb(3, 163, 3);
}

.news-section article:nth-child(2) {
  background-color: rgba(71, 155, 152, 0.12);
}

footer {
  display: flex;
  justify-content: space-evenly;
  margin-top: 2rem;
}
footer a {
  text-decoration: none;
}

.mini-logo-animation:hover {
  animation: dingDing 5s forwards ease-in-out;
}

@keyframes dingDing {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(20deg) scale(1.2);
  }
  75% {
    transform: rotate(-20deg) scale(1.2);
  }
  100% {
    transform: rotate(0deg);
  }
}
