.games_tab {
  background: white;
  box-shadow: 0 0 11px 6px rgb(140 135 135 / 20%);
  margin: 20px 0;
}

.games_tab_nav {
  display: flex;
  justify-content: space-around;
  background: #f3f8ff;
}

.games_tab .nav_item {
  cursor: pointer;
  flex-grow: 1;
  padding: 5px 8px;
  text-align: center;
}

.games_tab .nav_item:not(:first-child) {
  border-left: 1px solid #77b4db;
}

.games_tab .nav_item span {
  color: #333;
}

.games_tab .nav_item.is-active,
.games_tab .nav_item:hover {
  background: white;
  z-index: 1;
}

.games_tab_content_item {
  display: none;
  padding: 16px;
}

.games_tab_content_item.is-active {
  display: flex;
}

.games_tab_content_wrapper {
  padding: 0 8px;
  width: 50%;
}

.games_tab_content_wrapper:nth-child(2) {
  text-align: center;
}

.games_tab_title h2 {
  margin-top: 0;
}

.games_tab_description p {
  text-align: justify;
}

.games_tab_media img {
  width: 100%;
  height: auto;
}

.games_tab_cta a {
  font-size: 14px;
  padding-left: 30px;
  padding-right: 30px;
  margin-bottom: 5px;
  margin-top: 5px;
}

@media only screen and (max-width: 780px) {
    
  .games_tab_nav {
    overflow-x: auto;
    justify-content: space-between;
  }

  .games_tab .nav_item {
    min-width: fit-content;
    padding: 16px;
  }

  .games_tab .nav_item:not(.is-active):hover {
    background: #f3f8ff;
  }

  .games_tab_content_item.is-active {
    flex-direction: column;
  }

  .games_tab_content_wrapper {
    display: contents;
  }

  .games_tab_title {
    order: 0;
    text-align: center;
  }

  .games_tab_media {
    order: 1;
    margin: 8px 0;
  }

  .games_tab_cta {
    order: 2;
    margin: 8px 0;
  }

  .games_tab_description {
    order: 3;
    margin-top: 8px;
  }

  .games_tab_nav::-webkit-scrollbar-track {
    box-shadow: inset 0 0 4px #cbc6c6;
  }

  .games_tab_nav::-webkit-scrollbar-thumb {
    background: #cbc6c6;
  }

  .games_tab_nav::-webkit-scrollbar-thumb:hover {
    background: #cbc6c6;
  }

  .games_tab_nav::-webkit-scrollbar {
    height: 4px;
  }

}

