* {
    padding: 0;
    margin: 0;
    list-style: none;
}

#page_pv,
#page_uv{
    font-size: 3px;
}

body {
    overflow-x:  hidden;
}

div.guess_app#app{
    height: 90vh;
    position: relative;
}

div.guess_app#app::before {
    content: '';
    top: 30px;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    background-image: url(//digimons.love/pic/doru_q-mark.webp);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.5;
    z-index: -1;
}

.title{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #7FF;
    color: #333;
    font-size: 24px;
}

.header-container {
    margin-top: 7px;
    display: flex;
    align-items: center;
    justify-content: right;
}

.header-container button {
    margin-left: 1px;
}

.header-container .q2d {
    text-decoration: none;
    background-color: wheat;
    color: orange;
    padding: 5px 5px;
    border-radius: 5px;
}

.q2d:hover{
    cursor: pointer;
}

.search-container {
    position: relative;
    margin: 20px 20px 5px;
}

#userInput {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

#userInput:hover {
    cursor: text;
}

.suggestions {
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    background: white;
    display: none;
    z-index: 1000;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.suggestion-item:hover {
    background: #f0f0f0;
}

.buttonbar{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
}

.buttonbar > button {
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 10px;
    padding-right: 10px;
    width: 22.5%;
    height: 100%;
}

.guess_log_tab,
.guess_extra_log_tab{
    margin: 10px 4.5vw 0;
    border: 2px solid gray;
    border-radius: 15px;
    overflow: hidden;
}

.guess_log_tab{
    height: 20vh;
}
.guess_extra_log_tab{
    margin: 2px 4.5vw 0;
    height: 8.5vh;
}

ul.guess_tabs{
    width: 100%;
    height: 100%;
}

.guess_tabs{
    display: flex;
}

div.pic_digi{
    display: flex;
    background-color: #fff;
    justify-content:  center;
    align-items: center;
}

img.pic_digi{
    height: 70%;
}

li.guess_tabs{
    flex: 1;
    border: 1px dashed wheat;
}

li.guess_tabs_in{
    width: 100%;
    background-color: #ADEB;
    flex-basis: 30%;
    flex-wrap: wrap;
    flex-direction: column;
}

li.guess_tabs_in h4{
    font-size: 5vh;
}

li.guess_tabs_in h4.smaller{
    font-size: 2.5vh;
}

li.guess_tabs_in h4.smaller_er{
    font-size: 1.5vh;
}

.guess_tabs_name.g_tab_name{
    font-size: min(2.5vh, 3vw);
    background-color: #EDAB;
    border-bottom: 3px dotted #ddd;
    flex: 77;
}

.guess_tabs_name.g_tab_eng_name{
    font-size: min(1.5vh, 1.75vw);
    background-color: #DC9A;
    flex: 23;
}

.guess_tabs_name.g_tab_jpn_name{
    font-size: min(2.25vh, 2.75vw);
    background-color: #DC9A;
    flex: 23;
}

li.guess_tab_left{
    flex: 1;
}

ul.guess_tabs_right_in{
    display: flex;
    flex-wrap: wrap;
}

ul.guess_tabs_left_in{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

li.guess_tab_right{
    flex: 4;
}

ul.guess_tabs_left_in.extra_log_tab{
    display: flex;
    flex-wrap: nowrap;
}

ul.guess_tabs_right_in.extra_log_tab{
    display: flex;
    flex-wrap: nowrap;
}

.kougou_show {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    width: 80%;
    height: 85%;
    margin: 15vh 10% 5%;
}

.kougou_show.kougou_show-opened{
    display: block;
}

.kougou_info{
    width: 100%;
    height: auto;
    background-color: wheat;
    opacity: 0.75;
}

.kougou_info p{
    font-size: min(16px, 3vw);
}