/* Common styles for both PC and mobile */
body {
  margin: 0;
  padding: 0;
  font-family: Montserrat;
}

a {
  color: #000;
  text-decoration: none;
}

.content1 {
  position: relative;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 3px solid rgba(134, 134, 134, 0.5);
}

.logo {
  flex: 1;
}

.logo img {
  width: 9.375rem;
  height: 3.125rem;
  max-width: 100%;
  height: auto;
}

.nav {
  text-align: right;
}

.nav a {
  margin-left: 1.25rem;
  text-decoration: none;
  color: white;
}

.slogan {
  text-align: center;
  padding: 1.25rem;
}

.slogan-top {
  color: var(--neutral-white, #FFF);
  text-align: center;

  font-size: 3.625rem;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}

.slogan-bottom {
  margin-top: 3.375rem;
  color: #FFF;
  text-align: center;
  font-size: 1.625rem;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}

.download {
  display: flex;
  justify-content: center;
  padding: 1.25rem;
}

.pc-button {
  margin: 50px 30px 0 30px;
}

.pc-button img {
  width: 15rem;
  height: 5.3125rem;
}

.mobile-button {
  display: none;
}

.android-button {
  display: none;
}


.section-title {
  color: #000;
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 200%;
}

.section-title-span {
  color: #000;
  font-size: 3rem;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}


.episode {
  display: flex;
  margin: 2.5rem 0;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid #d9d9d9;
}

.episode-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.episode-image img {
  width: 128px;
  height: 171px;
}

.episode-details {
  margin-left: 1rem;
}

.episode-title {
  color: #3A4B5B;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
}

.episode-description {
  color: #3A4B5B;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  /* 21px */
}

.episode-count {
  color: #868686;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
}


.company-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact,
.legal {
  flex: 1;
  margin-bottom: 20px;
}

.company-intro h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.content3 {
  text-align: left;
  flex-direction: column;
}

ul {
  padding-left: 0;
  margin-left: 0;
}

ul li {
  margin: 15px 0;
  list-style-type: none;
  display: flex;

}

.con3-text {
  background-color: rgba(217, 217, 217, 0.2);
  padding-top: 1rem;
}

.footer {
  text-align: center;
  padding-bottom: 13rem;
}

/* Media query for desktop */
@media (min-width: 769px) {
  .header-text {
    background-image: url('../bg_pc.png');
    background-size: cover;
    background-position: center top;
  }

  .content1 {
    background-image: url('../bg_pc.png');
    background-size: cover;
    background-position: center top;
    height: 200vh;
    max-height: 200rem;
    /* overflow-y: scroll; */
  }

  .header {
    max-width: 75rem;
    margin: 0 auto;
  }

  .payment {
    max-width: 75rem;
    margin: 0 auto;
    color: white !important;
  }

  .pay-img {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .payment .pay-img img {
    width: 22rem;
    margin: 15px 0;
  }

  .pay-video-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 22rem;
  }

  .start {
    position: absolute;
    width: 7rem !important;
    height: 7rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }


  .pay-video {
    width: 22.5rem;
    margin: 0 0 0 0;
  }


  .slogan {
    margin-top: 10rem;
  }

  .content2 {
    width: 75rem;
    max-width: 100%;
    margin: 6.25rem auto 0;
    padding: 1.25rem;
  }

  .episodes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .episode {
    width: 48%;
    /* Two episodes per row */
  }

  .content3 {
    width: 75rem;
    max-width: 100%;
    margin: 0 auto;
  }

  .company-intro {
    width: 75rem;
    max-width: 100%;
    margin: 0 auto;
  }

  ul {
    color: #000;
    font-size: 1.5625rem;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
  }

  ul li {
    color: #000;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
  }

  .footer {
    color: var(--neutral-black-20, #9F9FA2);
    text-align: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.32px;
  }

  .text-intro {
    width: 75rem;
    max-width: 100%;
    margin: 0 auto;
    line-height: 200%;
  }
}

/* Media query for mobile */
@media (max-width: 768px) {

  body,
  html {
    width: 100%;
    overflow-x: hidden;
  }

  .logo img {
    width: 10rem;
    height: 1.56rem;
    max-width: 50%;
    height: auto;
  }

  .nav {
    display: none;
  }

  .header-text {
    background-image: url('../bg_mobile.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
  }

  .content1 {
    background-image: url('../bg_mobile.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    /* height: 200vh; */
  }

  .payment {
    color: white !important;
  }

  .pay-img {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .payment .pay-img img {
    margin: 10px 0;
    width: 90vw;
  }

  .pay-video-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 90vw;
  }

  .start {
    position: absolute;
    width: 6rem !important;
    height: 6rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }


  .pay-video {
    width: 90vw;
  }

  .slogan-top {
    color: var(--neutral-white, #FFF);
    text-align: center;
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
  }

  .slogan-bottom {
    margin-top: 3rem;
    color: #FFF;
    text-align: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
  }

  .slogan {
    margin-top: 6.25rem;
    padding: 0.625rem;
  }

  .pc-button {
    display: none;
  }


  .mobile-button {
    position: fixed;
    display: block;
    bottom: 6rem;
  }

  .android-button-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 4rem;
  }

  .android-button {
    display: block;
    margin: 0 10px;
  }

  .android-button img {
    width: 100%;
  }

  .mobile-button img {
    width: 98%;
    max-width: 27.25rem;
    animation: btnanim 1.2s infinite linear;
  }

  @keyframes btnanim {
    0% {
      transform: scale(0.88)
    }

    50% {
      transform: scale(1)
    }

    100% {
      transform: scale(0.88)
    }
  }

  .content2 {
    max-width: 100%;
    margin: 0;
    padding: 1.25rem;
  }

  .section-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 200%;
  }

  .section-title-span {
    font-size: 2rem;
    font-weight: 700;
    line-height: 150%;
  }

  .episodes {
    flex-direction: column;
  }

  .episode {
    width: 100%;
  }

  .content3 {
    max-width: 100%;
    margin: 0;
    background-color: rgba(217, 217, 217, 0.2);
    padding: 1.25rem;
  }

  .con3-text {
    max-width: 100%;
    margin: 0;
    padding: 1.25rem;
  }

  .company-intro {
    margin: 0;
    flex-direction: column;
  }

  .footer {
    max-width: 100%;
    margin: 0;
    text-align: left;
    color: var(--neutral-black-20, #9F9FA2);
    font-size: 0.5rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
  }

  .text-intro {
    max-width: 100%;
    margin: 0;
    padding: 1.25rem;
    line-height: 200%;
  }
}