@font-face {
  font-family: "Riffic";
  src: url("../fonts/Riffic-Bold.woff2") format("woff2"),
    url("../fonts/Riffic-Bold.woff") format("woff"),
    url("../fonts/Riffic-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

:root {
  --light-blue: #c6cff8;
  --heavy-blue: #38337c;
  --darker-blue: #38317b;
  --purple-one: #ab94f2;
  --purple-two: #d4c2ff;
  --purple-three: #daabff;
  --purple-four: #6d53db;
  --montserrat: Montserrat, Arial, Helvetica, sans-serif;
  --riffic: Riffic, Arial, Helvetica, sans-serif;
}

body {
  background-color: #eeeeee;
  position: relative;
}

.bg-light-blue {
  background-color: var(--light-blue);
}
.bg-purple-one {
  background-color: var(--purple-one);
}

.bg-purple-two {
  background-color: var(--purple-two);
}

.bg-purple-three {
  background-color: var(--purple-three);
}

.fc-purple-four {
  color: var(--purple-four);
}

.fc-white {
  color: white;
}

.layout-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.layout-container .container {
  background-color: #fff;
  width: 850px;
}

.header-banner .banner {
  background-image: url(../images/desktop/bg-banner-header.jpg);
  background-repeat: no-repeat;
  background-size: 100% auto;
  height: 437px;
}

.header-banner .banner p,
.header-banner .banner h2 {
  font-family: var(--montserrat);
  line-height: 1.1;
}

.header-banner .banner p {
  color: var(--darker-blue);
  font-size: 1.3rem;
  padding: 8rem 3rem;
}

.header-banner .banner h2 {
  color: white;
  font-weight: 700;
  font-size: 2rem;
  padding: 2rem 0 0 8rem;
  text-align: center;
}

.product-card {
  align-items: center;
  display: flex;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
}

.product-card h2 {
  font-family: var(--riffic);
  font-size: 1.39rem;
  line-height: 1.1;
}

.product-card p {
  font-family: var(--montserrat);
  font-size: 0.78rem;
  padding: 0.7rem 0;
}
.product-card.bpa {
  background-color: var(--purple-one);
  color: var(--purple-three);
  font-family: var(--riffic);
  font-size: 3.42rem;
  line-height: 0.9;
  letter-spacing: 2px;
  text-align: center;
}

.product-card.collector,
.product-card.massage {
  background-color: var(--purple-two);
  color: var(--purple-four);
}
.product-card.bpa,
.product-card.collector {
  height: 244px;
}
.product-card.massage {
  padding: 10px 0;
}
.product-card.light,
.product-card.battery {
  height: 100px;
}
.product-card.battery img {
  margin: 0 auto;
}

.product-card.path {
  background-image: url(../images/bg-product-path.png);
  background-repeat: no-repeat;
  background-size: 85% auto;
  background-position: center center;
}

.massage {
  background-image: url(../images/bg-highlight.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.product-detail {
  background-repeat: no-repeat;
  background-size: 100% auto;
}
.product-detail.one {
  background-image: url(../images/mobile/bg-product-detail-one.png);
}
.product-detail.two {
  background-image: url(../images/mobile/bg-product-detail-two.png);
}
.product-detail.one,
.product-detail.two {
  height: 191px;
  padding: 1.5rem 0 0 4.4rem;
}

.product-detail.content {
  padding: 2.5rem;
}

.product-detail .box-content {
  color: var(--heavy-blue);
  padding: 1rem 0 0 2rem;
}

.product-detail .box-content p {
  line-height: 1;
}

.product-detail .box-content p + p {
  padding-top: 1rem;
}

.product-card.bpa,
.product-card.collector,
.product-card.massage {
  height: 235px;
}

.product-card.massage {
  padding-top: 2.3rem;
}

.product-card.light,
.product-card.battery {
  height: 188px;
}

.video {
  width: 100%;
  height: 437px;
}
.video iframe {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.product-banner {
  background-repeat: no-repeat;
  background-size: 100% auto;
  display: flex;
}

.product-banner p {
  font-family: var(--riffic);
  font-weight: 700;
  line-height: 1;
}

.product-banner.one {
  align-items: flex-end;
  background-image: url(../images/product-banner-one.png);
  height: 261px;
  padding: 0 0 2rem 1.3rem;
}
.product-banner.two {
  background-image: url(../images/product-banner-two.png);
  height: 261px;
  padding: 1.5rem 0 0 1.3rem;
}
.product-banner.three {
  background-image: url(../images/desktop/product-banner-three.png);
  height: 150px;
  justify-content: flex-end;
  padding: 0.8rem 1rem 0 0;
}

.elephant {
  background-image: url(../images/logo-elephant.png);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 70px auto;
  border-bottom: 1px solid #0fbcf1;
  box-shadow: inset 0 -1px 0 #4fcef5;
  height: 50px;
  margin: 1rem auto 0;
  width: 85%;
}

footer {
  font-family: var(--montserrat);
  text-align: center;
  padding-bottom: 1rem;
}

footer p {
  color: var(--heavy-blue);
  font-size: 0.6rem;
  padding: 1rem 1.5rem 0;
}

footer a {
  color: #0fbcf1;
  font-weight: 700;
}

footer .social {
  margin-top: 0.5rem;
}

footer .social + p {
  padding-top: 0;
}

footer .social li {
  background-color: #0fbcf1;
  border-radius: 50%;
  display: inline-block;
  height: 24px;
  overflow: hidden;
  padding: 0.1rem;
  position: relative;
  width: 24px;
}

footer .social li a {
  display: block;
}

footer .social li img {
  height: auto;
  width: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

footer .copy {
  font-size: 0.4rem;
}

.visible-mobile,
.visible-tablet {
  display: none !important;
}

.visible-desktop {
  display: block !important;
}

@media (max-width: 768px) {
  .layout-container .container {
    width: 650px;
  }

  .header-banner .banner {
    background-image: url(../images/tablet/bg-banner-header.jpg);
    height: 335px;
  }

  .product-banner.three {
    background-image: url(../images/tablet/product-banner-three.png);
  }

  .header-banner .banner p {
    font-size: 1.2rem;
    padding: 5.2rem 2.3rem;
  }

  .header-banner .banner h2 {
    font-size: 1.5rem;
    padding: 2rem 0 0 6rem;
  }

  .product-card.bpa {
    font-size: 2rem;
  }

  .product-card.bpa,
  .product-card.collector,
  .product-card.massage {
    height: 179px;
  }

  .product-card h2 {
    font-size: 1.19rem;
  }

  .product-card p {
    font-size: 0.68rem;
  }

  .product-detail.one,
  .product-detail.two {
    height: 145px;
    padding: 1.2rem 0 0 3.4rem;
  }

  .product-detail.content {
    padding: 2.5rem 0.8rem;
  }

  .product-detail .box-content {
    font-size: 0.8rem;
  }

  .video {
    height: 366px;
  }

  .product-banner.one,
  .product-banner.two {
    font-size: 0.9rem;
    height: 199px;
  }

  .product-banner.one {
    padding: 0 0 1rem 0.7rem;
  }
  .product-banner.two {
    padding: 1rem 0 0 0.7rem;
  }
  .product-banner.three {
    height: 115px;
    padding: 0.8rem 1rem 0 0;
  }
  .product-banner.three p {
    font-size: 0.7rem !important;
  }

  .visible-tablet {
    display: block !important;
  }
  .visible-mobile,
  .visible-desktop {
    display: none !important;
  }
}

@media (min-width: 568px) {
  .grid {
    display: grid;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sm\:gap-2 {
    gap: 0.5rem;
  }

  .sm\:row-span-2 {
    grid-row: span 2 / span 2;
  }

  .sm\:mt-0 {
    margin-top: 0;
  }
}

@media (max-width: 568px) {
  .layout-container .container {
    width: 548px;
  }
  .header-banner .banner {
    height: 282px;
  }

  .header-banner .banner p {
    font-size: 1rem;
    padding: 5rem 1.8rem;
  }

  .header-banner .banner h2 {
    font-size: 1.2rem;
    padding: 1.5rem 0 0 6rem;
  }

  .product-card h2 {
    font-size: 1rem;
  }

  .product-card p {
    font-size: 0.58rem;
  }

  .product-card.bpa,
  .product-card.collector,
  .product-card.massage {
    height: 151px;
  }

  .product-detail.one,
  .product-detail.two {
    height: 122px;
    padding: 1.2rem 0 0 3rem;
  }

  .product-card.massage {
    padding-top: 2rem;
  }

  .product-detail.content {
    padding: 2.8rem 0 0 1rem;
  }

  .product-detail .box-content {
    font-size: 0.7rem;
    padding: 1rem 0 0 1rem;
  }

  .video {
    height: 308px;
  }

  .product-banner.one,
  .product-banner.two {
    font-size: 0.7rem;
    height: 167px;
  }

  .product-banner.one {
    padding: 0 0 1rem 0.7rem;
  }
  .product-banner.two {
    padding: 1rem 0 0 0.7rem;
  }
  .product-banner.three {
    height: 97px;
    padding: 0.8rem 1rem 0 0;
  }
  .product-banner.three p {
    font-size: 0.6rem !important;
  }
}

@media (max-width: 440px) {
  .layout-container .container {
    width: 415px;
  }

  .header-banner .banner {
    background-image: url(../images/mobile/bg-banner-header.jpg);
    height: 199px;
  }

  .product-banner.three {
    background-image: url(../images/mobile/product-banner-three.png);
  }

  .header-banner .banner p {
    font-size: 0.73rem;
    padding: 2.6rem 1rem;
  }

  .header-banner .banner h2 {
    font-size: 0.9rem;
    padding: 0.7rem 0 0 5rem;
  }

  .product-card h2 {
    font-size: 1.39rem;
  }
  .product-card p {
    font-size: 0.68rem;
  }
  .product-card.bpa {
    font-size: 3.42rem;
  }

  .product-card.bpa,
  .product-card.collector,
  .product-card.massage {
    height: 233px;
  }

  .product-detail.one,
  .product-detail.two {
    height: 188px;
  }

  .product-detail.content {
    padding: 2rem;
  }

  .product-detail .box-content {
    font-size: 1rem;
    padding: 1rem 0 0 2rem;
  }

  .video {
    height: 234px;
  }

  .product-banner.one {
    height: 257px;
    padding: 0 0 2rem 1rem;
  }
  .product-banner.two {
    height: 257px;
    padding: 1rem 0 0 1rem;
  }

  .product-banner.one,
  .product-banner.two {
    font-size: 1rem;
  }
  .product-banner.three {
    height: 451px;
    padding: 0.8rem 1rem 0 0;
  }
  .product-banner.three p {
    font-size: 0.9rem !important;
  }

  .visible-mobile {
    display: block !important;
  }
  .visible-tablet,
  .visible-desktop {
    display: none !important;
  }
}

@media (max-width: 375px) {
  .layout-container .container {
    width: 350px;
  }

  .header-banner .banner {
    height: 168px;
  }

  .header-banner .banner p {
    font-size: 0.53rem;
    padding: 2.5rem 0.9rem;
  }

  .header-banner .banner h2 {
    font-size: 0.7rem;
  }

  .product-card h2 {
    font-size: 1.19rem;
  }

  .product-card p {
    font-size: 0.68rem;
  }

  .product-card.bpa,
  .product-card.collector,
  .product-card.massage {
    height: 195px;
  }
  .product-card.light,
  .product-card.battery {
    height: 160px;
  }

  .product-card.massage {
    padding-top: 2.5rem;
  }

  .product-detail.one,
  .product-detail.two {
    height: 158px;
    padding: 1.5rem 0 0 3.4rem;
  }

  .product-detail .box-content p {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .video {
    height: 197px;
  }

  .product-banner p {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .product-banner.one {
    height: 217px;
    padding: 0 0 1.7rem 1.3rem;
  }
  .product-banner.two {
    height: 217px;
    padding: 1rem 0 0 1.3rem;
  }
  .product-banner.three {
    height: 381px;
  }
}
