@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Noto+Serif+TC:wght@200..900&display=swap');

html{scroll-behavior: smooth;}
body,html{height: 100%;}

body{
    position: relative;
    margin: 0;
    padding: 0;
    font-family: 'Cormorant','Noto Serif TC',serif;
    color: rgb(149, 164, 184);
    background-color:rgb(243, 236, 226);
    letter-spacing: 3px;
    text-indent: 3px;
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
}

::selection{
    color: rgb(243, 236, 226);
    background-color: rgba(149, 164, 184, 0.7);
}

h1{
    margin: 0;
}

h2{
    margin: 0;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 5px;
    line-height: 1.5;
}

p{
    margin: 0;
}

*{
    box-sizing: border-box;
}


#music-onoroff{
    width: 100%;
    height: 100%;
    color: rgb(243, 236, 226);
    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(149, 164, 184);
    padding: 100px 40px;
    position: relative;
}

#music-onoroff>div::before{
    content: '';
    position: absolute;
    border: 1px solid rgba(243, 236, 226,0.5);
    width: 95%;
    height: 95%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#music-onoroff a:link, #music-onoroff a:visited{
    text-indent: 4px;
    position: relative;
    display: inline-block;
    color: rgb(243, 236, 226);
    border: 1px solid rgb(243, 236, 226);
    text-decoration: none;
    padding: 7px 20px 5px 20px;
    margin: 20px 0 40px 0;
    border-radius: 50rem;
    transition: 0.5s;
}

#music-onoroff a:link:last-of-type{
    border: none;
}

#music-onoroff a:hover, #music-onoroff a:active{
    color: rgb(149, 164, 184);
    background-color: rgb(243, 236, 226);
}

.music-button{
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(149, 164, 184);
    border: 1px solid rgba(149, 164, 184, 0.7);
    border-radius: 50rem;
    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(149, 164, 184, 0.9);
    transform: rotate(45deg);
    transform-origin: top left;
    top: 20%;
    left: 25%;
    transition: 0.5s;
}

.music-off-line.playmusic{
    width: 0;
}

.bg{
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: url('1.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

header{
    position: relative;
    width: 100%;
    height: 100%;
    background-color:rgb(243, 236, 226);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.header-box{
    position: relative;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    padding: 5px 15px;
    border: 3px double rgb(149, 164, 184);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header-box1{
    display: flex;
    justify-content: space-between;
    font-style: italic;
}

.header-box2{
    position: relative;
    text-align: center;
    align-self: center;
    width: 80%;
    max-width: 300px;
}

.ribbon{
    display: grid;
    justify-items: center;
    align-items: center;
    padding: 2px;
}

.ribbon svg{
    fill: rgb(243, 236, 226);
    stroke: currentColor;
    overflow: visible;
}

.ribbon-animation{
    animation-name: RibbonAnimation;
    animation-iteration-count: infinite;
    animation-duration: 8s;
}

@keyframes RibbonAnimation{
    0% {
        transform: translateY(5px);
    }
    20% {
        transform: translateY(0px);
    }
    40% {
        transform: translateY(2px);
    }
    60% {
        transform: translateY(0px);
    }
    80% {
        transform: translateY(3px);
    }
    100% {
        transform: translateY(5px);
    }
}

.ribbon-animation2{
    animation-name: RibbonAnimation2;
    animation-iteration-count: infinite;
    animation-duration: 8s;
}

@keyframes RibbonAnimation2{
    0% {
        transform: translateY(2px);
    }
    20% {
        transform: translateY(5px);
    }
    40% {
        transform: translateY(0px);
    }
    60% {
        transform: translateY(5px);
    }
    80% {
        transform: translateY(6px);
    }
    100% {
        transform: translateY(2px);
    }
}

.header-ribbon{
    position: absolute;
    width: 70%;
    aspect-ratio: 1 / 1;
    top: 60%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.header-ribbon svg{
    position: relative;
    stroke-width: 1.5px;
}


.header-ribbon-animation{
    animation-name: HeaderRibbonAnimation;
    animation-iteration-count: infinite;
    animation-duration: 8s;
}

@keyframes HeaderRibbonAnimation{
    0% {
        top: 60%;
    }
    20% {
        top: 57%;
    }
    40% {
        top: 59%;
    }
    60% {
        top: 57%;
    }
    80% {
        top: 59%;
    }
    100% {
        top: 60%;
    }
}

.header-date{
    font-family: 'Noto Serif TC',serif;
    font-style: italic;
    display: flex;
    align-items: center;
}

.date-line{
    width: 100%;
    border-top: 1px solid rgb(149, 164, 184);
    margin: 0 20px;
}

.header-title{
    display: flex;
    justify-content: space-between;
    font-size: 30px;
    font-weight: 300;
    line-height: 2;
}

.header-box3{
    position: relative;
    align-self: center;
}

header a:link, header a:visited{
    display: block;
    color: rgb(149, 164, 184);
    text-decoration: none;
    font-style: italic;
}

header a:hover, header a:active{
    color: rgba(149, 164, 184, 0.5);
    transform: translateY(-10px);
    transition: 0.5s;
}

#intro{
    padding: 100px 20px;
    background-color:rgb(243, 236, 226);
    overflow: hidden;
}

.intro-box{
    margin: auto;
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.intro-box:last-of-type{
    margin-top: 100px;
}

.intro-img-box{
    position: relative;
    width: 100%;
    max-width: 260px;
    padding: 5px;
    border: 3px double rgb(149, 164, 184);
    border-radius: 50rem 50rem 0 0;
}

.intro-img{
    width: 100%;
    aspect-ratio: 1 / 1.4;
    background-repeat: no-repeat;
    border-radius: 50rem 50rem 0 0;
}

#groom .intro-img{
    background-image: url('groom.webp');
    background-repeat: no-repeat;
    background-size: 170%;
    background-position: 0% 40%;  
}
#bride .intro-img{
    background-image: url('bride.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;  
}

.intro-ribbon{
    width: 60px;
    position: absolute;
}

.intro-ribbon svg{
    stroke-width: 4px;
}

#groom .intro-ribbon{
    bottom: -45px;
    right: -40px;
    transform: rotate(-20deg);
}

#bride .intro-ribbon{
    top: 45px;
    left: -15px;
    transform: rotate(5deg);
}

.intro-content{
    margin: 50px 0 0 0;
    text-indent: 0;
}

.intro-content h2,.intro-content p{
    opacity: 0;
}
.intro-content.active h2, .intro-content.active p{
    opacity: 1;
    transition: 2s;
}
.intro-content.active p{
    transition-delay: 0.5s;
}

#invite{
    position: relative;
    width: 100%;
    padding: 15px;
    color: rgb(243, 236, 226);
    background-color: rgba(149, 164, 184, 0.85);
    text-align: center;
    overflow: hidden;
}

#invite h2{
    line-height: 1;
    opacity: 0;
}

#invite p{
    font-family: 'Noto Serif TC',serif;
    opacity: 0;
}

#invite.active h2, #invite.active p{
    opacity: 1;
    transition: 2s;
}
#invite.active p{
    transition-delay: 0.5s;
}

.invite-box{
    border: 1px solid rgb(243, 236, 226);
    width: 100%;
    height: 100%;
    padding: 100px 20px;
}

.invite-ribbon svg{
    width: 100px;
    stroke-width: 3px;
    fill: none;
    stroke: currentColor;
    margin: 30px 0 20px 0;
}

#schedule{
    padding: 100px 20px;
    background-color: rgb(243, 236, 226);
    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{
    padding-top: 50px;
}

.activity{
    opacity: 0;
}

.activity>p:first-of-type{
    font-size: 20px;
}

.activity:last-of-type{
    letter-spacing: 2px;
}

.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:last-of-type{
    transition-delay: 4s;
}


.line-box{
    padding: 20px 0;
    height: 140px;
    display: flex;
    justify-content: center;
}

.line{
    border-left: 1px solid rgba(149, 164, 184, 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;
}

#traffic{
    background-color: rgb(243, 236, 226);
    overflow: hidden;
}

.outer-box{
    width: 90%;
    max-width: 700px;
    padding: 5px;
    margin: auto;
    border: 1px solid rgb(149, 164, 184);
}

.inner-box{
    border: 1px solid rgb(149, 164, 184);
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.map{
    position: relative;
    width: 100%;
    margin: 50px 0;
    opacity: 0;
}

.map.active{
    opacity: 1;
    transition: 2s;
}

.map>img{
    display: block; /*remove white space*/
    width: 100%;
}

.map a:link, .map a:visited{
    text-decoration: none;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(243, 236, 226);
    background-color: rgba(149, 164, 184, 0.7);
}

.map.active a:link, .map.active a:visited{
    opacity: 0;
    transition: 2s 1.5s;
}

.map.active a:hover, .map.active a:active{
    animation: maphint 1s forwards;
}

@keyframes maphint{
    from{
        opacity: 0;
    }to{
        opacity: 1;
    }
}

#guide{
    text-align: left;
    font-family: 'Noto Serif TC',serif;
    opacity: 0;
}

#guide.active{
    opacity: 1;
    transition: 1s;
}

#guide>svg{
    width: 13px;
    height: 13px;
    fill: currentColor;
}

#guide>svg:not(:first-of-type){
    margin-left: 3px;
}

#dresscode{
    background-color: rgb(243, 236, 226);
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

.color-area{
    max-width: 1000px;
    margin: 0 auto 50px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.color-box{
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px 10px 0 10px;
}

.color-box .ribbon{
    width: 90%;
    stroke: currentColor;
    stroke-width: 2px;
}

.color-box:nth-child(even) .ribbon{
    rotate: -15deg;
    margin-left: 15px;
}

#color1 svg{
    fill: rgba(212, 215, 217, 0);
}
#color2 svg{
    fill: rgba(255, 255, 255, 0);
}
#color3 svg{
    fill: rgba(240, 216, 219, 0);
}
#color4 svg{
    fill: rgba(99, 99, 99, 0);
}

.color-area.active #color1 svg{
    fill: rgba(212, 215, 217, 1);
    transition: 1s 0.5s;
}
.color-area.active #color2 svg{
    fill: rgba(255, 255, 255, 1);
    transition: 1s 1s;
}
.color-area.active #color3 svg{
    fill: rgba(240, 216, 219, 1);
    transition: 1s 1.5s;
}
.color-area.active #color4 svg{
    fill: rgba(99, 99, 99, 1);
    transition: 1s 2s;
}

.color-box p{
    margin-bottom: 20px;
}

#dresscode>p{
    font-style: italic;
    letter-spacing: 2px;
}

#photo-video-area{
    display: flex;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
}
#photo-video-area h2{
    font-size: 7vw;
}

#photo-video-area>div{
    width: 100%;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}
#photo-box{
    background-image: url('2.webp');
    background-position: 10% 50%;
    background-size: cover;
}
#photo-box>div{
    position: relative;
    width: 100%;
    height: 100%;
    color: rgb(243, 236, 226);
    background-color: rgba(149, 164, 184, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}
#photo-box>div::before{
    content: '';
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 1px solid rgb(243, 236, 226);
}

#photo-box:hover div{
    background-color: rgba(149, 164, 184, 0.95);
    transition: 0.5s;
}

#video-box{
    background-image: url('3.webp');
    background-position: 50% 50%;
    background-size: cover;
}
#video-box>div{
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(243, 236, 226, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}
#video-box>div::before{
    content: '';
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 1px solid rgb(149, 164, 184);
}
#video-box:hover div{
    background-color: rgba(243, 236, 226, 0.95);
    transition: 0.5s;
}

#closebutton:link, #closebutton:visited{
    position: fixed;
    z-index: 101;
    right: 20px;
    top: 0;
    color: rgb(243, 236, 226);
    font-size: 40px;
    font-weight: 900;
    text-decoration: none;
    transition: 0.5s;
    display: none;
}

#closebutton:hover, #closebutton:active{
    transform: scale(1.5);
}

#gallery{
    text-align: center;
    color: rgb(243, 236, 226);
    background-color: rgba(149, 164, 184, 0.95);
    position: fixed;
    z-index: 100;
    overflow-y: auto;
    height: 100%;
    width: 100%;
    top: 0;
    display: none;
    letter-spacing: 3px;
}

#gallery a:link, #gallery a:visited{
    color: rgba(243, 236, 226, 1);
    text-decoration: underline;
    transition: 0.5s;
}

#gallery a:hover, #gallery a:active{
    color: rgba(243, 236, 226, 0.5);
}

#photo-gallery{
    text-indent: 0;
    padding: 100px 50px;
    display: none;
    flex-direction: column;
}

#photo-gallery>div{
    width: 100%;
}

.photo-gallery-box{
    float: left;
    width: 100%;
}


#photo-gallery img{
    width: 100%;
}

#video{
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

iframe{
    width: 90%;
}

#countdown-area{
    padding: 100px 20px 50px 20px;
    background-color: rgb(243, 236, 226);
    text-align: center;
    overflow: hidden;
}

.countdown-line{
    max-width: 700px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0 20px;
    align-items: center;
}
.countdown-line>div{
    height: 1px;
    border-top: 1px solid rgb(149, 164, 184);
}

.countdown-area-box{
    color: rgb(243, 236, 226);
    position: relative;
    max-width: 700px;
    padding: 60px 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

#countdown-pic{
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('4.webp');
    background-size: cover;
    background-position: 50% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#countdown-pic::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(149, 164, 184, 0.8);
}

.countdown-area-box>div:not(:first-child){
    position: relative;
    font-size: 28px;
    line-height: 1;
    padding-bottom: 10px;
    font-style: italic;
    transform: translateY(-50px);
    opacity: 0;
}

.countdown-area-box>div.active{
    transform: translateY(0);
    opacity: 1;
    transition: 1.5s;
}

.countdown-area-box>div.active:nth-child(3){
    transition-delay: 0.5s;
}
.countdown-area-box>div.active:nth-child(4){
    transition-delay: 1s;
}
.countdown-area-box>div.active:nth-child(5){
    transition-delay: 1.5s;
}

.countdown-area-box>p{
    position: relative;
}

#RSVP{
    padding: 0 0 100px 0;
    text-align: center;
    background-color: rgb(243, 236, 226);
    overflow: hidden;
}

.rsvp-ribbon{
    width: 40px;
    margin: 30px auto 50px auto;
}

.rsvp-ribbon svg{
    stroke-width: 4px;
}

#RSVParea{
    width: 90%;
    max-width: 300px;
    margin: 0 auto;
}

.attend-area{
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 0 10px;
}

.attend{
    position: relative;
    cursor: pointer;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 10px;
    text-indent: 10px;
    text-align: center;
}


.attend input, .hideinput input{
    position: absolute;
    opacity: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: -1;
}

.attend span{
    position: absolute;
    width: 0px;
    height: 1;
    opacity: 0.5;
    border-bottom: 3px double rgb(149, 164, 184);
    bottom: -10px;
    left: 0;
    transition: 0.5s;
    pointer-events: none;
}

.attend p{
    opacity: 0.5;
}

.attend:hover span{
    width: 100%;
    opacity: 0.5;
}

.attend input:checked ~ span{
    width: 100%;
    opacity: 1;
}

.attend input:checked ~ p{
    opacity: 1;
}

.form-area{
    text-align: left;
}

.form-title{
    margin: 70px 0 10px 0;
    font-weight: 900;
}


input:not([type=submit]), select, textarea{
    width: 100%;
    box-sizing: border-box;
    font-size: 15px;
    padding: 8px 10px;
    color: rgb(149, 164, 184);
    background-color: rgba(149, 164, 184, 0.1);
    border: none;
    border-bottom: 1px solid rgb(149, 164, 184);
    letter-spacing: 2px;
    border-radius: 0;
}

input:focus, select:focus, textarea:focus{
    outline: none;
}

select{
    padding: 6px 0;
    text-indent: 7px;
    height: 32px;
    -moz-appearance: none;
    -webkit-appearance: none; 
    appearance: none;
}


textarea{
    display: block;
    width: 100%;
    resize: none;
    margin-bottom: 0;
}

::placeholder{
    color: rgba(149, 164, 184,0.5);
    font-family: 'Aboreto','Noto Serif TC',serif;
}

.hideinput{
    position: relative;
    padding-left: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.hideinput span{
    position: absolute;
    width: 10px;
    height: 10px;
    border:1px solid rgb(149, 164, 184);
    top: 3px;
    left: 0;
    transition: 0.5s;
}

.hideinput:hover span{
    background-color: rgba(149, 164, 184, 0.5);
}

.hideinput input:checked ~ span{
    background-color: rgb(149, 164, 184);
}

.AandK select{
    margin-right: 5px;
    width: calc(100% / 2 - 55px);
}

input[type=submit]{
    color: rgb(149, 164, 184);
    background-color: rgba(149, 164, 184, 0);
    border: 1px solid rgb(149, 164, 184);
    border-radius: 50rem;
    padding: 10px 20px;
    margin-top: 40px;
    text-indent: 5px;
    letter-spacing: 5px;
    font-size: 15px;
    font-family: 'Noto Serif TC',serif;
    font-weight: 900;
    transition: 0.5s;
}

#loading{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

#loader{
    border: 8px solid rgba(149, 164, 184, 0.5);
    border-radius: 50%;
    border-top: 8px solid rgba(149, 164, 184, 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%;
    text-align: center;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    position: fixed;
    top: 0;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    text-indent: 5px;
    letter-spacing: 5px;
}

#submit-success h2{
    position: relative;
}


#submit-success>div{
    color: rgb(243, 236, 226);
    background-color: rgb(149, 164, 184);
    padding: 70px 60px;
    position: relative;
}

#submit-success>div::before{
    content: '';
    position: absolute;
    border: 1px solid rgba(243, 236, 226, 0.5);
    width: 95%;
    height: 95%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#submit-success>div>div{
    font-family: 'Noto Serif TC',serif;
    margin: 30px 0 40px 0;
    line-height: 3;
    position: relative;
}

#submit-success a:link, #submit-success a:visited{
    position: relative;
    color: rgba(243, 236, 226);
    border: 1px solid rgba(243, 236, 226, 1);
    text-decoration: none;
    font-weight: 900;
    padding: 10px 20px 10px 23px;
    border-radius: 20px;
    letter-spacing: 3px;
    transition: 0.5s;
}

#submit-success a:hover, #submit-success a:active{
    color: rgba(149, 164, 184, 0.7);
    border: 1px solid rgba(149, 164, 184, 0.7);
    background-color: rgb(243, 236, 226);
}

footer{
    position: relative;
    color: rgb(243, 236, 226);
    background-color: rgb(149, 164, 184);
    line-height: 2;
    padding: 0 0 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 13px;
}

footer::before{
    content: '';
    position: absolute;
    width: 100%;
    border-top: 1px solid rgb(149, 164, 184);
    top: -5px;
}

footer>div:first-of-type{
    position: absolute;
    top: -10%;
    width: 50px;
    aspect-ratio: 1 / 1;
    border-radius: 50rem;
    background-color: rgb(149, 164, 184);
}

footer > a{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgb(243, 236, 226);
    text-decoration: none;
    margin-top: -5px;
    margin-bottom: 20px;
    z-index: 1;
}

footer > a:hover{
    transform: translateY(-5px);
    transition: 0.5s;
}

footer div a:link, footer div a:visited{
    text-decoration: underline;
    color: rgba(243, 236, 226, 1);
    transition: 0.5s;
}

footer div a:hover, footer div a:active{
    color:rgba(243, 236, 226, 0.5);
}

@media (hover){
    input[type=submit]:hover, input[type=submit]:active{
        color: rgb(149, 164, 184);
        border: 1px solid rgb(149, 164, 184);
        background-color: rgba(149, 164, 184, 0.5);
        cursor: pointer;
    }
}

@media screen and (min-width: 800px){
    .photo-gallery-box{ 
        width: 48.5%;
        margin: 0 5px;
    }
}

@media screen and (min-width: 700px){
    .intro-box{
        flex-direction: row;
    }
    .intro-box:last-of-type{
        flex-direction: row-reverse;
        text-align: right;
    }
    .intro-content{
        margin: 0;
    }
}

@media screen and (min-width: 500px){
    .color-area{
        flex-direction: row;
    }
    #photo-video-area h2{
        font-size: 4vw;
    }
    .countdown-area-box{
        padding: 100px 0;
    }
    .countdown-area-box>div:not(:first-child){
        font-size: 4vw;
    }
    #photo-video-area{
        flex-direction: row;
    }
    #photo-video-area h2{
        font-size: 4vw;
    }
    #photo-video-area>div{
        width: 50%;
    }
}

@media screen and (min-width: 350px){
    .header-title{
        font-size: 40px;
    }
}