* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    font-size: 80px;
}

#loading {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .6);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loading img{
    width: 1.875rem;
    height: 1.875rem;
    transform: rotateY(180deg);
    animation: loading 2s linear infinite;
}

@keyframes loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#error{
    position: fixed;
    top: 0;
    left: 0;
    color: white;
    background-color: rgba(235, 117, 6, 0.911);
    width: 100%;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 16px;
    display: none;
}

body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: url('../img/databg1.jpg') no-repeat;
    background-size: 100% 100%;
    backdrop-filter: brightness(0.5);
    /* min-width: 1024px;
    min-height: 340px; */
}

header {
    background: url('../img/dataheader.png') no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: .4rem;
}

.mainbox {
    padding: .125rem;
    padding-bottom: 0;
    height: 88%;
    display: flex;
}

.mainbox>div {
    flex: 3;
}

.mainbox>div:nth-child(2) {
    flex: 5;
}

/* 左 */
.left {
    display: flex;
    flex-direction: column;
}

.left>div {
    flex: 1;
    margin-top: .125rem;
    box-shadow: 0 0 5px rgb(156, 153, 153) inset;
    background-color: rgba(24, 59, 147, 0.7);
    overflow: hidden;
}

.left .letf_first {
    height: 100%;
    margin-top: 0;
}

.title {
    color: #fff;
    font-size: .225rem;
    height: .4rem;
    line-height: .4rem;
    padding-left: .125rem;
    border-left: .05rem solid rgba(222, 225, 95, 1);
    margin-left: .0625rem;
    margin-top: .0625rem;
}

.content {
    height: calc(100% - .4rem);
    color: #fff;
    position: relative;
}

.company,
.resume {
    position: absolute;
    top: .0625rem;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

li {
    width: 100%;
    height: .5rem;
    line-height: .5rem;
    color: rgba(255, 255, 255, .8);
    font-size: .2rem;
    padding-left: .25rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* 右 */
.right {
    display: flex;
    flex-direction: column;
}

.right>div {
    flex: 1;
    margin-top: .125rem;
    box-shadow: 0 0 5px rgb(156, 153, 153) inset;
    background-color: rgba(24, 59, 147, 0.7);
    overflow: hidden;
}

.right>div:first-child {
    margin-top: 0;
}

/* 中 */
.middle {
    margin: 0 .125rem;
    display: flex;
    flex-direction: column;
}

.middle .header {
    flex: 2;
    width: 80%;
    margin-left: 10%;
    display: flex;
    justify-content: space-around;
}

.middle .header>div {
    width: 20%;
    padding-top: .25rem;
}

.middle .header .category {
    color: #fff;
    text-align: left;
    font-size: .35rem;
}

.middle .header .value {
    padding-top: .2rem;
    color: #fff;
    text-align: left;
    font-size: .5rem;
    color: rgba(222, 225, 95, 1);
}

.middle .header span:last-child {
    color: #fff;
    font-size: .35rem;
}

.middle .map {
    flex: 7;
    width: 100%;
    margin: .125rem auto;
}

.middle .footer {
    flex: 3;
    display: flex;
}

.middle .footer .footer_left {
    flex: 1;
    margin-right: .0625rem;
    box-shadow: 0 0 5px rgb(156, 153, 153) inset;
    background-color: rgba(24, 59, 147, 0.7);
}

.middle .footer .footer_right {
    flex: 1;
    margin-left: .0625rem;
    box-shadow: 0 0 5px rgb(156, 153, 153) inset;
    background-color: rgba(24, 59, 147, 0.7);
}

footer{
    height: 2%;
    color: #b8b8b8;
    font-size: 0.2rem;
    text-align: center;
    margin-top: 1vh;
    /* line-height: 0.6rem; */
}

footer p{
    margin: 0 0 0 15px;
    line-height: 1;
    display: inline-block;
}

footer a{
    color: #b8b8b8;
    text-decoration: none;
}