*{
    margin: 0;
    padding: 0;
    border: 0;
}

html{
    font-family:Verdana,'Noto Sans TC', "微軟正黑體", sans-serif;
    background:url("../images/bg.jpg") top center repeat;
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: #19a19e;
}
body{
    margin: auto;
    max-width: 1920px;
}

#logo{
    width: 220px;
    height: 60px;
    position: absolute;
}

:focus { outline: 0; }
li{ 
    list-style:none;
    transition-duration:.3s;
} 
li:hover{
    transform: scale(0.98);
}
a { text-decoration:none;}
:root {
	--title: #083942;
	--font: #083942;
	--focus: #e7261e; 
}

h2{
    font-size: 2.8rem;
    color: var(--title);
    text-align: center;
    padding: 0 0 10px;
    margin: auto;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px #fff;
}
h2::after, h2::before{
    content: '';
    background:url("../images/title.png") top center no-repeat;
    width: 92px;
    height: 21px;
    display: inline-block;
    margin: 10px 26px;
    opacity: 0.9
}
/* .title02{
    background:url("../images/title-bg2.png") top center no-repeat;
}
.title03{
    background:url("../images/title-bg3.png") top center no-repeat;
}
.title04{
    background:url("../images/title-bg4.png") top center no-repeat;
    margin: 1% auto;
} */
h3{
    font-size: 1.4rem;
    color: var(--font);
    text-align: center;
    line-height: 1.8rem;
    margin:50px 0 20px ;
}
h4{
    font-size: 1rem;
    color: var(--font);
    text-align: center;
    line-height: 1.2rem;

}
p{
    font-size: 1rem;
    color: var(--font);
}
.price{
    font-size: 1.2rem;
    color: var(--font);
    text-align: end;
    white-space: nowrap;
}
.price strong{
    font-size: 150%;
    color: var(--focus);
    font-weight: 700;
}

header{
    max-width: 1200px;
    margin: auto;
}
header img{
    width: 100%;
    display: block;
}
nav ul{
    display: flex;
    justify-content: center;
}
nav li{
    background: #176775 url("../images/texture.png") top center repeat;
    width: 100%;
    padding: 22px 20px;
    text-align: center;
    position: relative;
    margin: 10px;
    border-radius: 10px;
}
nav li:nth-child(even){
    background: #083942 url("../images/texture2.png") top center repeat;

}
/* nav li::after{
    content: "";
    border-color: #7bc1f1 transparent;
    border-width: 0 0 12px 12px;
    border-style: solid;
    position: absolute;
    bottom: 4px;
    right: 4px;
} */
nav li:hover{
    transform: scale(0.98);
    background: #ee7f11 url(../images/texture.png) top center repeat;
}
nav li a{
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    white-space: nowrap;
}
main{
    max-width: 1200px;
    margin: auto;
}
.mustBuy{
    border-radius: 10px;
    background:#fbd72c url("../images/texture.png") top center repeat;
    padding: 10px 20px 20px;
    margin: 20px 10px 40px;
    position: relative;
}
.mustBuy:nth-child(even){
    background:#ffad1c url("../images/texture.png") top center repeat;
}
.mustBuy ul{
    display: flex;
}
.mustBuy li{
    width: 100%;
    background: #fff;
    padding: 20px 30px;
    margin: 8px;
    position: relative;
    overflow: hidden;
}
.mustBuy span{
    position: absolute;
    background-color: var(--focus);
    color: #fff;
    font-size: 1.2rem;
    display: block;
    width: 160px;
    text-align: center;
    transform: rotate(-45deg);
    top: 25px;
    left: -40px;
    padding: 2px;
    font-weight: 500;
}
.mustBuy .row{
   display: flex;
   border-bottom: #bbb solid 1px;
   padding-bottom: 20px;
   margin-bottom: 20px;
   align-items: center;
}
.mustBuy .font{
    padding-right: 16px;
}
.mustBuy img{
    width: 40%;
    height: 40%;
    object-fit: contain;
}
.mustBuy .price::after{
    content: "立即購買";
    padding: 4px 20px;
    background: var(--focus);
    color: #fff;
    margin-left:10px;
    position: relative;
    bottom: 4px;
    white-space: nowrap;
}

.video{
    border-radius: 10px;
    background:#044652 url("../images/texture2.png") top center repeat;
    padding: 10px 20px 20px;
    margin: 20px 10px 40px;
    position: relative;
}
.video h2{
    color: #fbd72c;
}
.video h2::after, .video h2::before{
    background:url("../images/title2.png") top center no-repeat;
}
.inner {
    display: flex;
}
.video iframe{
    margin: 8px;
}
.video ul{
    display: flex;
}
.video li{
    background: #fff;
    padding: 10px;
    margin: 1%;
    text-align: center;
}
.video img{
    width: 100%;
}
.video .price{
    font-size: 1rem;
    text-align: center;
}
.video .price strong{
    font-size: 120%;
}

.topic{
    border-radius: 10px;
    background:#aed4e7 url("../images/texture.png") top center repeat;
    padding: 10px 20px 20px;
    margin: 20px 10px 40px;
    position: relative;
}
.topic ul{
    display: flex;
}
.topic li{
    background: #fff;
    margin: 8px;
    padding-bottom: 20px;
}
.topic img{
    width: 84%;
    display: block;
    padding: 8%;
}
.topic h3 {
    background: #ee7f11;
    color: #fff;
    margin: 0;
    padding: 8px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.topic p{
    text-align: center;
    margin: 10px;
}
.topic .price{
    font-size: 1rem;
    text-align: center;
}
.topic .price strong{
    font-size: 120%;
}
.yellow{
    background:#fbd72c url("../images/texture.png") top center repeat;
}
.keyWord{
    margin: auto;
    text-align: center;
    padding: 0 10%;
}
.keyWord ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.keyWord li{
    margin: 8px;
    background-color: #fff;
    border: solid 2px var(--font);
    border-radius: 10px;
    box-shadow: 2px 3px #281609;
}
.keyWord a{
    color: var(--font);
    display: block;
    padding: 8px 20px;
    font-size: 1.2rem;
}
.banner{
    display: flex;
    margin: 30px auto 50px;
}
.banner ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.banner li{
    margin: 0.6%;
    border-radius: 10px;
    width: 32%;
    overflow: hidden;
}
.banner img{
    width: 100%;
}
.banner .w-100{
    width: 100%;
}


.bird{
    position: absolute;
    top: -20px;
    right: 0;
    max-width: 168px;
    max-height: 107px;
}
.bee{
    position: absolute;
    top: -20px;
    right: 0;
    max-width: 168px;
    max-height: 107px;
}
.butterfly{
    position: absolute;
    top: -20px;
    left: 0;
    max-width: 124px;
    max-height: 101px;
}
.insect{
    position: absolute;
    top: -8px;
    right: 50px;
    max-width: 82px;
    max-height: 65px;
    padding: 0 !important;
}
.planet{
    position: absolute;
    top: -20px;
    right: -20px;
    max-width: 295px;
    max-height: 157px;
}


.for_pc{
    display: block;
}
.for_m{
    display: none;
}



footer{
    text-align: center;
    padding: 20px 20px;
    background-color: #083942;
    color: #fff;
}
@media screen and ( max-width: 920px ){
   html{
       font-size: 12px;
       background-size: 150%;
   }

   .inner{
    flex-wrap: wrap;
    justify-content: center;
    }
    .inner iframe{
        width: 100%;
        height: 40vw;
        margin: 1%;
    }
    h4{
        font-size: 1.4rem;
        line-height: 1.8rem;
        margin: 2% 0;
    }
    .video .price{
        font-size: 1.4rem;
    }

          
}
@media screen and ( max-width: 768px ){
    .for_pc{
        display: none;
    }
    .for_m{
        display: block;
    }
    .bird, .bee, .butterfly, .insect, .planet{
        display: none !important;
    }
    
    nav li{
        padding: 1.5%;
        margin: 1.5%;
    }
    nav li a{
        white-space: normal;
    }
    .video h2::after, .video h2::before, h2::after, h2::before{
        width: 20%;
        height: 3vw;
        margin: auto;
        background-size: 60%;
    }
    .mustBuy li{
        padding: 2% 3%;
    }
    .mustBuy span{
        top: 18px;
        left: -50px;
    }
    .mustBuy, .video, .topic {
        margin: 2%;
        padding: 2%;
    }
    .topic ul{
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .topic li {
        width: 47%;
        margin: 1% auto;
        padding-bottom: 3%;
    }
    .sort ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .sort li{
        width: 25%;
        margin: 1%;
    }
    .keyWord{
        padding: 0 1%;
    }
    .keyWord li{
        margin: 1%;
    }
    .banner{
        margin: 2%;
    }

}
@media screen and ( max-width: 640px ){
    #logo{
        width: 30vw;
        height: 8.3vw;
    }
    nav li a{
        font-size: 1.4rem;
    }
    .mustBuy ul{
        flex-wrap: wrap;
    }
    .mustBuy li{
        padding: 3% 5%;
    }

    .video li{
        margin: 1%;
        padding: 1%;
    }
    .video .price{
        font-size: 1rem;
        white-space: normal;
    }
    .banner li{
        width: 100%;
        margin: 1%;
    }
    

           
 }
 @media screen and ( max-width: 520px ){
    h2{
        font-size: 1.8rem;
        padding: 1%;
    }
    h4{
        font-size: 1rem;
        line-height: 1.2rem;
        margin: 2% 0;
    }
    .sort li{
        width: 30%;
    }

    .sort a{
        font-size: 1.5rem;
        padding: 7% 7% 13%;
        white-space: nowrap;
    }
    .keyWord a{
        padding: 1vw 3vw;
    }


            
 }