/* header */
.header {
  padding: 2rem;
  height: 90vh;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20rem;

  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(34, 34, 34, 0.6)),
    url(Images/hero.webp);
  background-size: cover;
  color: #fff;
}

.hero-img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.main-nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
}

.top-bar {
  list-style: none;
}

.top-link:link,
.top-link:visited,
.top-link:hover,
.top-link:active {
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
}

.sub-btn {
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  display: inline-block;
  background-color: #3087ca;
  border-radius: 0.5rem;
  padding: 1rem 2.5rem;
}

.top-bar-icon {
  width: 2rem;
  height: 2rem;
  fill: #fff;
}

.content-box {
  padding: 0 2rem;
}

.heading-primary {
  font-size: 3.6rem;
  text-align: center;
  line-height: 1.5;
  text-transform: uppercase;
  width: 40%;
}

.text-primary {
  font-size: 2.1rem;
  line-height: 1.3;
  text-align: center;
  width: 40%;
}
/* MOBILE NAV */

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #fff;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}
/* Menu */
.categories-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.categories-name {
  list-style: none;
}

.categories-link:link,
.categories-link:visited {
  text-decoration: none;
  font-family: "lato", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: black;
}

.categories-link:hover,
.categories-link:active {
  text-decoration: underline;
}

.ruler {
  color: #e5e5e5;
}
/* ad block */
.ad-block {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  gap: 2rem;
}

.ad-text {
  font-size: 1.3rem;
  font-weight: 400;
  color: black;
}

.sub-link:link,
.sub-link:visited {
  color: #3087ca;
  font-family: "lato", sans-serif;
  font-weight: 600;
}

.ruler-sm {
  color: #e5e5e5;
  width: 90%;
  margin: 0 auto;
}
/* Blog Heading */
.heading-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.blog-heading {
  font-size: 2.8rem;
  font-weight: 400;
  text-transform: uppercase;
}

.blog-sub-heading {
  font-size: 1.8rem;
  font-weight: 400;
  font-style: italic;
}
/* Article section */
.article-sec {
  margin: 0 4rem 4rem 4rem;
  /* display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem; */

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 2rem;
}

.article-box {
  max-width: 30rem;
}

.article-img {
  margin-bottom: 1rem;
  width: 30rem;
  object-fit: cover;
}
.article-heading:link,
.article-heading:visited {
  width: 20rem;
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1.3;
  color: #000;
  text-decoration: none;
}
.article-heading:hover,
.article-heading:active {
  text-decoration: underline;
}

.article-text {
  margin-top: 1rem;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.3;
  color: #777;
}

.author {
  margin-top: 1rem;

  font-family: "lato", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
}
/* Black section */
.black-box {
  margin: 4rem 4rem;
  background-color: #000;
  padding: 6rem;
  display: flex;
  align-items: center;
}

.black-sub {
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 2rem;
  text-align: center;
}

.black-title {
  font-size: 2.8rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 2rem;
}
.black-title:hover {
  text-decoration: underline;
  cursor: pointer;
}

.black-text {
  font-size: 2.1rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 2rem;
  line-height: 1.4;
  text-align: center;
  padding: 0 8rem;
}

.black-author {
  font-family: "lato", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  text-align: center;
  color: #fff;
}

.side-img {
  width: 60rem;
}
/* white box */
.white-box {
  margin: 4rem 4rem;
  padding: 4rem;
  display: flex;
  align-items: center;
  gap: 5rem;
}

.white-content {
  width: 80%;
}

.white-sub {
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #e93f33;
  margin-bottom: 2rem;
  text-align: center;
}

.white-title {
  font-size: 2.8rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #000;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 2rem;
}
.white-title:hover {
  text-decoration: underline;
  cursor: pointer;
}

.white-text {
  font-size: 2.1rem;
  font-weight: 300;
  color: #000;
  margin-bottom: 2rem;
  line-height: 1.4;
  text-align: center;
}

.white-author {
  font-family: "lato", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  text-align: center;
  color: #000;
}

.white-side-img {
  width: 70%;
  margin-left: 10rem;
}
.side-gif {
  width: 100%;
}
/* Game sec */
.games-sec {
  margin: 4rem auto;
}

.game-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}

.game-box {
  padding: 2.5rem 2.5rem;
  border-radius: 1.5rem;
  width: 20%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.box1 {
  background-color: #85c9fc;
}
.box2 {
  background-color: #a5e8fc;
}
.box3 {
  background-color: #feefb9;
}
.box4 {
  background-color: #f6f6f6;
}

.box-game {
}

.game-head {
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-align: center;
}

.game-head:hover {
  text-decoration: underline;
}

.game-text {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1rem;
  text-align: center;
}

.box-gif {
  margin-top: 6rem;
  display: flex;
  justify-content: center;
}

.game-gif {
  width: 70%;
}

.game-link {
}

.game-links:link,
.game-links:visited {
  font-family: "lato", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}
.game-links:hover,
.game-links:active {
  text-decoration: underline;
}
/* Footer */
.footer {
  background-color: #121212;
  padding: 4rem 0 2rem 0;
}

.footer-logo {
  text-align: center;
  padding-bottom: 2rem;
}

.foot-logo {
}

.footer-ruler {
  height: 1px;
  border-width: 0;
  color: gray;
  width: 90%;
  background-color: gray;
  margin: 0 auto;
}

.footer-links {
  margin: 4rem auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
}
.footer-list {
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  list-style: none;
  margin-bottom: 1rem;
}

.footer-link:link,
.footer-link:visited {
  font-family: "lato", serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: rgb(162, 162, 162);
  text-decoration: none;
}
.footer-link:hover,
.footer-link:active {
  text-decoration: underline;
}
.footer-copy {
}

.copyright {
  font-size: 1.6rem;
  color: rgb(162, 162, 162);
  text-align: center;
}
/* Dynamic content */
.dyn-content {
  margin: 4rem auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.dynamic-heading {
  font-size: 2.8rem;
  color: #fff;
  font-weight: 700;
  background-color: #000;
  padding: 2rem;
  border-radius: 1rem;
}

#dynamic-content {
  font-size: 2.1rem;
  font-family: "lato", serif;
  color: #e93f33;
}

#change-text-btn {
  font-size: 2rem;
  font-weight: 500;
  background-color: #3087ca;
  color: #fff;
  border: none;
  padding: 1.5rem 4rem;
  border-radius: 1rem;
  cursor: pointer;
}
