body {
  background: #f6f6f6;
  color: #333;
  margin: 0;
}


a {
  text-decoration: none;
  color: #000000;
}

a:hover {
  color: #2B95F6;
  /* color: #801099; */
}

footer {
  font-size: 12px;
  margin: 16px 0;
  line-height: 24px;
  text-align: center;
  color: #666;
}

footer a {
  display: inline-block;
  margin: 0 6px;
  color: #666;
}

.highlight {
  background: yellow;
  color: #f00;
}

#loading {
  display: none;
  text-align: center;
  margin: 16px 0;
  padding: 16px;
  height: 0;
  background-image: url(../img/loading.gif);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
}

#more {
  display: block;
  background-color: #000000;
  color: #fff;
  padding: 6px 0;
  text-align: center;
  margin: 16px 25%;
  border-radius: 17px;
}

#more:hover {
  background-color: #999999;
}

.nomore {
  display: none;
  padding: 6px 0;
  text-align: center;
  margin: 8px 25%;
  color: #999;
}

#up {
  position: fixed;
  bottom: 40px;
  right: 20px;
  z-index: 3;
  display: none;
  color: #fff;
  background-color: #000000;
  width: 40px;
  height: 40px;
  cursor: pointer;

  background-image: url(../svg/up.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
}

section {
  margin: 12px auto;
  padding: 12px;
  width: 980px;
  background: #fff;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 12%);
}


/*body {
  background: url(../img/footer.webp) no-repeat;
  background-position: bottom;
  background-size: contain;
  padding-bottom: 70px;
}
*/
main a {
  display: flex;
  flex-direction: row;
  border-bottom: 1px #eee solid;
  padding: 12px 0;
}

main a:visited {
  color:#7EBCFE;
}

main a:last-child {
  border-bottom: 0;
}

main p {
  margin: 0;
  padding: 0;
  flex: 1;
  min-height: 160px;
  border-radius: 4px;

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: transparent;
}

main aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 0 8px 8px;
  flex: 2;
}

main div {
  margin-top: -3px;
  line-height: 18px;
  overflow: hidden;
  word-break: normal;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

main summary {
  margin-bottom: -12px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

main summary b {
  font-weight: 500;
  font-size: 12px;
  color: #999;
}

main time {
  font-size: 11px;
  color: #a2a2a2;
}


@media screen and (max-width: 768px) {
  section {
    margin: 12px;
    width: auto;
  }

  main {}

  main p {
    min-height: 80px;
  }
}

.recommended {
  font-weight: 550;
  font-size: 16px;
  line-height: 40px;
  border-bottom: 1px #f2f2f2 solid;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  color: #000000;
  font-family: 'Arial Narrow';
}

.favorite {
  background: url(../img/favorite.svg) no-repeat;
  background-size: 28px 28px;
  display: inline-block;
  width: 40px;
  height: 28px;
}




.carousel {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.carousel>a {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: roulette 15s infinite ease-out;
  /* animation: roulette 16s infinite 2s running;*/
  display: flex;
  justify-content: center;
  align-items: center;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.carousel>a>span {
  margin-top: 132px;
  line-height: 28px;
  /* display: block; */
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  color: #fff;
  text-align: center;
  font-size: 12px;

  overflow: hidden;
  word-break: normal;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.carousel>a:hover {
  cursor: pointer;
  animation-play-state: paused;
}

.carousel>a:nth-child(1) {
  left: 100%;
}

.carousel>a:nth-child(2) {
  left: 200%;
}

.carousel>a:nth-child(3) {
  left: 300%;
}

.carousel>a:nth-child(4) {
  left: 400%;
}

@keyframes roulette {
  0% {
    transform: translateX(0%);
  }

  5% {
    transform: translateX(-100%);
  }

  25% {
    transform: translateX(-100%);
  }

  30% {
    transform: translateX(-200%);
  }

  50% {
    transform: translateX(-200%);
  }

  55% {
    transform: translateX(-300%);
  }

  75% {
    transform: translateX(-300%);
  }

  80% {
    transform: translateX(-400%);
  }

  100% {
    transform: translateX(-400%);
  }
}


.categories {
  box-pack: justify;
  display: flex;
  justify-content: space-between;
}

.categories:nth-child(1) {
  margin: 8px 0 16px 0;
}

.categories a {
  display: block;
  flex: 1;
  font-family: 'Arial Narrow';
}

.categories a:hover {
  background-color: #fff;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 12%);
}

.categories div {
  width: 100%;
  height: 0;
  margin: 0 auto;
  padding: 30% 0;
  /* border-radius: 50%;*/

  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;

  /* background-color: #04A7FD; */
  color: #fff;
  cursor: pointer;
}

.categories b {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  line-height: 22px;
  padding-top: 12px;
  text-align: center;
  font-weight: normal;
}


article {
  font-size: 15px;
  font-family: Helvetica;
  font-weight: 300;
  line-height: 1.71;
  color: #333;
  padding: 6px;
  word-break: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

article img {
  display: block;
  margin: 12px auto;
  max-width: 100%
}

article ul {
  margin-left: 12px;
}


/*
ins.adsbygoogle[data-ad-status='unfilled'] {
  height: auto !important;
}
ins.adsbygoogle[data-ad-status='unfilled'] > * {
  display: none !important;
}*/