@charset "utf-8";
/* 초기화 */
.red { color: #ea4335; }
.orange { color: #fbbc05; }
.yellow { color: #fdd835; }
.green { color: #34a853; }
.blue { color: #4285f4; }

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: white;
}
.main{
  height: calc(100vh - 82px);
  width: 100%;
  position: relative;
  margin: 0 auto;
}
/* 디자인 요소 - 상단 메뉴 */
.right-menu{
  text-align: right;
  max-width: 1960px;
  width: 100%;
  display: flex;
  justify-content: end;
  gap: 15px;
}
.right-menu p{
  cursor: default;
  margin: auto 0;
}
.right-menu p:hover{
  color:#4285f4 ;
  text-decoration: underline;
}
.right-menu i{
  font-size: 20px;
  margin: 16px 0;
  padding: 5px;
}
.right-menu #id-name{
  background-color: purple;
  color: #fff;
  padding: 7px 5px;
  border-radius: 50%;
}

/* 메인 섹션 main section */
.main .container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.main .container .main-center{
  max-width: 960px;
  width: 100%;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* 로고 */
.landing-logo{
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}
.landing-logo a{}
.landing-logo a img{
  width: 100%;
}
/* 검색창 */
.search-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}
.search-box input {
  max-width: 500px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 24px 0 0 24px;
  border: 1px solid #ccc;
  border-right: none;
  outline: none;
  font-size: 16px;
  transition: border-radius 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.search-box.active input {
  border-radius: 24px 0 0 0;
}
.search-box button {
  padding: 9.5px;
  border: 1px solid #ccc;
  border-left: none;
  border-radius: 0 24px 24px 0;
  background-color: white;
  cursor: pointer;
  transition: border-radius 0.3s ease;
  position: relative;
}
.search-box.active button {
  border-radius: 0 24px 0 0;
}
.search-box button img {
  width: 20px;
  height: 20px;
}
.search-box .suggestions {
  max-width: 579px;
  width: 100%;
  margin: 0;
  padding: 0;
  background:#FFFFFF;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 20px 20px;
  list-style: none;
  position: absolute;
  top: 45px;
  z-index: 5;
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}
.search-box .suggestions li {
  padding: 10px 15px;
  border-bottom: 1px solid #f1f1f1;
  font-size: 14px;
  text-align: left;
}
.search-box .suggestions li:hover {
  background-color: #f5f5f5;
}

/* 연관검색어 애니메이션 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 드롭다운 애니메이션 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
/* 깜빡 애니메이션 */
@keyframes blink {
  0%, 100% { box-shadow: 0 0 10px 4px rgb(255, 255, 156); }
  50% { box-shadow: 0 0 0 0 rgb(255, 255, 156); }
}
/* 돋보기 img 깜빡임 적용 */
.search-box button img.blink {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  animation: blink 1.2s ease-in-out infinite;
  box-shadow: 0 0 0 2px rgba(255, 255, 156, 0.8);
}
/* "Click" 텍스트 표시 (버튼이 blink 클래스 가질 때만) */
.search-box button.blink::after {
  content: "Click";
  position: absolute;
  top: 50%;
  left: 110%;
  transform: translateY(-50%);
  background: rgb(255, 255, 156);
  color: rgb(112, 112, 112);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  animation: blink 1s infinite;
}
/* 아이콘 */
.icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0;
  margin: 0;
}
.icons .icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.icons .icon img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  transition: .3s;
}
.icons .icon:hover img {
  scale: 1.1;
  transition: .3s;
}
.icons .icon .add-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e0e0e0;
  font-size: 32px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.icons .icon .add-icon > p {
  margin-top: 23px;
  cursor: default;
}
.icons .icon p{}

/* ========== 반응형 ========= */
/* 디자인요소 */
@media screen and (max-width: 1240px) {}
@media screen and (max-width: 960px) {}
@media screen and (max-width: 640px) {
  .right-menu{
    max-width: 640px;
    gap: 10px;
  }
  .right-menu p{
    font-size: 0.7em;
  }
  .right-menu i{
    display: none;
  }
  .right-menu button{
    height: 15px;
  }

}
/* 메인 */
@media screen and (max-width: 1240px) {}
@media screen and (max-width: 960px) {}
@media screen and (max-width: 640px) {
  .main{
  height: calc(100vh - 82px);
  width: 80%;
  }
  .search-box button.blink::after{
    top: 150%;
    left: 0;
    z-index: 9999;
  }
  .icons {
    gap: 15px;
  }
  .icons .icon img {
    width: 25px;
    height: 25px;
  }
  .icons .icon .add-icon {
    width: 25px;
    height: 25px;
  }
  .icons .icon .add-icon > p {
    font-size: 0.95em;
  }
  .icons .icon p{
    font-size: 0.7em;
  }

}
