/* TODO: 보기 좋은 나만의 아고라 스테이츠를 위해서 CSS를 수정하세요. */
:root {
  --gray: #edeef2;
  --gray-transparency: #edeef298;
  --purple: #584567;
  --yellow: #f29c2d;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300&display=swap');

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  text-decoration: none;
  color: inherit;
  font-family: 'Noto Sans KR', sans-serif;
  letter-spacing: 0.5px;
}

body {
  display: flex;
  justify-content: center;
}

h1 {
  text-align: center;
  margin-top: 20px;
  font-size: 40px;
}

button {
  border: none;
  background-color: transparent;
}

button:hover {
  cursor: pointer;
}

.form__container {
  display: flex;
  margin: 15px 0px;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 20px 20px;
  border-radius: 20px;
  max-width: 540px;
}

.form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.form__input--wrapper {
  width: 100%;
}

.form__input--wrapper > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 15px 8px 0;
}

.form__input--wrapper > div > label {
  font-size: 16px;
  color: white;
}

.form__input--wrapper > div > input {
  border: 1px solid black;
  width: 260px;
  height: 24px;
  padding-left: 5px;
}

.form__input--wrapper > div > textarea {
  min-height: 40px;
  min-width: 260px;
  max-width: 260px;
  border: 1px solid black;
  padding-left: 5px;
}

.form__submit {
  width: 70px;
  height: 100%;
}

.form__submit > input {
  width: 100%;
  height: 100%;
  border: none;
  background-color: white;
  color: black;
  border-radius: 15px;
  font-size: 15px;
  font-weight: 600;

  transition: all 0.2s;
}

.form__submit > input:hover {
  background-color: var(--gray);
  color: #f73a00;
  cursor: pointer;
}

/* discussion 컴포넌트 영역 */
.discussion__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.discussion__container {
  display: flex;
  width: 540px;
  height: 120px;
  /* margin-bottom: 10px; */
  padding: 12px 15px;
  justify-content: space-between;

  border-bottom: 2px solid var(--gray-transparency);
  transition: all 0.2s;
}

.discussion__container:hover {
  color: white;
  background-color: black;
  border-radius: 20px;
  border-bottom: none;
}

.discussion__avatar--wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.discussion__avatar--image {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 1.8px solid white;
}

.discussion__content {
  margin-left: 20px;
  padding-right: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.discussion__title {
  font-size: 17px;
  text-align: start;
}

.discussion__information {
  font-size: 13px;
  margin-bottom: 6px;
}

.discussion__answered {
  display: flex;
  justify-content: end;
  align-items: center;
  margin-left: auto;
  font-size: 18px;
}

.btn__page--wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0 20px 0;
}

.btn__page--btn {
  border: none;
  background-color: transparent;
  margin: 0px 7px;
  font-weight: 600;
  font-size: 15px;
}

.btn__page--btn:hover {
  cursor: pointer;
}

.btn__page--btn {
  margin: 0px 7px;
  font-weight: 600;
  font-size: 15px;
}

.prev,
.next {
  font-size: 14px;
  margin: 0px 5px;
  color: gray;
}

.active {
  color: #f73a00;
}
