@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
  box-sizing: border-box;
}

html,
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  height: 100%;
  scrollbar-width: thin;
  scrollbar-color: #dbdbdb #fafafa;
  width: 100%;
  background: white;
}

::-webkit-scrollbar {
  width: 5px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #dbdbdb;
  border-radius: 90px;
}

::-webkit-scrollbar-track {
  background-color: #fafafa;
  border-radius: 90px;
}

.fill {
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48;
}

.header {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  height: 80px;
  padding: 0 20px;
  border-bottom: 1px solid #eaeef2;
  background: white;
}

.header__content {
  width: 100%;
  display: flex;
  align-items: center;
  max-width: 1140px;
  justify-content: space-between;
  position: relative;
}

.header__menu__wrap {
  display: flex;
  align-items: center;
  z-index: 1;
  gap: 20px;
}

.header__menu {
  cursor: pointer;
}

.header__search {
  display: flex;
  align-items: center;
  border-radius: 90px;
  border: 1px solid #7c7d7d;
  gap: 6px;
  overflow: hidden;
  padding-left: 8px;
  min-height: 33px;
  width: 170px;
}

.header__heading {
  position: absolute;
  width: 100%;
  text-align: center;
  z-index: 0;
  font-size: 28px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.header__heading img { cursor: pointer;}

.header__option {
  display: flex;
  align-items: center;
  z-index: 1;
  gap: 20px;
}

.header__sign__in {
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.header__subscribe {
  background: black;
  color: white;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 90px;
  cursor: pointer;
  font-size: 15px;
}

.main__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-bottom: 1px solid #eaeef2;
  min-height: 50px;
  background: white;
}

.nav__content {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1140px;
  gap: 30px;
  justify-content: center;
}

.nav__content div {
  cursor: pointer;
  font-size: 15px;
  color: #767676;
}

.header__search input {
  border: none;
  outline: none;
  width: 100%;
}

.header__search span {
  font-size: 20px;
}

.nav__content .active {
  font-weight: bold;
  height: 50px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid black;
  padding: 0 10px;
  color: black;
}

.nav__content div:hover {
  color: black;
}

.content__wrap {
  display: flex;
  width: 100%;
  padding: 0 20px;
  flex-direction: column;
  align-items: center;
}

.content__main {
  display: flex;
  width: 100%;
  max-width: 940px;
  gap: 13px;
  padding: 30px 0;
}

.main__article {
  width: 100%;
  max-width: 517px;
  min-width: 517px;
}

.main__article__image {
  height: 257px;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #010101;
}

.main__article__image img {
  width: 100%;
}

.main__article__date {
  font-size: 14px;
  font-weight: bold;
  color: #3b393b;
  margin-top: 10px;
}

.main__article__heading {
  font-size: 28px;
  font-weight: bold;
  margin: 10px 0;
  cursor: pointer;
  width: fit-content;
}

.main__article__description {
  font-size: 15px;
  color: #696a6a;
}

.article__list {
  max-width: 370px;
  width: 100%;
  min-width: 370px;
}

.article__list__item {
  display: flex;
  gap: 20px;
  align-items: center;
}

.article__list__img {
  cursor: pointer;
}

.article__list__content {}

.article__list__date {
  font-size: 14px;
  font-weight: bold;
  color: #3e3e3eba;
}

.article__list__heading {
  font-size: 16px;
  font-weight: bold;
  margin: 9px 0;
  cursor: pointer;
}

.article__list__description {
  font-size: 14px;
  color: #75787a;
}

.article__list__section {
  border-top: 1px solid #e2e2e3;
  border-bottom: 1px solid #e2e2e3;
  padding: 10px 0;
  margin: 10px 0;
}

.advertisement {
  width: 100%;
  max-width: 900px;
  border: 1px solid #e0e0e1;
  border-radius: 2px;
}

.ad__title {
  font-size: 13px;
  color: #878b8b;
  display: flex;
  justify-content: center;
  padding: 5px 0;
}

.ad__wrap {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 80px;
  gap: 20px;
  background: black;
  justify-content: space-between;
}

.ad__wrap img {
  position: absolute;
  top: -400px;
  z-index: 0;
  opacity: 0.7;
}

.ad__content {
  z-index: 1;
  position: relative;
  margin-left: 20px;
}

.ad__heading {
  color: white;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 5px;
}

.ad__description {
  color: white;
  font-size: 13px;
  opacity: 0.8;
}

.ad__button {
  z-index: 1;
  position: relative;
  display: flex;
  background: white;
  border-radius: 90px;
  white-space: nowrap;
  padding: 0 14px;
  height: 32px;
  align-items: center;
  font-size: 13px;
  font-weight: bold;
  margin-right: 20px;
  cursor: pointer;
}


.news__wrap {
  display: flex;
  width: 100%;
  max-width: 900px;
  padding: 30px 0;
  gap: 20px;
}

.news__list {
  width: 210px;
  min-width: 210px;
}

.news__title {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

.news__item {
  border-bottom: 1px solid #e1e0e1;
  padding-bottom: 17px;
  margin-bottom: 17px;
}

.news__heading {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  cursor: pointer;
}

.news__info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news__author {
  font-weight: bold;
  font-size: 13px;
  border-right: 1px solid #b1b1b1;
  padding-right: 10px;
}

.news__date {
  font-size: 13px;
}

.news__content {
  width: 670px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news__img__wrap {
  display: flex;
  gap: 20px;
  height: 235px;
  width: 670px;
}

.news__img__shopping {
  position: relative;
  width: 420px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.news__img__heading {
  z-index: 1;
  position: relative;
  color: white;
  padding: 20px 20px 0px 20px;
  font-size: 20px;
  font-weight: bold;
}

.news__img__description {
  z-index: 1;
  position: relative;
  color: white;
  padding: 10px 20px 20px 20px;
  font-size: 14px;
}

.news__img__health {
  position: relative;
  width: 230px;
  overflow: hidden;
  display: flex;
  justify-content: end;
  flex-direction: column;
}

.news__img__shopping img {
  z-index: 0;
  width: 100%;
  position: absolute;
}

.news__img__health img {
  height: 100%;
  position: absolute;
}

.news__img__mall {
  position: relative;
  height: 231px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  width: 670px;
}

.news__img__mall img {
  position: absolute;
  width: 100%;
}

.trending__section {
  width: 100%;
  max-width: 900px;
  margin-bottom: 40px;
}

.trending__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.treading__title {
  font-weight: bold;
  font-size: 20px;
}

.trending__view__all {
  color: #545353;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trending__view__all span {
  font-size: 18px;
}

.trending__list {
  display: flex;
}

.trending__item {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
}

.trending__item__description {
  font-weight: bold;
  font-size: 13px;
  padding-right: 20px;
  cursor: pointer;
}

.ticker__wrap {
  width: 100%;
  max-width: 900px;
  margin-bottom: 30px;
  display: flex;
  gap: 20px;
  overflow: hidden;
}

.news__ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  cursor: pointer;
  padding: 5px;
  margin-bottom: 10px;
  border-radius: 90px;
}

.ticker__author__img {
  display: flex;
}

.ticker__author__img img {

  width: 35px;
}

.ticker__author__name {
  font-size: 13px;
  font-weight: bold;
  color: #49484d;
}

.ticker__author__source {
  font-size: 13px;
  color: #cf4444;
}


/*tabs*/

.ticker__list {
  display: flex;
  margin-bottom: 30px;
  gap: 0px;
  padding: 0;
  position: relative;
  overflow-x: auto;
  white-space: nowrap;
  max-width: 900px;
  width: 100%;
}

.user__wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  align-items: center;
}

.user__wrap__img {
  height: 40px;
  border-radius: 90px;
  overflow: hidden;
}

.user__wrap__username {
  color: white;
  font-size: 12px;
  display: flex;
  align-items: center;
}

.add__user {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.add__user span {
  color: white;
  height: 40px;
  width: 40px;
  border-radius: 90px;
  border: 1px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tabs__wrapper {
  display: flex;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  gap: 20px;
}

.tabs__container {
  display: flex;
  gap: 20px;
  position: relative;
  overflow: hidden;
  padding-right: 10px;
  scroll-behavior: smooth;
}

.tabs__arrow span,
.tabs__arrow__left span {
  color: black;
  font-size: 17px;
  cursor: pointer;
  margin-left: 5px;
}

.tabs__arrow,
.tabs__arrow__left {
  right: 0;
  top: 10px;
  cursor: pointer;
  height: 40px;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  z-index: 1;
  border-radius: 90px;
  margin-top: 10px;
  margin-right: 10px;
  margin-left: 5px;
  border: 1px solid white;
  /* display: none; */
}

/*article page*/

.article__container .first__letter::first-letter {
  color: #ef2e39;
  font-size: 60px;
  font-weight: bold;
  float: left;
  margin-right: 20px;
}

.article__header {
  min-height: 80px;
  background: #e5e5e5;
  position: relative;
}

.main__article__wrap {
  display: flex;
}

.article__side {
  min-width: 280px;
  background: #fafafa;
  overflow: hidden;
}

.article__side__tabs {
  display: flex;
  gap: 10px;
  margin: 15px 15px 15px 15px;
  border-bottom: 1px solid #e7e7e7;
  padding-bottom: 15px;
}

.article__tab.active {
  background: #ef2e39;
  color: white;
  border: 1px solid #df5d65;
}

.article__tab {
  background: white;
  font-size: 12px;
  height: 30px;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  color: #898989;
  border: 1px solid #e7e7e7;
  cursor: pointer;
}

.article__side__title {
  margin: 15px;
  font-weight: bold;
  font-size: 15px;
  color: #676465;
}

.article__side__title span {
  color: #ef2e39;
}

.article__side__item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #f1f1f1;
  cursor: pointer;
}

.article__side__item.active {
  background: white;
  box-shadow: 0px 2px 5px 0px #e9e9e9a3;
}

.article__side__img {}

.article__side__item__heading {
  font-size: 14px;
  font-weight: bold;
  color: #5a5859;
  cursor: pointer;
}

.article__side__item__heading span {
  font-size: 12px;
  color: #afafaf;
  margin-left: 5px;
  font-weight: normal;
}

.article__side__item__heading.active {
  color: #ef2e39;
}

.article__content {
  padding: 40px;
}

.article__container {
  font-size: 16px;
}

.article__tabs {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

.article__tabs__item.active {
  color: #ef2e39;
}

.article__tabs__item {
  font-weight: bold;
  font-size: 15px;
  color: #6e6b6c;
}

.main__article__title {
  font-size: 40px;
  font-weight: bold;
  max-width: 600px;
  text-align: center;
}

.main__article__subheading {
  color: #828282;
  font-size: 24px;
  max-width: 600px;
  text-align: center;
}

.article__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.article__user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article__user__img {
  width: 38px;
  display: flex;
  flex-direction: column;
}

.article__user__wrap {}

.article__username {
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.article__username span {
  font-size: 12px;
  color: #8f8f8f;
  font-weight: normal;
}

.article__user__date {
  font-size: 13px;
  color: #8f8f8f;
}

.article__share {
  display: flex;
  align-items: center;
  gap: 30px;
}

.article__share span {
  font-size: 19px;
  cursor: pointer;
  color: #ef2e39;
}

.article__share img {
  width: 19px;
  opacity: 0.6;
  cursor: pointer;
}

.photo__container {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  width: 230px;
  gap: 10px;
  color: #a7a7a7;
  min-width: 230px;
  float: right;
  margin: 0 0 20px 20px;
}

.article__head__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 20px 40px 20px;
  gap: 23px;
}

.container {
  display: flex;
  width: 100%;
  gap: 11px;
}

.side__ticker__list {
  min-width: 220px;
  padding-top: 24px;
  border-right: 1px solid #e7e9eb;
  padding-right: 20px;
  background: #f9fafb;
  padding-left: 20px;
  max-width: 220px;
  overflow-y: auto;
  position: relative;
  left: -220px;
  transition: left 0.3s ease;
  position: absolute;
  height: 100%;
  z-index: 1;
}

.show {
  left: 0;
}

.side__ticker__heading {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #252529;
}

.header__sign__in:hover,
.news__heading:hover,
.trending__item__description:hover,
.article__list__heading:hover {
  opacity: 0.5;
}

.header__subscribe:hover {
  background: #424345;
}

.trending__view__all:hover {
  color: black;
}

.ad__button:hover {
  background: black;
  color: white;
}

.news__ticker:hover {
  background: #ededed;
}


/*Slide out panel CSS*/
#slide__out__panel__wikipedia,
#slide__out__panel__article {
  position: fixed;
  height: 100%;
  right: 0;
  display: flex;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 12;
  justify-content: end;
  opacity: 1;
  background: white;
  width: 80%;
}


.show__slide {
  transform: translateX(0) !important;
  display: flex !important;
  border-left: 2px solid #ffffff;
  box-shadow: -10px 0px 50px #0000000d;
}

#slide__out__hide {
  width: 100%;
  background: #00000042;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 11;
  display: none;
}


iframe {
  width: 100%;
  border: none;
}

.article__header {}

.article__header__bg {
  width: 100%;
  height: 100px;
  background: #515f91;
  background: rgb(120, 36, 41);
  background: linear-gradient(90deg, rgba(120, 36, 41, 1) 0%, rgba(199, 113, 118, 1) 100%);
}

.article__header__user {
  display: flex;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 90px;
  justify-content: end;
  border: 2px solid white;
  position: absolute;
  top: 53px;
  left: 20px;
}

.article__header__user__wrap {
  padding-top: 42px;
  padding-left: 20px;
  display: flex;
  gap: 50px;
  padding-bottom: 20px;
  background: white;
  border-bottom: 1px solid #e9e9e9;
}

.article__user__details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user__heading {
  font-size: 15px;
  font-weight: bold;
}

.user__title {
  font-size: 14px;
  color: #7d7d7d;
}

.user__location {
  font-size: 14px;
  color: #afafaf;
}

.article__user__about {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.user__about {
  font-size: 14px;
  font-weight: bold;
}

.user__description {
  font-size: 14px;
  color: #7d7d7d;
  max-width: 400px;
}

.user__external__link {
  font-size: 13px;
  color: #4caff7;
  cursor: pointer;
  text-decoration: none;
}

.wikipedia__container {
  display: flex;
  min-height: 100%;
}

.content__container {
  padding: 0 30px 30px 30px;
  height: 100%;
  width: 100%;
}

.wiki__nav {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 20px;
  margin-top: 0px;
}

.link__border {
  width: 1px;
  background: #dddddd;
  height: 12px;
}

.wiki__search {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #c1c1c1;
  border-radius: 90px;
  height: 38px;
  width: 100%;
  margin-bottom: 0px;
  padding: 0 10px;
}

.wiki__sub__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 15px;
  margin-top: 20px;
}

.wiki__heading {
  font-size: 30px;
  font-weight: bold;
}

.wiki__heading__nav {
  display: flex;
  gap: 10px;
  font-size: 13px;
  align-items: center;
}

.wiki__nav__link.active {
  color: black;
  text-decoration: underline;
}

.wiki__nav__link {
  color: #8b8b8b;
  cursor: pointer;
}

.wiki__nav div {
  cursor: pointer;
}

.wiki__content {
  display: flex;
  flex-direction: column;
}

.wiki__intro {
  font-weight: bold;
}

.details__container {
  min-width: 300px;
  border-left: 1px solid #d7d7d7;
  min-height: 100%;
}

.details__main__img {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  height: 320px;
  overflow: hidden;
  justify-content: center;
}

.details__item {
  padding: 0 10px;
  display: flex;
  margin-bottom: 16px;
}

.details__item__heading {
  width: 110px;
  font-size: 13px;
  font-weight: bold;
}

.details__item__info {
  width: 170px;
  font-size: 13px;
}

.details__item__info a {
  color: #36c;
  text-decoration: none;
}

.wiki__search span {
  font-size: 22px;
}

.wiki__search input {
  border: none;
  width: 100%;
  height: 30px;
  outline: none;
}

.wiki__content p {
  font-size: 15px;
}

.wiki__content p a {
  color: #36c;
  text-decoration: none;
}

.wiki__left__side {
  min-width: 200px;
  max-width: 200px;
  position: fixed;
}

.wiki__logo {
  display: flex;
  min-width: 180px;
  padding-top: 20px;
}

.wiki__logo img {
  width: 110px;
  cursor: pointer;
}

.wiki__sidebar {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}

.wiki__sidebar__label {
  text-decoration: underline;
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 5px;
}

.wiki__sidebar__item {
  cursor: pointer;
  font-size: 13px;
}

.wiki__nav div:hover,
.wiki__nav__link:hover,
.wiki__sidebar__item:hover {
  color: blue;
}

.details__main__img img {
}

.wiki__heading__wrap {
    display: flex;
    align-items: center;
}

.wiki__heading__wrap span {
    cursor: pointer;
    min-width: 180px;
}

.header__wrap {
    display: flex;
    width: 100%;
}

.header__wrap__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wiki__content__wrap {
    display: flex;
}