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

body {
  background-color: #232323;
  color: #E9EADD;
  width: 100%;
  font-family: "Inter", sans-serif;
}

.lightMode {
  background-color: #E9EADD;
  color: #232323;
}

.main {
  padding: 5.6rem 0 0;
  margin: 0 2rem;
}
.main__container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-top: 1rem;
}
.main__title {
  font-size: 7rem;
  text-align: center;
  font-family: var(--fontTitle);
}
.main .post__title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.main .post__subtitle {
  font-size: 1.3rem;
  opacity: 0.7;
}
.main .post__info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.5rem 0 0.7rem;
}
.main .post__container {
  display: flex;
  gap: 1rem;
}
.main .post__regular {
  opacity: 0.7;
}
.main .post__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main .post__chip {
  display: flex;
  margin-left: auto;
}
.main .text__category {
  background-color: #E9EADD;
  color: #232323;
  padding: 0.4rem;
  border: none;
  border-radius: 0.5rem;
}
.main body.lightMode .text__category {
  background-color: #232323;
  color: #E9EADD;
}
.main .post__share {
  display: flex;
  margin-top: 1rem;
  justify-content: flex-end;
}
.main .share__btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
}
.main .share__icon {
  width: 30px;
  height: 30px;
  fill: #E9EADD;
}
.main body.lightMode .share__icon svg {
  fill: #232323;
}
.main .post__content {
  max-width: 800px;
  margin: 3rem auto;
}
.main .paragraph,
.main .paragraph2 {
  line-height: 1.5;
}
.main .paragraph__xxl {
  font-size: 2.5rem;
  line-height: 1.5;
  font-weight: bold;
}
.main .separator {
  margin: 2rem 0;
  opacity: 0.3;
}
.main .latest__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.main .cards__latest {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .main {
    margin: 0 4rem;
  }
  .main__title {
    font-size: 12rem;
  }
  .post__text .post__title {
    font-size: 4rem;
  }
  .post__header .post__info {
    flex-direction: row;
  }
}
@media (min-width: 1440px) {
  .main {
    margin: 0 auto;
    max-width: 70rem;
  }
}
@media (min-width: 2560px) {
  .main {
    margin: 0 auto;
    max-width: 95rem;
  }
}
.footer {
  padding: 2rem 0;
  margin: 0 2rem;
}

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

.hiddenLabel {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.subscribe__container,
.categories__container,
.socials__container {
  margin: 1rem 0;
}

.subscribe__form {
  display: inline-flex;
  align-items: center;
  margin: 1rem 0;
}

.subscribe__input {
  height: 2rem;
  width: 250px;
  background-color: #6F7067;
  border: none;
  padding: 0 0.5rem;
}

.subscribe__input::placeholder {
  color: #E9EADD;
}

.subscribe__input:focus {
  outline: none;
  color: #E9EADD;
}

.subscribe__btn {
  background-color: transparent;
  border: none;
}

.subscribe__arrow {
  width: 2rem;
  height: 2rem;
  fill: #E9EADD;
}

body.lightMode .subscribe__arrow {
  fill: #232323;
}

.subscribe__title,
.categories__title,
.socials__title {
  margin: 0.5rem 0;
}

.categories__content {
  display: flex;
  gap: 4rem;
}

.categories__column {
  margin-bottom: 1rem 0;
}

.categories__item,
.socials__item {
  list-style: none;
  padding: 0.2rem 0;
}

.categories__link {
  text-decoration: none;
  color: #E9EADD;
}

body.lightMode .categories__link {
  color: #232323;
}

.categories__link:hover {
  text-decoration: underline;
}

.socials__list {
  display: flex;
  gap: 1rem;
}

.social__icon {
  fill: #E9EADD;
}

body.lightMode .social__icon {
  fill: #232323;
}

.separator {
  opacity: 0.3;
}

.footer__logo {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .footer {
    margin: 0 4rem;
  }
}
@media (min-width: 1440px) {
  .footer {
    margin: 0 auto;
    max-width: 70rem;
  }
  .footer__container {
    grid-template-columns: 2fr 2fr 1fr;
  }
}
@media (min-width: 1024px) {
  .footer__container {
    grid-template-columns: 2fr 2fr 1fr;
  }
}
@media (min-width: 2560px) {
  .footer {
    margin: 0 auto;
    max-width: 95rem;
  }
}
.header {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #232323;
  z-index: 1000;
}

body.lightMode .header {
  background-color: #E9EADD;
}

.nav__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 2rem;
}

.nav__logo {
  font-size: 2rem;
  font-family: "Atkinson Hyperlegible", sans-serif;
}

.nav__icon {
  width: 40px;
  height: 40px;
  fill: #E9EADD;
}

body.lightMode .nav__icon {
  fill: #232323;
}

.nav__toogle {
  width: 40px;
  height: 40px;
  color: #E9EADD;
}

body.lightMode .nav__toggle {
  color: #232323;
}

.toggle__btn {
  position: relative;
  width: 40px;
  height: 40px;
  text-align: center;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

body.lightMode .search__icon {
  fill: #232323;
}

.toggle__right,
.toggle__left {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav__toggle {
  background-color: transparent;
  border: none;
  fill: #E9EADD;
}

body.lightMode .nav__toggle {
  fill: #232323;
}

.hidden {
  opacity: 0;
}

.separator-main {
  height: 1px;
  width: 100%;
  background-color: #E9EADD;
}

.cards__container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card__article {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid #E9EADD;
  justify-content: space-between;
}

body.lightMode .card__article {
  border: 1px solid #232323;
}

.card__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
}

.card__category {
  border: 1px solid #E9EADD;
  padding: 0.4rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

body.lightMode .card__category {
  border: 1px solid #232323;
}

.card__time {
  font-size: 0.9rem;
}

.card__img {
  width: 100%;
}

.card__text {
  padding: 0.7rem 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.card__paragraph {
  line-height: 1.5;
  font-size: 1rem;
  margin: 0.5rem 0 1.4rem;
  min-height: 80px;
}

.card__link {
  display: inline-flex;
  align-items: center;
  color: #E9EADD;
}

body.lightMode .card__link {
  color: #232323;
}

.link__arrow {
  fill: #E9EADD;
  margin-left: 0.5rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

body.lightMode .link__arrow {
  fill: #232323;
}

.card__link:hover .link__arrow {
  opacity: 1;
  transform: translateX(0);
}

.main__filters {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 16px 0;
  scrollbar-width: none;
}

.main__chip {
  font-family: "Inter", sans-serif;
  padding: 0.4rem;
  border-radius: 0.5rem;
  background-color: transparent;
  border: none;
  border: 1px solid #E9EADD;
  color: #E9EADD;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.9rem;
}

body.lightMode .main__chip {
  border: 1px solid #232323;
  color: #232323;
}

.main__chip:hover {
  background-color: #E9EADD;
  color: #232323;
}

body.lightMode .main__chip:hover {
  background-color: #232323;
  color: #E9EADD;
}

.main__chip[aria-pressed=true] {
  background-color: #E9EADD;
  color: #232323;
}

body.lightMode .main__chip[aria-pressed=true] {
  background-color: #232323;
  color: #E9EADD;
}

@media (min-width: 768px) {
  .main__filters {
    justify-content: center;
  }
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6rem 0;
}

.pagination__arrow {
  fill: #E9EADD;
  width: 6rem;
  height: 6rem;
  cursor: pointer;
}

body.lightMode .pagination__arrow {
  fill: #232323;
}

.prev, .next {
  background-color: transparent;
  border: none;
}

.comment__box {
  min-height: 100px;
  width: 100%;
  background-color: transparent;
  border: none;
  padding: 0.5rem;
  font-family: "Inter", sans-serif;
}

.textarea__container {
  width: 100%;
  background-color: #cbcbcb;
  border: none;
  padding: 0.7rem;
}

.comment__box:focus {
  border: none;
  outline: none;
}

.btn__container {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  background-color: transparent;
  border: none;
}

.comment__btn {
  padding: 5px 12px;
  background-color: #232323;
  border: none;
  border-radius: 0.5rem;
  color: #E9EADD;
  cursor: pointer;
}

body.lightMode .comment__btn {
  background-color: #E9EADD;
  color: #232323;
}

@media (min-width: 768px) {
  .comments {
    max-width: 600px;
    margin: 0 auto;
  }
}
.comments {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.comments__container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1rem;
  font-size: 0.8rem;
}

.commentbox__title {
  margin-bottom: 1rem;
}

.comment__card {
  border: 1px solid #E9EADD;
  padding: 5px 12px;
}

body.lightMode .comment__card {
  border: 1px solid #232323;
}

.user__pic {
  width: 30px;
  height: 30px;
  border-radius: 100%;
}

body.lightMode .user__pic {
  fill: #232323;
}

.user__container {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.user__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.user__name {
  margin: 1rem 0 0.5rem;
}

.user__date {
  opacity: 0.7;
}

.user__text {
  line-height: 1.5;
}

.user__comment {
  margin: 1rem 0 0;
}

.comment__icons {
  margin-top: 2rem;
}

.reply__btn {
  background-color: transparent;
  border: none;
  fill: #E9EADD;
}

body.lightMode .reply__btn {
  fill: #232323;
}

body.lightMode .comment__btn {
  fill: #232323;
}

.like__btn {
  fill: #E9EADD;
  background-color: transparent;
  border: none;
  padding: 5px 12px;
}

body.lightMode .like__btn {
  fill: #232323;
}

.separator__comment {
  opacity: 0.5;
}

/*# sourceMappingURL=styles.css.map */
