/* */
/* header */

.top__header-ctnr {
    background-color: var(--system-bg-secondary);
    position: sticky;
    top: 0rem;
    z-index: 9999;
}

.top__header-ctnr .top__header-wrp {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 72rem;
    height: 4rem;
    margin: 0rem auto;
    justify-content: space-between;
}

.top__header-ctnr .top__header-wrp .svg__tl-wrp:hover {
    opacity: 80%;
}

.top__header-ctnr .top__header-wrp .svg__tl-wrp .header__svg-wrp .header-svg {
    fill: var(--systemPrimary);
    display: block;
}

.top__header-ctnr .top__header-wrp .search__svg-wrp .mg-svg {
    display: block;
    fill: var(--systemPrimary);
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    border-radius: 0.8rem;
}

.top__header-ctnr .top__header-wrp .search__svg-wrp .mg-svg:hover {
    background-color: var(--systemPrimary-bg-borderless-hover);
}

.top__header-ctnr .top__header-wrp .search__svg-wrp .close-svg {
    display: none;
    fill: var(--systemPrimary);
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    border-radius: 0.8rem;
}

.top__header-ctnr .top__header-wrp .search__svg-wrp .close-svg:hover {
    background-color: var(--systemPrimary-bg-borderless-hover);
}


/* */
/* search-ctnr */

.search-ctnr {
    
    position: fixed;
    top: 4rem;
    left: 0%;

    width: 100vw;

    background: linear-gradient(rgba(0, 0, 0, 0.92) 100%), rgba(245, 245, 245, 0.18);
    background-blend-mode: color-dodge, normal;
    backdrop-filter: blur(4rem);

    height: calc(100vh - 4rem);

    z-index: 9999;

    align-items: center;
    justify-content: center;

    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-ctnr.open {
    opacity: 1;
    visibility: visible;
}

.search-ctnr .search__svg-input-wrp {
    
    display: flex;
    flex-direction: row;
    align-items: center;

    position: fixed;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 100%;
    gap: 1rem;
    max-width: 72rem;
}

.search-ctnr .search__svg-input-wrp .search-input {
    font-size: var(--h1-fontSize);
    color: var(--systemPrimary);
    border: none;
    outline: none;
    background-color: transparent;
    border-bottom: solid 0.1rem var(--systemPrimary);
    width: 100%;
    padding: 0.5rem 0rem;
}

.search-ctnr .search__svg-input-wrp .search-input::placeholder {
    color: var(--systemTertiary);
}

.search-ctnr .search__svg-input-wrp .mg__svg-wrp .inbox__mg-svg {
    fill: var(--systemPrimary);
    display: block;
    scale: 1.8;
}

.search-ctnr .search__svg-input-wrp .txt-del__svg-wrp .inbox__txt-del-svg {
    fill: var(--systemPrimary);
    display: block;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
    scale: 1.8;
}

.search-ctnr .search__svg-input-wrp .txt-del__svg-wrp .inbox__txt-del-svg:hover {
    fill: var(--systemPrimary-hover);

}

.search-ctnr .search__result-ctnr {

    position: absolute;

    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 72rem;
}

.search-ctnr .search__result-ctnr .search__result-all-wrp {
    display: flex;
    flex-direction: column;

    margin-bottom: 4rem;
}

.search-ctnr .search__result-ctnr .search__result-all-wrp .result-tl {
    font-size: var(--h1-fontSize);
    color: var(--systemPrimary);
    font-weight: 300;
    margin-bottom: 2rem;
}

.search-ctnr .search__result-ctnr .search__result-all-wrp .result__all-data-wrp {
    display: flex;
    flex-direction: column;

    height: 9rem;
    width: 100%;

    overflow-y: scroll;

    gap: 0.5rem
}

.search-ctnr .search__result-ctnr .search__result-all-wrp .result__all-data-wrp .result__data-wrp {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.search-ctnr .search__result-ctnr .search__result-all-wrp .result__all-data-wrp .result__data-wrp:hover {
    text-decoration: none;
    color: var(--systemPrimary-hover);
}

.search-ctnr .search__result-ctnr .search__result-all-wrp .result__all-data-wrp .result__data-wrp:hover .result-data {
    text-decoration: none;
    color: var(--systemPrimary-hover);
    transition: all 0.1s ease-in-out;
}

.search-ctnr .search__result-ctnr .search__result-all-wrp .result__all-data-wrp .result__data-wrp .result-data {
    color: var(--systemPrimary);
    font-size: var(--h2-fontSize);
    text-decoration: underline;
    text-decoration-thickness: 0.15rem;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 70%;
}

.search-ctnr .search__result-ctnr .search__result-all-wrp .result__all-data-wrp .result__data-wrp .result__data-dt {
    color: var(--systemSecondary);
    font-size: var(--h4-fontSize);
    margin-left: 2rem;
}

.search-ctnr .search__result-ctnr .search__result-recommend .recommend__all-wrp .recommend-tl {
    font-size: var(--h2-fontSize);
    color: var(--systemPrimary);
}


/* */
/* dark mode */

.darkmode-wrp {
    position: fixed;
    top: 90%;
    right: 5%;
    background-color: var(--system-bg-secondary);
    z-index: 9990;
    width: 4rem;
    height: 4rem;
    border-radius: 100%;
    border: none;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
}

.darkmode-wrp:hover {
    opacity: 80%;
}


.darkmode-wrp .sns__icon-wrp {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.darkmode-wrp .sns__icon-wrp svg {
    display: block;
    fill: var(--systemSecondary-onLight);
    justify-content: center;
    align-items: center;
}


/* */
/* footer */


/* */
/* text */

.footer-link {
    font-size: var(--ps-fontSize);
    color: var(--systemSecondary);
    font-weight: 300;
    text-decoration: none;
    transition: all 0.1s ease-in-out;
    text-decoration: underline;
}

.footer__dsc-sm {
    font-size: var(--ps-fontSize);
    color: var(--systemSecondary);
    font-variation-settings: "wght" 300, "wdth" 100, "opsz" 8;
    line-height: 1.4;
}

.footer__eg-all-wrp .footer__info-wrp .footer_info {
    color: var(--systemSecondary);
    font-size: var(--ps-fontSize);
    font-weight: 300;
    text-decoration: underline;
    transition: all 0.1s ease-in-out;
}


/* */
/* container */

.footer-ctnr {
    background-color: var(--system-bg-secondary);
}

.footer-ctnr .footer__all-wrp {
    display: flex;
    flex-direction: column;
    max-width: 72rem;
    margin: 0rem auto;
    padding: 4rem 0rem 1rem 0rem;
}

.footer-ctnr .footer__all-wrp .footer__icon-txt-wrp {
    display: flex;
    flex-direction: row;
}

.footer-ctnr .footer__all-wrp .footer__icon-txt-wrp .footer__icon-wrp {
    margin-right: 3.5rem;
}

.footer-ctnr .footer__all-wrp .footer__icon-txt-wrp .footer__icon-wrp .footer__home-svg {
    display: block;
    fill: var(--systemPrimary);
    transition: all 0.1s ease-in-out;
}

.footer-ctnr .footer__all-wrp .footer__icon-txt-wrp .footer__icon-wrp .footer__home-svg:hover {
    fill: var(--systemPrimary-hover);
}

.footer-ctnr .footer__all-wrp .footer__icon-txt-wrp .footer__txt-sns-wrp {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 40rem;
}

.footer-ctnr .footer__all-wrp .footer__icon-txt-wrp .footer__txt-sns-wrp .footer__sns-wrp {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.footer-ctnr .footer__all-wrp .footer__icon-txt-wrp .footer__txt-sns-wrp .footer__sns-wrp .footer-link:hover {
    text-decoration: none;
    color: var(--systemSecondary);

}


/* */
/* footer border */

.footer-ctnr .footer__all-wrp .footer-brdr {
    border: solid 0.01rem var(--systemQuinary);
    margin: 2rem 0rem;
}


/* */
/* secondary footer */

.footer-ctnr .footer__all-wrp .footer__eg-all-wrp {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.footer-ctnr .footer__all-wrp .footer__eg-all-wrp .footer__eg-icon-wrp {
    width: fit-content;
    margin-right: 6rem;
}

.footer-ctnr .footer__all-wrp .footer__eg-all-wrp .footer__eg-icon-wrp .footer__eg-svg {
    fill: var(--systemPrimary);
    display: block;
    transition: all 0.1s ease-in-out;
}

.footer-ctnr .footer__all-wrp .footer__eg-all-wrp .footer__eg-icon-wrp .footer__eg-svg:hover {
    fill: var(--systemPrimary-hover);
}

.footer-ctnr .footer__all-wrp .footer__eg-all-wrp .footer__info-wrp {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.footer-ctnr .footer__all-wrp .footer__eg-all-wrp .footer__info-wrp .footer_info:hover {
    text-decoration: none;
}

.footer-ctnr .footer__all-wrp .footer__eg-all-wrp .footer__eg-icon-wrp .footer-logo-svg {
    fill: var(--systemPrimary);
}


/* */
/* media query */


/* */
/* 1294px */


@media screen and (max-width: 1294px) {

    /**/
    /* header */

    .top__header-ctnr .top__header-wrp {
        margin: 0rem 2rem;
        max-width: 100%;
    }


    /* */
    /* search */

    .search-ctnr .search__svg-input-wrp {
        max-width: calc(100% - 4rem);
    }

    .search-ctnr .search__svg-input-wrp .search-input {
        max-width: 100%;
    }

    .search-ctnr .search__result-ctnr {
        max-width: calc(100% - 4rem);
    }

    .search-ctnr .search__result-ctnr .search__result-all-wrp {
        max-width: 100%;
    }

    .search-ctnr .search__svg-input-wrp .search-input {
        font-size: var(--h2-fontSize);
        max-width: 100%;
    }

    .search-ctnr .search__result-ctnr .search__result-all-wrp .result-tl {
        font-size: var(--h2-fontSize);
    }

    .search-ctnr .search__result-ctnr .search__result-all-wrp .result__all-data-wrp .result__data-wrp .result-data {
        font-size: var(--h3-fontSize);
    }

    .search-ctnr .search__result-ctnr .search__result-all-wrp .result__all-data-wrp .result__data-wrp .result__data-dt {
        font-size: var(--h5-fontSize);
    }

    /* */
    /* footer */

    .footer-ctnr .footer__all-wrp {
        margin: 0rem 2rem;
    }
}


/* */
/* 960px */

@media screen and (max-width: 960px) {

    /* */
    /* search */

    .search-ctnr .search__svg-input-wrp {
        gap: 0.5rem;
    }

    .search-ctnr .search__svg-input-wrp .search-input {
        font-size: var(--h3-fontSize);
    }

    .search-ctnr .search__result-ctnr .search__result-all-wrp .result-tl {
        font-size: var(--h3-fontSize);
        margin-bottom: 1.5rem;
    }

    .search-ctnr .search__result-ctnr .search__result-all-wrp .result__all-data-wrp .result__data-wrp .result-data {
        font-size: var(--h4-fontSize);
        width: 60%;
    }

    .search-ctnr .search__result-ctnr .search__result-all-wrp .result__all-data-wrp .result__data-wrp .result__data-dt {
        font-size: var(--h6-fontSize);
    }

    .search-ctnr .search__svg-input-wrp .mg__svg-wrp .inbox__mg-svg {
        scale: 1.5;
    }
    
    .search-ctnr .search__svg-input-wrp .txt-del__svg-wrp .inbox__txt-del-svg {
        scale: 1.5;
    }


    /* */
    /* footer */

    .footer-ctnr .footer__all-wrp {
        padding: 2rem 0rem 2rem 0rem;
    }

    /* */
    /* */

    .footer-ctnr .footer__all-wrp .footer__icon-txt-wrp {
        display: flex;
        flex-direction: column;
    }

    .footer-ctnr .footer__all-wrp .footer__icon-txt-wrp .footer__icon-wrp {
        margin-bottom: 1rem;
    }

    .footer-ctnr .footer__all-wrp .footer__icon-txt-wrp .footer__txt-sns-wrp {
        max-width: 100%;
    }

    .footer-ctnr .footer__all-wrp .footer__icon-txt-wrp .footer__txt-sns-wrp .footer__sns-wrp {
        gap: 1rem;
    }


    /* */
    /* secondary footer*/

    .footer-ctnr .footer__all-wrp .footer__eg-all-wrp {
        display: flex;
        flex-direction: column;
        align-items: normal;
    }


    .footer-ctnr .footer__all-wrp .footer__eg-all-wrp .footer__eg-icon-wrp {
        margin-right: 0rem;
        margin-bottom: 1rem;
    }

    .footer-ctnr .footer__all-wrp .footer__eg-all-wrp .footer__info-wrp {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-ctnr .footer__all-wrp .footer__eg-all-wrp .footer__info-wrp .footer_info:hover {
        text-decoration: none;
    }
}

/* */
/* 600px */

@media screen and (max-width: 600px) {

    /* */
    /* search */

    .search-ctnr {
        width: 100vw;
        background-color: var(--system-bg-secondary);
        /* background-blend-mode: color-dodge, normal;*/
    }

    .search-ctnr .search__svg-input-wrp {
        top: 15%;
    }

    .search-ctnr .search__svg-input-wrp .search-input {
        font-size: var(--h6-fontSize);
        border: none;
        outline: none;
        background-color: transparent;
        width: 100%;
        padding-left: 1rem;
        background-color: var(--light-bg-default);
        border-radius: 1rem;
    }

    .search-ctnr .search__svg-input-wrp .mg__svg-wrp .inbox__mg-svg {
        background-color: var(--light-bg-default);
        border-radius: 10rem;
        scale: 1.2;
    }

    .search-ctnr .search__svg-input-wrp .txt-del__svg-wrp {
        display: none;
    }

    .search-ctnr .search__result-ctnr {
        top: 42%;
    }

    .search-ctnr .search__result-ctnr .search__result-all-wrp .result__all-data-wrp {
        height: 12rem;
    }

    .search-ctnr .search__result-ctnr .search__result-all-wrp .result-tl {
        font-size: var(--h6-fontSize);
        margin-bottom: 1rem;
    }

    .search-ctnr .search__result-ctnr .search__result-all-wrp .result__all-data-wrp .result__data-wrp .result-data {
        width: 100%;
        font-size: var(--h6-fontSize);
    }

    .search-ctnr .search__result-ctnr .search__result-all-wrp .result__all-data-wrp .result__data-wrp .result__data-dt {
        display: none;
        font-size: var(--ph-fontSize);
    }
}


/**/
/**/

@media (hover: hover) and (pointer: fine) {

    a:hover {
        color: inherit;
        opacity: inherit;
    }

    button:hover {
        color: inherit;
        opacity: inherit;
    }

    div:hover {
        color: inherit;
        opacity: inherit;
    }

    svg:hover {
        color: inherit;
        opacity: inherit;
    }

    img:hover {
        color: inherit;
        opacity: inherit;
    }
}