@charset "utf-8";

/* maincontainersoftware */

.forchecker{
    grid-template-rows: 4rem 7rem 8rem 1fr 8rem !important;
}

.maincontainersoftware{
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    row-gap: 8rem;
}

.softwarecontainer{
    display: flex;
    width: 12.5%;
    height: 15rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.softwarecontainer:has(p.true){
    display: flex;
}

.softwarecontainer:has(p.false){
    display: none;
}

.softwareicon{
    width: 9rem;
    height: 9rem;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    margin-bottom: 1rem;
}

.softwarename , .softwareversion{
    font-weight: normal;
    text-align: center;
    color: var(--under);
}

.softwarename{
    font-size: 2rem;
    line-height: 2.5rem;

}

.softwareversion{
    font-size: 1.5rem;
    line-height: 2rem;
}

/* checker */

.checker_bar{
    width: 100%;
    height: 100%;
    padding-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    background-color: var(--back);
    gap: 2rem;
}

.sample_bar_set{
    width: 50%;
    display: flex;
    gap: 2rem;
}

.sample_bar{
    width: 25%;
    height: 100%;
    font-size: 2rem;
    line-height: 4rem;
    text-align: center;
    overflow: scroll;
    word-break: keep-all;
}

.sample_bar_set button{
    width: calc(100% / 3);
    height: 100%;
    background-color: var(--middle);
    color: var(--under);
    font-size: 2rem;
    line-height: 4rem;
    text-align: center;
    border: none;
}

.checker_bar select{
    width: calc(100% / 3);
    height: 100%;
    background-color: var(--middle);
    color: var(--under);
    font-size: 2rem;
    line-height: 4rem;
    text-align: center;
    border: none;
    -webkit-appearance: none;
    appearance: none;
}

.checker_bar select option{
    font-size: 3rem;
    line-height: 6rem;
    text-align: center;
}

.checker_bar #checker_today{
    width: calc(50% - 12rem);
    background-color: var(--middle);
    color: var(--under);
    font-size: 4rem;
    line-height: 4rem;
    text-align: center;
    padding: 1rem 4rem;
    font-weight: bold;
}

.checker_bar #count{
    width: 12rem;
    height: 100%;
    background-color: var(--accent);
    color: var(--middle);
    font-size: 4rem;
    line-height: 6rem;
    text-align: center;
    padding: 1rem auto;
    font-weight: bold;
}

.sample_bar_set button:active{
    transform: var(--active);
}

.checker_container{
    max-width: 100%;
    height: 100%;
    overflow-y: scroll;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-content: flex-start;
    row-gap: 2rem;
}

.timer_container{
    width: 100%;
    height: 14rem;
    background-color: var(--middle);
    display: grid;
    grid-template-columns: 1rem 4rem 1fr 2.5rem 26.5rem 1rem 8rem;
    grid-template-rows: 3rem 6rem;
    row-gap: 1rem;
    padding: 2rem;
    border-radius: 2rem;
    border: none;
}

.st_bar{
    width: 100%;
    height: 100%;
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    background-color: var(--high);
    border-radius: 1rem;
}

.work{
    max-width: 100%;
    height: 100%;
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    padding: 1rem;
    margin-left: 1rem;
    font-size: 3rem;
    line-height: 4rem;
    overflow: auto;
    color: var(--under);
    text-align: left;
}

.work_style{
    padding-left: 4rem;
    width: 100%;
    height: 100%;
    grid-column: 5 / 8;
    grid-row: 1 / 2;
    background-color: var(--high);
    border-radius: 1rem;
    font-size: 2rem;
    font-weight: bold;
    line-height: 3rem;
    color: var(--under);
    text-align: left;
}

.timer{
    width: 100%;
    height: 100%;
    grid-column: 5 / 6;
    grid-row: 2 / 3;
    background-color: var(--high);
    color: black;
    font-size: 3rem;
    line-height: 6rem;
    text-align: center;
    border-radius: 1rem;
    font-weight: bold;
}

.remain{
    width: 100%;
    height: 100%;
    grid-column: 7 / 8;
    grid-row: 2 / 3;
    background-color: var(--high);
    color: black;
    border-radius: 1rem;
    font-size: 3rem;
    line-height: 6rem;
    text-align: center;
    font-weight: bold;
}

.black{
    background-color: black;
    color: white;
    transition: none;
}

.end{
    background-color: var(--under);
    color: white;
    transition: none;
}

.blue{
    background-color: blue;
    color: white;
    transition: none;
}

.yellow{
    animation: 2.5s infinite steps(2, jump-none) yellowbrink;
    transition: none;
}

.red{
    animation: 2s infinite steps(2, jump-none) redbrink;
    transition: none;
}

.yellownon{
    background-color: yellow;
    color: black;
}

.rednon{
    background-color: red;
    color: white;
}

@keyframes redbrink{
    0%{
        background-color: red;
        color: var(--high);
    }
    100%{
        color: red;
        background-color: var(--high);
    }
}

@keyframes yellowbrink{
    0%{
        background-color: yellow;
        color: black;
    }
    100%{
        color: var(--hyper);
        background-color: var(--high);
    }
}

.regist_container{
    max-width: 100%;
    height: 100%;
    background-color: var(--middle);
    color: var(--under);
    border-radius: 2rem;
    padding: 4rem;
    display: grid;
    gap: 4rem;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 40rem 20rem 40rem 1fr;
}

#title , #style , #date , #gen{
    border: none;
    padding: 2rem;
    font-size: 4rem;
    border-radius: 2rem;
    text-align: center;
}

#title , #style , #date{
    width: 100%;
    grid-column: 1 / 2;
    color: var(--under);
    background-color: var(--high);
}

#gen{
    width: 100%;
    grid-column: 1 / 3;
    color: var(--high);
    background-color: var(--accent);
    font-weight: bold;
}

#gen:active{
    transform: var(--active);
}

#nowdate{
    grid-row: 1 / 4;
    grid-column: 2 / 3;
    width: 100%;
    height: 100%;
    padding: 2rem;
    font-size: 8rem;
    border-radius: 2rem;
    justify-content: center;
    display: flex;
    align-items: center;
    color: var(--under);
    background-color: var(--high);
    font-weight: bold;
}

#nowh1{
    padding: 4rem 0 0 4rem;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    z-index: 2;
    color: var(--undera);
}

/* modal */

.modalcontaineroption{
    width: 56.25%;
    height: 56.25%;
    aspect-ratio: 16 / 9;
    background-color: var(--back);
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 4rem 1fr 7rem;
}

.checkermodal{
    font-size: 3rem;
    line-height: 4rem;
    text-align: left;
    color: var(--accent);
    grid-row: 2 / 3;
    padding: 4rem 0;
}

.checkermodalbtnset{
    width: 100%;
    grid-row: 3 / 4;
    display: flex;
    gap: 4rem;
    justify-content: right;
}

/* button */

.btn , .btn_e{
    height: 100%;
    width: fit-content;
    padding: 2rem 4rem;
    font-size: 3rem;
    line-height: 3rem;
    border: none;
    border-radius: 2rem;
    transition: 0.1s;
    transform-origin: center;
    word-break: keep-all;
    overflow: scroll;
}

.btn:hover , .btn_e:hover{
    opacity: 0.8;
}

.btn:active , .btn_e_active{
    transform: var(--active);
}

.btn{
    color: var(--under);
    background-color: var(--middle);
}

.btn_e{
    color: var(--high);
    background-color: var(--accent);
}

.btn_e:disabled{
    filter: saturate(0);
}

/* dialog */

.option{
    width: 50rem;
    height: max-content;
    display: flex;
    flex-direction: column;
    background-color: var(--middle);
    color: var(--accent);
    box-shadow: 0px 0px 2rem rgba(0, 0, 0, 0.2);
    position: fixed;
    z-index: 5;
}

.dia_btns{
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0px;
    border: none;
}

#option h1{
    width: 100%;
    height: 6rem;
    font-size: 4rem;
    line-height: 6rem;
    background-color: var(--high);
    margin: 0px;
    padding: 0px 1rem;
}

.dia_btns button{
    width: 100%;
    height: 6rem;
    border-radius: 3rem;
    font-size: 4rem;
    line-height: 6rem;
    border: none;
    margin: 0px;
    padding: 0px 2rem;
    text-align: left;
    background-color: var(--middle);
    color: var(--under);
    transform-origin: center;
    transition: 0ms;
}

.dia_btns button:hover{
    background-color: black;
    color: white;
}

.dia_btns button:active{
    transform: var(--active);
}

.hold{
    background-color: green !important;
    color: white;
    animation: none !important;
    transition: none;
}

div.remain.hold , div.remain.end{
    transform-origin: left;
    transform: scale(0.6 , 1);
    width: calc(100% / 0.6);
    transition: none;
}

#detailbox{
    width: 100%;
    height: auto;
    aspect-ratio:  2 / 1;
    padding: 1rem;
    margin-bottom: 0px;
    border: 1px var(--accent) solid;
    font-size: 3rem;
    line-height: 4rem;
}