#search {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    gap: 2rem;
}

#search form {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background-color: #f1f1f3;
    border-radius: 25px;
    max-width: 800px;
    width: 100%;
}

#search form input {
    width: 100%;
    height: 4rem;
    border: none;
    outline: none;
    box-sizing: border-box;
    color: #000000;
    font-size: 1.8rem;
    padding: 0 5rem;
    border-radius: 25px;
    background-image: url("/asset/search.svg");
    background-repeat: no-repeat;
    background-size: 2.4rem 2.4rem;
    background-position: 2rem center;
    background-color: #e5e5e5;
}
#search form input:focus {
    outline: 1px solid #00D0FF;
    outline-offset: -1px;
}
#search .icon-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    height: 8rem;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    /* 스크롤바 숨기기 */
    -ms-overflow-style: none;  /* IE, Edge */
    scrollbar-width: none;     /* Firefox */
}
@media (max-width: 1200px) {
    #search .icon-box {
        justify-content: flex-start;
    }
    #search::before {
        position: absolute;
        display: block;
        left: -1rem;
        bottom: 3rem;
        width: 2rem;
        height: 2rem;
        content: url("/asset/arrow.svg");
        rotate: -90deg;
    }
    #search::after {
        position: absolute;
        display: block;
        right: -1rem;
        bottom: 3rem;
        width: 2rem;
        height: 2rem;
        content: url("/asset/arrow.svg");
        rotate: 90deg;
    }
}
#search .icon-box::-webkit-scrollbar {
    display: none;
}
#search .icon-box .icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    width: 8rem;
    height: 8rem;
    border-radius: 8px;
    font-size: 1.6rem;
    cursor: pointer;
    text-decoration: none;
    color: #000000;
}
#search .icon-box .icon:hover {
    background-color: #efefef;
}
#search .icon-box .icon span {
    padding: 0.6rem 0;
}
#search .icon-box .icon .icon-img {
    background-color: #d7d7e9;
    width: 4rem;
    height: 4rem;
}
