@media screen and (min-width:1200px){
    /* 這個是表示 媒體寬度1200px 以上時，使用此CSS */
#gotop {
    float: left;
    width: 70px;
    height: 70px;
    text-align: center;
    line-height: 70px;
    position: fixed;
    bottom: 50px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.577);
    color: #fff;
    text-decoration: none;
    z-index: 9999;
    cursor: pointer;
    }
p {
    font-size: 14px;
    color: rgb(117, 145, 155);
    line-height: 1.8em;
    letter-spacing: 0.02rem
}
.btn {
    display: inline-block;
    margin-top: 40px;
    padding: 2px 25px;
    background-color: rgb(167, 208, 223);
    color: rgb(78, 67, 67);
    text-decoration: none;
    transition: .5s ease;
}
.btn:hover {
    color: rgb(255, 255, 255);
    background-color:  rgb(117, 145, 155);
}

/* --------------GLOBAL-------------- */
.full-width {
    width: 100%;
}
/* 最外框 */
.fixed-width {
    width: 1200px;
    margin: auto;
}
/* 內固定寬框 */
.col-1 {
    width: calc(100% / 12 * 1);
}
.col-2 {
    width: calc(100% / 12 * 2);
}
.col-3 {
    width: calc(100% / 12 * 3);
}
.col-4 {
    width: calc(100% / 12 * 4);
}
.col-5 {
    width: calc(100% / 12 * 5);
}
.col-6 {
    width: calc(100% / 12 * 6);
}
.col-7 {
    width: calc(100% / 12 * 7);
}
.col-8 {
    width: calc(100% / 12 * 8);
}
.col-9 {
    width: calc(100% / 12 * 9);
}
.col-10 {
    width: calc(100% / 12 * 10);
}
.col-11 {
    width: calc(100% / 12 * 11);
}
.col-12 {
    width: calc(100% / 12 * 12);
}
/* 將內框分成12等分 */

[class*="col"] {
    float: left;
    padding: 15px;
}
/* ↑選擇html裡面，頭一個字有"col"的字樣的類別更改其樣式 */

/* NAV */
nav {
    height: 50px;
    line-height: 50px;
    position: fixed;
    background-color:transparent;  /*為了蓋過手機板*/
    background-image:repeating-linear-gradient(rgba(255, 255, 255, 0.2) 0%,rgba(255,255,255,0.5) 100%);
    z-index: 9999;
}
nav .logo {
    float: left;
    padding-right: 50px;
    background-color:transparent; /*為了蓋過手機板*/
    color: rgb(243, 243, 243);
}
nav .menu {
    float: left;
    display: block;
}
nav li {
    float: left;
    border-bottom:none;  /*為了蓋過手機板*/
}
nav a {
    color: rgb(7, 0, 0);
    text-decoration: none;
    display: block;
    padding: 0 20px;
    font-size: 16px;  /*為了蓋過平板*/
}
nav a:hover {
    color: rgb(167, 208, 223);
         /* position: relative;
         top: 4px; */
         /* ↑這是按下去會往下掉4px位置的CSS */

}
nav .search {
    float: right;
    display: block; /*為了蓋過手機板*/
}
nav .toggler {
    display: none;
}
/* HEADER */
header {
    height: 1000px;
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)),
    url(../images/bg1.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    /* display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; */
    /* 以上是flex的置中作法 */
    display: table;

}
header h1 {
    font-size: 3em;
    color: rgb(252, 250, 250);
    letter-spacing: 10px;
}
header p {
    color: rgba(252, 250, 250,0.6);
    font-size: 1em;
    margin-bottom: 30px;
}
header .fixed-width {
    display: table-cell;
    vertical-align: middle;
    text-align:center;
}
/* SERVICE */
#service {
    padding-top:100px;
    padding-bottom: 100px;
}
#service h2 {
    text-align: center;
}
#service i {
    display: block;
    background-color: rgb(33, 179, 233);
    width: 65px;
    height: 65px;
    text-align: center;
    line-height: 65px;
    border-radius:20%;          /* 將矩形變成圓形 */
    color: rgb(255, 255, 255);
}
#service h3 {
    margin-bottom: 13px;
}
#service .col-4 {
    margin-top: 10px;
    margin-bottom: 40px;
    text-align: left;  /*這個是為了蓋過手機板*/
}
/* HISTORY */
#history {
    padding-top: 150px;
    padding-bottom: 150px;
    background-color: rgba(204, 204, 204, 0.555);
}
#history h2 {
    margin-bottom: 10px;
}
#history h3 {
    margin-bottom: 10px;
}
#history p {
    margin-bottom: 30px;
}
    /* #history .btn {
        display: inline-block;
    }  如果沒有寫 @ 在手機板上，就要將按鈕的設定改回來*/
/* PRODUCT */

#product .col-3 {            
    position: relative;
    height: 360px;
    overflow: hidden;
}
#product .col-3::before {
    content: "";
    display: block;
    width: 100%;
    height: 360px;
    background-color: rgba(7, 0, 0, 0.493);
    position: absolute;
    z-index: 2;
}
#product .col-3 img {
    position: absolute;
    height: 360px;
    width: auto;
    z-index: 1;
}
#product .col-3 h4 {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    width: 100%;
    line-height: 360px;
    color: rgba(255, 254, 254,0.8);
    letter-spacing: 3px;
    z-index: 3;
        font-size: 1em; /*這個是為了蓋過手機板*/
}
/* NEWS */
#news {
    padding-bottom: 100px;
    padding-top: 100px;
}
    #news .col-4 {
        text-align: left;
    }
    /* ↑如果手機板沒有加@ 這是為了蓋過手機板  */
#news h2 {
    text-align: center;
}
#news h3 {
    margin-bottom: 20px;
}
#news .news-info {
    margin-bottom: 20px;
}
#news .news-date {
    color: rgb(118, 193, 223);
    margin-right: 10px;
}
#news .col-12:nth-of-type(5) {
    text-align: center;
   /* 他的意思是 col-12 同一個層級的，不是一模一樣的 */
}

/* FOOTER */
footer {
    background-color:  rgb(117, 145, 155);
    height:450px;
    padding-top:80px;
    color: rgb(238, 237, 237);
    text-align: left;  /*這個是為了蓋過手機板*/
}
footer h3 {
    padding-bottom: 20px;
    font-size: 1.5em;
}
footer p {
    color: rgb(199, 199, 199);
    font-size: 1em; /*這個是為了蓋過手機板*/
}
footer a {
      position: relative;
    color:  rgb(199, 199, 199);
    text-decoration: none;
      left: 20px;
}
footer a:hover {
    color: rgb(231, 231, 231);
}
footer ul li a::before{
      position: absolute;
      content:'';
      display: inline-block;
      left:-20px;
}
footer ul li a:hover::before{
      content:'-';
}
/* ↑老師寫的滑過去出現 list style 回家想 */
/* COPYRIGHT */
#copyright {
    background-color: rgb(20, 19, 19);
    color: rgb(252, 250, 250);
}
#copyright .col-4 {
    letter-spacing: 5px;
    text-align: left; /*這個是為了蓋過手機板*/
    padding: 15px;    /*這個是為了蓋過手機板*/
}
#copyright .col-8{
    text-align: right;
    padding: 15px;    /*這個是為了蓋過手機板*/
}
#copyright .col-8 a {
    padding-left: 10px;
    padding-right: 10px;
    color: #fff;
    text-decoration: none;
}
}