* {
  box-sizing: border-box;
}

:root {
  --font-heading: "Sen", sans-serif;
  --primary-color: #57ac3d;
  --secondary-color: #ffc42b;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Poppins", sans-serif;
}

/* common */
a {
  text-decoration: none;
}

.main-content {
  width: 1500px;
  max-width: calc(100% - 40px);
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  min-width: 118px;
  padding: 0 16px;
  line-height: 50px;
  color: #000;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  background-color: var(--primary-color);
  border-radius: 999px;
  cursor: pointer;
}

.btn:hover {
  color: #fff;
  background-color: #2e5b20;
}

.heading-secondary {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.27;
  letter-spacing: -0.76px;
  color: #fff;
}

.line-clamp {
  /* show the 3-dot icon if a text is too long */
  display: -webkit-box;
  -webkit-line-clamp: var(--line-clamp, 1);
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.break-word {
  /* break the word if it is too long */
  word-break: break-all;
}

/* header */
.header {
  background-color: #303030;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header .logo {
  width: 100px;
  padding: 1rem;
}

.header .body {
  display: flex;
  align-items: center;
}

.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
}

.nav a {
  color: #fff;
  font-size: 1.6rem;
  padding: 8px 21px;
}

.nav a:hover {
  color: var(--primary-color);
  text-shadow: 1px 0 0 currentColor;
}

.header .btn-sign-up,
.header .btn-sign-in {
  min-width: 144px;
}

.header .btn {
  margin-left: 49px;
}

/* hero */
.hero {
  padding-top: 100px;
  padding-bottom: 120px;
  background-color: #222;
  margin-left: 0;
}

.hero .body {
  display: flex;
}

/* hero left */
.hero .media-block {
  position: relative;
  width: 48%;
  top: 70px;
}

.hero .media-block .img {
  width: 600px;
  height: 685px;
  object-fit: cover;
  border-radius: 20px;
}

.hero-summary .icon img {
  width: 48px;
}

.hero .hero-summary {
  width: 300px;
  padding: 24px;
  position: absolute;
  bottom: 40px;
  right: 10px;
  border-radius: 12px;
  background-color: #303030;
  box-shadow: 16px 16px 16px 0px rgba(255, 255, 255, 0.1);
}

.hero-summary .item {
  display: flex;
  align-items: center;
}

.hero-summary .item1,
.hero-summary .item2 {
  margin-bottom: 20px;
}

.hero-summary .item .title {
  color: #fff;
}

.hero-summary .info {
  margin-left: 25px;
  font-weight: 600;
}

/* hero right */
.hero .content-block {
  position: relative;
  top: 70px;
  width: 52%;
  padding-left: 120px;
  padding-top: 70px;
}

.hero .heading {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 5.8rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.16;
}

.hero .desc {
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.67;
  margin-top: 20px;
}

.hero .cta-group {
  margin-top: 35px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.hero .btn-update {
  min-width: 180px;
  background-color: var(--secondary-color);
  line-height: 64px;
}

.hero .btn-update:hover {
  background-color: #db9f21;
  color: #fff;
}

.hero .get-mc {
  border: none;
  background: transparent;
  color: #fff;
  font-family: var(--font-heading);
  font-size: large;
  font-weight: 600;
  cursor: pointer;
}

.hero .get-mc:hover {
  color: var(--primary-color);
}

.hero .desc-engagement {
  margin-top: 48px;
}

.hero .desc-stats {
  margin-top: 8px;
}

.hero .desc-stats strong {
  font-family: var(--font-heading);
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 1.23;
}

.hero .desc-stats strong:nth-child(2) {
  margin-left: 30px;
}

/* popular */
.popular {
  padding: 105px 0;
  background-color: #171717;
}

.popular-top {
  display: flex;
  justify-content: center;
}

.popular .game-list {
  display: flex;
  justify-content: space-evenly;
  margin-top: 55px;
}

.popular .game-item {
  flex: 1;
  max-width: 321px;
  border-radius: 12px;
  background-color: #282828;
  box-shadow: 18px 18px 36px 0 rgba(255, 255, 255, 0.1);
  border: 0.05px solid #fff;
}

.popular .game-item .thumb {
  width: 100%;
  border-radius: 12px 12px 0 0;
  height: 300px;
  object-fit: cover;
}

.popular .game-item .info {
  padding: 16px 22px 22px;
  color: #fff;
}

.popular .game-item .title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.67;
}

.popular .game-item .desc {
  margin-top: 6px;
  color: #aba09c;
  font-size: 1.4rem;
  line-height: 1.5;
}

.popular .game-item .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.popular .game-item .price {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.67;
}

.popular .game-item .btn-get-item {
  border: none;
}

/* feedback */
.feedback {
  padding: 96px 0;
  background-color: #222;
}

.feedback-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feedback-item .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.feedback-item .info {
  margin-left: 120px;
}

.feedback-item .info .player-name {
  margin-top: 20px;
  font-family: var(--font-heading);
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.42;
}

.feedback-item .dots {
  display: flex;
  margin-top: 30px;
  gap: 8px;
}

.feedback-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
}

.feedback-item .dot.active-dot {
  background-color: var(--primary-color);
  cursor: default;
}

.feedback-item .content {
  width: 66%;
  margin-left: auto;
}

.feedback-item blockquote {
  color: #fff;
  font-size: 2.6rem;
  font-style: italic;
  line-height: 1.54;
}

/* features */
.features {
  background-color: #171717;
  padding: 65px 0;
}

.features .body {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.features .images img {
  width: 700px;
  border-radius: 16px;
  object-fit: cover;
}

.features .content {
  width: 40%;
}

.features .desc {
  margin-top: 16px;
  color: #aba09c;
  font-size: 1.6rem;
  line-height: 1.75;
}

.features .cta-btn {
  margin-top: 32px;
  width: 137px;
  height: 50px;
  background-color: var(--secondary-color);
}

.features .cta-btn:hover {
  background-color: #db9f21;
}

/* features 2 */
.feature-2nd .images img {
  width: 600px;
}

.feature-2nd .content {
  width: 50%;
}

/* blogs */
.blog {
  background-color: #222;
  padding: 96px 0;
}

.blog .blog-top {
  text-align: center;
}

.blog .blog-list {
  display: flex;
  margin-top: 55px;
  justify-content: space-evenly;
}

.blog .blog-item .thumb {
  width: 100%;
  border-radius: 12px 12px 0 0;
  height: 300px;
  object-fit: cover;
}

.blog .blog-item {
  flex: 1;
  max-width: 450px;
  border-radius: 12px;
  background-color: #282828;
  box-shadow: 18px 18px 36px 0 rgba(255, 255, 255, 0.1);
  border: 0.05px solid #fff;
}

.blog .blog-item .info {
  padding: 20px 20px 28px;
}

.blog .blog-item .date {
  position: relative;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  color: #aba09c;
  font-size: 1.4rem;
  line-height: 1.86;
}

.blog .blog-item .date::before {
  content: "";
  margin-right: 4px;
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.blog .blog-item .date::after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  display: inline-block;
  width: 160px;
  height: 1px;
  border-radius: 0.5px;
  background-color: #aba09c;
}

.blog .blog-item .title {
  margin-top: 12px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.75;
}

.blog .blog-item .btn {
  margin-top: 12px;
  font-size: 1.4rem;
}

.blog .dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 38px;
}

.blog .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
}

.blog .dot.active {
  background-color: var(--primary-color);
  cursor: default;
}

/* footer */
.footer {
  background-color: #171717;
  padding: 96px 135px 0;
}

.footer .footer-container {
  display: flex;
  justify-content: space-between;
  padding-bottom: 38px;
  border-bottom: 1px solid #aba09c;
}

.footer .footer-container .column {
  width: 20%;
}

.footer .footer-container .column:first-child {
  width: 35%;
}

.footer .footer-container .logo {
  width: 70px;
}

.footer .footer-container .logo-font {
  width: 250px;
}

.footer .footer-images {
  gap: 20px;
  display: flex;
  align-items: center;
}

.footer .desc {
  margin-top: 18px;
  color: #aba09c;
  font-size: 2rem;
  line-height: 1.86;
}

.footer .social {
  margin-top: 18px;
  display: flex;
  gap: 18px;
}

.footer .social .icon {
  width: 30px;
}

.footer .title {
  border-bottom: 1px solid #aba09c;
  display: inline-block;
  padding-bottom: 10px;
  padding-right: 48px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.75;
}

.footer .list {
  margin-top: 28px;
}

.footer .list a {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary-color);
  font-size: 1.4rem;
  line-height: 1.86;
}

.footer .list li:last-child a {
  margin-bottom: 0;
}

.footer .copyright {
  padding: 28px 0;
  color: #aba09c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;
  line-height: 1.86;
}

.footer .copyright .mojang {
  width: 100px;
}

.footer .copyright .microsoft {
  width: 110px;
}
