/* == 共用區 ============================================================================= */

@charset "utf-8";
/* CSS Document */

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
    font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
    text-size-adjust: none;
    font-size: 15px;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin: 0;
    padding: 0;
}


* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    /*safari & chrome*/
    -moz-box-sizing: border-box;
    /*firebox*/
    box-sizing: border-box;
    /*解除padding影響寬度關係*/
}

/*==選單==*/

.menu {
    margin: 0;
    padding: 0 20%;
    width: 100%;
    height: 60px;
    background-color: rgba(217, 109, 111, .8);
    border-top: 1px solid #FFF;
    position: fixed;
    /*固定位置定位*/
    bottom: 0;
    /*距離上方 0 像素*/
    z-index: 99;
    /*重疊時會在其他元素之上*/
}

.menu ul {
    margin: 0;
    padding: 0;
    width: 1000px;
    height: auto;
    margin: auto;
}

.menu li {
    display: block;
    width: 50%;
    margin: auto;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 1.5em;
    color: #FFF;
    border-right: 1px solid #FFF;
}

.menu li:first-child {
    border-left: 1px solid #FFF;
}

.menu li a {
    display: block;
    color: #FFF;
    text-shadow: 2px 0 3px #333;
    text-decoration: none;
    transition: .3s;
    /*動畫速度*/
}

.menu li a:hover {
    transform: scale(1.05, 1.05);
    /*變形效果：放大*/
    background-color: #D95658;
}

/*==選單==*/

/*==內容  head==*/

.head {
    width: 100%;
    height: 600px;
    padding: 4% 2% 0.5% 2%;
    background-color: #fff462;
    background-size: cover;
    background-position: center;
    background-image: url(../images/index-head.jpg);
}

.head .head-title {
    width: 740px;
    height: auto;
    margin: auto;
}

.head .head-title img {
    display: block;
    width: 100%;
    height: auto;
    margin: auto;
}

/*-----------wrapper---------*/

.wrapper {
    width: 100%;
    height: auto;
    padding: 0 1% 1% 1%;
    background-color: #fff462;
    background-size: cover;
}


/*-----------box01白色盒子---------*/

.box01 {
    width: 1000px;
    height: auto;
    padding: 1%;
    margin: auto;
    background-color: #fff;
}

.box01 .top-title {
    width: 950px;
    height: auto;
    margin: auto;

}

.top-title img {
    display: block;
    margin: auto;
}

/*---------------------前10榜單----------------*/

.box01 .win {
    width: 950px;
    height: auto;
    margin: auto;
    padding: 1% 0 48% 0;
    margin-right: -15px;


}


.box01 .win ul li {
    width: 220px;
    height: 80px;
    margin: auto;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;

}

.box01 .win img {
    width: 100%;
    height: auto;
    margin: auto;
    float: left;
    display: block;
}

.box01 .win ul li a {
    display: block;
    font-size: 2em;
    text-align: center;
    text-decoration: none;
    animation-name: color;
    line-height: 80px;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
}

.box01 .win ul li a:hover {
    display: block;
    animation-name: stop;
}


@keyframes color {
    0% {
        color: #333;
    }
    100% {
        color: #f00;
    }
}

@keyframes stop {
    0% {
        color: #333;
    }
    100% {
        color: #333;
    }
}

/*------------慶功宴照片 學長姐考經--------------*/

.student {
    width: 930px;
    height: 1690px;
    margin: auto;
    margin-top: 10px;
    background-image: url(../images/students.png);
    background-position: center;
    background-repeat: no-repeat;
}

/*.student img{
    display: block;
    width: 100%;
    height: auto;
    margin: auto;
    margin-top: 20px;
}*/

/*----------wrapper02----------*/

.wrapper02 {
    width: 100%;
    height: auto;
    padding: 0.5% 1% 2% 1%;
    background-color: #fff462;
    background-size: cover;
}

/*----------box02白色盒子----------*/

.box02 {
    width: 1000px;
    height: auto;
    padding: 1%;
    margin: auto;
    background-color: #fff;

}

.new-class {
    width: 100%;
    height: 920px;
    margin: auto;
    background-image: url(../images/pro.png);
    background-position: center;
    background-repeat: no-repeat;
}

.movie {
    width: 900px;
    height: auto;
    padding: 1%;
    margin: auto;
    margin-top: 15px;

}

h2 {
    display: block;
    width: 400px;
    height: auto;
    padding: 1%;
    margin: auto;
    background-color: #f00;
    border-radius: 20px;
    margin-top: 5px;
}

h2 a {
    color: #fff;
    font-size: 1.5em;
    text-align: center;
    display: block;
    text-decoration: none;
}

/*----------抽獎----------*/

.gift {
    width: 100%;
    height: 318px;
    margin: auto;
    background-image: url(../images/gift.jpg);
    background-position: center;
    background-repeat: no-repeat;
}

/*----------各班連結----------*/

.footer {
    width: 100%;
    height: auto;
    padding: 1.5% 1% 4% 1%;
    background-color: #44adb5;
}

.footer img {
    display: block;
    width: 800px;
    height: 79px;
    margin: auto;
}

.footer ul {
    margin: 0 auto;
    padding: 0;
    width: 1000px;
    height: auto;
    list-style: none;
    margin-top: 10px;
}

.footer li {
    display: inline-block;
    margin: 8px;
    padding: 0;
    width: 23%;
    height: 40px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    background: #fff;
}

.footer li a {
    display: block;
    font-size: 1.4em;
    line-height: 40px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    color: #333;
}

.footer li a:hover {
    color: #ff0;

}

.footer ul li:hover {
    background: #D95658;
    box-shadow: 2px 0 3px #333;
}

/* == 手機版型區 ============================================================================= */

@media screen and ( max-width:767px) {

    /*----------手機版-選單-------*/
    .menu {
        margin: 0;
        padding: 0 8%;
        width: 100%;
        height: 60px;
        background-color: rgba(217, 109, 111, .8);
        border-top: 1px solid #FFF;
        position: fixed;
        /*固定位置定位*/
        bottom: 0;
        /*距離上方 0 像素*/
        z-index: 1;
        /*重疊時會在其他元素之上*/
    }

    .menu ul {
        margin: 0;
        padding: 0;
        width: 80%;
        height: auto;
        margin: auto;
    }

    .menu li {
        display: block;
        margin: auto;
        width: 50%;
        height: 60px;
        line-height: 60px;
        text-align: center;
        font-size: 1.5em;
        color: #FFF;
        border-right: 1px solid #FFF;
    }

    .menu li:first-child {
        border-left: 1px solid #FFF;
    }

    .menu li a {
        display: block;
        color: #FFF;
        text-shadow: 2px 0 3px #333;
        text-decoration: none;
        transition: .3s;
        /*動畫速度*/
    }

    .menu li a:hover {
        transform: scale(1.05, 1.05);
        /*變形效果：放大*/
        background-color: #D95658;
    }

    /*==選單==*/
    /*==(手機)內容  head==*/
    .head {
        width: 100%;
        height: 0;
        padding-bottom: 60%;
        background-color: #fff462;
        background-size: cover;
        background-image: url(../images/m_index-head.jpg);

    }


    .head .head-title {
        width: 85%;
        height: auto;
        margin: auto;
    }

    .head .head-title img {
        display: block;
        width: 100%;
        height: auto;
        margin: auto;
    }

    /*-----------手機-wrapper---------*/
    .wrapper {
        width: 100%;
        height: auto;
        padding: 0 1% 1% 1%;
        background-color: #fff462;
        background-size: cover;
    }


    /*-----------手機-box01白色盒子---------*/
    .box01 {
        width: 90%;
        height: auto;
        padding: 1%;
        margin: auto;
        background-color: #fff;
    }

    .box01 .top-title {
        width: 100%;
        height: auto;
        margin: auto;

    }

    .top-title img {
        display: block;
        width: 100%;
        margin: auto;
    }

    /*---------------------手機-前10榜單----------------*/
    .box01 .win {
        width: 95%;
        height: 560px;
        margin: auto;
        padding: 1% ;



    }


    .box01 .win ul li {
        width: 40%;
        height: 50px;
        margin: auto;
        float: left;
       margin: 0 12px 5px 12px;
     
       

    }
    .box01 .win ul li:last-child {
    background-color: #ddd;
    }
    .box01 .win img {
        width: 100%;
        height: auto;
        margin: auto;
        float: left;
        display: block;
    }

    .box01 .win ul li a {
        display: block;
        font-size: 1em;
        text-align: center;
        text-decoration: none;
        animation-name: color;
        line-height: 50px;
        animation-duration: 0.5s;
        animation-iteration-count: infinite;
    }

    .box01 .win ul li a:hover {
        display: block;
        animation-name: stop;
    }


    @keyframes color {
        0% {
            color: #333;
        }
        100% {
            color: #f00;
        }
    }

    @keyframes stop {
        0% {
            color: #333;
        }
        100% {
            color: #333;
        }
    }

    /*------------手機-慶功宴照片 學長姐考經--------------*/
    .student {
        width: 100%;
        height: 0;
        padding-bottom: 426%;
        background-color: #fff;
        background-size: cover;
        background-image: url(../images/m_students.png);
    }


    /*----------手機-wrapper02----------*/
    .wrapper02 {
        width: 100%;
        height: auto;
        padding: 2% 1% 3% 1%;
        background-color: #fff462;
        background-size: cover;
    }

    /*----------手機-box02白色盒子----------*/
    .box02 {
        width: 90%;
        height: auto;
        padding: 2% 1% ;
        margin: auto;
        background-color: #fff;

    }

    .new-class {
        width: 100%;
        height: 0;
        padding-bottom: 328%;
        background-color: #fff;
        background-size: cover;
        background-image: url(../images/m_pro.png);
    }

    .movie {
        width: 95%;
        height: auto;
        padding: 1%;
        margin: auto;

    }

    h2 {
        display: block;
        width: 85%;
        height: auto;
        padding: 1%;
        margin: auto;
        background-color: #f00;
        border-radius: 20px;
        margin-top: 5px;

    }

    h2 a {
        color: #fff;
        font-size: 1em;
        text-align: center;
        display: block;
        text-decoration: none;
    }

    /*----------手機-抽獎----------*/
    .gift {
        width: 100%;
        height: 0;
        padding-bottom: 32%;
        background-color: #fff;
        background-size: cover;
        background-image: url(../images/m_gift.jpg);

    }

    /*----------手機-各班連結----------*/
    .footer {
        padding: 40px 0;
        width: 100%;
        padding-top: 2%;
        padding-bottom: 22%;
        text-align: center;
        background-color: #44adb5;
    }

    .footer img {
        display: block;
        width: 90%;
        height: auto;
        margin: auto;
        margin-bottom: 5px;
    }
    .footer ul {
        margin: 0 auto;
        padding: 0;
        width: 100%;
        list-style: none;
    }
    .footer li {
        display: inline-block;
        margin: 4px;
        padding: 0;
        width: 40%;
        height: 40px;
    }
    .footer li a {
        display: block;
        border-radius: 4px;
        -webkit-border-radius: 4px;
        background: #009844;
        font-size: 1.2em;
        line-height: 40px;
        text-decoration: none;
        color: #FFF;
    }
    .footer li a:hover {
        background: #02662D;
    }



}