@keyframes flash {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
section {
  color: #666;
}
@media screen and (min-width: 481px) {
  section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
section > div {
  padding: 0 1rem;
}
@media screen and (min-width: 481px) {
  section > div {
    margin: 0 1rem;
    max-width: calc(1000px + 2rem);
    padding: 0 1rem;
    width: 100%;
  }
}
section > div > div:nth-of-type(1) > h1 {
  text-align: center;
  margin: 4rem 0 3rem;
  font-size: 1.25rem;
  line-height: 1.5;
}
@media screen and (min-width: 481px) {
  section > div > div:nth-of-type(1) > h1 {
    margin: 8rem 0 6rem;
  }
}
section > div > div:nth-of-type(2) > ul {
  display: grid;
  grid-template: auto/repeat(2, 1fr);
  grid-gap: 1rem;
}
@media screen and (min-width: 481px) {
  section > div > div:nth-of-type(2) > ul {
    grid-template: auto/repeat(4, 1fr);
  }
}
@media screen and (min-width: 481px) {
  section > div > div:nth-of-type(2) > ul {
    grid-gap: 1.5rem;
  }
}
section > div > div:nth-of-type(2) > ul > li {
  position: relative;
}
section > div > div:nth-of-type(2) > ul > li.new::before {
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  content: "New";
  z-index: 10;
  background: #e60012;
  color: #fff;
  animation: flash 1s linear infinite;
  font-size: 0.6rem;
  line-height: 1.5;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  border-radius: 50%;
  transform: rotate(-30deg);
}
section > div > div:nth-of-type(2) > ul > li > a {
  text-decoration: none;
  color: #666;
}
@media screen and (min-width: 481px) {
  section > div > div:nth-of-type(2) > ul > li > a:hover > span:nth-of-type(1) > img {
    transform: scale(1.1);
  }
  section > div > div:nth-of-type(2) > ul > li > a:hover > span:nth-of-type(2), section > div > div:nth-of-type(2) > ul > li > a:hover > span:nth-of-type(3) {
    text-decoration: underline;
  }
}
section > div > div:nth-of-type(2) > ul > li > a > span {
  display: block;
  overflow: hidden;
}
section > div > div:nth-of-type(2) > ul > li > a > span:nth-of-type(1) {
  width: 100%;
  height: 0;
  padding-top: 100%;
  position: relative;
  margin: 0 0 0.5rem;
}
section > div > div:nth-of-type(2) > ul > li > a > span:nth-of-type(1) img {
  width: 100%;
  height: 100%;
  transition: 500ms;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
section > div > div:nth-of-type(2) > ul > li > a > span:nth-of-type(2) {
  font-size: 0.6rem;
  line-height: 1.5;
}
section > div > div:nth-of-type(2) > ul > li > a > span:nth-of-type(3) {
  font-size: 0.875rem;
  line-height: 1.5;
}
section > div > div:nth-of-type(3) > nav {
  display: grid;
  grid-template: 1fr/1fr 1fr;
  margin: 3rem 0 0;
}
section > div > div:nth-of-type(3) > nav > p > a {
  background: #2EDAFF;
  color: #fff;
  display: block;
  letter-spacing: 0.25rem;
  opacity: 1;
  padding: 1rem;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: all 0.5s;
}
section > div > div:nth-of-type(3) > nav > p > a::after {
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  content: "";
  height: 0.5rem;
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: rotate(45deg) translate(-50%, 0);
  width: 0.5rem;
  transition: all 0.5s;
}
@media screen and (min-width: 481px) {
  section > div > div:nth-of-type(3) > nav > p > a:hover {
    opacity: 0.75;
  }
  section > div > div:nth-of-type(3) > nav > p > a:hover::after {
    margin-right: -0.25rem;
  }
}
section > div > div:nth-of-type(3) > nav > p.prev > a::after {
  right: 0;
  left: 0.75rem;
  border-top: none;
  border-right: none;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #fff;
}

/*# sourceMappingURL=news.css.map */
