body{
  margin: 0;
  min-height: 100%;
  background-color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #333;
}
.nav{
  color: #ffffff;
  width: 100%;
  height: 8%;
  position: fixed;
  top: 0;
  z-index: 1;
}
.darkNav{
  background-color : rgba(34, 34, 34, 0.95);
  color: #ffffff;
  /* height: 50px;
  width: 100%; */
  position: fixed;
  top:0;
  z-index: 1;
}
.logo{
  position: absolute;
  left: 10%;
  top: 50%;
  height: 50%;
  transform: translate(0, -50%);}
.logo img{
  height: 100%;
}
.burger{
  flex-direction: column;
  position: absolute;
  top: 25%;
  cursor: pointer;
  right: 20%;
  display: none;
}
.menu a:link{
  text-decoration:none;
}
.menu a::before{
    content: '';
    display: block;
    position: absolute;
    bottom: 3px;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: #FFF;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: color 0.1s,transform 0.2s ease-out;
}
.menu a:active::before{
    background-color: #FFF;
}
.button:hover{
  opacity: 0.5;
}
/* , a:focus::before */
.menu a:hover::before, a:focus::before{
    transform-origin: left top;
    transform: scale(1, 1);
}
.arrowDown{
  position: absolute;
  height: 80px;
  width: 80px;
  background-image: url("https://www.popdaily.com.tw/app/event/popeater/images/icons8-down-button-100.png");
  bottom: 20%;
  left: 50%;
  transform: translate(-50%,0);
  background-size: cover;
  cursor: pointer;
}
.arrowDown:hover{
  background-image: url("https://www.popdaily.com.tw/app/event/popeater/images/icons8-down-button-100-hover.png")
}
.close{
  float: right;
  top:50%;
  transform: translate(0, 75%);
  cursor: pointer;
  /* right: 0; */
  /* object-fit: contain; */
  /* position: absolute; */
}
.about{
  z-index: 3;
  background-color: #ffffff;
  position: fixed;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  width: 90%;
  border-radius: 4px;
  display: none;
}
.aboutTitle{
  font-family: NotoSansCJKtc;
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.6;
  letter-spacing: 0.4px;
  text-align: center;
  color: #414141;
  padding: 5px 40px 0 40px;
}
.aboutTitle h2{
  font-size: 1.7em;
  margin: 0;
  line-height: 60px;
  border-bottom: 1px solid #cccccc;
}
.aboutText{
  font-size: 1em;
  width: 90%;
  font-family: NotoSansCJKtc;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.71;
  letter-spacing: 0.4px;
  text-align: center;
  color: #414141;
  margin: 0 auto;
}
.aboutSign{
  text-align: center;
  padding-bottom: 20px;
  width: 100%;
}
.aboutSign img{
  width: 100%;
  max-width: 572px;
  height: 100%;
}
.hide{
  opacity: 0;
}
.menu{
  position: absolute;
  right: 0;
  width: 35%;
  height: 100%;
  padding-right: 3%;
  display: flex;
  justify-content: space-around;
}
.button{
  position: relative;
  width: 64px;
  height: 20px;
  font-family: PingFangTC;
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: 1px;
  text-align: center;
  color: #ffffff;
  margin: auto 0;
  padding: 10px 0;
}
.article{
  margin: 0 auto;
  width: 90%;
  overflow: hidden;
}
.article1,
.article2{
  display: flex;
  justify-content:space-around;
  height: auto;
  margin-bottom: 30px;
}
.article1{
  flex-direction: row;
}
.article2{
  flex-direction: row-reverse;}
.text{
  margin: auto 0;
  max-width: 45%;
  text-align: left;
  line-height: 25px;
}
.text h2{
  margin: 0
}
.text p{
  margin-bottom: 0;
}
.text p a,
.text p a:link{
  color: #8d6be7;
  text-decoration: none;
}
.boxWarp{
  display: inline-flex;
  justify-content: space-around;
  width: 85%;
  align-self: auto;
  padding: 0 7.5%;
  flex-wrap: wrap;
  position: relative;
}
.box::before{
  content:"";
  z-index: 3;
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.box{
  width: 25vw;
  height: 25vw;
  /* margin: 20px 1%; */
  margin-bottom: 30px;
  background-color: #1d1f2e;
  flex-wrap: wrap;
  position: relative;
}
.boxTitle{
  font-family: NotoSansCJKtc;
  font-size: 2.5em;
  font-weight: 900;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
  top: 40%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  margin: 0;
}
.boxText{
  border: solid 1px #ffffff;
  font-family: PingFangTC;
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
  padding: 20px 0;
  width: 90%;
  border: solid 1px #ffffff;
  position: absolute;
  left: 50%;
  bottom: 25%;
  transform: translate(-50%,0);
}
.box img{
  width: 100%;
}
.section1{
  height: auto;
  position: relative;
  width: 100vw;
  padding-bottom: 58%;
  background-image: url("https://www.popdaily.com.tw/app/event/popeater/images/PCBanner.png");
  background-size: cover;
}
.img{
  background-color: #1d1f2e;
  width: 40%;
  /* height: 35vw; */
  height: 0;
  padding-bottom: 40%;
}
.img img{
  width: 100%;
}
.container{
  margin:0 auto;
  /* background-color: #daefff; */
  background-color: #ffffff;
  /* width: 90%; */
  padding-bottom: calc(10px + constant(safe-area-inset-bottom));
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.container .mask{
  z-index: 2;
  width: 100%;
  height: 100vh;
  opacity: 0.8;
  background-color: #222222;
  position: fixed;
  display: none;
}
.section2{
  position:relative;
}
.ytWarp{
  margin: 0 auto;
  padding-bottom: 30px;
}
.yt{
  position:relative;
  width: 100%;
  height: 0;
  padding-top: 56%;
}
.yt iframe,.yt object,.yt embed{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}
@media (max-width: 991px){
  .logo{
    position: initial;
    transform: none;
  }
  .logo img{
    width: 80px;
    height: auto;
    right: 5%;
    position: absolute;
    top: 50%;
    transform: translate(0,-50%);
    left: 5%;
  }
  .section2{
  }
  .aboutTitle{
    height: 13%;
    padding: 6% 0 0 0;
    font-stretch: normal;
    line-height: 1.6;
    letter-spacing: 0.4px;
    text-align: center;
    position: relative;
    /* font-size: 2em; */
    color: #414141;
  }
  .aboutTitle > h2{
    font-size: 2em;
    padding-bottom: 5%;
  }
  .aboutText{
    font-size: 1.2em;
  }
  .aboutSign{
    padding: 5% 0;
  }
  .close{
    float: right;
    top: 14%;
    transform: translate(0, 75%);
    cursor: pointer;
    height: 20%;
    right: 5%;
    position: absolute;
  }

  .boxText{
    border: solid 1px #ffffff;
    text-align: center;
    color: #ffffff;
    padding: 20px 0;
    width: 90%;
    position: absolute;
    left: 50%;
    bottom: 27%;
    transform: translate(-50%,0);
    font-size: 3em;
    border:solid 3px #ffffff; ;
  }
  .boxTitle{
    margin: 0;
    left: 50%;
    font-size: 8em;
    position: absolute;
    transform: translate(-50%, -50%);
  }
  .arrowDown{
    bottom: 10%;
    height: 20vw;
    width: 20vw;
  }
  .boxWarp{
    width: 90%;
    padding: 0 5%;
  }
  .box{
    width: 90vw;
    height: 90vw;
    margin-bottom: 40px;
  }
  .menu{
    width: 100vw;
    height: 100vh;
    position: absolute;
    display: none;
    flex-direction: column;
    padding: 0;
    background-color: rgba(34, 34, 34, 0.95);
    top: 0;
  }
  .burger input,
  .burger input:checked{
    display: block;
    opacity: 0;
    position: absolute;
    margin: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
  }
  .burger{
    top: 50%;
    right: 8%;
    display: flex;
    /* cursor: pointer; */
    z-index: 5;
    transform: translate(10px, -50%);
    width: 5%;
    height: 30%;
  }
  .burger span{
    border: 1px solid;
    background-color: white;
    width: 90%;
    /* height: 2px; */
    transition: transform 0.3s cubic-bezier(0.77,0.2,0.05,1.0), background 0.3s cubic-bezier(0.77,0.2,0.05,1.0),opacity 0.55s ease;
  }
  .burger span:nth-last-child(1),
  .burger span:nth-last-child(3){
    margin: 0;
  }
  .burger span:nth-last-child(2){
    margin: auto 0;
  }
  .burger input:checked ~ span:nth-last-child(1){
    transform: rotate(-45deg);
    top: 40%;
    position: absolute;
  }
  .burger input:checked ~ span:nth-last-child(2){
    opacity: 0;
  }
  .burger input:checked ~ span:nth-last-child(3){
    transform: rotate(45deg);
    top: 40%;
    position: absolute;
  }
  .button{
    width: 100%;
    z-index: 2;
    height: 100%;
    display: flex;
    font-size: 1.5em;
  }
  .button > div{
    margin: auto;
  }
  .section1{
    padding-bottom: 178%;
    background-image: url("https://www.popdaily.com.tw/app/event/popeater/images/MOBBanner.png");
  }
  .article{
    width: 90%;
    margin: 0 auto;
  }
  .article1,
  .article2{
    margin-bottom: 30px;
    display: flex;
    flex-direction: column-reverse;
  }
  .img{
    width: 100%;
    padding-bottom: 100%;
  }
  .text{
    max-width: 100%;
    /* margin: 0; */
    /* padding: 40px 0px; */
    padding: 0;
  }
  .ytWarp{
    padding-bottom: 40px;
  }
  .text h2{
    margin-top: 1em;
  }
}