/* Font Import */
@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);

/* Global Styles */
* {
    font-family: 'Noto Sans TC', sans-serif;
    margin: 2;
    padding: 0;
}
/*人次*/
#co{
    position:relative; top: 60%; text-align: right;text-decoration:none;
}

/* Layout Components */
.container {
    margin-left: 10vh;
    margin-top: 8vh;
    display: flex;
    flex-direction: row;
    height: 70vh;
    align-items: center;
}

.left-div {
    width: 45%;
}

.right-div {
    width: 50%;
    display:flex; 
    justify-content: center; 
    align-items:center; 
    flex-direction:column;
}

/* Header Styles */
#head {
    background-color: #fbadb9;
    width: 100%;
    height: 60px;
    vertical-align: top;
    margin: 0;
    padding: 0;
    background-attachment: fixed;
    font-size: 0;
}

#fju {
    background-image: url("../images/logo首頁.png");
    width: 100%;
    height: 60px;
    background-repeat: no-repeat;
    background-size: contain;
}

/* Main Background */
#main1 {
    background-image: url('../images/背景head.png');
    background-blend-mode: lighten;
    background-attachment: fixed;
    background-color: rgba(255, 255, 255, 0.1);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    vertical-align: top;
    margin: 0;
    padding: 0;
}

/* Button Styles */
#gobtn {
    
    display: inline-block;
    margin: 5px 15px 38px 15px;
    padding: 10px 20px;
    width: 350px;
    font-size: 20px;
    color: #f8b539;
    font-weight: bold;
    background-color: #fff;
    border: 3px solid #f8b539;
    border-radius: 30px;
    box-shadow: 3px 3px #bebebe;
    text-align: center;
    text-decoration: none;
    outline: none;
    cursor: pointer;
}

#gobtn:hover {
    background-color: #f6c66d;
    color: #fff;
    border: 3px solid #fff;
}

#gobtn:active {
    color: #fff;
    background-color: #f6c66d;
    box-shadow: 0 0 #fff;
        border: 3px solid #fff;

    transform: translate(6px,6px);
}

#gobtn1 {
    width: 20%;
    display: inline-block;
    margin: 5px 15px 38px 15px;
    padding: 10px 20px;
    width: 350px;
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    background-color: #F6C66D;
    border: 3px solid #fff;
    border-radius: 30px;
    box-shadow: 3px 3px #bebebe;
    text-align: center;
    text-decoration: none;
    outline: none;
    cursor: pointer;
}

#gobtn1:hover {
    background-color: #FFC353;
    color: #fff;
    border: 3px solid #fff;
}

#gobtn1:active {
    color: #fff;
    background-color: #FFC353;
    box-shadow: 0 0 #fff;
        border: 3px solid #fff;

    transform: translate(6px,6px);
}

/* Video Element */
#video {
    width: 100%;
    margin-left: 5vw;
    margin-bottom: 5vh;
    border-radius: 20px;
    border: 2px solid #d1d1d1;
}

/* Footer Styles */
#bottom {
    background-color: #fbadb9;
    width: 100%;
    height: 45px;
    margin: 0;
    padding: 0;
    font-size: 16px;
    position: fixed;
    overflow-y: hidden;
    bottom: 0;
    right: 0;
    text-align: left;
}


.mark{
    display: inline;height:100%; text-align: left;padding: 0px;margin: 0px;
}
#name, #name2 {
    text-align: left;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%); /* 垂直置中 */
    color: #fcfcfc;
    text-decoration: none; /* 去掉底線 */
}


#name2 {
    display: none;
}


/* Responsive Design - Laptop */
@media (max-height: 1200px) {
    #main1 {
        background-image: url('../images/背景head.png') !important;
    }
}

/* Responsive Design - Tablet */
@media (max-width: 850px) {
    

    #video {
        width: 78.5%;
        margin-left: 10%;
        margin-right: 10%;

    }

    #main1 {
        background-image: url('../images/背景一版-平板.png') !important;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
    }

    #head {
        height: 60px !important;
    }

    #co {
        left: -10px;
    }

    #notice {
        top: -315px;
        left: 155px;
    }

    .container {
        flex-direction: column;
        margin-top: 0;
        margin-left: 0;
    }

    .left-div {
        width: 100%;
        align-items: center;
    }

    .right-div {
        width: 100%;
    }

    #gobtn, #gobtn1 {
        width: 80%;
    }

    #name {
        display: none;
    }

    #name2 {
        display: inline !important;
        text-align: right;
        position: absolute;
        font-size: 12px !important;
        margin: 0;
        padding-top: 2px;
        padding-right: 5px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 480px) {
    marquee {
        font-size: 16px !important;
    }

    #head {
        height: 100% !important;
    }

    #video {
        width: 80%;
        margin-top: 25px;
        margin-left: 10%;
        margin-right: 10%;

    }

    #btndiv {
        height: 200px;
        width: 280px;
        margin: 0 auto;
    }

    #a, #b {
        display: block !important;
        padding-top: 15px;
    }

    #gobtn, #gobtn1 {
        font-size: 17px !important;
        margin: 5px auto;
    }

    #name2 {
        font-size: 10px !important;
    }

    .mark {
        width: 30% !important;
        height: 100% !important;
        margin: 0 !important;
        bottom: 0 !important;
        position: absolute !important;
    }

    #main1 {
        background-image: url('../images/背景一版-手機.png') !important;
    }

    #co {
        top: 25px;
        left: -3px;
    }

    #notice {
        top: -215px;
        left: 40px;
        font-size: 12px;
    }

    #fju {
        background-image: url("../images/logo手機.png");
        height: 50px;
    }
}

/* Responsive Design - Low Height */
@media (max-height: 410px) {
    #bottom {
        display: none;
    }
}