html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Spoqa Han Sans Neo", "sans-serif";
  font-size: 14px;
  color: #424242;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #313131;
}

button {
  text-decoration: none;
}

.inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.mainLayout {
  max-width: none;
}

.mainTextBox {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.mainDay {
  font-size: 24px;
}

.mainWord {
  font-size: 40px;
  margin: 0;
}

.mainBox {
  width: 450px;
  height: 250px;
  border-radius: 8px;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.15);
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 38px;
  cursor: pointer;
  position: relative;
}

.mainBoardTitle {
  color: var(--424242, #424242);
  font-family: "Spoqa Han Sans Neo";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px; /* 100% */
}

.mainBoardLink {
  color: var(--424242, #424242);
  text-align: center;
  font-family: "Spoqa Han Sans Neo";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px; /* 100% */
}

.mainBoardLink a:hover {
  color: #525252;
}

/* .mainBox:hover {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
} */

.mainBoxStyled {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

@media screen and (max-width: 1200px) {
  .mainBoxStyled {
    flex-direction: column;
    gap: 40px;
  }
}

.mainInfo {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  margin: 40px 0 0 0;
  gap: 12px;
}

.mainTitle {
  color: #424242;
  font-family: "Spoqa Han Sans Neo";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.mainContent {
  color: var(--MetaForest-Color, #49b26a);
  text-align: center;
  font-family: "Spoqa Han Sans Neo";
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.mainSubContent {
  color: var(--Gray-70, #68676d);
  text-align: center;
  font-family: "Spoqa Han Sans Neo";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.noticeElement {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: #212121;
  border-bottom: 1px solid #d4d4d5;
  padding-bottom: 14px;
  font-weight: 300;
}
.counselingElement {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: #212121;
  border-bottom: 1px solid #d4d4d5;
  padding-bottom: 14px;
  font-weight: 300;
}

.counselingElement:nth-child(5) {
  border-bottom: none;
}

.counselingTitleElement {
  position: unset;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  justify-content: center;
  align-items: center;
  border: none;
  padding: 0;
  margin: 0;
  width: 20%;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.titleElement {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.userNicknameElement {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 120px;
  text-align: left;
}

.dateElement {
  width: 130px;
  text-align: left;
}

.counselingInfo {
  margin: 40px 0 0 0 !important;
}

.mainInfo-mobile {
  margin: 40px 0 0 0;
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
  .mainLayout {
    max-width: none;
    overflow-y: scroll;
    padding: 54% 0 10% 0;
  }
}

@media screen and (max-width: 768px) {
  .mainBox {
    width: 70vw;
    height: 180px;
    padding: 20px 20px 0 20px;
    margin: 0 auto;
  }

  .mainTextBox {
    gap: 12px;
  }

  .mainTitle {
    align-items: center;
  }

  .counselingTitleElement {
    text-align: right;
    width: 17%;
  }
  .userNicknameElement {
    width: 70px;
  }

  .titleElement {
    width: 70%;
    text-align: left;
  }

  .noticeElement span {
    font-size: 10px;
  }

  .mainLayout {
    padding: 58px 0 32px 0;
    gap: 30px;
  }

  .mainDay {
    font-size: 16px;
    font-weight: 300;
  }

  .mainWord {
    width: 100%;
    white-space: normal;
    font-size: 24px;
    font-weight: 400;
  }

  .mainBoardTitle {
    font-size: 14px;
  }

  .noticeElement {
    width: 100%;
    font-size: 10px;
    padding-bottom: 6px;
  }

  .mainInfo-mobile {
    margin: 16px 0 0;
  }

  .mainContent {
    font-size: 26px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mainInfo {
    margin: 10px 0 0 0;
  }

  .counselingInfo {
    margin: 10px 0 0 0 !important;
  }

  .noticeElement:nth-last-child(1) {
    border: none;
  }

  .counselingElement {
    font-size: 10px;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }
}
