body {
    font-family: 'Open Sans', sans-serif;
    background-color: #e3cfcb;
}

hr {
    border-top: 2px solid black;
    border-radius: 3px
}

p.footer {
    text-align: right;
    text-shadow: 1px 1px 2px #000000, 1px 1px 2px #000000, 1px 1px 2px #000000;
    color: aliceblue;
    letter-spacing: 1px;
    font-weight: bold;
}

i.footer {
    height: 24px;
    width: 24px;
    position: relative;
    top: 7px;
}

.heart-red {
    color: #ff4d4d
}

.title {
    color: aliceblue;
    text-align: center;
    text-shadow: 2px 2px 4px #000000;
}

.main_title {
    font-size: 26px;
}

.sub_title {
    margin-top: -20px;
    letter-spacing: 2px;
}

.simple_title {
    display: none;
    font-size: 4vw;
}

#back {
    position: fixed;
    top: 10px;
    left: 20px;
    font-weight: bold;
    font-size: 32px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
    width: 100px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    z-index: 1;
}

#character-box-button {
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 1;
}

#rank-selection-button {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
    padding: 10px 7px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 1;
}

.pointer-cursor {
    cursor: pointer;
}

/* RECIPE DATA ====================================================================================================== */
#recipe-data-div,
#catalog,
#character-box {
    text-align: center;
    margin: auto;
}

#catalog div {
    margin-top: 10px;
}

#catalog div i {
    cursor: pointer;
    margin-left: 1px;
    margin-right: 1px;
}

.names {
    display: inline-block;
    text-align: center;
    margin-right: 50px;
}

.names .name_en,
.names .name_jp {
    display: block;
    font-size: 18px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 15px 35px;
    border-radius: 10px;
    color: white;
    text-shadow: 1px 1px 2px #000000, 1px 1px 2px #000000, 1px 1px 2px #000000;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
    width: 200px;
    margin-top: 10px;
}

.names .name_jp {
    font-family: 'Noto Sans JP', sans-serif;
}

.images {
    display: inline-block;
}

.images .equip_img,
.images .frag_img {
    width: 100px;
    margin-bottom: -24px;
    border-radius: 10px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}

.images .frag_img {
    margin-left: 5px;
}

.current,
.legacy,
.legacy-2,
.cn,
.en,
.kr,
.tw {
    margin-top: 50px;
}

.current span.title,
.legacy span.title,
.legacy-2 span.title,
.cn span.title,
.en span.title,
.kr span.title,
.tw span.title,
.usage span.title,
.comp-usage span.title {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px #000000, 1px 1px 2px #000000, 1px 1px 2px #000000;
    width: 300px;
}

.usage span.title,
.comp-usage span.title {
    display: block;
    margin: 50px auto 10px;
}

.usage {
    margin-bottom: 30px;
}

p.node-desc,
.recipe_result .item-sprite span {
    font-family: "Calibri", Arial, serif;
    text-shadow: 1px 1px 4px #000000,
    1px 1px 4px #000000,
    1px 1px 4px #000000,
    1px 1px 4px #000000;
    text-align: right;
    font-weight: bold;
    font-size: 16px;
    color: white;
    position: relative;
}

p.node-desc:before,
.recipe_result .item-sprite span:before {
    content: '\00D7';
}

p.node-desc {
    font-family: "Calibri", Arial, serif;
    text-shadow: 1px 1px 4px #000000,
    1px 1px 4px #000000,
    1px 1px 4px #000000,
    1px 1px 4px #000000;
    text-align: right;
    font-weight: bold;
    font-size: 16px;
    color: white;
    margin-right: 5px;
    top: 12px;
}
p.node-desc:before {
    content: '\00D7';
}
div.node {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
    border-radius: 5px;
}

.recipe_result {
    margin-top: 10px;
}

.recipe_result .item-sprite {
    margin-right: 1px;
    margin-left: 1px;
}

.recipe_result .item-sprite span {
    display: block;
    text-align: right;
    margin-right: 5px;
    top: 28px;
}

#current_recipe,
#legacy_recipe,
#legacy_2_recipe,
#cn_recipe,
#en_recipe,
#kr_recipe,
#tw_recipe {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    text-align: left;
}

.comp-usage i.item-sprite,
#character-box span {
    cursor: pointer;
}

span.unit-sprite,
.comp-usage i.item-sprite {
    font-size: 24px;
    font-weight: bolder;
    color: white;
    text-shadow: 1px 1px 4px #000000,
        1px 1px 4px #000000,
        1px 1px 4px #000000,
        1px 1px 4px #000000;
    margin-left: 1px;
    margin-right: 1px;
    margin-top: 2px;
}

#character-box span:not(.enabled),
span.unit-sprite.disabled {
    -webkit-filter: grayscale(100%) opacity(50%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%) opacity(50%);
    transition: all 0.4s ease-out;
}

#character-box span:not(.enabled):hover {
    -webkit-filter: grayscale(0%) opacity(90%); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%) opacity(90%);
}

#rank-selection {
    text-align: center;
    margin: auto;
}

#rank-selection div {
    display: inline-block;
}

#rank-selection span.disabled {
    opacity: 0.5;
}

#rank-selection span {
    display: inline-block;
    width: 100px;
    margin-right: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000000, 1px 1px 2px #000000, 1px 1px 2px #000000;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
    padding: 15px 35px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
    cursor: pointer;
}

i.item-sprite.disabled {
    filter: grayscale(1);
    opacity: 0.3;
}

span.rank-1 {
    color: rgb(90, 190, 255)
}
span.rank-2,
span.rank-3 {
    color: rgb(255, 182, 140)
}
span.rank-4,
span.rank-5,
span.rank-6 {
    color: rgb(198, 211, 214)
}
span.rank-7,
span.rank-8,
span.rank-9,
span.rank-10 {
    color: rgb(249, 194, 62)
}
span.rank-11,
span.rank-12,
span.rank-13,
span.rank-14,
span.rank-15,
span.rank-16,
span.rank-17 {
    color: rgb(231, 109, 255)
}
span.rank-18,
span.rank-19,
span.rank-20 {
    color: rgb(247, 81, 90)
}

span.rank-21,
span.rank-22,
span.rank-23 {
    color: rgb(41, 223, 123)
}

span.rank-24,
span.rank-25,
span.rank-26,
span.rank-27 {
    color: rgb(255, 170, 24);
}

span.rank-28,
span.rank-29,
span.rank-30,
span.rank-31 {
    color: rgb(8, 251, 247);
}

@media (max-width: 600px) {
    .main_title,
    .sub_title {
        display: none;
    }

    .simple_title {
        display: block;
    }
}

@media (max-width: 560px) {
    .names {
        margin-right: 0;
    }
    .names .name_en,
    .names .name_jp {
        width: 40vw;
    }
    .images {
        display: block;
        margin: 10px auto auto;
    }
    .images .equip_img,
    .images .frag_img {
        width: 75px;
        border-radius: 8px;
    }
}