@font-face {
    font-family: 'SourceSerif';
    src: url(SourceSerif4Display-Regular.otf);
}

html,
body {
    font-family: 'SourceSerif';
    height: 100%;
}

.border-box {
    width: fit-content;
    border-style: solid;
    padding: 20px;
    user-select: none;
}

.gradient-box {
    width: fit-content;
    background-image: linear-gradient(80deg, #000000, #333333);
    padding: 20px;
    user-select: none;
}

.person {
    text-align: center;
    height: 80px;
    max-width: 60px;
    width: 100%;
    border-style: dotted;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 2px;
    margin-left: 2px;
    cursor: pointer;
}

.highlight-background-class {
    background-color: #66FFFF;
}

.red-background-class {
    background-color: rgb(248, 50, 28);
}

.green-background-class {
    background-color: rgb(48, 201, 66);
}

.gray-background-class {
    background-color: gray;
}

.flex-box {
    display: flex;
    justify-content: space-between;
}

/* https://www.webhek.com/post/css-flip.html */

/* entire container, keeps perspective */
.flip-container {
    perspective: 1000;
}

/* flip speed goes here */
.flipper {
    transition: 0.4s;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;

    perspective: 1000px;

    position: relative;
}

/* back, initially hidden pane */
.back {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
}

.flip {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
}

/* hide back of pane during swap */
.front,
.back {
    backface-visibility: hidden;

    position: absolute;
    top: 0;
    left: 0;
}

/* front pane, placed above back */
.front {
    z-index: 2;
}

.flip-container,
.front,
.back {
    max-width: 60px;
    width: 100%;
    height: 80px;
}

.highlight-button {
    background-color: white;
    color: black;
}

.mdui-table td,
.mdui-table th {
    padding: 12px 14px;
    text-align: center;
}

.mdui-checkbox {
    left: 10px;
    height: 30px
}

.person-icon {
    margin-top: 10px;
    font-size: 20px;
}

#aide-div {
    position: fixed;
    bottom: 40px;
    height: auto;
    padding: 10px;
}

@media (min-width: 600px) {
    .person-icon {
        margin-top: 10px;
        font-size: 30px;
    }
}

@media (min-width: 1024px) {
    #aide-div-box {
        margin-top: 200px;
    }

    #aide-div {
        position: relative;
        bottom: auto;
        height: 100%;
    }

    .person-icon {
        margin-top: 10px;
        font-size: 50px;
    }
}

.music-playing {
    animation: rotating 3s linear infinite;
}

/*通过@keyframes规则,能够创建动画 , que 定义动画的名称 可自己定义*/
@keyframes rotating {
    /*以百分比来规定改变发生的时间 也可以通过"from"和"to",等价于0% 和 100%*/
    0% {
        /*rotate(2D旋转) scale(放大或者缩小) translate(移动) skew(翻转)*/
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
    }
}