/*  這是直接針對所有DIV標籤的寫法  */




div1{
    /*
    width: 100%;
    height: 50vh;
    background-image:url('./dye_co_dm_116.gif');
    width: 800px;
    height: 600px; 
    */
    color: rgb(80, 55, 18);
    font-size: 20px;
} 

*{
    margin: 0;
    padding: 0;
}

/*  這是針對ID的寫法     */
#gameDiv{
    width: 100%;
    height: 100%;
}
body { 
    /*原程式*/
    background-color: #333;
    width:100%;
    margin: 0;
}
html,body{
    height:100%;
}
/* 軌跡線 */
#trajectory{
  width: 300px;
  height: 300px;
  border: 1px solid #949494;
  border-radius: 50%;
  position: relative;
  left:50%;
  top:calc(125%-153px);
  transform:scale(3,0.3);
}
/* 紀錄動畫影格*/
@keyframes moveX{
    0% {left:-7px;}
    100%{left:298px;}
}
@keyframes moveY{
    0% {top:-12px;}
    100%{top:295px;}
}
@keyframes move1X{
    0% {left:298px;}
    100%{left:-7px;}
}
@keyframes move1Y{
    0% {top:295px;}
    100%{top:-12px;}
}
@keyframes move2X{
    0% {left:-7px;}
    100%{left:298px;}
}
@keyframes move2Y{
    0% {top:-12px;}
    100%{top:295px;}
}
@keyframes move3X{
    0% {left:298px;}
    100%{left:-7px;}
}
@keyframes move3Y{
    0% {top:295px;}
    100%{top:-12px;}
}
#move{
    width: 10px;
    height: 60px;
    color:green;
    font-size: 24px;
    font-weight:bold;
    position:absolute;
    left:139px;
    top:-12px;
    animation: moveX 2s cubic-bezier(0.36,0,0.64,1) -1s infinite alternate,moveY 2s cubic-bezier(0.36,0,0.64,1) 0s infinite alternate; 
}
#move1{
    width: 10px;
    height: 20px;
    font-size: 12px;
    background-color: rgb(187, 255, 0);
    border-radius: 50%;
    position:absolute;
    left:139px;
    top:293px;
    animation: move1X 4s cubic-bezier(0.36,0,0.64,1) -2s infinite alternate,move1Y 4s cubic-bezier(0.36,0,0.64,1) 0s infinite alternate; 
}
#move2{
    width: 10px;
    height: 20px;
    font-size: 12px;
    background-color: rgb(172, 26, 140);
    border-radius: 50%;
    position:absolute;
    left:-7px;
    top:150px;
    animation: move2X 4s cubic-bezier(0.36,0,0.64,1) -4s infinite alternate,move2Y 4s cubic-bezier(0.36,0,0.64,1) -2s infinite alternate; 
}
#move3{
    width: 10px;
    height: 20px;
    font-size: 12px;
    background-color: rgb(255, 72, 0);
    border-radius: 50%;
    position:absolute;
    left:298px;
    top:150px;
    animation: move3X 4s cubic-bezier(0.36,0,0.64,1) -4s infinite alternate,move3Y 4s cubic-bezier(0.36,0,0.64,1) -2s infinite alternate; 
}
#movetest{
    width: 10px;
    height: 60px;
    color:green;
    font-size: 24px;
    font-weight:bold;
    position:absolute;
    left:50%+50px;
    top:50%-12px;
    animation: moveX 4s cubic-bezier(0.36,0,0.64,1) -2s infinite alternate,moveY 4s cubic-bezier(0.36,0,0.64,1) 0s infinite alternate; 
}

/* --------------------------------標題選項----------------------------- */

ul { /* 取消ul預設的內縮及樣式 */
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.drop-down-menu {
    border: #ccc 1px solid;
    display: inline-block;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 13px;
}

ul.drop-down-menu li {
    position: relative;
    white-space: nowrap;
    border-right: #ccc 1px solid;
}

ul.drop-down-menu > li:last-child {
    border-right: none;
}

ul.drop-down-menu > li {
    float: left; /* 只有第一層是靠左對齊*/
}
/* ----------------------------------*/
 ul.drop-down-menu a {
    background-color: #fff;
    color: #333;
    display: block;
    padding: 0 30px;
    text-decoration: none;
    line-height: 40px;

}
ul.drop-down-menu a:hover { /* 滑鼠滑入按鈕變色*/
    background-color: #ef5c28;
    color: #fff;
}
ul.drop-down-menu li:hover > a { /* 滑鼠移入次選單上層按鈕保持變色*/
    background-color: #ef5c28;
    color: #fff;
}

ul.drop-down-menu ul {
    border: #ccc 1px solid;
    position: absolute;
    z-index: 99;
    left: -1px;
    top: 100%;
   min-width: 180px;
}

ul.drop-down-menu ul li {
    border-bottom: #ccc 1px solid;
}

ul.drop-down-menu ul li:last-child {
    border-bottom: none;
}

ul.drop-down-menu ul ul { /*第三層以後的選單出現位置與第二層不同*/
    z-index: 999;
    top: 10px;
    left: 90%;
}
/* -----------隱藏及顯示------------ */
ul.drop-down-menu ul { /*隱藏次選單*/
    left: 99999px;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

ul.drop-down-menu li:hover > ul { /* 滑鼠滑入展開次選單*/
    opacity: 1;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    left: -1px;
    border-right: 5px;
}

ul.drop-down-menu li:hover > ul ul { /* 滑鼠滑入之後、次選單之後的選單依舊隱藏*/
    left: 99999px;
}

ul.drop-down-menu ul li:hover > ul { /* 第二層之後的選單展開位置*/
    left: 90%;
}
/* --------------------------------標題選項end----------------------------- */

/*# sourceMappingURL=main.9523771e36ea6f70c033.css.map*/