/* FONTS */

@font-face {
  font-family: "Twitter Chirp";
  src: url("/assets/fonts/Chirp-Heavy.eot");
  src: url("/assets/fonts/Chirp-Heavy.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/Chirp-Heavy.woff2") format("woff2"), url("Chirp-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Twitter Chirp";
  src: url("/assets/fonts/Chirp-Bold.eot");
  src: url("/assets/fonts/Chirp-Bold.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/Chirp-Bold.woff2") format("woff2"), url("/assets/fonts/Chirp-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Twitter Chirp";
  src: url("/assets/fonts/Chirp-Regular.eot");
  src: url("/assets/fonts/Chirp-Regular.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/Chirp-Regular.woff2") format("woff2"), url("/assets/fonts/Chirp-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Twitter Chirp";
  src: url("/assets/fonts/Chirp-Medium.eot");
  src: url("/assets/fonts/Chirp-Medium.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/Chirp-Medium.woff2") format("woff2"), url("/assets/fonts/Chirp-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.reddit-container * {
  margin: 0;
  padding: 0;
  font-family: "Twitter Chirp", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  background-color: #fff;
}
/* HEADER */
.reddit-container {
  box-shadow: 0 4px 6px hsla(197, 32%, 65%, 0.5);
  padding: 16px;
  border-radius: 20px;
  pointer-events: none;
}
.main-header {
  display: flex;
  gap: 37px;
  padding: 7px 16px;
}
.main-header__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.main-header__block {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-header__name {
  font-weight: 600;
  font-size: 17px;
}

.main-header__reddits {
  font-size: 13px;
  color: #536471;
  line-height: 1;
}

.main-header__check {
  fill: rgb(29, 155, 240);
  height: 20px;
  width: 20px;
}

.profile {
  display: flex;
  justify-content: space-between;
  margin-bottom: 17px;
}
.profile__img {
  margin-left: 1px;
  margin-top: -12%;
  width: 68px;
  height: 68px;
}
.profile__img img {
  height: auto;
  width: 100%;
  border: 2px solid #fff;
  border-radius: 50%;
}

.profile-info {
  margin-bottom: 13px;
}

.profile-info__header {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-bottom: 3px;
}
.profile-info__header span {
  font-size: 21px;
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
.profile-info__email {
  font-size: 15px;
  color: #536471;
  font-weight: 400;
  margin-bottom: 16px;
}

.reddit {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  padding-bottom: 10px;
  margin-top: 12px;
}
.reddit-date span {
  color: #536471;
}
.reddit-images {
  display: flex;
  flex-direction: column;
}
.horizontal-line {
  margin: 0 -16px;
  height: 0.5px;
  background-color: rgba(83, 100, 113, 0.1);
}
.vertical-line {
  width: 2px;
  background-color: rgb(207, 217, 222);
  margin: 4px auto 0 auto;
  height: 100%;
  margin-bottom: -18px;
}

.reddit__img {
  width: 40px;
  height: 40px;
}
.reddit__img img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}
.reddit-author {
  display: flex;
  gap: 5px;
}
.reddit-author__first {
  display: flex;
  gap: 2px;
}
.reddit-author__second {
  fill: #536471;
}
.reddit-author__name {
  font-weight: 600;
  font-size: 14px;
  color: #333d42;
}
.reddit-info {
  flex-grow: 1;
}
.reddit-info .reddit-email {
  display: flex;
  justify-content: baseline;
  gap: 5px;
  max-height: 20px;
  color: #333d42;
}
.reddit-email p {
  color: #536471;
}
.reddit-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.reddit-content__text {
  line-height: 20px;
  font-size: 15px;
}
.reddit-content__image {
  max-width: 100%;
  max-height: 314px;
  border-radius: 20px;
  margin-top: -5px;
  object-fit: cover;
}
.reddit-content__actions {
  display: flex;
  gap: 20px;
}

.reddit-content__actions svg {
  width: 18.75px;
  fill: #536471;
}

.reddit-dots {
  display: none;
}

@media (min-width: 375px) {
  .profile__img {
    width: 81.25px;
  }
  .reddit-author__second {
    display: none;
  }
  .reddit-header {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
  }
  .reddit-dots {
    display: block;
    margin-left: auto;
    fill: #000;
  }
  .reddit-content__image {
    max-height: 388px;
  }
}
.reddit-action {
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: #e5ebee;
  width: fit-content;
  padding: 8px;
  border-radius: 20px;
}
.reddit-action svg {
  max-height: 16px;
  background-color: #e5ebee;
}
.reddit-action span {
  font-size: 12px;
  font-weight: 600;
  background-color: #e5ebee;
}
@media (min-width: 425px) {
  .profile-info__text {
    word-spacing: unset;
  }
  .profile__img {
    width: 93.75px;
  }
  .reddit-content__image {
    max-height: 454px;
  }
}
@media (min-width: 475px) {
  .reddit-content__image {
    width: 391px;
    max-height: 521px;
  }
}

@media (min-width: 500px) {
  .reddit-content__image {
    max-height: 464px;
  }
}
@media (min-width: 650px) {
  .profile {
    margin-bottom: 45px;
  }
  .profile-other {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
  }
  .profile__img {
    margin-top: -13%;
    width: 124px;
  }
  .profile__img img {
    border: 4px solid #fff;
  }
  .reddit-content__image {
    width: 100%;
    max-height: 637px;
  }
}

@media (min-width: 768px) {
  .reddit-content__image {
    max-width: 441px;
  }
}
