*,
:after,
:before {
  border: 0 solid #e5e7eb;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji,
    Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  color: rgba(30, 30, 30, 1);
  letter-spacing: 0%;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

h1,
h3 {
  font-family: "Botera TFE", serif;
}

h1 {
  font-size: 45px;
}

h3 {
  font-size: 36px;
  line-height: 110%;
}

a {
  color: inherit;
  text-decoration: inherit;
}

strong {
  font-weight: bolder;
}

button,
input {
  color: inherit;
  font-feature-settings: inherit;
  font-size: 100%;
  font-variation-settings: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

button {
  background-color: transparent;
  background-image: none;
  text-transform: none;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

menu,
ul {
  list-style: none;
}

input::-moz-placeholder {
  color: #9ca3af;
  opacity: 1;
}

input::placeholder {
  color: #9ca3af;
  opacity: 1;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
  vertical-align: middle;
}

img {
  height: auto;
  max-width: 100%;
}

[hidden] {
  display: none;
}

.container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
}

.link {
  color: #5a92f2;
  font-weight: 500;
}

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

/* HEADER */
.header {
  background-color: rgba(13, 31, 32, 1);
  padding: 10px 0;
}

.logo img {
  width: 162px;
  height: 55px;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* ARTICLE */

article .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.article p {
  font-size: 26px;
  font-weight: 300;
}

.article-meta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  border: 1px solid rgba(27, 63, 66, 1);
  padding: 6px 20px 6px 7px;
  position: relative;
  font-family: "Botera TFE", serif;
  font-weight: 400;
  line-height: 110%;
}

.rectangle {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 100%;
  background-color: rgba(27, 63, 66, 1);
  z-index: -1;
}

.article-tag {
  font-size: 22px;
}

.article-tag span {
  color: rgba(255, 255, 255, 1);
  letter-spacing: 12%;
  margin-right: 1px;
}

.article-date {
  font-size: 18px;
}

.photo-caption {
  font-weight: 400;
  font-family: "Botera TFE", serif;
  font-size: 18px;
  text-align: center;
  color: rgba(154, 154, 154, 1);
  line-height: 110%;
  border-bottom: 1px solid rgba(154, 154, 154, 1);
  padding: 20px 0px;
}

/* STEPS */
.steps {
  /* margin-bottom: 60px; */
}

.step {
  display: flex;
  align-items: flex-start;
  align-items: center;
  margin-bottom: 40px;
}

.step-label {
  font-family: "Botera TFE", serif;
  font-size: 36px;
  color: rgba(27, 63, 66, 1);
  min-width: 140px;
  margin-right: 20px;
}

.step-text {
  flex: 1;
  font-size: 26px;
  line-height: 130%;
}

.cta-btn {
  font-family: "Botera TFE", serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  width: 100%;
  background-color: rgba(27, 63, 66, 1);
  padding: 10px 0px;
  font-size: 36px;
  transition: all 0.3ms;
}

.cta-btn:hover {
  opacity: 0.8;
}

/* COMMENTS */

.comments-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(154, 154, 154, 1);
  margin-bottom: 30px;
}

.comments-title {
  font-family: "Botera TFE", serif;
  font-size: 26px;
  line-height: 110%;
}

.comments-sort {
  font-size: 18px;
}

.comments-wrapper {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}

.comment-form_wrapper {
  display: flex;
  gap: 20px;
}

.avatar-placeholder img {
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-form {
  width: 100%;
  border: 1px solid rgba(154, 154, 154, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.comment-input {
  width: 100%;
  padding: 12px;
  font-size: 20px;
  color: rgba(154, 154, 154, 1);
  line-height: 110%;
}

.comment-input::placeholder {
  color: rgba(154, 154, 154, 1);
}

.comment-submit {
  font-family: "Botera TFE", serif;
  display: inline-flex;
  background-color: rgba(27, 63, 66, 1);
  color: white;
  padding: 5px 20px;
  font-size: 20px;
  line-height: 110%;
}

.comment-submit:hover {
  opacity: 0.8;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment {
  display: flex;
  gap: 19px;
}

.comment.reply {
  padding-left: 60px;
}

.comment .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-body {
  flex: 1;
}

.comment-author {
  font-family: "Botera TFE", serif;
  margin-bottom: 5px;
  font-size: 26px;
  line-height: 110%;
}

.comment-text {
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 130%;
}

.comment-meta {
  font-family: "Botera TFE", serif;
  font-size: 14px;
}

.comment-meta a:not(:first-child)::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: rgba(94, 244, 255, 1);
  margin: 0 9px;
  transform: translateY(-2px);
}

.comment-meta a {
  white-space: nowrap;
}

.comment-meta a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .container {
    max-width: 824px;
  }
}

@media (max-width: 768px) {
  body {
    gap: 40px;
  }
  .container {
    max-width: 100%;
  }

  .logo img {
    width: 100px;
  }

  article .container {
    gap: 30px;
  }

  .article-tag {
    font-size: 20px;
  }

  .article-date {
    font-size: 16px;
  }

  .article-title {
    font-size: 26px;
  }

  .article p,
  .step-text {
    font-size: 18px;
  }

  h3,
  .step-label {
    font-size: 26px;
  }

  .step {
    flex-direction: column;
    align-items: flex-start;
  }

  .comments-wrapper {
    padding-left: 0;
  }

  .comment-submit {
    font-size: 16px;
  }

  .cta-btn {
    font-size: 22px;
    padding-left: 80px;
    padding-right: 80px;
  }
}
