*{
    margin: 0;
    padding: 0;
    -style: none;
    text-decoration: none;
}
html{
   scroll-behavior: smooth; 
}
body{
    background-color: black;
    /*暂时不能隐藏，需要拿到备案号……*/
/*    overflow: hidden; -->*/
}
.fade-in{
    opacity: 0;
    animation: fadeIn 1s linear forwards;
}
@keyframes fadeIn{
    from{
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.fade-out{
    opacity: 1;
    animation: fadeOut 1s linear forwards;
}
@keyframes fadeOut{
    from{
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
.header,.nav,.container{
    float: left;
    width: 100%;
    opacity: 0;
    animation: fadeIn 1s forwards;
}
.header{
   padding: 5px;
   text-align: center;
   position: fixed;
   z-index: 100;
}
.header h1{
    font-size: 40px;
    background-image: linear-gradient(
        90deg,
        rgb(208, 158, 255),
        rgb(102, 27, 167),
        rgb(151, 168, 255),
        rgb(255, 226, 148),
        rgb(255, 226, 148)
    );
    color: transparent;
    background-clip: text;
 }
.nav{
    width: 100%;
    height: 40px;
    margin: 10px 0;
    text-align: center;
}
.nav a{
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    color: #c7904d;
    width: 150px;
    height: 40px;
    background: linear-gradient(90deg,rgba(0, 0, 0, 0.0),#171048,rgba(0, 0, 0, 0.0));
    display:inline-block;
}
.nav a:hover{
    color: #e5d454;
    background: linear-gradient(90deg,rgba(0, 0, 0, 0.0),darkblue,rgba(0, 0, 0, 0.0));
}
.container div{
    height: 100%;
    color: #ffffff;
    margin: 0 0;
}
.homeinfo{
    float: center;
    height: 100%;
    width: 100%;
    margin: 0 0;
    text-align: center;
    background-color: black;
}
.homeinfo div{
    font-size: 20px;
    color: #b1b1b1;
}
.homeinfo a{
    color: #e5d454;
    background: linear-gradient(90deg,rgba(0, 0, 139, 0.2),darkblue,rgba(0, 0, 139, 0.2));
    overflow: hidden;
}
.homeinfo_linkbox{
    position: relative;
    float: left;
    box-sizing: border-box;
    border: 1px solid black;
    max-height: 30%;
    width: 25%;
    margin: auto;
    text-align: center;
    top:0%;
    left: 25%;
}
.chara{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-align: center;
    margin: 10px;
    background: linear-gradient(180deg,black,#201733);
    /*圆角
    border-radius:0%;
    background-image: url(../img/about/about_aescara.jpg);
    background-repeat: no-repeat;
    background-size: 55%;
    background-position: center 65%;
    background-attachment:fixed;
    z-index: auto;
    */
}
.allcharabox{
    display: flex;
    float: center;
    flex-wrap: wrap;
    justify-content: center;
    height: 100%;
    width: 50%;
    margin:0px;
    overflow: hidden;
}
.allcharabox .charabox{
    line-height: 25px;
    text-align: center;
    color: #ffffff;
    text-shadow:
    1px 1px 2px black,
    0 0 1em black,
    0 0 0.2em black;
    display: grid;
    position: relative;
    box-sizing: border-box;
    height: 300px;
    width: 400px;
    margin-bottom: 40px;
    margin-left: 20px;
    top:30%;
    background: rgb(255, 255, 255,0.2) ;
    display: inline-block;
    box-shadow: 5px 5px 10px 0px #b1b1b1;
    border-radius: 10px;
    overflow: hidden;
    filter:brightness(0.75);
    transition: .3s;
}
.allcharabox .charabox img{
    position: relative;
    float: center;
    width: 70%;
    margin: 10px;
    border-radius:100%;
    overflow: hidden;
}
.allcharabox .charabox:hover{
    filter:brightness(1);
    transition: .3s;
}
.allcharabox .othercharabox{
    text-align: left;
    color: #ffffff;
    font-size: medium;
    text-shadow:
    1px 1px 2px black,
    0 0 1em black,
    0 0 0.2em black;
    display:inline-flex;
    position: relative;
    box-sizing: border-box;
    height: 100px;
    width: 100px;
    margin-bottom: 30px;
    margin-left: 20px;
    top:15%;
    background: rgb(255, 255, 255,0.2) ;
    display: inline-block;
    box-shadow: 5px 5px 10px 0px #b1b1b1;
    border-radius: 10px;
    overflow: hidden;
    filter:brightness(0.75);
    transition: .3s;
}
.allcharabox .othercharabox img{
    position: relative;
    float: left;
    width: 80px;
    height: 80px;
    margin: 10px;
    border-radius:100%;
    overflow: hidden;
}
.allcharabox .othercharabox:hover{
    width: 300px;
    filter:brightness(1);
    transition: .3s;
}
.favoinfo{
    float: left;
    left: 0px;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    /*background-color: #171048;*/
    background: linear-gradient(180deg,#171048,black);
}
.favoinfo a{
    color: #e5d454;
    background: linear-gradient(90deg,rgba(0, 0, 139, 0.2),darkblue,rgba(0, 0, 139, 0.2));
    overflow: hidden;
}
.favoinfo .box {
    width:100%;
    height:560px;
    position:relative;
    text-align: center;
}
.artwork{
    float: left;
    left: 0px;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(180deg,#201733,black);
}
.artwork a{
    margin: 10 auto;
    color: #e5d454;
    background: linear-gradient(90deg,rgba(0, 0, 139, 0.2),darkblue,rgba(0, 0, 139, 0.2));
    overflow: hidden;
    text-align: left;
    font-size: larger;
    float: left;
}
.artwork .box {
    width:100%;
    height:560px;
    position:relative;
    text-align: center;
}
.artwork .conten {
    text-align: left;
}
.artwork .box img{
    margin: 10 auto;
    width: 30%;
    float: left;
}
.artworkinfo{
    float: left;
    left: 0px;
    height: 50%;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}
.artworkinfo .linkbox{
    line-height: 25px;
    text-align: center;
    color: #ffffff;
    text-shadow:
    1px 1px 2px #ffd143 ,
    0 0 1em #ffd143,
    0 0 0.2em rgb(48, 24, 7);
    display: grid;
    position: relative;
    box-sizing: border-box;
    height: 300px;
    width: 400px;
    margin-bottom: 40px;
    margin-left: 20px;
    top:5%;
    /*
    border-image-source: url('./familiabtn.png');
    border-image-slice:33 33 33 33 fill;
    border-top: 10px solid;
    border-right: 10px solid;
    border-left: 10px solid;
    border-bottom: 10px solid;*/
    display: inline-block;
    overflow: hidden;
}
.artworkinfo .linkbox a{
    margin: 10 auto;
    color: white;
    text-align: center;
    font-size: 32px;
    float: center;
}
@media screen and (max-width: 1700px){
    .allcharabox .charabox{
        flex-basis: auto;
        flex: 40%;
        width: 80%;
    }
    .allcharabox .othercharabox{
        flex-basis: auto;
        flex: 25%;
        width: 50%;
    }
}
@media screen and (max-width: 1000px){
    .header{
        padding: 0px;
    }
    .header h1{
        font-size: 30px;
    }
    .nav{
        height: 20px;
    }
    .nav a{
        line-height: 30px;
        text-align: center;
        font-size: 20px;
        color: #c7904d;
        width: 150px;
        height: 30px;
        background: linear-gradient(90deg,rgba(0, 0, 0, 0.0),#171048,rgba(0, 0, 0, 0.0));
        display:inline-block;
    }
    .allcharabox{
        flex-direction:column;
        display: flex;
        line-height: 30px;
        width: 100%;
        padding: 0px;
        margin: 0px;
        align-items:center;
    }
    .allcharabox .charabox{
        position:relative;
        font-size: smaller;
        top:5%;
        margin-bottom: 0px;
        margin-left: 0px;
        padding: 0px;
        height: 220px;
        width: 300px;
        box-shadow: 2px 2px 5px 0px #b1b1b1;
        border-radius: 10px;
        flex-basis: auto;
        flex:none;
    }
    .allcharabox .othercharabox{
        position:relative;
        font-size: smaller;
        top:5%;
        box-sizing: content-box;
        width: 300px;
        margin: 0px;
        padding: 0px;
        box-shadow: 2px 2px 5px 0px #b1b1b1;
        flex:none;
    }
}