﻿@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700&display=swap");
@import url("https://pro.fontawesome.com/releases/v5.10.0/css/all.css");


*{
    margin: 0;
    padding: 0;
}

body{
    font-family: 'Noto Sans TC', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("../images/index/2049_main.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.container{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* $header */
.main-header .main-nav{
    display: flex;
    justify-content: center;
}

.main-header .main-nav{
    margin: 15px;
}
.main-header .main-nav a{
    text-decoration: none;
    margin: 50px;
    border: 1px solid #fff;
}

@media screen and (max-width: 575px) {
    .main-header .main-nav{
        flex-direction: column;
    }
    .main-header .main-nav{
        margin: 20px;
    }
    .main-header .main-nav a{
        margin: 20px;
        display: block;
        padding: 10px 50px;
    }
    .main-header .nav-top{
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }
}
@media screen and (min-width: 576px) and (max-width: 991px) {
    .main-header .main-nav a{
        margin: 20px;
        padding: 10px 10px;
    }
}

/* btn hover */
/* From Left */
.btn{
    position: relative;
    padding: 0.8rem 2.2rem;
    font-size: 1.5rem;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    transition: all 300ms cubic-bezier(0.77, 0, 0.175, 1);
    cursor: pointer;
    user-select: none;
}

.btn:before,
.btn:after {
    content: '';
    position: absolute;
    transition: inherit;
    z-index: -1;
}

.btn:hover{
    transition-delay: .3s;
}

.btn:hover:before {
    transition-delay: 0s;
}

.btn:hover:after {
    background-color: rgba(93, 234, 234,0.5);
    transition-delay: .15s;
}

/* From Left */

.from-left:before,
.from-left:after {
    top: 0;
    width: 0;
    height: 100%;
}

.from-left:before {
    right: 0;
    border: 1px solid #fff;
    border-left: 0;
    border-right: 0;
}

.from-left:after {
    left: 0;
}

.from-left:hover:before,
.from-left:hover:after {
    width: 100%;
}
/* ------------ */
.main-header .logo{
    display: flex;
    justify-content: center;
    width: 90%;
    padding: 50px;
    margin-top: 20px;
}
@media screen and (max-width: 575px) {
    .main-header .logo{
        padding: 10px;
        width: 70%;
    }
}
.main-header .logo img{
    width: 100%;
}
.main-header .main-icon{
    margin: 30px;
}
.main-header .main-icon a{
    color: #fff;
    font-size: 2rem;
    padding: 20px;
}
@media screen and (max-width: 575px) {
    .main-header .main-icon{
        margin: 10px;
    }
    .main-header .main-icon a{
        padding: 0px 20px;
    }
}

.time{
    color: #fff;
    text-align: center;
    font-weight: 500;
    text-shadow: 0px 0px 15px #282828;
}
.time p{
    font-size: 2rem;
}
.time span{
    font-size: 3.75rem;
}
@media screen and (max-width: 575px) {
    .time{
        padding: 20px;
    }
    .time p{
        font-size: 1.625rem;
    }
    .time span{
        font-size: 3rem;
    }
}

/* $Main */
.main .story{
    background-color: rgba(93, 234, 234,0.6);
    margin: 100px 20px;
    max-width: 1200px;
}
.subtitle{
    display: flex;
    justify-content: center;
}
.subtitle img{
    width: 70%;
    margin-top: 20px;
    opacity: 0.7;
    padding: 20px;
}
.story-title{
    font-size: 2.5rem;
    text-align: center;
    padding-top: 70px;
    padding-bottom: 30px;
    color: #fff;
    word-spacing: 1.15;
    position: relative;
}
.story-title:after{
    content: '';
    width: 10%;
    height: 3px;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 45%;
    right: 50%;
    border-bottom: 1px solid #fff;
}
.story-text{
    font-size: 1.5rem;
    line-height: 2;
    color: #fff;
    padding: 50px 80px 80px 80px;
    font-weight: 300;
}
@media screen and (max-width: 575px) {
    .story{
        width: 100%;
    }
    .story-text{
        font-size: 1.25rem;
        line-height: 2;
    }
}
@media screen and (min-width: 576px) and (max-width: 991px) {
    .story{
        width: 100%;
    }
}

/* $time */
.main-time{
    width: 95%;
    max-width: 1200px;
    margin-bottom: 100px;
}
.time-text{
     border: 1px solid #64C9CC;
     background-color:rgba(0, 0, 0,0.3);
     color: #fff;
     font-size: 1.5rem;
     padding: 20px;
     margin-top: 50px;
}
table{
    margin: 0 auto; 
    text-align: center;
    border-spacing: 15px;
}
.time-text tr th{
    background-color: rgba(93, 234, 234,0.7);
    font-weight: 300;
    width: 400px;
    padding: 8px;
}

/*  Responsive
------------------------------- */

@media (max-width: 767px) {
  .table {
    border-collapse: collapse;
    width: 100%;
  }
  .table thead {
    display: none;
  }
  .table thead tr th{
      
  }
  .table td {
    display: block; /* 一定要下！ */
    margin: 30px;
  }
  .table td:before {
    content: attr(data-title); /* 顯示 data-title */
    display: inline-block;
    width: 100%;
    background: rgba(93, 234, 234,0.7);
    padding: 8px 0px;
  }
  .table td p{
    padding-top: 10px;
  }
}

/* $viedo */
.viedo h3{
    color: #fff;
    font-size: 2.5rem;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
    color: #fff;
    word-spacing: 1.15;
}

/* $line */
.s-line{
    margin-top: 20px;
    margin-bottom: 50px;
}
.s-line .line{
    width: 50%;
    display: inline-block;
    border-right: 1px solid #fff;
    height: 150px;
    margin: 0 auto;
}

/* $footer */
.copyright{
    text-align: center;
    background-color: rgb(93, 234, 234,0.7);
    padding: 20px;
    color: #fff;
    font-weight: 100;
}