@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&family=Poppins:wght@300;400&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  font-family: "Poppins", sans-serif;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #111;
}

::-webkit-scrollbar-thumb {
  background: #474747;
  border-radius: 10px;
}

body {
  background: rgb(28, 28, 39);
}
main {
  width: 100%;
  z-index: 1;
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

main > nav {
  display: flex;
  width: 90%;
  padding: 16px;
  justify-content: space-between;
  align-items: center;
}

main > h1 {
  margin-bottom: 14px;
  font-size: 32px;
}

main > nav > div {
  display: flex;
}

main > nav > a {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;
}
main > nav > a > span {
  color: #0b4cce;
}
main > nav > div > a {
  text-decoration: none;
  color: #fff;
  margin: 0px 20px;
}

main > .trending {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  text-align: center;
}

main > .trending > div {
  background: rgb(46, 46, 63);
  padding: 30px;
  border-radius: 10px;
}

main > .trending > div > img {
  width: 100%;
}
main > .trending > div > div > h4 {
  font-size: 20px;
}
main > .trending > div > div > p + p::after {
  content: "★";
  color: yellow;
  padding-left: 4px;
  font-size: 16px;
}

@media all and (min-width: 50px) and (max-width: 750px) {
  main > .trending {
    grid-template-columns: repeat(2, 1fr);
  }
}