@font-face { font-family: "Times Newer Roman"; src: url('../fonts/TimesNewerRoman-Regular.otf'); }
html,body {
    margin: 0;
    border: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}
a, p, div {
    text-decoration: none;
    font-family: "Times New Roman","Times","Times Newer Roman","Songti SC","宋体",STSong, Simsun,'Noto Serif CJK SC', 'Source Han Serif SC', ‘Source Han Serif’, source-han-serif-sc,TimesNewRoman,Times New Roman,Times,Baskerville,Georgia,serif;
    font-weight: 400;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}
.info{
    z-index: 9999999;
    position: fixed;
    height: calc(100% - 72px);
    width: 150px;
    top: 20px;right: 20px;
}
.infoa{
    position: fixed;
    width: 150px;
    top: calc(100% - 44px);
    right: 20px;
    line-height: 14px;
    font-size: 14px;
    margin: 0;
    display: block;
}
#frames{
    position: relative;
    height: 100%;
    width: calc(100% - 170px);
}
.frame{
    width: calc(50vw - 120px);height: calc(50% - 40px);
    margin: 20px 0 0 20px;
    position: relative;
    float: left;
}
.frames{
    width: 100%;
    height: calc(100% - 12px);
}
.title{
    line-height: 14px;
    font-size: 14px;
    margin: 0;
    display: block;
    /*color: black;*/
    width: auto;
}
.titleFull{
    position: absolute;
    bottom: -10px;
    right: 0;
    line-height: 14px;
    font-size: 14px;
    margin: 0;
}
.nothing{
    position: relative;
    height: 40px;
    width: 100%;
    float: left;z-index: -1;
}
.hide{
    display: none;
}

@media (max-width: 400px) and (max-aspect-ratio: 1/1) {
    #frames{
        display: none;
    }
    #info{
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
    }
}
@media (max-width: 400px) and (min-aspect-ratio: 1/1){

    .info {
        height: calc(100% - 10vw);
        width: 20vw;
        top: 2vw;
        right: 2vw;
    }

    #frames{
        width: 78vw;
    }

    .frame {
        width: 34.5vw;
        height: calc(50% - 4vw);
        margin: 2vw 1vw 0 2vw;
        position: relative;
        float: left;
    }
    .frames{
        height: calc(100% - 3vw);
        width: 100%;
    }
    .infoa{
        line-height: 2vw;
        font-size: 2vw;
        top: calc(100% - 6vw);
        width: 20vw;
        right: 2vw;
    }
    .title, .titleFull{
        line-height: 2vw;
        font-size: 2vw;
        position: absolute;
        top: calc(100% - 1vw);
    }
    .titleFull{
        bottom: 0;
    }
    .nothing{
        height: 5vw;
    }
}