@charset "utf-8";
html,body,header,p,img,a,ul,ol,li,div,section,article,h1,h2,h3,h4,h5,h6,main{
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: none;
}
body{
    font-size: 100%;
    font-family: arial, "微軟正黑體", sans-serif;
    background-color: rgb(175, 240, 255);
    //background-image: url(images/pic_background.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    margin-top: 70px;
}

/*
nav{
    width: 100%;
    height: 50px;
    background: rgba(255,0,0,0.5);
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

#menu ul {
    display: flex;
    justify-content: center;
    //margin-left: 17.5%;
    //margin-right: 17.5%;
}

#menu ul li {
    width: 200px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    list-style-type: none;
    float: left;
}

#menu ul li a:link, #menu ul li a:visited{
    color: rgba(255, 255, 255, 1.0);
    font-size: 1.2em;
    font-weight: bolder;
    letter-spacing: 0.1em;
    display: block;
    transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

#menu ul li a:hover{
    background-color: rgba(255, 0, 0, 0.5);
}
*/

.homepage{
    font-size: 1.3em;
    line-height: 2.5rem;
}

#product{
    width: 50%;
    margin: 0 25%;
}

a {
    color: darkred;
}

a:hover{
    color: yellow;
}

@media screen and (min-width:1024px){
    
#menu{
    width: 100%;
    height: 50px;
    background: rgba(0, 98, 255, 0.5);
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

#menu ul {
    display: flex;
    justify-content: center;
}

#menu ul li {
    width: 200px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    list-style-type: none;
    float: left;
}

#menu ul li a:link, #menu ul li a:visited{
    color: rgba(255, 255, 255, 1.0);
    font-size: 1.2em;
    font-weight: bolder;
    letter-spacing: 0.1em;
    display: block;
    transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

#menu ul li a:hover{
    background-color: rgba(0, 0, 255, 0.5);
}    
main{
    border-radius: 30px;
}
article{
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

h1{
    text-align: center;
    font-size: 3rem;
    color: #fff;
    text-shadow: 2px 2px 2px black;
    letter-spacing: 1rem;
    padding: 10px;
}
h2{
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
    text-align: center;
    letter-spacing: 0.8rem;
    padding: 10px;
    margin: 0 0 20px 0;
    background-color: rgba(0, 98, 255, 0.8);
}

#banner{
    width: 100%;
    height: 100%;
    text-align: center;
    //border-radius: 15px;
}
section{
    font-size: 1.3em;
    line-height: 2em;   
}

.btn{
    width: 20%;
    margin: 20px auto;
    //border-radius: 10px;
    background-color: darkred;
    color: white;
    text-align: center;
}
.btn a:link ,.btn a:visited{
    color: white;
    font-weight: bolder;
}

.btn:hover{
    background-color: rgb(255, 38, 105);
    transition: all 0.3s linear;
}
.content{
    padding: 50px;
    background-color: rgba(255,255,255,0.75);
    //border-radius: 15px;
    font-size: 1.4rem;
    letter-spacing: 0.2rem;
    margin: 0 0 3% 0;
}
.content li{
    margin-left: 10%;
    //list-style-image: url(images/icon_heart.gif);
    line-height: 2rem;
    margin-bottom: 1rem;
}
    
h3 p{
    display: list-item;
    margin-left: 10%;
    list-style-image: url(images/icon_heart.gif);
    line-height: 2rem;
    margin-bottom: 1rem;
}    
    
.date{
    background-color: rgb(255, 245, 0);
}

.content li a:hover{
	color: #f00;
	font-size:1.5em;
}

.pic_float_left{
    width: 40%;
    float: left;
    margin: 30px;
}
    
.pic-landscape{
    display: flex;
    justify-content: space-around;
}
 
.pic-landscape>img{
    width:30%;
}
    
}

@media screen and (max-width:1023px) and (min-width:481px){

#menu{
    width: 100%;
    height: 0px;
    background: rgba(0, 98, 255, 0.5);
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

/*
#menu img {
    float: left;
}
*/

#menu ul {
    float: right;
/*    margin-right: 5%;*/
    display: none;
    background-color: rgba(0, 0, 0,1.0);
/*    margin-top: 50px;*/
    width: 100%;
}
    
#menu ul li {
    width: auto;
    height: 50px;
    text-align: center;
    line-height: 50px;
    list-style-type: none;
    margin: 0px auto;
/*    float: left;*/
}

#menu ul li a:link, #menu ul li a:visited{
    color: rgba(255, 255, 255, 1.0);
    font-size: 1.2em;
    font-weight: bolder;
    letter-spacing: 0.1em;
    display: block;
    transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

#menu ul li a:hover{
    background-color: rgba(0, 98, 255, 0.5);
}    
    
#logo{
        width: 50%;
}    
main{
    border-radius: 30px;
}
article{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

h1{
    text-align: center;
    font-size: 2rem;
    color: #fff;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
    padding: 10px;
    letter-spacing: 0.5rem;
}
h2{
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
    text-align: center;
    padding: 15px;
    margin: 0 0 20px 0;
    background-color: rgba(0, 98, 255, 0.8);
    letter-spacing: 0.5rem;
}

#banner{
    width: 100%;
    height: 100%;
    text-align: center;
    //border-radius: 15px;
}
section{
    font-size: 1.3em;
    line-height: 2em;   
}

.btn{
    width: 90%;
    margin: 20px auto;
    //border-radius: 10px;
    background-color: darkred;
    color: white;
    text-align: center;
}
.btn a:link ,.btn a:visited{
    color: white;
    font-weight: bolder;
}

.btn:hover{
    background-color: rgb(255, 38, 105);
    transition: all 0.3s linear;
}
.content{
    padding: 15px;
    background-color: rgba(255,255,255,0.75);
    //border-radius: 15px;
    font-size: 1.1rem;
    letter-spacing: 0.2rem;
    margin: 0 0 3% 0;
}
.content li{
    margin-left: 10%;
    //list-style-image: url(images/icon_heart.gif);
    line-height: 2rem;
    margin-bottom: 1rem;
}
    
h3 p{
    display: list-item;
    margin-left: 10%;
    list-style-image: url(images/icon_heart.gif);
    line-height: 2rem;
    margin-bottom: 1rem;
} 
    
.date{
    background-color: rgb(255, 245, 0);
}

.content li a:hover{
	color: #f00;
}
    
#btn_menu{
    width: 40px;
    height: 40px;
    background-image: url(./images/btn_menu.png);
    float: right;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255,0.70);
    margin: 5px;
    cursor: pointer;
} 
    
.pic_float_left{
    width:50%;
    float: left;
    margin: 20px;
}    
    
.pic-landscape{
    //display: flex;
    //justify-content: space-around;
}
 
.pic-landscape>img{
    width:100%;
}    
    
}

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

#menu{
    width: 100%;
    height: 0px;
    background: rgba(255,0,0,0.5);
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

/*
#menu img {
    float: left;
}
*/

#menu ul {
    float: right;
/*    margin-right: 5%;*/
    display: none;
    background-color: rgba(0, 0, 0,1.0);
/*    margin-top: 50px;*/
    width: 100%;
}
    
#menu ul li {
    width: auto;
    height: 50px;
    text-align: center;
    line-height: 50px;
    list-style-type: none;
    margin: 0px auto;
/*    float: left;*/
}

#menu ul li a:link, #menu ul li a:visited{
    color: rgba(255, 255, 255, 1.0);
    font-size: 1.2em;
    font-weight: bolder;
    letter-spacing: 0.1em;
    display: block;
    transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

#menu ul li a:hover{
    background-color: rgba(255, 0, 0, 0.5);
}
    
#logo{
        width: 50%;
}  
    
main{
    border-radius: 30px;
}
article{
    width: 96%;
    margin-left: auto;
    margin-right: auto;
}

h1{
    text-align: center;
    font-size: 2rem;
    color: #fff;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
    padding: 10px;
}
h2{
    font-size: 1.3rem;
    color: #fff;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
    text-align: center;
    padding: 5px;
    margin: 0 0 20px 0;
    background-color: rgba(0, 98, 255, 0.8);
}

#banner{
    width: 100%;
    height: 100%;
    text-align: center;
    //border-radius: 15px;
}
section{
    font-size: 1.3em;
    line-height: 2em;   
}

.btn{
    width: 90%;
    margin: 20px auto;
    //border-radius: 10px;
    background-color: darkred;
    color: white;
    text-align: center;
    font-weight: bolder;
}
.btn a:link ,.btn a:visited{
    color: white;
    font-weight: bolder;
}

.btn:hover{
    background-color: rgb(255, 38, 105);
    transition: all 0.3s linear;
}
.content{
    padding: 15px;
    background-color: rgba(255,255,255,0.75);
    //border-radius: 15px;
    font-size: 1.1rem;
    letter-spacing: 0.2rem;
    margin: 0 0 3% 0;
}
.content li{
    margin-left: 10%;
    //list-style-image: url(images/icon_heart.gif);
    line-height: 2rem;
    margin-bottom: 1rem;
}
    
h3 p{
    display: list-item;
    margin-left: 10%;
    list-style-image: url(images/icon_heart.gif);
    line-height: 2rem;
    margin-bottom: 1rem;
}     
    
.date{
    background-color: rgb(255, 245, 0);
}

.content li a:hover{
	color: #f00;
}

#btn_menu{
    width: 40px;
    height: 40px;
    background-image: url(./images/btn_menu.png);
    float: right;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255,0.70);
    margin: 5px;
    cursor: pointer;
}    
    
.pic_float_left{
    width: 80%;
    margin: auto 10%;
}    
 
.pic-landscape{
    //display: flex;
    //justify-content: space-around;
}
 
.pic-landscape>img{
    width:100%;
}    
    
}
