/* css reset */
*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.pc-wrapper {
    width: 100%;
    background: yellow;
}

body {
  font-family: 'Noto Sans TC', sans-serif;
}

/* ----------------------------------------------------------------------
                            class control
---------------------------------------------------------------------- */
/* title */
#main-title {
  display: none;
}

#subTitle {
  display: none;
}

/* menu */
#mNav {
  display: none;
}

/* ad */
.ad-wrapper .ad-m {
  display: none;
}

.ad-wrapper2 .ad-m {
  display: none;
}

/* carousal */
#carousel-m {
  display: none;
}

/* mobile */
.section-title-wrapperA #title-m {
  display: none;
}

.section-title-wrapperB #title-m {
  display: none;
}

.section-title-wrapperC #title-m {
  display: none;
}

.section-title-wrapperD #title-m {
  display: none;
}

.section-title-wrapperE #title-m {
  display: none;
}

/* card box */
.card-m-btn {
    display: none;
 }

 .card-container .overlay-m {
   display: none;
 }

/* ----------------------------------------------------------------------
                            co-css
---------------------------------------------------------------------- */
body {
  font-family: 'Noto Sans TC', sans-serif;
}

/* every slick slider click border */
.slick-slide, .slick-slide *{ outline: none !important; }
.slick-list:focus {
  border: 0 !important;
}

/* every section title with animation */
.section-title-wrapper-all {
  margin-top: 12vw;
}

.section-title {
  text-align: center;
  display: inline-block;
}

.section-title:after {
  color: #fff;
}

.section-title a {
  font-size: 3.5vw;
  color: rgba(69, 144, 197, 0.4);
  position: relative;
  font-family: 'cwTeXYen', sans-serif;
  font-weight: 800;
}

.section-title a:before {
  content: attr(data-text);
  position: absolute;
  bottom: 0;
  left: 0;
  background: url(/lazyweb/project/WorldOceansDay/img/wave2.png);
  -webkit-background-clip: text;
  background-repeat: repeat-x;
  animation: animate linear 2s infinite; 
  transition: 0.5s;
}

@keyframes animate {
  0% {
    background-position: 0px;
  }
  100% {
    background-position: 200px;
  }
}

.boat {
  position: absolute; 
  left: 0; 
  bottom: 20vh; 
  width: 40vw;
}

/* garbage */
.ball {
  position: absolute;
  left: 8vw;
  bottom: 12vw;
}

.ball img {
  width: 4vw;
}

.can {
  position: absolute; 
  left: 22vw; 
  bottom: 12vw;
}

.can img {
  width: 5vw
}

.wine {
  position: absolute; 
  left: 15vw; 
  bottom: 8vw;
}

.wine img {
  width: 8vw;
}

.drink {
  position: absolute; 
  left: 20vw;
  bottom: 5vw;
}

.drink img {
  width: 5vw;
}

.bottle {
  position: absolute; 
  left: 30vw; 
  bottom: 10vw;
}

.bottle img {
  width: 5vw;
}

.milk {
  position: absolute;
  left: 40vw;
  bottom: 4vw;
}

.milk img {
  width: 5vw;
}

.shoe {
  position: absolute; 
  left: 45vw; 
  bottom: 9vw;
}

.shoe img {
  width: 5vw;
}

.umbrella {
  position: absolute; 
  left: 64vw; 
  bottom: 11vw;
}

.umbrella img {
  width: 5vw;
}

.cola {
  position: absolute; 
  left: 60vw; 
  bottom: 7vw;
}

.cola img {
  width: 5vw;
}

/* ----------------------------------------------------------------------
                           logo
---------------------------------------------------------------------- */
.logo {
    position: fixed;
    top: 1vw;
    z-index: 1000;
}

.logo img {
    height: 3vw;
}

/* ----------------------------------------------------------------------
                            section1 - main banner/menu
---------------------------------------------------------------------- */
.section1 {
    background-image: url(/lazyweb/project/WorldOceansDay/img/main-banner/bg4.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    position: relative;
}

.section1 .title {
  text-align: center;
  padding-top: 15vh;
}

.section1 .title img {
  width: 50%
}

.section1 .subTitle {
  text-align: center;
  padding-top: 2vh;
}

.section1 .subTitle img {
  width: 40%
}

/* ----------------------------------------------------------------------
                            pc - menu
---------------------------------------------------------------------- */
.topnav {
    display: flex;
    justify-content: center;
    background-color: #fff29d;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999;
  }
  
.topnav a {
    float: left;
    display: block;
    color: #3d3d3d;
    text-align: center;
    font-size: 1vw;
    /* border-bottom: 1px solid #3d3d3d; */
    text-decoration: none;
}

.topnav .list-style {
    padding: 2vw 1.5vw 0.6vw 1.5vw;
} 
  
.topnav a:hover {
    color: #7fa2bc;
    text-decoration: none;
}
  
.topnav a.active {
    color: #bcaf7f;
}
  
.topnav .icon {
    display: none;
}

.divider-box {
    border-right: 1px solid;
}

.divider-box  div {
    padding-right: 1vw;
}

.menu-logo {
    width: 2vw;
}

.logo-style {
    padding: 2vw 1vw 0.6vw 0vw;
}

/* ----------------------------------------------------------------------
                            m-content-bg
---------------------------------------------------------------------- */
.content-bg {
  background-position: bottom;
  background-image: url(/lazyweb/project/WorldOceansDay/img/pc-content-bg.jpg); 
  background-size: cover; 
  width: 100vw; 
  height: 100vh; 
  left: 0; 
  top: 0; 
  position: fixed; 
  z-index: -10;
}

/* ----------------------------------------------------------------------
                            section2 - ad & about
---------------------------------------------------------------------- */
.section2 {
  position: relative;
  width: 100%;
}

.section2-cross-mask {
  height: 30vh;
  width: 100%; 
  background-image: linear-gradient(rgba(157,223,242,1) 30%, rgba(257,223,242,0));
}

.section2-cross-mask .bottom-wave-wrapper {
  width: 100%;
}

.section2-cross-mask .bottom-wave-wrapper img {
  width: 100%;
}

/* ad */
.section2 .ad-wrapper {
  width: 60%; 
  display: block; 
  margin: 0 auto; 
  margin-top: 8vw;
}

.section2 .ad-wrapper img {
  width: 100%; 
}

.section2 .ad-wrapper img:hover {
  cursor: pointer; 
  opacity: 0.9;
}

/* content */
.section2-wrapper1 {
  width: 85%;
  /* background: yellow; */
  display: block;
  margin:  0 auto;
}

.section2-wrapper2 {
  width: 80%;
  /* height: 100vh; */
  /* background: rgb(77, 165, 98); */
  display: block;
  margin:  0 auto;
  padding-bottom: 8vw;
}

.section2 .text {
  /* text-align: center; */
  font-size: 1.2vw;
  font-family: 'Noto Sans TC', sans-serif;
  line-height: 1.8vw;

  /* background: rgba(255, 255, 255, 0.8); */
  color: #2f678f;
  width: 60%;
  margin: 0 auto;
  padding: 2vw;
}

/* title icon */
.section-title-wrapperA {
  text-align: center;
}

.section-title-wrapperA img {
  width: 6%;
}

/* ----------------------------------------------------------------------
                            video
---------------------------------------------------------------------- */
/* video slider */
/* arrow */
.section2 .video-slider .slick-next {
  right: -5%;
  top: 50%;
}

.section2 .video-slider .slick-prev {
  left: -5%;
  top: 50%;
}

.video-slider .slick-next:before {
  font-size: 3vw;
  content: '>';
  color: rgb(63, 63, 63);
  font-weight: 900;
}

.video-slider .slick-prev:before {
  font-size: 3vw;
  content: '<';
  color: rgb(63, 63, 63);
  font-weight: 900;
}

/* dot */
.section2 .video-slider .slick-dots li button:before {
  font-size: 1vw;
}

.slick-dots li {
  margin: 0 1vw;
}

.video-container {
  position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-top: 5vw;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* ----------------------------------------------------------------------
                            cards block
---------------------------------------------------------------------- */
/* title icon */
.section-title-wrapperB {
  text-align: center;
}

.section-title-wrapperB img {
  width: 6%;
}

 .card-wrapper {
  display: flex;
  justify-content: space-around;
  margin-top: 3vw;
 }

.card-container {
  position: relative;
  width: 30%;
  display: inline-block;
  /* margin: 0 0.5vw; */
}

.card-container .card-img {
  display: block;
  width: 100%;
  height: auto;
}

.card-container .overlay-pc {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  width: 100%;
  height: 12vh;
  transition: .5s ease;
}

.card-container:hover .overlay-pc {
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.card-container .overlay-pc .title {
  color: #fff;
  font-size: 2vw;
  text-align: center;
  padding-top: 5vh;
}

.card-container .overlay-pc .text {
  color: white;
  font-size: 1.2vw;
  width: 100%;

}


/* ----------------------------------------------------------------------
                            wave slider
---------------------------------------------------------------------- */
/* title icon */
.section-title-wrapperC {
  text-align: center;
}

.section-title-wrapperC .section-title {
  transform: translateY(-50%);
}

.section-title-wrapperC img {
  width: 6%;
}

.wave-slider-container {
	width: 100%;
	max-width: 1170px;
  margin: 0 auto;
  margin-top: 5vh;
}

.wave-slider-container a {
	outline: none;
}

.wave-slider-container .slick-prev:before {
  font-size: 2.5vw;
  color: #000;
}

.wave-slider-container .slick-next:before {
  font-size: 2.5vw;
  color: #000;
}

/* start */
.wave-slider-container .myslider-list {
	padding: 0;
}

.wave-slider-container .myslider-list li {
	margin: 0 20px;
}

.wave-slider-container .myslider-list img {
  margin: 0 auto;
}

.wave-slider-container .myslider-list .slick-slide.slick-current {
	opacity: 1;
	transform: translate(0, 10%) scale(1.2);
}

.wave-slider-container .myslider-list .slick-slide {
	transform: translate(0, 0);
	transition: .5s;
	opacity: .4;
	padding: 0;
	padding-bottom: 120px;
}
  
.wave-slider-container .slick-list p {
  margin-top: 2vw;
  font-size: 1.2vw;
}

.wave-slider-container .myslider-list li.slick-slide.nextslider,
.wave-slider-container .myslider-list li.slick-slide.prevslider
{
	transform: translate(0, 120px) ;
}

.wave-slider-container  .slidertext {
	width: 40%;
	margin: 0 auto;
	text-align: center;
	margin-top: -5%;
	padding: 0;
}

.wave-slider-container .slidertext h3 {
	display: inline-block;
	background: #666;
	color: white;
	padding: 0.3em 1.2em;
	border-radius: 2em;
  margin-bottom: 0;
  font-size: 1.4vw;
}

.wave-slider-container .slidertext .slick-next {
  transform: translate(300%, 0);
  right: 30%;
  top: -50%;
}
.wave-slider-container .slidertext .slick-prev {
  transform: translate(-300%, 0);
  left: 30%;
  top: -50%;
}
	
@media screen and (max-width: 480px) {
	.wave-slider-container .myslider-list .slick-slide {
			padding: 0;
			padding-bottom: 40px;
	}
	.wave-slider-container .myslider-list li.slick-slide.nextslider,
	.myslider-list li.slick-slide.prevslider
	{
			transform: translate(0, 40px);
	}
	.wave-slider-container .slidertext {
			width: 80%;
	}
	.wave-slider-container .slidertext .slick-next {
			transform: translate(150%, 0);
	}
	.wave-slider-container .slidertext .slick-prev {
			transform: translate(-150%, 0);
	}
}

/* ----------------------------------------------------------------------
                            ad2
---------------------------------------------------------------------- */
.section2 .ad-wrapper2 {
  width: 80%; 
  display: block; 
  margin: 0 auto; 
  margin-top: 8vw;
}

.section2 .ad-wrapper2 img {
  width: 100%; 
}

.section2 .ad-wrapper2 img:hover {
  cursor: pointer;
  opacity: 0.9;
}


/* ----------------------------------------------------------------------
                           carousal
---------------------------------------------------------------------- */
/* title icon */
.section-title-wrapperD {
  text-align: center;
}

.section-title-wrapperD img {
  width: 5%;
}

.section-title-wrapperD .section-title {
  transform: translateY(-40%);
}

/* slider */
.section2 .carousel-pc {
  width: 100%;
  margin: 0px auto;
  margin-top: 5vw;
}

.section2 .slick-slide{
  margin: 10px;
}

.section2 .slick-slide img{
  width: 100%;
}

.section2 .slick-prev {
  left: 5%;
  top: 40%;
  width: auto;
  height: auto;
  z-index: 10;
}

.section2 .slick-next {
  right: 5%;
  top: 40%;
  width: auto;
  height: auto;
}

.section2 .carousel-pc a {
  text-decoration: none;
  color: #000;
}

.section2 .carousel-pc a:hover {
  color: #353535;
  cursor: pointer;
}

.section2 .carousel-pc .slick-prev:before {
  font-size: 2.5vw;
  color: #000;

  /* content: '<';
  background: black;
  padding: 1vw 1vw 2vw 1vw;
  font-weight: bold; */
}

.section2 .carousel-pc .slick-next:before {
  font-size: 2.5vw;
  color: #000;

  /* content: '>';
  background: black;
  padding: 1vw 1vw 2vw 1vw;
  font-weight: bold; */
}


/* slider article */
.section2 .article-title {
  font-size: 1.4vw;
  margin-top: 1vw;
  font-family: 'Noto Sans TC', sans-serif;
}


/* ----------------------------------------------------------------------
                            partner
---------------------------------------------------------------------- */
/* title icon */
.section-title-wrapperE {
  text-align: center;
}

.section-title-wrapperE img {
  width: 5%;
}

.section-title-wrapperE .section-title {
  transform: translateY(-30%);
}


.section2 .logo-wrapper {
  margin-top: 2.5vw;
}

.section2 .logo-wrapper img {
  width: 25%;
  margin: 1vw 0.5vw;
}

/* ----------------------------------------------------------------------
                            sea fixed obj animation
---------------------------------------------------------------------- */
.yellow-fish {
  position: fixed; 
  bottom: 20vw; 
  left: 6vw; 
  width: 5%;

  transition: opacity 0.3s ease-out;
  opacity: 0;
}

.yellow-fish.show {
  opacity: 1;
}

.yellow-fish img {
  width: 100%;
}

.sea-turtle {
  position: fixed; 
  bottom: 6vw; 
  left: 12vw;  
  width: 10%;

  transition: opacity 0.5s ease-out;
  opacity: 0;
}

.sea-turtle.show {
  opacity: 1;
}

.sea-turtle img {
  width: 100%;
}

.jelly-fish {
  position: fixed; 
  bottom: 14vw; 
  right: 8vw;  
  width: 5%;

  transition: opacity 0.8s ease-out;
  opacity: 0;
}

.jelly-fish.show {
  opacity: 1;
}

.jelly-fish img {
  width: 100%;
}

.purple-fish {
  position: fixed; 
  bottom: 7vw; 
  right: 13vw;  
  width: 4%;

  transition: opacity 1s ease-out;
  opacity: 0;
}

.purple-fish.show {
  opacity: 1;
}

.purple-fish img {
  width: 100%;
}


/* ----------------------------------------------------------------------
                            footer
---------------------------------------------------------------------- */
.footer-style {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #373737;
  text-align: center;
  color: #ffffff;
  font-size: 1vw;
  padding: 1vw 0;
}


/* ----------------------------------------------------------------------
                            main-banner wave animation
---------------------------------------------------------------------- */
/* cloud */
.section1 .cloud {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 32vh;
  background-image: url(/lazyweb/project/WorldOceansDay/img/main-banner/cloud.png);
  background-size: cover;
  animation: wave-animate2 40s infinite linear;
}


@keyframes wave-animate2 {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: -1000px;
  }
}

/* back-wave */
.section1 .back-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 28vh;
  background-image: url(/lazyweb/project/WorldOceansDay/img/main-banner/wave/wave-move5.png);
  background-size: cover;
  animation: wave-animate2 40s infinite linear;
}


@keyframes wave-animate2 {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: -1000px;
  }
}

/* front bottom wave */
.section1 .front-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8vh;
  background-image: url(/lazyweb/project/WorldOceansDay/img/main-banner/wave/wave-move4.png);
  /* background-size: 80vw 100px; */
  background-size: cover;
  animation: wave-animate 30s infinite linear;
}

@keyframes wave-animate {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 1000px;
  }
}

/* ----------------------------------------------------------------------
                           bubble - particle js
---------------------------------------------------------------------- */
#particles-js {
  width: 100%;
  height: 100vh;
  position: absolute;
  top:0;
  z-index: 888;
}


/* ----------------------------------------------------------------------
                           back-to-top
---------------------------------------------------------------------- */
#back-to-top {
  position: fixed;
  bottom: 10vw;
  right: 1vw;
  z-index: 9999;
  width: 40px;
  text-align: center;
  background: #ffffff;
  color: #444;
  cursor: pointer;
  border: 0;
  border-radius: 2px;
  text-decoration: none;
  transition: opacity 0.2s ease-out;
  opacity: 0;
  font-size: 1.5em;
}

#back-to-top:hover {
  background: #e9ebec;
}
#back-to-top.show {
  opacity: 1;
}


/* article image hover effect test */
figure {
	overflow: hidden;
}

/* Circle */
.hoverEffect figure {
	position: relative;
}

.hoverEffect figure::before {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: block;
	content: '';
	width: 0;
	height: 0;
	background: rgba(255, 255, 255, 0.4);
	border-radius: 100%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	opacity: 0;
}

.hoverEffect figure:hover::before {
	-webkit-animation: circle .75s;
  animation: circle 1s;
  cursor: pointer;
}
@-webkit-keyframes circle {
	0% {
		opacity: 1;
	}
	40% {
		opacity: 1;
	}
	100% {
		width: 200%;
		height: 200%;
		opacity: 0;
	}
}
@keyframes circle {
	0% {
		opacity: 1;
	}
	40% {
		opacity: 1;
	}
	100% {
		width: 200%;
		height: 200%;
		opacity: 0;
	}
}
