@charset "utf-8";

@font-face {
    font-family: "Figtree";
    src: url("./fonts/Figtree.ttf") format("ttf");
}
html,
body {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    font-family: "Figtree", sans-serif;
    background-color: #F0F4FA;
    /* background-image: linear-gradient(
        to bottom,
        rgba(232, 239, 246, 1) 0%,
        rgba(0, 0, 0, 0) 100%
    ); */
}

.mini-search {
    width: 16px;
    height: 16px;
    margin: 0 auto;
    background: url(./img/mini-search-dark.svg) no-repeat center/cover;
}
.mini-search:hover {
    transition: 0.3s all;
    filter: alpha(Opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7;
}
* {
    padding: 0;
    margin: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.search,
.wd,
.s {
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    background: none;
}

input:focus::-webkit-input-placeholder {
    color: transparent;
}
input:focus:-moz-placeholder {
    color: transparent;
}
input:focus::-moz-placeholder {
    color: transparent;
}
input:focus:-ms-input-placeholder {
    color: transparent;
}

.wd::-webkit-input-placeholder {
    color: #99a2b0;
    letter-spacing: 0px;
    font-size: 16px;
}

#content {
    width: 100%;
    height: 100%;
}

ul,
li {
    display: block;
    list-style: none;
}

a {
    text-decoration: none;
    color: #bbbbbb;
}

.con {
    width: 100%;
    transition: 1s all;
    margin: auto;
    min-width: 320px;
    height: 520px;
    position: absolute;
    left: 0;
    top: -64px;
    right: 0;
    bottom: 0;
}

.con .shlogo {
    position: relative;
    width: 230px;
    height: 76px;
    margin: 48px auto;
    background: url(./img/logo-light.svg) no-repeat center/cover;
}

.con .shlogo a {
    width: 100%;
    display: block;
    width: 100%;
    height: 100%;
}

.sou {
    max-width: 600px;
    height: 52px;
}

.con .sou {
    max-width: 720px;
    position: relative;
    width: calc(100% - 60px);
    min-width: 320px;
    margin: 0 auto;
}

.con .sou form {
    width: 100%;
    height: 44px;
    display: block;
    margin: 10px auto 30px;
    position: relative;
}

.sou form .se {
    width: 24px;
    height: 24px;
    display: block;
    position: absolute;
    z-index: 12;
    left: 14px;
    top: 14px;
    cursor: pointer;
    font-size: 22px;
    line-height: 40px;
    color: #aaaaaa;
    transition: 0.3s all;
}

.sou form .se:hover {
    transition: 0.3s all;
    filter: alpha(Opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7;
}

input.wd {
    color: #565d68;
}

.con .sou form .wd {
    width: 90%;
    height: 100%;
    text-overflow: ellipsis;
    display: block;
    line-height: 100%;
    text-indent: 48px;
    font-size: 16px;
}

.con .sou form .wd:focus {
    background: transparent;
}

.con .sou form {
    transition: 0.3s all;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 6px 12px -2px rgba(23, 26, 48, 0.04);
}

.con .sou form:hover {
    transition: 0.3s all;
    background: #fff;
    box-shadow: 0 12px 24px -2px rgba(23, 26, 48, 0.1);
}

.sou form .s {
    transition: 0.3s all;
    width: 44px;
    height: 44px;
    display: block;
    position: absolute;
    z-index: 10;
    right: 8px;
    top: 4px;
    cursor: pointer;
    font-size: 22px;
    line-height: 40px;
    border-radius: 50%;
    color: rgb(99, 96, 96);
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-buttons {
    margin-bottom: 32px;
    display: flex;
    gap: 28px;
    align-items: center;
}

.footer-button {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.button-icon:hover {
    background-color: rgba(232, 239, 246, 0.8);
}

.button-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

@media (max-width: 720px) {
    .con {
        top: 0px;
    }
    .con .shlogo {
        width: 230px;
        height: 76px;
    }
    .con .sou form button {
        border-radius: 25px;
    }
}
@media (max-width: 698px) {
    .con .sou ul li {
        width: auto;
    }
}
@media (max-width: 609px) {
    .con .sou ul li {
        width: auto;
    }
}
@media (max-width: 455px) {
    .con .sou ul li {
        width: auto;
    }
}
@media (max-width: 400px) {
    .con .sou ul li {
        width: auto;
    }
    .sou {
        height: 56px;
    }
    .con .sou form {
        border-radius: 28px;
    }
    .sou form .se {
        width: 28px;
        height: 28px;
        left: 14px;
        top: 14px;
    }
    .mini-search {
        width: 18px;
        height: 18px;
    }
    .sou form .s {
        right: 6px;
        top: 6px;
    }
    .con .sou form .wd {
        text-indent: 50px;
    }
}

div#txtq {
    display: none !important;
}

@media (max-height: 420px) {
    .con {
        margin: 0;
        top: 16px;
    }
    .con .sou form .wd {
        text-indent: 50px;
    }
    .con .sou form:after {
        content: "";
        display: block;
        width: 30px;
        height: 30px;
        position: absolute;
        left: 10px;
        top: 10px;
        /*background: url(icon/lg.svg) no-repeat center/cover;*/
        border-radius: 50%;
        overflow: hidden;
    }
    .con .shlogo {
        margin: 40px auto;
    }
}

/*Dark Mode*/

@media (prefers-color-scheme: dark) {
    body {
        background-color: #14151b;
        background-image: none;
    }
    #menu {
        background: #2f333f;
    }
    #menu:hover {
        background: #383c4a;
    }
    .con .shlogo {
        background: url(./img/logo-dark.svg) no-repeat center/cover;
    }
    .con .sou form {
        background: #2f333f;
        box-shadow:
            inset 0 1px 1px rgba(255, 255, 255, 0.1),
            0 12px 24px -2px rgba(48, 47, 57, 0.08);
    }
    .con .sou form:hover {
        background: #383c4a;
        box-shadow:
            inset 0 1px 1px rgba(255, 255, 255, 0.15),
            0 12px 24px -2px rgba(48, 47, 57, 0.08);
    }
    input.wd {
        color: #e8ecf3;
    }
    .wd::-webkit-input-placeholder {
        color: #6c798f;
    }
    .button-icon {
        background-color: rgba(47, 51, 63, 0.6);
    }
    .button-icon:hover {
        background-color: rgba(47, 51, 63, 1);
    }
}
