.topButton{
    position: fixed;
    right: 5%;
    bottom: 15%;
    font-weight: bold;
    background-color: rgba(0,128,128,0.2);
    transition: background-color 0.5s;
    padding: 10px;
}
.topButton:hover{
    background-color: rgba(0,128,128,1);
}
.menuButton{
    position: fixed;
    font-size: 64px;
    background-color: #3f51b500;
    transition: background-color 0.5s;
    left: 0%;
    padding-left: 10px;
    padding-top: 30px;
    padding-bottom: 30px;
    top: 50%;
    transform: rotate(0deg);
    transition: background-color 0.5s, left 0.5s, transform 0.5s;
}
.menuButton:hover{
    background-color: #3f51b580;
}
.menuButtonR{
    left: 50%;
    transform: rotate(180deg);
    background-color: #3f51b5ff;
}
.linkButton{
    display: block;
    position: relative;
    color: #88888800;
    text-decoration: none;
    margin-left: -32px;
    line-height: 0;
    float: left;
    top: 15px;
    right: 0%;
    padding-right: 4px;
    transition: color 0.5s;
}
.line:hover .linkButton{
    color: #888888FF;
}
.setting{
    margin: 4px;
    transition: background-color 0.5s;    
}
.setting *{
    margin: 4px;
    
}
.settingshow{
    background-color: rgba(0, 0, 0, 0.2);
}
#settingbutton{
    padding: 4px;
    float: left;
}
#settingbutton:hover{
    background-color: rgba(255, 255, 255, 0.2);
}
#settingbutton:hover ~ #settingtitle{
    color:rgba(255, 255, 255, 1);
}
.settingtitle{
    font-weight: bold; 
    font-size: 18px; 
    padding: 4px;
    float: left;
    color: rgba(255, 255, 255, 0);
    transition: color 0.5s;
}
.settingshow .settingtitle{
    color:rgba(255, 255, 255, 1);
}

input{
    font-size: unset;
    background-color: rgba(0,0,0,0);
    margin-bottom: -2px;
    border-radius: 0px;
    border-width: 0px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    color:rgb(255, 255, 255);
    transition: border-color 0.5s;
}
input:hover{
    border-bottom: 2px solid rgba(255, 255, 255, 1);
}
input:active{
    border-bottom: 2px solid rgba(255, 255, 255, 1);
}

.warning{
    position: fixed;
    right: 5%;
    bottom: 25%;
    display: block;
    width: 20%;
    background-color: rgba(248, 160, 160, 0.2);
    padding: 4px;
    border-radius: 4px;
    font-size: x-small;
}
.currentLang{
    text-align: center;
    background-color: rgb(36, 54, 153);
    font-weight: bold;
}
.langSelect{
    display: none;
    position: absolute;
    margin: auto;
    width: 100%;
    text-align: center;
}
.langSelect div{
    text-align: center;
    background-color: rgb(57, 61, 87);
    
}
.langSelect div:hover{
    background-color: rgb(114, 122, 173);
}
.currentLang:hover .langSelect{
    display: block;
}
.eventtype{
    text-align: center;
    font-weight: bolder;
    color: #ffc4c4;
    background-color: #383838;
    padding: 4px;
}
.eventname{
    font-weight: bold;
    background-color: rgba(42,186,255,0);
    margin: 4px;
    margin-left: 10px;
    padding: 2px;
    transition: padding 0.2s;
}
.eventnamehl{
    background-color: rgba(42,186,255,0.4);
    padding: 5px;
}
.eventname:hover{
    padding: 10px;
    background-color: rgba(42,186,255,0.2);
}
.story{
    margin: 4px;
    margin-left: 40px;
    transition: padding 0.2s;
}
.story:hover{
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px;
}
.storyFocused{
    background-color: #f4433633;
    padding: 5px;
}
.storydata{
    font-weight: bold;
    margin: 10px;
}
.storycode{
    font-size: x-small;
    color: rgba(255, 255, 255, 0.8);
}
.storyname{
    font-weight: normal;
}
.line{
    height: max-content;
}
.textblock{
    margin: 4px;
}
.nameblock{
    background-color: unset;
    width: 100px;
    float: left;
    margin: 2px;
    margin-right: 6px;
    text-align: right;
    font-weight: bold;
}
.contentblock{
    background-color: unset;
    max-width: 650px;
    float: left;
    margin: 2px;
}
.Subtitle{
    background-color: unset;
    margin: 4px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding: 10px;
    clear: both;
}
.line img{
    max-width: 500px;
    max-height: 300px;
    margin: 4px;
    margin-left: 114px;
}
.Decision{
    margin: 4px;
}
.option{
    text-align: center;
    margin: 4px;
    padding: 4px;
    transition: background-color 0.5s;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.4);
}
.option:hover{
    background-color: rgba(255, 255, 255, 0.2);
}
.Predicate{
    font-size: 50%;
    margin: 4px;
    transition: background-color 0.5s;
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(0, 0, 0, 0.4);
}
.optText{
    float: left;
    padding: 4px;
}
.toEnd{
    padding: 4px;
    padding-left: 83px;
    width: 21px;
    float: right;
    background-color: rgba(58, 58, 58, 0.5);
    transition: width 0.5s, padding-left 0.5s;
    overflow: hidden;
    max-height: 70px;
    text-align: right;
    white-space: nowrap;
}
.toEnd:hover{
    width: 100px;
    padding-left: 4px;
    background-color: rgba(255, 255, 255, 0.5);
}
.Delay{
    max-height: 50px;
    background-color: rgba(255, 255, 255,0);
}
.Delay hr{
    border: none;
    height: 0px;
    background-color: slategray;
    margin: auto;
}
@media (max-width: 1000px){
    .warning{
        font-size: 20px;
        width: 300px;
        background-color: rgb(90, 58, 58);
    }
    .nameblock{
        width: 150px;
        word-wrap: break-word;
    }
    .topButton{
        font-size: 70px;
    }
    .menuButton{
        font-size: 100px;
        background-color: rgba(0,128,128,0.2);
        transition: none;
    }
    .menuButtonR{
        left: 80%;
    }
    .eventtype{
        font-size: 40px;
    }
    .eventname{
        font-size: 40px;
    }
    .story{
        font-size: 30px;
    }
    .storycode{
        font-size: 20px;
    }
    .currentLang{
        font-size: 40px;
    }
    .langSelect{
        font-size: 40px;
    }
    .option{
        font-size: 30px;
    }
    .settingtitle{
        font-size: 30px;
        margin: 10px 0;
    }
    input{
        font-size: 30px;
    }
    .settingoptions *{
        font-size: 30px;
    }
}