@charset "utf-8";
@import url('pages.css');
@font-face { 
    font-family: Europa;
    src: url(../font/europa-light-webfont.ttf);
}

/* for all */

* {
	padding: 0;
	margin: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
}

/* text */

.h1 { /* 中文 */
    font-family: 'PingFang TC', 'Lantinghei TC', 'Microsoft JhengHei', 'Noto Sans CJK TC', 'Heiti TC', sans-serif;
}
.h2 { /* 英文 */
    font-family: Europa, Arial, Helvetica, sans-serif;
}

/* menu */

body {
    width: 100%;
    height: 100%;
    position: relative;
}
header {
    width: 100%;
    height: 48px;
	position: fixed;
    top: 0;
    z-index: 2;
}
nav {
    height: 48px;
    display: flex;
    align-items: left;
    background-color: #FFFFFF;
	border-bottom: 1px solid #F1F1F1;
}
.logo {
	margin-left: 16px;
}
.logo_img {
	width: 42px;
    margin-top: 6px;
}
.name {
	width: calc(60% - 58px);
    font-size: 125%;
    font-weight: 200;
    letter-spacing: 1.5px;
    line-height: 48px;
    color: #000000;
    text-align: left;
    padding-left: 10px;
}
.name a {
    color: #000000;
}
.name a:visited {
    color: #000000;
}
.name a:hover {
    color: #000000;
}
.name a:active {
    color: #000000;
}
.nav_menu {
    width: calc(40% - 16px);
    height: 48px;
    display: flex;
    font-size: 95%;
    font-weight: 100;
    letter-spacing: 1.5px;
    line-height: 42px;
    color: #000000;
    justify-content: space-around;
    margin-right: 16px;
    padding-top: 6px;
}
.nav_menu li {
    list-style: none;
}
.nav_menu a {
    color: #000000;
    text-decoration: none;
}
.nav_menu a:hover {
    padding-bottom: 8px;
    border-bottom: 4px solid #FFDC5A;
}
.nav_menu a:active {
    padding-bottom: 8px;
    border-bottom: 4px solid #EEEEEE;
}
.selected {
    padding-bottom: 8px;
    border-bottom: 4px solid #EEEEEE;
}
.burger {
    display: none;
}
.burger div {
    width: 22px;
    height: 2px;
    background-color: #000000;
    margin: 6px;
    transition: all 0.3s ease;
}

/* menu burger */

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px,6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px,-6px);
}

/* reel */

.reel {
    width: 100%;
    height: auto;
    text-align: center;
	margin-top: 48px;
    margin-bottom: 36px;
    padding-top: 32px;
    padding-bottom: 16
    px;
}
.reel_title {
    font-size: 100%;
    font-weight: 200;
    letter-spacing: 1px;
    color: #CCCCCC;
    padding-bottom: 16px;
}
.reel_video {
	width: 54%;
	margin: 0 23%;
}
.video_container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}   
.video_container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.cover img {
    width: 50%;
}

/* footer */

footer {
    width: 100%;
    height: 36px;
    position: fixed;
    bottom: 0;
    background-color: #FFFFFF;
    border-top: 1px solid #F1F1F1;
    padding-left: 3%;
    padding-right: 3%;
    z-index: 1;
}
.copyright {
    font-size: 80%;
    font-weight: 200;
    letter-spacing: 1px;
    color: #000000;
    line-height: 32px;
    text-align: center;
}


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

    .name {
        width: 80%;
    }
    .nav_menu {
        width: 100%;
        position: absolute;
        top: 48px;
        right: 0px;
        height: 100vh;
        background-color: rgba(0,0,0,1);
        color: #FFFFFF;
        display: flex;
        flex-direction: column;
        align-items: center;
        transform: translateX(100%);
        margin-right: 0;
        padding-bottom: 100px;
        overflow: hidden;
    }
    .nav_menu a {
        color: #FFFFFF;
    }
    .burger {
        display: block;
        background-color: #FFFFFF;
        margin: 8px 12px 8px auto;
    }
    .nav_active {
        transform: translateX(0%);
    }
    .selected {
        border-bottom: 0px;
    }
    .reel {
        margin-bottom: 54px;
    }
	.reel_video {
		width: 100%;
		margin: 0;
	}
    .cover img {
        width: 85%;
    }
    footer {
        height: 54px;
    }
    .copyright {
        line-height: 22px;
        padding-top: 4px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1079px) {
    
    .name {
        width: calc(40% - 58px);
    }
    .nav_menu {
        width: calc(60% - 16px);
    }
    .cover img {
        width: 60%;
    }
}