@import url('https://fonts.googleapis.com/css2?family=Aboreto&family=Noto+Serif+Display:ital,wght@0,600;1,600&family=Noto+Serif+TC:wght@400;700&display=swap');

html{scroll-behavior: smooth;}
body,html{height: 100%;}

body{
    display: none;
    margin: 0;
    padding: 0;
    font-family: 'Aboreto','Noto Serif TC',serif;
    color: rgb(45, 45, 45);
    background-color: rgb(244, 244, 244);
    letter-spacing: 3px;
    font-size: 15px;
    line-height: 2;
}

::selection{
    color: rgb(244, 244, 244);
    background-color: rgba(79, 79, 79, 0.7);
}

h1{
    font-family: 'Noto Serif Display','Noto Serif TC',serif;
    font-size: 25px;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.5;
}

.bg{
    width: 100%;
    height: 100%;
    position: fixed;
    background-size: cover;
    z-index: -99;
}

#homebg{
    background-position: 87% 90%;
    background-image: url("13.webp");
    z-index: -100;
}

#secondbg{
    background-position: 50% 40%;
    background-image: url("1.webp");
    z-index: -99;
    display: none;
}

#music-onoroff{
    width: 100%;
    height: 100%;
    color: rgb(244, 244, 244);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 100;
    position: fixed;
    top: 0;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

#music-onoroff>div{
    background-color: rgb(45, 45, 45);
    padding: 100px 25px;
    position: relative;
}

#music-onoroff>div::before{
    content: '';
    position: absolute;
    border: 1px solid rgba(244, 244, 244,0.5);
    width: 95%;
    height: 95%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#music-onoroff a:link, #music-onoroff a:visited{
    position: relative;
    display: inline-block;
    color: rgb(244, 244, 244);
    border: 1px solid rgb(244, 244, 244);
    text-indent: 3px;
    text-decoration: none;
    padding: 5px 20px;
    margin-bottom: 40px;
    border-radius: 20px;
    transition: 0.5s;
}

#music-onoroff a:link:last-of-type{
    border: none;
}

#music-onoroff a:hover, #music-onoroff a:active{
    color: rgb(45, 45, 45);
    background-color: rgb(244, 244, 244);
}

.music-button{
    position: fixed;
    bottom: 10px;
    right: 20px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(45, 45, 45);
    border: 1px solid rgba(45, 45, 45, 0.7);
    border-radius: 50%;
    cursor: pointer;
    z-index: 110;
    animation: musicbutton 1.5s;
    mix-blend-mode: multiply;
}

@keyframes musicbutton{
    0%{
        transform: rotate(-10deg);
    }20%{
        transform: rotate(10deg);
    }40%{
        transform: rotate(-10deg);
    }60%{
        transform: rotate(10deg);
    }80%{
        transform: rotate(-10deg);
    }100%{
        transform: rotate(0);
    }
}

.music-off-line{
    position: absolute;
    width: 80%;
    border-top: 1px solid rgba(45, 45, 45, 0.9);
    transform: rotate(45deg);
    transform-origin: top left;
    top: 20%;
    left: 25%;
    transition: 0.5s;
}

.music-off-line.playmusic{
    width: 0;
}

header{
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border: 20px solid rgb(244, 244, 244);
    color: rgb(244, 244, 244);
    background-color: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

header h1{
    font-size: 25px;
}

.header-title>div:first-child{
    text-align: center;
    border-bottom: 1px solid rgba(244, 244, 244,0.7);
    padding: 15px 0;
    margin: 0 10px;
}

.header-title>div:first-child>p{
    font-family: 'Noto Serif Display',serif;
    font-size: 11px;
    line-height: 1;
}

.header-title>div>p{
    margin: 0;
    letter-spacing: 0;
    font-size: 14px;
}

.header-title>div:last-child{
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
}

.header-invite{
    position: absolute;
    right: 0;
    bottom: 15%;
    text-align: right;
    opacity: 0.8;
}

header a{
    display: block;
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
    position: absolute;
    bottom: 0px;
    text-decoration: none;
    color: rgba(244, 244, 244,0.8);
    animation-name: scroll;
    animation-iteration-count: infinite;
    animation-duration: 2s;
}


@keyframes scroll{
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0);
    }
}

.intro{
    background-color: rgb(244, 244, 244);
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.intro-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 800px;
    text-align: justify;
}

.intro-box:last-child{
    flex-direction: column;
    text-align: justify;
}

.intro-pic{
    position: relative;
    width: 230px;
    height: 310px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-shadow: 1px -1px 5px rgba(45, 45, 45,0.2);
    opacity: 0;
    transform: translateY(50px);
}

.intro-box.active .intro-pic{
    opacity: 1;
    transform: translateY(0);
    transition: 1s;
}

#intro-groom{
    background-image: url('18.webp');
}
#intro-bride{
    background-image: url('19.webp');
}

#intro-groom .small-img{
    background-image: url('18.webp');
    background-position: 50% 40%;
    background-size: cover;
}
#intro-bride .small-img{
    background-image: url('19.webp');
    background-position: 50% 45%;
    background-size: cover;
}

.small-img{
    width: 70px;
    height: 70px;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -50px;
}

#intro-groom .small-img{
    left: -90px;
}
#intro-bride .small-img{
    right: -90px;
}

.intro-pic h1{
    color: rgb(255, 255, 255);
    position: absolute;
    letter-spacing: 6px;
}

#intro-groom h1{
    top: 60px;
    left: -55px;
    transform: rotate(90deg);
}
#intro-bride h1{
    top: 50px;
    right: -45px;
    transform: rotate(-90deg);
}

.intro-content{
    font-family: 'Noto Serif TC',serif;
    letter-spacing: 0;
    padding: 60px 10px 0 10px;
    opacity: 0;
    transform: translateX(50px);
}

.intro-box:last-child .intro-content{
    transform: translateX(-50px);
}

.intro-box.active .intro-content{
    opacity: 1;
    transform: translateX(0);
    transition: 1s;
    transition-delay: 0.5s;
}

.intro-content>p{
    max-width: 500px;
    margin-bottom: 0;
}

.dividing-line{
    font-family: 'Noto Serif Display',serif;
    font-size: 12px;
    letter-spacing: 0;
    margin: 70px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.name-circle{
    border: 1px solid rgba(45, 45, 45,0.5);
    border-radius: 50%;
    text-align: center;
    line-height: 1.5;
    padding: 0 15px;
    margin: 3px 15px 0 15px;
    scale: 0.8;    
}

.name-circle>p{
    font-family: 'Aboreto','Noto Serif TC',serif;
    margin: 7px 0;
}

.name-circle>p>span{
    font-size: 10px;
    padding-top: 2px;
}

.dividing-line>p{
    display: none;
}


.dividing-line>p:first-of-type{
    text-align: right;
}

.dividing-line>p:last-of-type{
    text-align: left;
}

.invite, .traffic, .schedule, .photo-video, .RSVP{
    background-color: rgb(244, 244, 244);
    padding: 50px 0;
    overflow: hidden;
}

.invite-box{
    position: relative;
    border: 1px solid rgb(45, 45, 45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    width: 300px;
}

.invite-box>h1{
    position: absolute;
    top: -33px;
}

.invite-box>div{
    width: 270px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.invite-content{
    border: 1px solid rgb(45, 45, 45);
    color: rgba(45, 45, 45,0);
    padding: 0 10px;
    box-sizing: border-box;
}

.invite-content.active{
    color: rgb(45, 45, 45);
    transition: 1s;
    transition-delay: 0.2s;
}

.invite-pic, .invite-pic-hide{
    background-repeat: no-repeat;
    background-size: cover;
}

.invite-pic{
    margin: 20px;
}

.invite-pic-hide{
    width: 100%;
    height: 100%;
}

#invite-pic1{
    background-image: url('1.webp');
    animation: changeBackground 20s infinite;
    animation-timing-function: step-start;
}
@keyframes changeBackground{
    0% {
      background-image: url('1.webp');
      background-position: 50% 50%;
    }
    10% {
      background-image: url('2.webp');
      background-position: 25% 50%;
    }
    20% {
      background-image: url('3.webp');
      background-position: 50% 50%;
    }
    30% {
      background-image: url('4.webp');
      background-position: 40% 50%;
    }
    40% {
      background-image: url('5.webp');
      background-position: 50% 50%;
    }
    50% {
      background-image: url('6.webp');
      background-position: 50% 50%;
    }
    60% {
      background-image: url('7.webp');
      background-position: 50% 50%;
    }
    70% {
      background-image: url('8.webp');
      background-position: 50% 50%;
    }
    80% {
      background-image: url('9.webp');
      background-position: 50% 50%;
    }
    90% {
      background-image: url('10.webp');
      background-position: 25% 50%;
    }
    100% {
      background-image: url('1.webp');
      background-position: 50% 50%;
    }
}

#invite-pic2{
    background-image: url('11.webp');
    animation: changeBackground2 20s infinite;
    animation-timing-function: step-start;
}
@keyframes changeBackground2{
    0% {
      background-image: url('11.webp');
      background-position: 55% 50%;
    }
    10% {
      background-image: url('14.webp');
      background-position: 50% 50%;
    }
    20% {
      background-image: url('21.webp');
      background-position: 50% 50%;
    }
    30% {
      background-image: url('18.webp');
      background-position: 50% 50%;
    }
    40% {
      background-image: url('15.webp');
      background-position: 50% 50%;
    }
    50% {
      background-image: url('16.webp');
      background-position: 50% 50%;
    }
    60% {
      background-image: url('17.webp');
      background-position: 50% 50%;
    }
    70% {
      background-image: url('12.webp');
      background-position: 50% 50%;
    }
    80% {
      background-image: url('19.webp');
      background-position: 50% 50%;
    }
    90% {
      background-image: url('20.webp');
      background-position: 50% 50%;
    }
    100% {
      background-image: url('11.webp');
      background-position: 55% 50%;
    }
}

.traffic{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.traffic-guide-box{
    color: rgb(244, 244, 244);
    background-color: rgb(45, 45, 45);
    position: relative;
    padding: 50px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.traffic-guide-box>h1{
    color: rgb(45, 45, 45);
    position: absolute;
    top: -30px;
    left: 20px;
}

.traffic-guide>p{
    margin: 0;
}

.traffic-guide ul{
    margin: 0;
    padding: 0 0 0 15px;
}

.traffic-content{
    display: grid;
    grid-template-columns: 20px auto;
    row-gap: 20px;
    opacity: 0;
    transform: translateX(50px);
}

.traffic.active .traffic-content{
    opacity: 1;
    transform: translateX(0);
    transition: 1s;
    transition-delay: 0.5s;
}

.traffic-map{
    position: relative;
    width: 80%;
    min-width: 250px;
    max-width: 350px;
    margin: 30px auto;
}

.traffic-map img{
    display: block;
    width: 100%;

}

.traffic-map a{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(255, 255, 255);
    background-color: rgba(45, 45, 45, 0.8);
    text-decoration: none;
    opacity: 1;
}

.traffic-map a.active{
    opacity: 0;
    transition: 3s 3s;
}


.traffic-map:hover a{
    animation: maphint 1s forwards;
}

@keyframes maphint{
    from{
        opacity: 0;
    }to{
        opacity: 1;
    }
}

.STitle{
    font-family: 'Noto Serif Display','Noto Serif TC',serif;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-top: 100px;
}

#schedule{
    text-align: center;
    overflow: hidden;
}

.schedule-title{
    max-width: 180px;
    margin: auto;
}

.schedule-title>div{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule-ribbon{
    width: 25px;
    stroke-width: 4px;
}

.timeline{
    font-family: 'Noto Serif Display','Noto Serif TC',serif;
    font-weight: 700;
    font-size: 16px;
    padding-top: 80px;
}

.activity{
    opacity: 0;
}
.activity:last-of-type{
    font-size: 13px;
    letter-spacing: 0;
}
.activity p{
    margin: 0;
}

.activity>p:first-of-type{
    font-size: 18px;
}
.activity>p:first-of-type>span{
    font-size: 12px;
}

.timeline.active .activity{
    opacity: 1;
    transition: 2s;
}
.timeline.active .activity:nth-of-type(3){
    transition-delay: 1s;
}
.timeline.active .activity:nth-of-type(5){
    transition-delay: 2s;
}
.timeline.active .activity:nth-of-type(7){
    transition-delay: 3s;
}
.timeline.active .activity:nth-of-type(9){
    transition-delay: 4s;
}
.timeline.active .activity:nth-of-type(11){
    transition-delay: 5s;
}

.line-box{
    padding: 20px 0;
    height: 140px;
    display: flex;
    justify-content: center;
}

.line{
    border-left: 1px solid rgba(45, 45, 45, 0.5);
    height: 0;
}

.timeline.active .line{
    height: 100%;
    transition: 1s;
}
.timeline.active .line-box:nth-of-type(2) .line{
    transition-delay: 0.5s;
}
.timeline.active .line-box:nth-of-type(4) .line{
    transition-delay: 1.5s;
}
.timeline.active .line-box:nth-of-type(6) .line{
    transition-delay: 2.5s;
}
.timeline.active .line-box:nth-of-type(8) .line{
    transition-delay: 3.5s;
}
.timeline.active .line-box:nth-of-type(10) .line{
    transition-delay: 4.5s;
}

.carousel{
    position: relative;
    width: 100%;
    margin: auto;
    cursor: grab;
}

.photo-box{
    display: flex;
    gap: 20px;
    width: 100%;
    height: 450px;
    margin: auto;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.photo-box::-webkit-scrollbar{
    display: none;
}

.photo-box img{
    height: 100%;
    scroll-snap-align: center;
    pointer-events: none;
    user-select: none;
}
.photo-box img:first-of-type{
    padding-left: 20px;

}
.photo-box img:last-of-type{
    padding-right: 20px;
}

.carousel button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(244, 244, 244);
    background: rgba(45, 45, 45, 0.8);
    font-size: 20px;
    border: none;
    border-radius: 50rem;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
}

#arrow-left{
    left: -5%;
}

#arrow-right{
    right: -5%;
}

.moreinfo{
    background-color: rgb(244, 244, 244);
    overflow: hidden;
    padding-bottom: 50px;
    text-align: center;
}

.moreinfo>div{
    width: 90%;
    max-width: 800px;
    margin: 100px auto 0 auto;
}

.simple-line{
    width: 90%;
    border-top: 1px solid rgba(45, 45, 45, 0.3);
}

.moreinfo p{
    margin: 20px 0;
}

.moreinfo .STitle{
    margin: 100px 0 15px 0;
}

.moreinfo a:link, .moreinfo a:visited{
    position: relative;
    color: rgb(244, 244, 244);
    border: 1px solid rgb(45, 45, 45);
    background-color: rgb(45, 45, 45);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    white-space: nowrap;
    padding: 8px 11px 8px 12px;
    border-radius: 50rem;
    transition: 0.5s;
}

.moreinfo a:hover, .moreinfo a:active{
    color: rgb(45, 45, 45);
    background-color: rgb(244, 244, 244);
}

#airport img,#arrival-card img{
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
}

#TPEimg{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
#TPEimg img{
    margin: 5px;
}

.countdown-area{
    background-color: rgb(244, 244, 244);
    padding: 50px 10px;
    text-align: center;
    overflow: hidden;
}

.countdown-area>p{
    padding: 20px 0;
}

.countdown-area-box{
    width: 90%;
    max-width: 700px;
    margin: 50px auto 0 auto;
    display: grid;
    grid-template-columns: 24% 24% 24% 24%;
    gap: 0 15px;
    justify-content: center;
}

.countdown-area-box>div{
    border: 1px solid rgba(45, 45, 45,0.3);
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.countdown-area-box>div>p{
    font-size: 20px;
    transform: translateY(30px);
    opacity: 0;
}

.countdown-area-box>div>p.active{
    transform: translateY(0);
    opacity: 1;
    transition: 1s;
}

.countdown-area-box>div:nth-child(2)>p.active{
    transition-delay: 0.5s;
}
.countdown-area-box>div:nth-child(3)>p.active{
    transition-delay: 1s;
}
.countdown-area-box>div:nth-child(4)>p.active{
    transition-delay: 1.5s;
}

.dividing-line2{
    background-color: rgb(244, 244, 244);
    font-family: 'Noto Serif Display',serif;
    font-size: 12px;
    letter-spacing: 0;
    padding: 50px 0 0 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

  
.dividing-line2>div{
    width: 100%;
    border-top: 1px solid rgba(45, 45, 45,0.5);
    border-bottom: 1px solid rgba(45, 45, 45,0.5);
    position: relative;
    display: flex;
    justify-content: space-around;
}

.dividing-line2 p{
    margin: 5px 5px 5px 0;
}


.RSVP{
    text-align: center;
}

.formarea{
    font-family: 'Noto Serif TC',serif;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
}

.attend{
    display: inline-flex;
    position: relative;
    color: rgba(45, 45, 45,0.3);
    font-size: 20px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Noto Serif Display','Noto Serif TC',serif;
    letter-spacing: 1px;
    margin: 0 20px;
}


.attend input, .hideinput input{
    position: absolute;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    cursor: pointer;
}

.attend span{
    transition: 0.5s;
}

.attend:hover span{
    color: rgba(45, 45, 45,0.5);
}

.attend input:checked ~ span{
    color: rgba(45, 45, 45,1);
}

#form2, #form3{
    overflow-y: hidden;
    transition: 1s;
}

.form-grid{
    display: flex;
    flex-direction: column;
    text-indent: 0;
    text-align: left;
    margin: 0 0 50px 0;
}

.form-title{
    font-weight: 700;
    margin-top: 60px;
}

.children-seat{
    display: none;
}

input, textarea{
    width: 100%;
    box-sizing: border-box;
    padding: 5px 10px 8px 10px;
    color: rgb(45, 45, 45);
    background-color: rgba(45, 45, 45, 0);
    border: none;
    letter-spacing: 2px;
    border-radius: 0;
}

input:focus, select:focus, textarea:focus{
    outline: none;
}

input{
    border-bottom: 1px solid rgba(45, 45, 45,0.5);
}

select{
    width: 100%;
    color: rgb(45, 45, 45);
    background-color: rgba(45, 45, 45, 0);
    border: none;
    border-bottom: 1px solid rgba(45, 45, 45,0.5);
    border-radius: 0;
    padding: 8px 0;
    text-indent: 7px;
    height: 32px;
}

textarea{
    display: block;
    width: 100%;
    resize: none;
    margin-bottom: 0;
    border: 1px solid rgba(45, 45, 45,0.5);
}


::placeholder{
    color: rgba(45, 45, 45,0.5);
    font-family: 'Aboreto','Noto Serif TC',serif;
}

.hideinput{
    position: relative;
    padding-left: 0px;
    margin-right: 10px;
    cursor: pointer;
    letter-spacing: 1px;
}

.hideinput span{
    position: absolute;
    width: 10px;
    height: 10px;
    border:1px solid rgb(45, 45, 45);
    top: 5px;
    left: -20px;
    transition: 0.5s;
}

input[type=radio] ~ span{
    border-radius: 50%;
}

.hideinput:hover span{
    background-color: rgba(45, 45, 45, 0.5);
}

.hideinput input:checked ~ span{
    background-color: rgb(45, 45, 45);
}

.AandK select{
    margin-right: 5px;
    width: calc(100% / 2 - 50px);
}

input[type=submit]{
    width: auto;
    color: rgb(45, 45, 45);
    background-color: rgba(45, 45, 45,0);
    border: 1px solid rgb(45, 45, 45);
    padding: 10px 20px;
    margin-top: 40px;
    border-radius: 20px;
    text-indent: 5px;
    letter-spacing: 2px;
    font-family: 'Noto Serif TC',serif;
    font-weight: 600;
    transition: 1s;
}

#loading{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

#loader{
    border: 8px solid rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border-top: 8px solid rgba(255, 255, 255, 0);
    width: 70px;
    height: 70px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
}
  
/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#submit-success{
    width: 100%;
    height: 100%;
    color: rgb(244, 244, 244);
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 100;
    position: fixed;
    top: 0;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

#submit-success h1{
    position: relative;
    letter-spacing: 5px;
    text-indent: 5px;
    font-size: 20px;
}


#submit-success>div{
    background-color: rgb(45, 45, 45);
    padding: 50px 70px;
    position: relative;
}

#submit-success>div::before{
    content: '';
    position: absolute;
    border: 1px solid rgba(244, 244, 244,0.5);
    width: 95%;
    height: 95%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#countdown{
    margin: 30px 0 40px 0;
    position: relative;
}

#submit-success a:link, #submit-success a:visited{
    position: relative;
    color: rgb(244, 244, 244);
    border: 1px solid rgb(244, 244, 244);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    transition: 0.5s;
}

#submit-success a:hover, #submit-success a:active{
    color: rgb(45, 45, 45);
    background-color: rgb(244, 244, 244);
}

footer{
    padding: 30px 0;
    color: rgb(244, 244, 244);
    background-color: rgb(45, 45, 45);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 12px;
    position: relative;
}

footer > a{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    color: rgba(244, 244, 244,0.7);
    background-color: rgb(45, 45, 45);
    font-size: 10px;
    text-indent: 2px;
    text-decoration: none;
    top: -30px;
    padding: 15px 10px 0 10px;
    border-radius: 30px 30px 0 0;
}


footer>.name-circle{
    border: 1px solid rgba(244, 244, 244,0.5);
    letter-spacing: 0;
}


footer div a:link, footer div a:visited{
    text-decoration: underline;
    color: rgb(244, 244, 244);
    transition: 0.5s;
}

footer div a:hover, footer div a:active{
    color:rgb(128, 128, 128);
}

.eng{
    font-family: 'Noto Serif TC',serif;
    font-size: 14px;
    letter-spacing: 0;
}

@media (hover){
    input[type=submit]:hover, input[type=submit]:active{
        color: rgb(244, 244, 244);
        background-color: rgb(45, 45, 45);
        cursor: pointer;
    }
}

@media screen and (min-width: 1000px){
    header h1{
        font-size: 2vw;
    }
    .header-title>div>p{
        font-size: 1.1vw;
    }
    .header-title>div:first-child>p{
        font-size: 1vw;
    }
    .traffic-guide-box{ width: 60%;}
}

@media screen and (min-width: 950px){
    .invite-box{ flex-direction: row; width: 900px;}
}

@media screen and (min-width: 800px){
    #photo-gallery > div{ width: 48%;}
}

@media screen and (min-width: 650px){
    .intro-box{ flex-direction: row; }
    .intro-box:last-child{ flex-direction: row-reverse; text-align: right;}
    .intro-content{padding: 0 50px;}
    .dividing-line>p{ display: block; }
}

@media screen and (min-width: 500px){
    .timeline{ font-size: 18px;}
    .STitle{
        font-size: 22px;
    }
    .photo{ height: 400px; }      
    .video{ height: 300px; }
}

/**@media screen and (min-width: 462px){
    .schedule iframe{
        aspect-ratio: 1 / 1.45;
    }
}**/
