/* 此css文件仅用作teampage */

div {
    display: block;
    unicode-bidi: isolate;
}

p {
    margin: 10px 0;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

.col-8 {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 40px;
    column-gap: 20px;
}

.part {
    margin: 30px 0;
    width: 100%;
}

.part .h1-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 40px 0;
    }

.part .h1-wrapper h1 {
    position: relative;
    font-size: 40px;
}

.part .line {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 50px;
    column-gap: 30px;
}

.card {
    position: relative;
    background-color: rgb(152, 32, 32);
    width: 300px;
    border-radius: 20px;
    padding: 2px;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: 1s;
    transform: scale(1);
}

.card:hover {
    
}


.card .exit {
    top: 10px;
    right: 20px;
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 10%;
    overflow: hidden;
}

.card .duty {
    position: absolute;
    align-items: center;
    top: 10px;
}

.card .duty h3 {
    font-size: 20px;
    font-family: 'MISANs', serif;
    color: white;
}

.card .mid {
    position: relative;
    background-color: white;
    width: 90%;

    /* 替换 */
    height: 250px;
    
}

.card .mid .portrait {
    position: relative;
    transform-style: preserve-3d;
    z-index: 4;
    width: 100%;
    height: 100%;
    background-color: #fffdf7;
    opacity: 1;
    transition: 1s;
    background-position: center;
    background-size: cover;
}

.card .mid .box {
    position: absolute;
    width: 100%;
    padding: 10px 15px;
    z-index: 10;
    top: 0;
    transition: 1s;
    display: grid;
    place-items: center;
}

.card .mid .box p {
    width: 100%;
    text-align: justify;
    text-indent: 1.5em;
    padding-left: 0;
    font-family: 'Maiandra GD', serif;
}

.card .bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card .bottom .name{
    font-family: 'MISANs', serif;
    font-size: 24px;
    color: white;
}