.search-page {
  max-width: 1000px;
}
.search-input {
  margin: 25px 0 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}
.search-input .input-wrap {
  position: relative;
  height: 50px;
  width: 100%;
  max-width: 700px;
  flex-shrink: 0;
}
.search-input .input-wrap input {
  height: 100%;
  width: 100%;
  border-radius: 99px;
  outline: none;
  border: 2px #c1d6ff solid;
  background-color: #f4f8ff;
  padding: 0 20px;
}
.search-input .input-wrap svg {
  position: absolute;
  right: 20px;
  top: 15px;
  cursor: pointer;
}
.ad-wrap {
  margin-bottom: 15px;
}

.detail-list {
  display: flex;
  flex-direction: column;
  padding: 0 10px;
}
.detail-list .item {
  cursor: pointer;
  margin-bottom: 20px;
}
.detail-list .item:hover h3 {
  text-decoration: underline;
}
.detail-list .item h3 {
  margin: 20px 0 10px 0;
  color: #0e4fd3;
  font-size: 18px;
}
.detail-list .item p {
  color: #424040;
  font-size: 14px;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.google-search {
  display: flex;
}
.google-search .search-result {
  flex: 1;
}
.google-search .ad-wrap {
  margin-left: 30px;
  width: 300px;
  flex-shrink: 0;
}

@media screen and (max-width: 940px) {
  .google-search {
    flex-flow: column nowrap;
  }
  .google-search .ad-wrap {
    margin-left: 0;
    width: 100%;
  }
}

.loading-wrap {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}
.loading-wrap img {
  width: 80px;
  height: 80px;
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
