@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

@font-face {
    font-family: 'NotoSansThai';
    src: url(NotoSansThai.woff) format('woff');
}
html {
    position:relative;
    height:100%;
    width:100%;
    padding:0;
    margin:0;
}
body {
    position:relative;
    padding:0;
    margin:0;
    font-family: 'NotoSansThai', sans-serif;
    font-size: min(10px, 1.5vw);
    height:100%;
    width:100%;
}
a.menuLink {
    font-family: 'NotoSansThai', sans-serif;
    font-size: min(10px, 1.5vw);
    text-decoration: none;
    color:#6e1312;
}
a:visited.menuLink {
    font-family: 'NotoSansThai', sans-serif;
    font-size: min(10px, 1.5vw);
    text-decoration: none;
    color:#6e1312;
}

a:hover.menuLink {
    text-decoration: underline;
}

input, option {
    font-family: 'NotoSansThai', sans-serif;
    font-size: min(10px, 1.5vw);
}

/*table tr td {*/
/*    align-content: center;*/
/*}*/

fieldset {
    border: 0;
}
label {
    display: block;
    margin: 0.5vw 0 0 0;
}
td {
    font-size: calc(30px + 0.1vw);
    padding: 1vw 1vw 1vw 1vw;
}


/* The sidepanel menu */
.sidepanel {
    height: 250px; /* Specify a height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    /*top: 0;*/
    /*left: 0;*/
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
}

/* The sidepanel links */
.sidepanel a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidepanel a:hover {
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidepanel .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* Style the button that is used to open the sidepanel */
.openbtn {
    font-size: calc(35px + 0.1vw);
    cursor: pointer;
    background-color: white;
    color: #6e1312;
    padding: 0.5vw 1vw;
    border: none;
}

.openbtn:hover {
    background-color: #6e1312;
    color:white;
}
