@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
html{
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: normal;;
}

.container{
    margin: 1.5em;
}

table{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1em;
}

th{
    background-color: #b0e670;
    padding: 15px;
    
}

tr, td{
    text-align: left;
    display: flex;
    align-items:center;
    justify-content: stretch;
    /*! border-bottom: 1px solid gray; */
    height: 100%;
}

tr.head{
    height: fit-content;
}

tr th{
    border-right: 1px solid #b0e670;
}
thead th{
    padding: 0;
    border-bottom: 1px solid #96ca59;
    font-weight: 300;
}

tbody{
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

tbody tr{
    position: relative;
    overflow-y: scroll;
    border-bottom: 1px solid #b9e189;
}

td.title{
    font-weight: 400;
}

tr td{
    /*! border-bottom:1px solid black; */
    border-right: 1px solid #b9e189;
    height: max-content;
    overflow: hidden;
}

tr td:nth-child(1),
tr th:nth-child(1){
    min-width: 200px;
    padding: 10px 15px;
    width: 100%;
}

tr td:nth-child(2),
tr th:nth-child(2){
    max-width: 50px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
    width: 100%;
}

tr td:nth-child(3),
tr th:nth-child(3){
    max-width: 200px;
    padding: 10px 15px;
    width: 100%;
}

td:nth-child(4),
th:nth-child(4){
    max-width: 100px;
    padding: 10px 15px;
    width: 100%;
    height: 100%;
}

td:nth-child(5),
th:nth-child(5){
    max-width: 100px;
    padding: 10px 15px;
    width: 100%;
    height: 100%;
}

td:nth-child(6),
th:nth-child(6){
    max-width: 100px;
    padding: 10px 15px;
    width: 100%;
    height: 100%;
}

img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

.cover {
    height: 100%;
    overflow: hidden;
    padding: 0;
    width: auto;
    flex-grow: 2;
    max-height: 70px;
}

.cover img {
    aspect-ratio: 1 / 1;
}

button, input[type=submit]{
    appearance: none;
    background-color: green;
    padding: 8px 18px;
    color:white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: 0.2s ease-in-out all;
}

button:hover, 
input[type=submit]:hover{
    background-color: greenyellow;
}

label{
    display: inline-flex;
    justify-content: center;
}
input[type=checkbox]{
    appearance: none;
    width: 20px;
    height: 20px;
    display: flex;
    position: relative;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

input[type=checkbox]::after{
    content: '';
    display: block;
    height: 7px;
    border: 1px solid black;
    rotate: -40deg;
    transform-origin: 0% 20%;
}

input[type=checkbox]::before{
    content: '';
    display: block;
    height: 7px;
    border: 1px solid black;
    rotate: 40deg;
    transform-origin: 100% 20%;
}

input[type=checkbox]:checked{
    rotate: 180deg;
}