*{
  box-sizing: border-box;
}

body,
html {
  background-color: #2E3440;
  margin: 0 auto;
  padding: 0;
  color: white;
  text-align: center;
  max-width: 800px;
  height: 100%;
}

body{
  padding: 0 30px;
}

header{
  min-height: 41px;
  max-height: 41px;
}

/* //////////////// */
/* Main 부분 */
main {
  /* background-color: blue; */
  flex-basis: 80%;  
  display: flex;
  flex-direction: column;
  /* justify-content: space-evenly; */
  align-items: stretch;
  margin: 0 auto;
  text-align: start;
  width: 100%;
}

#title_container{
  display: flex;
  justify-content: space-between;
}

#send_list_button{
  margin: 20px 0;
  background-color: #FF4E15;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 0 15px;
  display: none;
}

.shopping_bascket{
  display: flex;
  flex-wrap: wrap;
}

.shopping_item{
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: #181B23; */
  border: 2px solid #BFDBFE;
  box-sizing: border-box;
  border-radius: 20px;
  padding: 5px 10px;
  margin: 0 5px 10px 0;
  color: #BFDBFE;
}

.x_button{
  margin-left: 5px;
  cursor: pointer;
}

/* #input_container{
  position: relative;
} */

#input_and_search{
  position: relative;
  padding: 5px;
}


.input-group {
  margin: 15px 0 0 0;
}

input {
  width: 100%;
  /* max-width: 400px; */
  height: 1vh;
  padding: 15px 10px;
  border-top: 1px solid #2E3440;
  border-right: 1px solid #2E3440;
  border-left: 1px solid #2E3440;
  border-bottom: 1px solid #9AA3B4;
  /* border-radius: 7px; */
  background-color: #2E3440;
  box-sizing: border-box;
  box-shadow: none;
  /* margin: 0 20px; */
  color: white;
}

input:focus{
  outline: none;
  border-bottom: 2px solid white;
}

.small_title{
  color: #F2F4F7;
  margin: 30px 0 10px 0;
  display: flex;
  justify-content: space-between;
}
input::placeholder{
  color: #9AA3B4;
}

input:focus{

}

#input_container button{
  position: absolute;
  bottom: 3px;
  right: 5px;
  background-color: rgba(0, 0, 0, 0);
  border: none;
  height: 32px;
  width: auto;
}

button img{
  height: 20px;
  width: auto;
}

#delete_recent_searches{
  cursor: pointer;
}

/* active 클래스를 가진 요소에 대해 */
.auto_complete > div.active {
  background: #f1f3f499;
  color: #eee;
  cursor: pointer;
}
.auto_complete > div {
  background: #333;
  padding: .2rem .6rem;
  border-radius: 20px;
  cursor: default;
}

mark {
  /* background: #ffdb6e90; */
  /* background: #d9e7f7; */
  background: #BBC2CE;
  padding: 2px 1px 1px 1px;
  border-radius: 3px;
}

#no_search_container{
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #828998;
  display: none;
}

#no_search_image{
  max-height: 7vh;
}

/* 최근 검색어 */

#recent_searches_container {
  overflow-x: auto;
  white-space: nowrap; /* 글자 한 줄로 만들기*/
  position: relative;
  scrollbar-width: none;
}

#recent_searches_container::-webkit-scrollbar{
  display: none;
}

#recent_searches_contents {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
}

.recent_searches_content{
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #181B23;
  border: 1px solid #181B23;
  box-sizing: border-box;
  border-radius: 20px;
  padding: 5px 10px;
  margin: 0 5px 5px 0;
  color: #9AA3B4;
  cursor: pointer;
}

/* 인기 검색어 */
#popular_searches_container {
  overflow-x: auto;
  white-space: nowrap;
  position: relative;
  scrollbar-width: none;
}

#popular_searches_container::-webkit-scrollbar{
  display: none;
}

#popular_searches_contents {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.popular_searches_content{
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: #181B23; */
  border: 1px solid #BBC2CE;
  box-sizing: border-box;
  border-radius: 20px;
  padding: 5px 10px;
  margin: 0 5px 10px 0;
  color: #BBC2CE;
  cursor: pointer;
}

/* //////////////// */
/* Footer 부분 */
footer {
  flex-basis: 25%;
  /* background-color: green; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  margin: 0 20px;
}
