body {
    padding: 10px 25px;
    background:
        linear-gradient(to right, rgb(168, 221, 252), transparent),
        linear-gradient(to left, rgb(245, 232, 182), transparent);
}

h1 {
    text-align: center;
    text-transform: uppercase;
    color: #22353d;
}

h2 {
    text-align: left;
    text-transform: uppercase;
    color: #394a51;
}

p {
    font-size: 20px;
}

#author {
    text-align: right;
    text-transform: uppercase;
    color: #435c67;
}

#note {
    text-align: center;
}

#author_note,
#guide {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    display: inline-block;
    width: 200px;
    height: auto;
    position: relative;
    margin: 10px 10%;
    padding: 10px 20px;
    overflow: hidden;
    border: none;
    font: normal normal bold 24px/1.2 "Comic Sans MS", cursive, sans-serif;
    color: rgb(243, 233, 96);
    -webkit-text-stroke: 1px rgb(62, 62, 43);
    text-align: center;
    vertical-align: text-top;

    text-indent: 1px;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.3);
    background: rgba(223, 189, 139, 0.25);
    box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
}

/* 所有按钮的基本属性 */
button {
    display: inline-block;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    /* width: 40px; */
    /* height: 24px; */
    cursor: pointer;
    margin: 2px 4px;
    padding: 8px 8px;
    border: 0px solid;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    font: normal normal bold 16px/normal "Comic Sans MS", cursive, sans-serif;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    vertical-align: top;
    -o-text-overflow: clip;
    text-overflow: clip;
    white-space: nowrap;

    background-image:
        linear-gradient(to right, #275bb7b5 0%, #5b9fdec1 66%, #7ebaf3c1 100%);
    background-size: 300% auto;
    background-position: right center;
    transition: 0.5s;

    -webkit-box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.2);
    box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.2);
    text-shadow: -1px -1px 0 rgba(15, 73, 168, 0.66);
}

button:hover {
    background-position: left center;
    /* background:  linear-gradient(to right, #275bb7b5 0%,#7ebaf3c1 100%); */
    /* background: #275bb7b5; */
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

/* 第二层的18个属性按钮 */
button.ctype-2 {
    width: 60px;
}

/* 第二层的清空按钮 */
button.clear-2 {
    background-image:
        linear-gradient(to right, rgba(85, 111, 197, 0.8) 0%, rgba(92, 122, 221, 0.8) 66%, rgba(121, 150, 248, 0.8) 100%);
    background-size: 300% auto;
    background-position: right center;
    transition: 0.5s;
}

button.clear-2:hover {
    background-position: left center;
}

button.func-3 {
    /* width: 40px;
    height: 16px; */

    background-image:
        linear-gradient(to right, #578b41b4 0%, #6caf4fab 66%, #9adf7cab 100%);
    background-size: 300% auto;
    background-position: right center;
    transition: 0.5s;

}

button.func-3:hover {
    background-position: left center;
}

/* 第三层的选中属性按钮 */
button.ctype-3 {
    width: 60px;
}

/* 选择"针对性"后出现的18个属性按钮 */
button.ftype-p {
    width: 60px;
}

/* 选择"针对性"后选中的属性按钮 */
button.ctype-p {
    width: 60px;
}

/* 选择"针对性"后的清空按钮 */
button.clear-p {
    background-image:
        linear-gradient(to right, rgba(85, 111, 197, 0.8) 0%, rgba(92, 122, 221, 0.8) 66%, rgba(121, 150, 248, 0.8) 100%);
    background-size: 300% auto;
    background-position: right center;
    transition: 0.5s;
}

button.clear-p:hover {
    background-position: left center;
}

/* 属性克制表的按钮 */
button.TW-type {
    margin: 0px;
    width: 20px;
    height: 20px;
    border-radius: 0px;
    font: normal normal bold 12px/normal "Comic Sans MS", cursive, sans-serif;
    -webkit-box-shadow: 0px 0px 0 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 0 0 rgba(0, 0, 0, 0.2);
    text-shadow: 0px 0px 0 rgba(15, 73, 168, 0.66);
    background: #3b80c1c1;
}


table {
    padding: 0px;
    margin: 10px 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid black;
}

table tbody tr:hover {
    background-color: rgba(229, 218, 121, 0.8);
}

#div_tabTW {
    text-align: center;
}

#tabTW {
    display: inline-block;
    background-image: url("./pic/TW.png");
    background-size: 160% auto;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
}

#tab-analysis-BTA,
#tab-analysis-ATB,
#tab-recommend {
    border-collapse: collapse;
    border: 2px solid black;
}

#div_resistance_table {
    text-align: center;
}

#tab-resistance {
    /* width: 60%; */
    border-collapse: collapse;
    border: 2px solid black;
    display: inline-block;
}

#div_analysis_table {
    text-align: center;
}

#tab-analysis-BTA,
#tab-analysis-ATB {
    display: inline-block;
    vertical-align: text-top;
    margin: 10px 8%;
    text-align: left;
}

#div_recommend_table {
    text-align: center;
}

#tab-recommend {
    display: inline-block;
    vertical-align: text-top;
    margin: 10px 5%;
    text-align: left;
}

#tab-resistance thead,
#tab-analysis-BTA thead,
#tab-analysis-ATB thead,
#tab-recommend thead {
    background: rgba(107, 172, 246, 0.5);
    color: rgb(255, 255, 255);
    border-bottom-width: 0;
    text-align: center;
}

#tab-resistance tr td,
#tab-analysis-BTA tr td,
#tab-analysis-ATB tr td,
#tab-recommend tr td {
    border-width: 2px;
    border-style: solid;
    border-color: rgb(0, 0, 0);
    border-left-width: 0px;
    border-right-width: 0px;
    border-bottom: 0px;
}

caption {
    color: rgba(86, 106, 165, 0.8);
    font: normal normal bold 20px/normal "Comic Sans MS", cursive, sans-serif;
    background-color: rgb(255, 255, 255, 0.5);
}

#tab-resistance tbody,
#tab-analysis-BTA tbody,
#tab-analysis-ATB tbody,
#tab-recommend tbody {
    background-color: rgba(246, 237, 142, 0.5);
    color: rgb(0, 0, 0);
}

#tab-resistance td.type {
    width: 400px;
    text-align: center;
}

#tab-analysis-BTA td.type,
#tab-analysis-ATB td.type {
    width: 250px;
    text-align: center;
}

#tab-resistance td.damage,
#tab-analysis-BTA td.damage,
#tab-analysis-ATB td.damage {
    width: 100px;
    text-align: center;
}

#tab-recommend .r_type,
#tab-recommend .anti,
#tab-recommend .res {
    width: 80px;
    text-align: center;
}

#tab-recommend .anti_type,
#tab-recommend .res_type {
    width: 200px;
    text-align: center;
}