hr{
    width: 100%;
}

.show-button{
    width: 100%;
}

.show-button p{
    margin: 0 auto;
}

#show{
    display: flex;
    float: right;
    background-color: #5e648b;
    color: white;
    border: 4px solid #46435b;
    border-radius: 2px;
    margin: 1px auto;
}

#character-f{
    width: 100%;
    height: 100%;
    z-index: 1000000;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
}

#character-menu{
    width: 60%;
    background-color: #ffffff;
    border: none;
    box-shadow: 0 2px 6px #cccccc;
    border-radius: 10px;
    display: flex;
    margin: auto 20% ;
    flex-wrap: wrap;
}

.character-menu{
    width: 90%;
    text-align: center;
    margin: 20px 5%;
    overflow: auto;
}

.character-menu .role{
    width: 25%;
}

.character-menu button{
    width: 100%;
}

.check-button{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: nowrap;
    margin-bottom: 20px;
}

.character-menu button{
    width: 100%;
    background-color: #70707080;
    color: white;
    border: 4px solid #94949480;
    border-radius: 2px;
    text-align: center;
}

#OK{
    width: 15%;
    background-color: #ff8808;
    color: white;
    border: 4px solid #9b5305;
    border-radius: 2px;
}

.characters{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.character{
    width: 23%;
    display: flex;
    align-items: top;
    justify-content: center;
    text-align: center;
    margin: 1%;
    background: #ff8808;
    flex-wrap: wrap;
}

.character a{
    text-decoration: none;
    color: #000000;
    font-size: 20px;
    font-family: 'Microsoft JhengHei';
}

.character a:hover{
    background: #ff7708;
}

.character img{
    width: 100%;
}

@media screen and (max-device-width:768px){
    .character a{
        font-size: 35px;
    }

    #show{
        font-size: 35px;
    }

    .character-menu button{
        height:75px;
        font-size: 20px;
    }

    #OK{
        width: 40%;
        font-size: 60px;
    }

    #character-menu{
        width: 90%;
        margin: auto 5%;
    }
}

@media (max-width: 520px) {
    .character a{
        font-size: 15px;
    }
}