@charset "UTF-8";

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    margin: 0;
    height: 100vh;
    /* background-color: #09F; */
    background-image: url(./images/bg.png);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo {
    /* flex: 1; */
    width: 100%;
    height: 30vh;
    z-index: 0;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 0px 50px; */
}

.logo div {
    display: flex;
    /* align-items: center; */
    gap: 15px;
}

.logo img {
    /* width: 50vw; */
    max-height: 60%;
    max-width: 95%;
}

.logo .beta {
    color: #fff;
    font-size: 12px;
    line-height: 12px;
    font-weight: bold;
    border: #fff 2px solid;
    padding: 5px;
    border-radius: 5px;
    height: 26px;
    margin-top: 20px;
}

.content {
    background-color: #fff;
    height: 600px;
    flex: 2;
    position: relative;
    /* top: -10px; */
    /* margin-bottom: 60px; */
    border-radius: 10px;
    z-index: 3;
    overflow: hidden;
    /* text-align: center; */
    box-shadow: 0px 2px 5px 0px #000000;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;    
}

.content img {
    width: 90%;
    height: auto;
    max-height: 60%;
    max-width: 800px;
    /* flex: 1; */
    /* margin-top: 50px; */
}

.content>div {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    gap: 10px;
    max-width: 1200px;
    /* min-height: 200px; */
}

.content>div.category {
    font-size: 24px;
    color: #333;
    /* margin-bottom: 30px; */
    /* display: flex; */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    width: 100vw;
    gap: 10px;
    max-width: 1200px;
    justify-content: center;
    align-items: center;
}

.category>div {
    border: #ddd 1px solid;
    background-color: #f0f0f0;
    padding: 10px;
    width: 200px;
    /* height: 100px; */
    border-radius: 10px;
    cursor: pointer;
    /* margin: 10px; */
    /* flex: 1 1 30%; */
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    /* justify-content: flex-start; */
    gap: 10px;
    position: relative;
}

.category>div i {
    font-size: 36px;
    color: #999;
}

.category>div a {
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    color: #999;
    text-decoration: none;

}

.category>div>span {
    font-size: 12px;
    color: #999;
    /* margin-left: 5px; */
    /* align-self: flex-start; */
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 5px;
    outline: #999 1px solid;
    border-top-right-radius: 9px;
    border-bottom-left-radius: 9px;

    /* border-bottom-right-radius: 5px; */

}

div.beta a {
    color: #000;
}

div.beta>i{
    color: rgb(0, 129, 209);
}
div.beta>span {
    color: #ff1b1b;
    outline: #ff1b1b 1px solid;

}

.category>div.beta:hover {
    border-color: #f90;
    color: #f90;
    background-color: #fff7e6;
}

.category>div>div {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 5px;
}

.category>div>div>span {
    font-size: 12px;
    color: #999;
    /* margin-left: 5px; */
}

.footer {
    height: 80px;
    width: 100%;
    /* background-color: #09F; */
    background-image: url(./images/bg.png);
    /* position: fixed; */
    bottom: 0px;
    z-index: 2;
    /* line-height: 60px; */
    /* text-align: center; */
    color: #fff;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 25px;
    box-sizing: border-box;
}

.footer div {
    text-align: center;
    /* line-height: 40px; */
    /* height: 30px; */
    flex: 1;
}

.domain {
    flex: 1;
    font-size: 24px;
    /* font-weight: bold; */
    width: 100%;
    /* color: #09F; */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 10px;

}

.domain span {
    text-decoration: underline;
    font-weight: bold;
    color: #f00;
}
@media screen and (max-width: 520px) {
    .content>div.category{
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-template-rows: 60px;
    }
    .category>div {
        transform: scale(0.8);
    }
}

@media screen and (max-width: 400px) {
    .content>div.category{
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        grid-template-rows: 40px;
        gap: 5px;
    }
    .category>div {
        transform: scale(0.6);
    }
}