@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Codystar&family=Jost:wght@400;700&family=Noto+Serif+TC:wght@200;400;600;700&display=swap');

@font-face {
    font-family: 'DomaineDisplay';
    src: url('../fonts/DomaineDisplay-Regular.woff') format("woff"),
        url('../fonts/DomaineDisplay-Regular.ttf') format("truetype"),
        url('../fonts/DomaineDisplay-Regular.eot') format("embedded-opentype");

    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GTW';
    src: url('../fonts/GT-Walsheim-Pro-Bold.woff') format("woff"),
        url('../fonts/GT-Walsheim-Pro-Bold.ttf') format("truetype"),
        url('../fonts/GT-Walsheim-Pro-Bold.eot') format("embedded-opentype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'GTW';
    src: url('../fonts/GT-Walsheim-Pro-Light.woff') format("woff"),
        url('../fonts/GT-Walsheim-Pro-Light.ttf') format("truetype"),
        url('../fonts/GT-Walsheim-Pro-Light.eot') format("embedded-opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GTW';
    src: url('../fonts/love-regular.woff') format("woff"),
        url('../fonts/love-regular.ttf') format("truetype"),
        url('../fonts/love-regular.eot') format("embedded-opentype");
    font-weight: 500;
    font-style: normal;
}

::selection {
    background: var(--Blue);
    color: var(--Orange);
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    margin: 0;

    --White: #fff;
    --Black: #000;
    --lightGray: #e2e2e4;
    --darkGray: #323232;
    --Yellow: #f3d100;
    --Pink: #fe0086;
    --Normal: 'Jost', 'GTW', 'Noto Sans TC', sans-serif;
    --Serif: 'DomaineDisplay', 'Noto Serif TCs', serif;
    --Dots: 'Codystar', 'GTW', 'Noto Sans TC', sans-serif;

    color: var(--Pink);
    background: var(--Yellow);
    background-size: cover;

    font-family: var(--Serif);
    font-size: 16px;
    line-height: 1em;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-y: hidden;
}

.yellow {
    color: var(--Yellow);
}

.pink {
    color: var(--Pink);
}

.big {
    font-size: 1.5em;
}

.small {
    font-size: .6em;
}

.bold {
    font-weight: bold;
}

.uppercase {
    text-transform: uppercase;
}

main {
    width: 100vw;
    overflow: hidden;
    position: relative;
}

html.has-scroll-smooth {
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
}

section {
    width: 100vw;
    position: relative;
    z-index: 0;
    padding: 0;
    margin: 0;
    white-space: normal;
    line-height: 0;
}

a {
    text-decoration: none;
}

p {
    line-height: 1.5em;
}

footer {
    width: 100vw;

    position: relative;
    z-index: 0;
    padding: 0;
    margin: 0;
    white-space: normal;
    line-height: 0;

}

.mobile {
    display: none !important;
}

.flexContainer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    align-content: center;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--darkGray);
    position: relative;
    z-index: 0;
}

.mask {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 100vh;
    left: 0px;
    z-index: -10;
}

.btn {
    display: block;
    width: 180px;
    height: 40px;
    color: var(--White);
    background: transparent;
    border: 1px solid var(--White);
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 3px;
    font-size: 16px;
    transition: .3s
}

.btn:hover {
    background: var(--White);
    color: var(--Blue);
    transition: .3s
}

.btn:hover.splitting .char {
    color: var(--Red);
    animation: slide-in 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    animation-delay: calc(60ms * var(--char-index));
}

.backTop {
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 150px;
    right: 10%;
    z-index: 14;
    text-transform: uppercase;
    border: 1px solid var(--White);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    cursor: pointer;
    font-size: 26px;
    opacity: 0;
    color: var(--White);
    transition: .3s;
}

.backTop:hover {
    background: var(--White);
    color: var(--Blue);
    transition: .3s;
}

.scroll {
    width: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    color: var(--Black);

    position: fixed;
    left: 17px;
    bottom: 100px;
    z-index: 12;

}

#scroll {
    width: 25px;
    height: auto;
    fill: var(--Black);
}

svg #dot {
    animation: scroll ease 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(100px);
    }
}

.scrollText {
    writing-mode: vertical-lr;
    margin-top: 10px;
    font-size: 12px;
}

/*Footer*/
.footer {
    background: var(--Yellow);

}

.footer .container {
    width: 90%;
    max-width: 1366px;
    margin: 0 auto;
    padding: 100px 0 400px 0 ;

    display: flex;
    justify-content: center;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}

.helf {
    width: 50%;
}

.logoContainer {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.aRowLogo {
    width: calc(100% - 120px);
    display: flex;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.aRowLogo img {
    display: block;
    height: 40px;
    margin: 0 30px 30px 0;
    transition: .3s;
}

.aRowLogo img:hover {
    opacity: .5;
    transition: .3s;
}

.logoTitle {
    min-width: 120px;
    color: var(--Gray);
    width: 100px;
    margin-right: 20px;
    padding-top: 12px;
    text-align: right;
}



/*////RWD////*/
@media screen and (max-width:1660px) {}

@media screen and (max-width:1440px) {}

@media screen and (max-width:1366px) {}

@media screen and (max-width:1280px) {
    .aRowLogo img {
        height: 37px;
    }
}

@media (orientation:portrait) and (max-height: 1180px) {}

@media screen and (max-width:1024px) {
    .aRowLogo img {
        height: 29px;
    }

}

@media (orientation:portrait) and (max-height: 1024px) {}

@media screen and (max-width:480px) {
    .mobile {
        display: block !important;
    }

    .desktop {
        display: none !important;
    }

    .mask {
        top: -50px;
    }

    .backTop {
        height: 30px;
    }

    .scrollText {
        font-size: 10px;
    }

    .scroll {
        left: 9px;
        bottom: 80px;
    }

    .logo {
        width: 100px;
        height: 137px;
        top: 20px;
        left: 30px;
    }

    .footer .container {
        width: 90%;
        padding: 100px 0 600px 0 ;
    }

    .helf {
        width: 100%;
    }

    .aRowLogo img {
        height: 35px;
    }


}

/*Iphone 10*/
@media (orientation: portrait) and (max-height: 812px) {
    .logo {
        width: 90px;
        height: 123px;
    }
}

@media (orientation: portrait) and (max-height: 736px) {

    .logo {
        width: 73px;
        height: 100px;
    }
}

@media (orientation: portrait) and (max-height: 667px) {
    .logo {
        width: 66px;
        height: 90px;
    }
}

@media screen and (max-width: 360px) {}

@media screen and (max-width: 320px) {}