@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
}

body {

    /* background: url('image/background.jpg'); */
    background-size: cover;
    background-repeat: no-repeat;
    font-size: 20px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-attachment: fixed;

}

a:link {
    color: rgb(8, 82, 8);
    text-decoration: none;
}

a:visited {
    color: rgb(8, 82, 8);
    text-decoration: none;
}

.container {
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.title {
    text-align: center;
    letter-spacing: 0.5rem;
    color: rgb(201, 255, 5);
    text-shadow: 4px 4px 3px rgb(35, 36, 35);
    background-color: rgba(34, 29, 9, 0.342);
    margin-bottom: 5px;
    /* font-size: 8vw;
    font-weight: bold;
    line-height: 8vw; */
}

.explain {
    background-color: rgba(105, 168, 124, 0.616);
    padding: 5px;
    border-radius: 4px;
    font-size: 12px;
    margin: 5px;
}

.main {
    border-radius: 5px;
    background-color: #fffffff1;
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
}

.subplot {
    border-radius: 5px;
    background-color: #fffffff1;
    padding: 10px;
    margin: 5px;
    display: inline;
}

.mbutton {
    background-color: rgb(147, 224, 123);
    border: 2px solid rgb(1, 82, 5);
    padding: 5px;
    border-radius: 4px;
    margin: 15px;
    padding: 5px;
    text-align: center;
    box-shadow: 10px 10px 20px black;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text],
select,
textarea {
    width: 100%;
    /* Full width */
    padding: 12px;
    /* Some padding */
    border: 2px solid rgb(1, 82, 5);
    /* Gray border */
    border-radius: 4px;
    /* Rounded borders */
    box-sizing: border-box;
    /* Make sure that padding and width stays in place */
    margin-top: 6px;
    /* Add a top margin */
    margin-bottom: 16px;
    /* Bottom margin */
    resize: vertical
        /* Allow the user to vertically resize the textarea (not horizontally) */
}

#plotsize1,
#plotsize2,
#subplot {
    width: 70px;
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
    background-color: rgb(22, 97, 24);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    box-shadow: 5px 5px 10px black;
}

.header {
    width: 100%;
    position: fixed;
    top: 0;
    text-align: center;
    z-index: 9;
    background-color: #165a01;
    padding: 15px;
    color: rgb(253, 253, 253);
}

.container2 {
    width: 95%;
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translate(-50%);
}

.sbutton {
    background-color: rgb(10, 82, 37);
    color: white;
    font-size: 12px;
    padding: 4px;
    margin: 5px;
    cursor: pointer;
}

.cursor {
    cursor: pointer;
}

.delrow {
    position: absolute;
    right: 0;
    bottom: 0;
}

.xy {
    position: relative;
    font-size: 16px;
    width: 100%;
    /* Full width */
    padding: 12px;
    /* Some padding */
    border: 2px solid rgb(1, 82, 5);
    /* Gray border */
    border-radius: 4px;
    /* Rounded borders */
    box-sizing: border-box;
    /* Make sure that padding and width stays in place */
    margin-top: 6px;
    /* Add a top margin */
    margin-bottom: 16px;
    /* Bottom margin */
    resize: vertical
        /* Allow the user to vertically resize the textarea (not horizontally) */
}

.del {
    position: absolute;
    top: -2px;
    right: 6px;
    color: #da2020;
    z-index: 64;
}

.clickarea {
    margin-right: 10px;
}

/* increment number in table */
.css-serial {
    counter-reset: serial-number;
    /* Set the serial number counter to 0 */
}

.css-serial td:first-child:before {
    counter-increment: serial-number;
    /* Increment the serial number counter */
    content: counter(serial-number);
    /* Display the counter */
}


#growth {
    font-size: 14px;
    border-collapse: collapse;
    width: 100%;
}

#growth td,
#growth th {
    border: 1px solid rgb(5, 80, 34);
    padding: 8px;
    position: relative;
}

#growth tr:nth-child(even) {
    background-color: #f2f2f2;
}

#growth tr:hover {
    background-color: #ddd;
}

#growth th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: rgb(4, 102, 7);
    color: white;
}

.center {
    text-align: center;
}

.indent {
    padding-left: 20px;
}


.add-button {
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translate(-50%);
    padding: 2px;
    background-color: rgb(191, 208, 190);
}

.responsive {
    width: 100%;
    max-width: 800px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.foot {
    margin: 20px;
    padding: 8px;
    border: 1px dotted black;
    font-size: 16px;
}

.foot a:link,
.foot a:visited {
    color: #0070ff;
    font-weight: bold;
}