*{
    box-sizing: border-box;
}
body{
    background-color: #eee;
}
@keyframes x {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
#八卦-sweeter{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#八卦{
    width: 400px;
    height: 400px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    animation: x 5s infinite linear;
    box-shadow:0px 0px 5px 1px #333333;
}
@media (max-width: 500px) {
    #八卦{
        width: 200px;
        height: 200px;
    }
}
#八卦>div:first-child{
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    background-color: black;
}
#八卦>div:nth-child(2){
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
    background-color: white;
}
#八卦>div:nth-child(3){
    width: 200px;
    height: 200px;
    border-radius: 50%;
    left: 50%;
    margin-left: -25%;
    position: absolute;
    background-color: black;
}
@media(max-width: 500px) {
    #八卦>div:nth-child(3){
        width: 100px;
        height: 100px;
    }
}
#八卦>div:nth-child(4){
    width: 200px;
    height: 200px;
    border-radius: 50%;
    left: 50%;
    bottom: 0;
    margin-left: -25%;
    position: absolute;
    background-color: white;
}
@media(max-width: 500px) {
    #八卦>div:nth-child(4){
        width: 100px;
        height: 100px;
    }
}
#八卦>div:nth-child(5){
    width: 50px;
    height: 50px;
    border-radius: 50%;
    left: 50%;
    top: 75px;
    margin-left: -25px;
    position: absolute;
    background-color: white;
}
@media(max-width: 500px) {
    #八卦>div:nth-child(5){
        width: 25px;
        height: 25px;
        top: 37.5px;
        margin-left: -12.5px;
    }
}
#八卦>div:nth-child(6){
    width: 50px;
    height: 50px;
    border-radius: 50%;
    left: 50%;
    bottom: 75px;
    margin-left: -25px;
    position: absolute;
    background-color: black;
}
@media(max-width: 500px) {
    #八卦>div:nth-child(6){
        width: 25px;
        height: 25px;
        bottom: 37.5px;
        margin-left: -12.5px;
    }
}
.text{
    margin-top: 1em;
}