body{
    background-color: DimGrey;
    margin: 0;
}
li{
    font-family: 'Courier New', Courier, monospace;
}

#header{
    color: rgb(146, 133, 113);
    width: 100%;
    padding: 0 0;
    border: 1px solid #ddd;
    text-align: center;
    color: white;
    background: #d0cfda;
}

#TopMenu{
    width: 100%;
    position: relative;
    top: 0px;
    z-index: 888;
    overflow: hidden;
    background: rgb(239, 239, 239);
}
#TopMenu a {
    width: 1%; 
    float: left; 
    font-size: 36px; 
    padding: 0; 
    border: 0;
    color: DimGrey; 
    cursor: pointer; 
    position: relative;
}
#TopMenu button {
    width: 17%;
    float: right;
    display: block;
    color: black;
    text-align: center;
    margin: 0px;
    padding: 15px 22px;
    border: 0;
    cursor: pointer;
    font-size: 20px;
    /*text-decoration: none;*/
}

#TopMenu button:hover {
  background-color: #e8e8f1;
  border-radius: 5px;
  padding: 13px 22px;
  border: 2px solid #929299;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  color: black;
}

/*側邊下滑*/
#SideOption{
    position: absolute;
    display: none;
    background-color: #d0cfda;
    float: left;
    width: 20%;
    z-index: 998;
}

.dropdown {
    /*visibility: hidden;*/
  	position: relative;
    /*left: 50px;*/
    display: none;
    font-size: 13px;
    width: 1px;
  	background: red;
  	transition: width 2s;
}

.dropdown:hover{
	background-color: #ff0000;    
    width: 775px;
    cursor: pointer;/*鼠標在上面會變手*/
}

.dropdown:hover .dropdown-content {
	display: block;
}
.dropdown-content{
    display: none;
    position: absolute;
    min-width: 200px;
    background-color: #f9f9f9;    
    box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 20%);/*第1個代表影子左移， 第2個代表影子下移， 第3個代表影子模糊度， 第4個代表影子範圍*/
    padding: 1px 15px;
    z-index: 999;
    font-size: 13px;
}

/*一般下滑*/
.NormalDropdown{
    left: 50px;
    font-size: 20px;
}
.NormalDropdown:hover{ 
    background-color: #251717;    
    cursor: pointer;/*鼠標在上面會變手*/
}
.NormalDropdown:hover .DropdownContent {
	display: block;
}
.DropdownContent{
    display: none;
    /*position: absolute;*/
    left: 570px;
    min-width: 200px;
    background-color: #f9f9f9;    
    box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 20%);/*第1個代表影子左移， 第2個代表影子下移， 第3個代表影子模糊度， 第4個代表影子範圍*/
    padding: 1px 15px;
    z-index: 1;
    font-size: 13px;
}
.form1{
	background-color: #ffffff;
    color: rgb(5, 5, 5);
    font-size: 20px;
    left: 0px;
}

.side{
    float: left;
    width: 20%;
}
#LeftSideSpace{
    float: left;
    width: 20%;
    display: block;
}
.column{
    float: left;
    width: 60%;
    padding: 0px;
    margin: 0px;
    border: 0px;
}
.column div h2{
    padding: 0px 20px 50px 20px; 
    color: #1a0d15; 
    font-size: 50px;
}
#footer{
    width: 100%;
    background-color: rgb(239, 239, 239);
    color: rgb(8, 8, 8);
    padding: 16px;
    font-size: 13px;
    text-align: center;
}

/*Game*/
#GameInitOption{
    width: 30%;
    height: auto;
    position: absolute; 
    z-index: 2; 
    cursor: pointer;
    margin-top: 140px;
    margin-left: 15%;
}
#GameText{
    display: none; 
    position: absolute; 
    right: 20px; 
    color: rgb(250, 249, 244);
}

/*Other*/
#others button{
    width: 25%;
    float: left;
    display: block;
    color: black;
    background-color: darkgray;
    text-align: center;
    margin: 10px;
    padding: 15px 22px;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
}
#DrawChooser{
    display: none; 
    position: absolute; 
    right: 0px; 
    color: white;
    width: 100px;
}

/*////////////////////////////////////////////////////////////////////////////////////////////*/

/*set table*/
table, th, td {
    padding: 10px;
    border: 1px solid black;
    border-collapse: collapse;
}
/*table content*/
tr:nth-child(even) {
    background-color: #eee;
    font-size: 20px;
}
tr:nth-child(odd) {
    background-color: #fff;
    font-size: 20px;
}
/*table header*/
th { 
    background-color: rgb(66, 54, 43);
    color: white;
    width: 20px;
    font-size: 30px;
}
/*///////////////////////////////////////////////////////////////////////////////////////*/

* {
    box-sizing: border-box;
  }
  
  input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
  }
  input[type=button] {
    background-color: #f5fcf5;
    color: rgb(17, 16, 16);
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
  }
  /*固定的文字*/
  label {
    padding: 12px 12px 12px 0;
    display: inline-block;
    border: 1 solid black;
  }
  
  /*外面的邊框*/
  .container {
    border-radius: 5px;
    background-color: #777474d2;
    padding: 20px;
  }
  /* Clear floats after the columns */
  .row:after {
    content: "";
    display: table;
    clear: both;
  }


  @media only screen and (max-width:1200px){
    
    /*Main Control*/
    #LeftSideSpace{display: none;}
    .column{
        float: right;
        width: 80%;
    }
    #SideOption{ width: 100%;}
    #TopMenu a {
        width: 100%;
        color: rgb(239, 239, 239); 
        background: DimGrey;
    }
    #TopMenu button{
        width: 20%;
        padding: 15px 22px;
        font-size: 15px;
    }

    /*game*/
    #MyCanvas{
        width: 400;
        height: 275;
    }
    #GameText{ 
        top: 10px;
        left: 0px; 
        font-size: 15px;
    }
    #GameText p{ visibility: hidden; }

    /*other*/
    #others button{ width: 25%;}
    #DrawChooser{ left: 0px; }
  }


  @media only screen and (max-width:600px) {

    /*Main Control*/
    #TopMenu button{ font-size: 8px;}
    .column{
        width: 100%;
    }
    /*Game*/
    #GameText{ visibility: hidden;}
    /*other*/
    #others button{ width: 25%;}
    #DrawChooser{ color: rgb(15, 15, 15);}
  }

