﻿@charset "utf-8";
@import url("normalize.css");
@import url("header.css");

html,body{
	width: 100%;
    max-width: 1920px;
    min-width: 320px;
    height:100%;
    margin: 0 auto;
    position:relative;
    font-family:  'Microsoft JhengHei',Helvetica, serif;

}
body > iframe {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    border: none;
    list-style:none;
    background-repeat:no-repeat;
    text-decoration:none;/*去底線*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    color: inherit;
}


h1 {font-size: 72px;
}
h2 {font-size: 56px;
}
h3 {font-size: 36px;
}
h4 {font-size: 32px;
}
h5 {font-size: 26px;
}
h6 {font-size: 24px;
}
p {font-size: 22px;
}

@media screen and (max-width: 768px) {
h1 {font-size: 50px;
}
h2 {font-size: 40px;
}
h3 {font-size: 30px;
}
h4 {font-size: 26px;
}
h5 {font-size: 22px;
}
h6 {font-size: 20px;
}
p {font-size: 18px;
}
}

@media screen and (max-width: 480px) {
h1 {font-size: 42px;
}
h2 {font-size: 32px;
}
h3 {font-size: 26px;
}
h4 {font-size: 22px;
}
h5 {font-size: 20px;
}
h6 {font-size: 18px;
}
p {font-size: 16px;
}
}

@media screen and (max-width: 350px) {
h1 {font-size: 36px;
}
h2 {font-size: 28px;
}
h3 {font-size: 22px;
}
h4 {font-size: 18px;
}
h5 {font-size: 16px;
}
h6 {font-size: 14px;
}
p {font-size: 12px;
}
}
/*SCROLL_動畫*/
.animated {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}
#gotop {
    position: fixed;
    right: 20px;
    bottom: 30px;
    padding: 10px 16px;
    cursor: pointer;
    z-index: 39;
}

@media screen and (max-width: 1200px) {
#gotop {
    right: 5px;
    bottom: 5%;
    padding: 5px 5px;
}
#gotop img{
    width: 70%;
    height: 70%;
}
}
@media screen and (max-width: 500px) {
#gotop {
    bottom: 8%;
}
}