@charset "UTF-8";

html {
    font-size: 62.5%;
}

body {
    font-family: 'Roboto', sans-serif, '微軟正黑體';
    font-weight: normal;
    font-size: 1.6rem;
    box-sizing: border-box;
}

a:link,
a:visited,
a:active {
    color: ;
    text-decoration: none;
}

button {
    outline: none;
}
li {
    list-style-type: none;
}
.header,.main{
    display: block;
    width:63%;
    margin:20px auto;
}
.header{
    font-family: 'Abril Fatface', cursive,'新細明體';
    text-align: right;

}
.header h2{
    text-align: center;
}
.time{
    font-size:1.35rem;
    text-align: right;
}


#day1,#hour1,#min1,#sec1,#countdown-date,#countdown-unit{
    font-family: 'Abril Fatface', cursive,'新細明體';
}
#day1,#hour1,#min1,#sec1{
    font-size: 6rem;
}

.countdown1,.countdown2{
    width:100%;    
    display:table;
    table-layout: fixed;
}

.img1,.img2,.img1 img,.img2 img,.desc1 ,.desc2{
    display:table-cell;
    vertical-align: middle; 
    margin-right: 0;
    text-align: center;
    line-height: 5rem;
    width: 100%;    
}
.desc1-text{
    margin:15px;         
}
.desc1{
    color:#F7F1DA;
    font-size: 3rem;
    background-color: #A46B3C;
}
.desc2{
    position: relative;
    background-color: #59BB98;

}
.desc2 form{
    position: absolute;
    top:15px;
    width: 100%;
    line-height: 4.2rem;
}
.desc2 input{
    box-sizing: border-box;
    vertical-align: top; 
    width:160px;
    height:30px;
    margin-right: 8px;
    font-size: 1.6rem;
    border:1px solid white;           
}
.desc2 input[type=text]{
    border:hidden;  
}
.desc2 button{
    width:80px;
    height:30px;
    margin-right: 10px;
    font-size: 1.6rem;
    background-color: transparent;
    border:1px solid white;                  
    color:white;
    font-family: 微軟正黑體;
    vertical-align: top;
    line-height: 1.6rem;    
}
.desc2 button:hover{
    background-color: #79A096;
}

#countdown-date,#countdown-event{
    position: relative;
    top:45px;
    font-size: 3.5rem;
    color:#C9FCEC;
}
#countdown-timer,#countdown-unit{
    position: relative;
    top:55px;
    display: table;
    width:100%;
    border-collapse: separate;
}
#countdown-unit{
    line-height: 16px;
}
#unit1,#unit2,#unit3,#unit4,
#day2,#hour2,#min2,#sec2{
    display:table-cell;
    width:25%;
    border:15px solid #59BB98;
}
#day2,#hour2,#min2,#sec2{
    color:#C9FCEC;
    background-color: rgba(0, 0, 0, 0.5);    
    font-size: 5rem;
}
.desc3{    
    text-indent: -1.3rem;
    padding:1.3rem;
    font-size: 1.3rem;
}    



.dock {
    width: 350px;
    position: relative;
    margin: 10px auto;
    text-align: center;
}


.dock ul {
    margin: auto;
    width: 100%;
    padding: 0;
}

.dock>ul>li {
    display: inline-block;
}

.dock>ul>li a {
    display: inline-block;
    margin: 20px 20px;
    font-size: 40px;
    color: #f1b400;
    border: 1px solid #f1b400;
    padding: 5px;
    font-weight: 300;
    transition: all 0.5s;
}

.dock>ul>li a:hover {
    display: inline-block;
    font-size: 70px;
    margin-top: -30px;
}








/* smart phone setting */


/*ipad*/

@media (max-width: 1024px) {
    body {
        background-image: none;
    }
    .main{
        width:80%;
        margin:20px auto;
    }
}

@media (max-width: 900px) {
    body {
        background-image: none;
    }
    .main{
        width:95%;
        margin:20px auto;
    }
}


/*other smart device*/

@media (max-width: 768px) {
    .header,.main{
        width:100%;
        margin:20px auto;
    }    
    .img1,.desc1,.img2,.desc2{
        line-height: 4rem;
     }
    .desc1-text{
        margin:0 auto;         
    }    
    .desc2 form{
        position:relative;
        top:15px;
    }
    .desc2 form  input{
        display: block;
        margin:10px auto;

    }  
    .img1,.img2,.desc1,.desc2{
        display: block;
        width: 100%;
    }
    #day1,#hour1,#min1,#sec1{
        font-size: 4.5rem;
    }
    #countdown-date,#countdown-event{
        position: relative;
        top:45px;
        font-size: 2.5rem;
    }
    #countdown-timer,#countdown-unit{
        display: table;
        table-layout: fixed;
        border-collapse: collapse;
        border-style: hidden;
    }
    #day2,#hour2,#min2,#sec2{
        color:#C9FCEC;
        background-color: rgba(0, 0, 0, 1);    
        font-size: 5rem;
    }         
    #countdown-unit{
        line-height: 16px;
        background-color: #59BB98; 
        color:white;
    }
 
    .clearfix::after {
        height: 100px
    }
    .dock {
        width: 300px;
    }

    .dock>ul>li a {
        font-size: 30px;
    }

    .dock>ul>li a:hover {
        margin-top: -30px;
    }

}