* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  padding: 0;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-family);
  overflow-x: hidden !important;
}

/* header && navbar css */
header {
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar {
  background-color: var(--black-color);
  padding: 1.2rem 9% !important;
}

.navbar-brand {
  font-size: 2.2rem;
  color: var(--white-color) !important;
  font-weight: 900;
  position: relative;
}

.navbar-dark .navbar-toggler {
  padding: 0px !important;
}

.header_bars {
  width: 25px;
  height: 0.2rem;
  background-color: var(--white-color);
  margin: 6px 0;
}

.navbar-nav .nav-item {
  padding: 0 15px;
}

.navbar-nav .nav-link {
  text-decoration: none !important;
  font-size: 16px;
  color: var(--white-color) !important;
}

.navbar-nav .nav-link:hover {
  color: var(--white-color) !important;
  transition: all 0.2s linear;
}

.navbar-nav .top_tool_bar {
  max-height: 700px;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: 14px;
  border: none;
  background: var(--white-color);
  top: 60px !important;
  width: 100%;
}

.dropdown-menu.show {
  padding: 3.5rem 9% !important;
  grid-template-columns: auto auto auto auto !important;
}

.dropdown-item {
  color: var(--black-color) !important
}


/* new toolbar css */
/* wordgames navbar */
.wordgames-toolbar .wordgames-toolbar-list {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  height: 40px;
  gap: 30px;
}

.wordgames-toolbar .wordgames-toolbar-list .wordgames-toolbar-list-item {
  color: var(--black-light);
  display: block;
  font-size: 16px;
  line-height: 24px;
  padding: 10px;
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.wordgames-toolbar-list-item-span {
  color: var(--white-color);
  display: block;
  font-size: 16px;
  line-height: 70px;
  width: 100%;
  white-space: nowrap;
  position: relative;
  text-decoration: none;
}

.wordgames-toolbar-list-item::after {
  content: '';
  width: 8px;
  height: 8px;
  margin-left: 7px;
  margin-top: -4px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 20px;
  right: -6px;
}

.wordgames-toolbar-list-item:hover::after {
  transition: all .2s linear;
  -webkit-transform: rotate(225deg);
  /* Change the arrow angle on hover */
  transform: rotate(225deg);
}

.wordgames-toolbar .wordgames-toolbar-list .wordgames-toolbar-list-item:hover>.list-item-dropdown {
  display: block;
  opacity: 1;
  white-space: nowrap;
}

.wordgames-toolbar .wordgames-toolbar-list .wordgames-toolbar-list-item:hover {
  position: relative;
}

.wordgames-toolbar .list-item-dropdown {
  border: 5px solid #fff;
  left: 0px;
  position: fixed;
  top: 68px;
  min-width: 500px;
  max-height: 500px;
  overflow-y: auto;
  width: 90vw;
  box-shadow: 3px 10px 40px rgba(24, 29, 32, 0.05);
  z-index: 200;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 0px 50px 0px 50px;
  display: none;
  background-color: var(--white-color);
}

.wordgames-toolbar-list-item:hover #related-pages {
  display: flex;
  justify-content: space-around;
  padding-top: 2rem;
}

.wordgames-featured-tools {
  height: 100%;
  border-radius: 0px;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.list-item-dropdown .expand_menu-name-categiry {
  font-weight: 600;
  font-size: 12px;
  color: rgb(130, 133, 134);
  margin-bottom: 8px;
  overflow: hidden;
  padding: 1rem 0px;
}

.list-item-dropdown .category-tools__item {
  display: flex;
  padding-left: 0px;
  margin-top: 8px;
  padding: 8px;
  border-radius: 0px;
  color: #000;
}

.list-item-dropdown .category-tools__item h4 {
  font-weight: 600;
  font-size: 17px;
  line-height: 1.5;
  color: rgb(24, 29, 32);
  margin: 0px;
  white-space: nowrap;
}

.mega_menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.list-item-dropdown li {
  padding-top: 1px;
  padding-bottom: 1px;
  list-style: none;
}

.mega_menu li a {
  font-weight: 500;
  line-height: 2;
  color: rgb(24, 29, 32);
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 15px;
  overflow: hidden;
}

.searchBar {
  position: relative;
}

.searchBar input {
  padding: 2rem 4rem;
  width: 400px;
  border-radius: 8px;
  font-size: 14px;
}

.searchBar img {
  position: absolute;
  z-index: 99;
  top: 13px;
  left: 13px;
  width: 18px;
  height: 18px;
}

.searchbarResults {
  width: 400px;
  display: none;
  background: white;
  padding: 1rem;
  border: 1px solid #e9e9eb;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  overflow-y: scroll;
  height: auto;
  max-height: 460px;
  font-size: 15px;
}

.searchbarResults .result-item {
  padding: 10px;
  font-size: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.searchbarResults .result-item a {
  color: #44475b;
}

/* closed */

/* authors contributorss css */
.featurePageAuthor {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.authors-list a {
  color: #4d4d4d;
}

.featurePageAuthor .author-meta {
  width: 500px;
  margin: 0 auto;
  padding-bottom: 5rem;
}

.featurePageAuthor .author-img {
  width: 100px;
  height: 100px;
  border-radius: 100%;
}

.featurePageAuthor .author_bio {
  font-size: 16px;
}

.featurePageAuthor .author-meta .authorName {
  font-size: 20px;
  padding: 1rem 0px;
  font-weight: 900;
  text-align: center;
}

.authors-heading {
  font-size: 30px;
}

.contributor {
  width: 100px;
}



/* Footer design css */
.footer-section {
  padding: 20px 0px;
  background-color: var(--black-color);
  margin-top: 3rem;
}

.footer-section .txt-primary {
  color: var(--white-color);
  font-size: 16px;
  text-decoration: none !important;
}

.footer-section .txt-secondary {
  color: var(--white-color);
  font-size: 15px;
  text-decoration: none;
  /* margin: 1rem 0px; */
  display: block;
}

.footer-section .txt-secondary:hover {
  color: var(--white-color);
  text-decoration: underline;
}

.footer-logo-cont {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  color: var(--white-color);
  font-weight: 900;
}

.footer_hr {
  width: 50px;
  margin: 2rem auto;
  border: 2px solid var(--white-color);
}

.footer-social-list {
  gap: 50px;
}

.footer-social-list .list-inline {
  padding-left: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.footer-social-list ul li a i {
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  vertical-align: middle;
  font-size: 18px;
  background: #000;
  color: transparent;
  transition: all 0.3s ease-in;
}

.copyright-text {
  font-size: 17px;
  color: #3E3E3E;
  justify-content: space-around;
}

.footer-bottom .drop-down-btn {
  cursor: pointer;
  outline: 0px;
  border: 0px;
  width: auto;
  overflow: visible;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  background-color: transparent;
  transition: background-color 0.1s cubic-bezier(0.455, 0.03, 0.515, 0.955) 0s;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: rgb(26, 26, 26);
}

.footer-bottom .drop-down-btn svg {
  height: 22px;
}

.footer-bottom .language-drop-down-menu {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-bottom .language-drop-down-item {
  width: 50%;
  padding: 1rem;
  text-align: center;
  font-size: 15px;
  margin-bottom: 0;
  list-style: none;
  color: #000;
}

.footer-bottom .language-drop-down-item a {
  justify-content: space-between;
  display: flex;
  width: 100%;
  align-items: center;
  padding: 9px 9px;
  color: #11304e;
  border-bottom: 1px solid rgb(224, 224, 224);
}

.footer-bottom .language-drop-down-item a:hover {
  background: rgb(238, 238, 238);
  border-radius: 3px;
}

.footer-bottom .language-drop-down-item a i {
  margin: 0;
}

.footer-bottom .language-drop-down-menu .active-lang {
  background: rgb(238, 238, 238);
  border-radius: 3px;
}

.footer-bottom .modal .modal-title {
  font-size: 2.28rem;
}

.footer-bottom .modal .close {
  font-size: 3rem;
}


/* ads css */
.top-banner-ad {
  display: none;
  width: 100%;
  /* height: 80px; */
}

.bottom-banner-ad {
  width: 100%;
  height: auto;
  display: none;
  position: fixed;
  bottom: 0;
  z-index: 999;
}

@media (max-width: 768px) {

  .top-banner-ad,
  .bottom-banner-ad {
    display: block;
  }

  .authors-list {
    padding: 25px;
  }

  .featurePageAuthor .author-meta {
    width: 100%;
  }
}

@media (max-width: 992px) {

  /* new header css */
  .mobile-top-bar {
    overflow-y: scroll;
    height: 100vh;
    position: unset !important;
    padding-bottom: 9rem;
  }

  .wordgames-toolbar .wordgames-toolbar-list .wordgames-toolbar-list-item {
    display: unset !important;
  }

  .wordgames-toolbar-list-item::after {
    top: 20px;
    right: 20px;
  }

  .dropdown-item:focus,
  .dropdown-item:hover {
    background-color: unset;
  }


  .blog-link,
  #navbarDropdown {
    display: block !important;
  }
  .mega_menu {
    display: unset;
  }
  .dropdown-item {
    color: var(--white-color) !important
  }

  .wordgames-toolbar-list-item:hover #related-pages {
    flex-direction: column;
    padding: 0;
  }

  .blog-container {
    margin-top: 1rem;
  }

  .searchBar {
    margin: 2rem 0;
  }

  .searchBar input {
    width: 100%;
    padding: 2.5rem 4rem;
  }

  .searchbarResults {
    width: 100%;
  }

  .searchBar img {
    top: 18px;
  }

  .wordgames-toolbar .wordgames-toolbar-list {
    flex-direction: column;
    height: auto;
    gap: 0;
    margin-top: 2rem;
  }

  .wordgames-toolbar .wordgames-toolbar-list .wordgames-toolbar-list-item {
    padding: 0;
    flex-direction: column;
    order: 3;
  }

  .blog-container {
    order: 3;
  }

  .wordgames-toolbar .list-item-dropdown {
    max-height: 0;
    height: 0;
  }

  .wordgames-toolbar-list-item-span {
    line-height: 50px;
  }

  .wordgames-toolbar-list-item:hover::after {
    transform: rotate(45deg);
  }


  .wordgames-toolbar .list-item-dropdown {
    border: none;
    display: block;
    position: unset;
    padding: 0px;
    background-color: unset;
    overflow: hidden;
  }

  .wordgames-featured-tools {
    border-right: none;
  }

  .mega_menu li a {
    font-size: 12px;
  }

  .list-item-dropdown .category-tools__item h4 {
    font-size: 14px;
  }

  .mega_menu li a,
  .list-item-dropdown .category-tools__item h4,
  .list-item-dropdown .expand_menu-name-categiry,
  .list-item-dropdown .expand_menu-name-categiry,
  .category-tools__descr {
    color: #fff;
  }
}