/* -------------------------------------------------------------------------------------------------------- */
/* base */
html,body,header,nav,main,section,aside,footer,div,ul,h1,h2,h3,h4,li,p,a,span,label,select,option,textarea,input,button,video,fieldset {
    margin: 0px; 
    padding: 0px; 
    box-sizing: border-box;
}
html {
    width: 100vw;
    height: 100vh;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
body {
    position: relative; 
    float: left;
    
    width: 100%; 
    height: 100vh;
    
    /* background-position: center center; 
    background-repeat: no-repeat; 
    background-attachment: local, scroll;  */
    background-size: cover;
    background-color: #555555;

    font-size: 16px;
    text-align: center; 
    font-family: Microsoft JhengHei; 
}

h1 {
    font-size: 2em;
}
p {
    font-size: 1em;
}

/* -------------------------------------------------------------------------------------------------------- */
/* yoyo */
@keyframes mymove {
	0% {
		transform: rotateY(0deg);
	}
	40% {
		transform: rotateY(-45deg);
	}
	60% {
		transform: rotateY(45deg);
	}
	80% {
		transform: rotateY(-45deg);
	}
	100% {
		transform: rotateY(0deg);
	}
}
.testIn {
	animation-name: mymove;
	animation-duration: 1s;
}
.yoyo {
	position: relative; 
	float: left; 
	width: 100%;

    transform-style:3d;
    -moz-transform-style:3d;
    -webkit-transform-style:3d;
}

/* -------------------------------------------------------------------------------------------------------- */
/* scroll */
.scroll {overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch;}
.scroll::-webkit-scrollbar {width: 0px;}
/* .scroll::-webkit-scrollbar-track {-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.2);} */
.scroll::-webkit-scrollbar-thumb {background-color: rgba(0,0,0,0); outline: none;}

/* -------------------------------------------------------------------------------------------------------- */
/* select none */
.select-none {
	-webkit-user-select: none;
	-moz-user-select: none;
    -o-user-select: none;
	-ms-user-select: none;
	-khtml-user-select: none;
	user-select: none;
}

/* -------------------------------------------------------------------------------------------------------- */
/* fix */
.bodyfix {
    overflow: hidden; 
	position: fixed;
}

/* -------------------------------------------------------------------------------------------------------- */
/* effect */
.trans {
	-moz-transition: all 0.68s;
	-ms-transition:  all 0.68s;
	-webkit-transition: all 0.68s;
    transition: all 0.68s;

    -moz-transition-timing-function: cubic-bezier(1,0,0.2,1);
	-ms-transition-timing-function: cubic-bezier(1,0,0.2,1);
	-webkit-transition-timing-function: cubic-bezier(1,0,0.2,1);
	transition-timing-function: cubic-bezier(1,0,0.2,1);
}

.animation { 
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

/* -------------------------------------------------------------------------------------------------------- */
/* click */
.click-btn, .logout-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: transparent;
    outline: none;
    border: none;
    cursor: pointer;
}






.line {
    display: flex;
    width: 100%;

    flex-wrap: wrap;
    justify-content: center;
}


.main {
    margin: 10px;
    width: 240px;

    background-color: #ffffff;
    height: 240px;
    justify-content: center;
    margin-bottom: 50px;
    
}
.main img, .tab img {
    width: 100%;
    height: auto;
}
.tab {
    margin: 10px;
    width: 96px;

    background-color: #ffffff;
    height: 74px;
    justify-content: center;
    margin-bottom: 50px;
    
}
.main p, .tab p {
    position: relative;
    float: left;
    width: 100%;
    color: #fff;
}


.photo {
    margin: 10px;
    width: 370px;

    background-color: #ffffff;
    /* background-color: #000000; */

    /* height: 320px; */
    justify-content: center;
    margin-bottom: 50px;
    
    /* border: 1px solid #ffffff; */
}
.photo img {
    position: relative;
    float: left;
    width: 100%;
    /* height: 320px; */
    height: auto;
    margin-bottom: -4px;

    border-style: solid;
    border-color: #fff;
    border-width: 1px;

    border: none;

    margin-bottom: -4px;
}
.photo p {
    position: relative;
    float: left;
    width: 100%;
    color: #fff;

    display: none;
}

.sp {
    position: relative;
    clear: both;
    width: 100%;
}