@font-face{
    font-family: 'nicomoji';
    src: url('fonts/nicomoji-plus_v2-5.woff2') format('woff2');
}

#input {
    margin-bottom: 20px;
}

#input_name {
    display: inline-block;
    width: calc(100% - 80px);
    padding: 11px 7px;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #c00000;
    border: 2px solid #e71010;
}

#btn_generate_word {
    display: inline-block;
    width: 70px;
    padding: 6px 0;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    border: 2px solid #888;
    cursor: pointer;
    border-radius: 3px;
}

#btn_generate_word.disabled {
    color: #fff;
    background: #999;
}

#kotoba {
}

#kotoba_mahou {
    display: block;
    width: 300px;
    height: 300px;
    margin: 0 auto;

}

#kotoba_mahou.start {
    animation:7s linear infinite rotation1;
    opacity: 1;
    transition: opacity 1s ease-in;
}

#kotoba_mahou.hidden {
    display: none;
}

#kotoba_generating {
    margin: 10px 0;
    text-align: center;
    font-family: nicomoji;
    font-size: 20px;
}

@keyframes rotation1{
    0%{ transform:rotate(0);}
    70%{ opacity: 0;transform:rotate(170deg); }
}

#kotoba_word {
    position: relative;
    margin-bottom: 20px;
    padding: 12px 20px 50px;
    min-height: 200px;
    text-align: left;
    border: 2px solid #ededed;
}

#kotoba_word.hidden {
    display: none;
}

#kotoba_headline {
    width: 100%;
    padding: 0;
}

#kotoba_title {
    font-size: 12px;
}

#kotoba_subtitle {
    margin-bottom: 20px;
}

.kotoba_block {
    padding: 0 14px;
    font-family: nicomoji;
    font-size: 20px;
    line-height: 2em;
    background-image: linear-gradient(transparent 0, transparent 97%, #b7cfff 100%);
    background-size: 100% 2em;

    opacity: 0;
    transition: opacity 1s ease-in;
}

#kotoba_noroi_result {
    color: #a72525;
}

#kotoba_date {
    color: #a72525;
}

.show {
    opacity: 1;
}

#kotoba_name {
    color: #a72525;
}

#kotoba_radical {
    color: #a72525;
}

#save_kotoba {
    margin-bottom: 10px;
    padding: 6px 0;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border: 2px solid #888;
    cursor: pointer;
    border-radius: 3px;
    background: url("../img/content/icon_save.png") no-repeat right 10px top 10px;
    background-size: 26px;
}

#save_kotoba.hidden {
    display: none;
}

#ama_link_kotoba {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    text-decoration: underline;
}
