body,
html {
  font-size: 20px;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif,
    "Gill Sans",
    "Gill Sans MT",
    Calibri,
    "Trebuchet MS",
    sans-serif;
  line-height: 1.2rem;
  margin: 0;
  padding: 0;
}

.main {
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
}

.content-container {
  margin: 0 auto;
  width: 80%;
  min-height: 100vh;
  max-width: 768px;
}

.content-body {
  padding: 80px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  letter-spacing: 0.5px;
}

#title {
  font-size: 1.1rem;
  color: var(--gray-600);
  font-weight: 700;
}
#info {
  margin-top: 14px;
  display: flex;
  width: 100%;
  justify-content: flex-start;
  gap: 25px;
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 500;
}

#content {
  margin-top: 32px;
  font-size: 0.75rem;
  color: var(--gray-600);
  font-weight: 400;
  line-height: 1.5rem;
}

#content p {
  margin-bottom: 0.85rem;
}

#content img {
  max-width: 80%;
  object-fit: contain;
}
#footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.65rem;
  color: var(--gray-500);
  font-weight: 300;
  margin: 2rem 0 3rem 0;
  gap: 18px;
}
.view-like-comment {
  display: flex;
  gap: 1rem;
  font-size: 0.6rem;
  opacity: 0.2;
  transition: all 0.5s ease-out;
  cursor: pointer;
}
.view-like-comment:hover {
  opacity: 0.8;
}

.footer-like,
.footer-comment {
  border-radius: 8px;
  padding: 0 5px;
  text-align: center;
}

.footer-like:hover,
.footer-comment:hover {
  background-color: #8a30303b;
}

/* comments */
#comment-container {
  width: 85%;
  display: none;
  margin: 0 auto;
  margin-top: 5rem !important;
}
.comment-body {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  font-size: 0.7rem;
  color: var(--gray-600);
  gap: 1rem;
}
.comment-summary {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gray-800);
  gap: 5px;
}

.input-body {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.input-header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin: 0.8rem 0;
}
.input-header div {
  display: inline-flex;
  justify-content: flex-start;
  width: 45%;
  gap: 10px;
}
.input-container {
  position: relative;
  flex-grow: 1;
}

#nickname,
#email {
  position: static;
  width: 100%;
  padding: 1px 3px;
}

#input-area {
  position: static;
  width: 100%;
  min-height: 2.5rem;
  margin: 0;
  padding: 5px;
}
.nickname-error,
.email-error,
.content-error {
  position: absolute;
  bottom: -1rem;
  left: 0;
  font-size: 0.5rem;
  color: var(--red-700);
  margin-top: 2px;
  z-index: 100;
  text-wrap: nowrap;
}
.content-error {
  bottom: -0.8rem !important;
}

.input-footer {
  display: flex;
  width: 100%;
  justify-content: flex-end;
}
#submit {
  width: 5rem;
  height: 1.2rem;
  border: 1px var(--gray-400) solid;
  border-radius: 5px;
  font-size: 0.65rem;
  color: var(--gray-700);
  padding: 1px 5px;
  cursor: pointer !important;
  margin: 0;
  -webkit-text-size-adjust: 100%;
}

#submit:hover {
  border-color: var(--usr-theme);
}
#submit:disabled {
  cursor: not-allowed !important;
  background-color: var(--gray-200) !important;
  color: var(--gray-400) !important;
}

.input-content-container {
  position: relative;
  width: 100%;
  margin: 0px;
  padding: 0px;
}

.comment-content-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1.5rem;
}
.comment-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.comment-item-header {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  margin: 5px 10px;
}
.c-photo {
  width: 24px;
  height: 24px;
  /* border: #ff0000 1px solid; */
  color: var(--gray-50);
  border-radius: 5px;
  text-align: center;
  font-size: 0.6rem;
  line-height: 24px;
}
.c-info-nickname {
  font-size: 0.55rem;
  color: var(--gray-600);
  line-height: 0.8rem;
}
.c-info-t {
  font-size: 0.5rem;
  color: var(--gray-400);
  line-height: 0.8rem;
}
.comment-text {
  margin: 0 10px 5px 10px;
  font-size: 0.6rem;
  line-height: 0.85rem;
}

::placeholder {
  font-size: 14px;
  font-style: italic;
  opacity: 0.6;
}
