@charset "UTF-8";

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

html,
body,
button,
input {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}

/* ############## 상단 검색영역 */
.search-wrap {
  position: sticky;
  top: 0;
  padding: 20px 15px 0px;
  background-color: transparent;
  z-index: 9;
}
.search-wrap input {
  width: 100%;
  padding: 10px;
  height: 40px;
  padding-right: 45px;
  border: 3px solid #ec0505;
  box-sizing: border-box;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.9);
}
.search-wrap button {
  position: absolute;
  right: 10px;
  width: 45px;
  height: 45px;
}
.search-wrap button span {
  width: 100%;
  color: #ec0505;
}

/* 최근검색어 */
.contents-wrap {
  width: 100%;
}
.contents-wrap h3 {
  font-weight: bold;
  margin-top: 20px;
  padding: 5px 15px;
}
.contents-wrap ul {
  padding: 0px 13px;
  display: flex;
  flex-wrap: wrap;
}
.contents-wrap ul li {
  margin: 4px 2px;
  border: 1px solid #ccc;
  border-radius: 50px;
  background-color: rgba(0, 0, 0, 0.015);
}
.contents-wrap ul li a {
  display: block;
  padding: 3px 10px;
  font-size: 14px;
  color: #787878;
  font-weight: 600;
}

/* 최근검색어 */

/* 실시간인기키워드 */
.contents-wrap2 {
  width: 100%;
  padding-top: 20px;
}
.contents-wrap2 h3 {
  font-weight: bold;
  margin-top: 20px;
  padding: 10px 15px;
  font-weight: 800;
  font-size: 18px;
}
.contents-wrap2 ul {
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  border: 2px solid #f0f0f0;
  margin: 0px 10px;
}
.contents-wrap2 ul li {
  margin: 5px 0px;
  line-height: 16px;
}
.contents-wrap2 ul li a {
  display: block;
  padding: 3px 10px;
  font-size: 16px;
  color: #787878;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
}
.contents-wrap2 ul li a span {
  flex: 1;
  line-height: 14px;
}
.contents-wrap2 ul li a span:hover {
  color: black;
}
.contents-wrap2 ul li a strong {
  margin-right: 25px;
  color: black;
  font-weight: 900;
  font-size: 16px;
  line-height: 16px;
  width: 10px;
}
.remove {
  color: rgb(0, 0, 0);
  font-size: 11px;
  vertical-align: middle;
  margin: 5px;
  font-weight: 900;
}
.contents-wrap2 ul li a b {
  color: red;
  font-weight: 700;
  font-size: 10px;
  line-height: 16px;
}

.contents-wrap2 p {
  margin: auto;
  padding-top: 50px;
  height: 110px;
  margin: 30px 10px 100px 10px;
  background: #ffe3e3;
}

.triangle-red {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 8px solid red; /* 원하는 배경색으로 변경 가능 */
  margin-right: 8px;
  animation: moveUp 0.1s infinite alternate;
}

@keyframes moveUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-2px);
  }
}

.triangle-blue {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 8px solid blue; /* 원하는 배경색으로 변경 가능 */
  margin-right: 8px;
  animation: moveDown 0.1s infinite alternate;
}

@keyframes moveDown {
  0% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}
/* 실시간인기키워드 */
