/* 전체적인 스타일 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "나눔바른고딕", "NanumBarunGothic", sans-serif;
  font-size: 16px;
  color: #333;
}

a {
  text-decoration: none;
  color: #1da1f2;
}

main {
  max-width: 1024px;
  margin: 0 auto;
  padding: 20px;
}

.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.home {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  color: #1da1f2;
}

.room {
  margin: 0;
  font-size: 18px;
  color: #1da1f2;
}
.form__container {
  padding: 12px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: 24px;
}

.form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 150px;
}

.form__input--wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.form__input--info--wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.form__input--name,
.form__input--title {
  width: 95%;
}

.form__input--name label,
.form__input--title label {
  display: block;
  margin-bottom: 10px;
}

.form__input--name input,
.form__input--title input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

div.form__textbox {
  flex-grow: 1;
  height: 100%;
}

#story {
  height: 90%;
}

.form__textbox label {
  display: block;
  margin-bottom: 10px;
}

.form__textbox textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none;
}

div.form__submit {
  display: flex;
  justify-content: space-between;
}

input.form__submit {
  width: 94%;
  padding: 10px;
  background-color: #1da1f2;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover,
input.form__submit:hover {
  border-radius: 5px;
  background-color: #1d88ca;
}

a:hover {
  color: #1d88ca;
}

/* 토론 목록 스타일 */
.discussion__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  margin-top: 20px;
  padding: 12px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.discussion__avatar--wrapper {
  width: 64px;
  height: 64px;
  margin-right: 10px;
}

.discussion__avatar--image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.discussion__content {
  flex-grow: 1;
  padding-left: 20px;
  padding-right: 20px;
}

.discussion__title {
  font-size: 16px;
  margin-bottom: 5px;
  text-align: left;
}

.discussion__information {
  font-size: 12px;
  color: #777;
  text-align: right;
}

.discussion__answered {
  width: 30px;
  height: 30px;
}

.answerCheck {
  width: 100%;
  height: 100%;
}

/* 버튼 스타일 */
.buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

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

button {
  padding: 10px;
  background-color: #1da1f2;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
