@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700&display=swap');

body {
  font-family: 'DM Sans', 'IBM Plex Sans Thai', sans-serif !important;
}

html[lang="jp"] body {
  font-family: 'Noto Sans JP', sans-serif !important;
}

body {
  font-size: 16px;
  line-height: 1.5rem;
}

img {
  user-select: none;
  pointer-events: none;
}

.disable-scrolling {
  position: fixed;
}

.landing {
  width: 100vw;
  overflow-x: hidden;
}

/* Utility */

a:visited {
  color: #1A1A1A;
}

.mobile-only {
  display: none !important;
}

.desktop-only {
  display: flex !important;
}

.hidden {
  display: none !important;
}

.row {
  display: flex;
  flex-direction: row;
}

/* Buttons */

.accented-button {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 50px;
  width: 220px;
  background: #5533FF;
  color: #fff;
  font-size: 18px;
  padding: 0 20px;
  border-radius: 16px;

  /* Drop Shadow Button */
  filter: drop-shadow(0px 3px 10px rgba(0, 0, 0, 0.1));
}

.accented-button.bordered {
  background: transparent;
  border: 1px solid #5533FF;
  color: #5533FF;
}

.accented-button.hug {
  width: fit-content;
}

@media screen and (max-width: 768px) {  
  .accented-button.fixed-mobile-width {
    width: 264px;
  }
}

.auth-buttons {
  border: 1px solid;
  border-radius: 8px;
  border-color: rgba(26, 26, 26, 0.15);
  font-size: 0px;
  overflow: hidden;
}

.bordered-button-small {
  height: 32px;
  color: #000;
  background-color: transparent;
  padding: 4px 8px;
  font-size: 14px;
}

.bordered-button-small-highlighted {
  height: 32px;
  color: #fff;
  background-color: #000;
  padding: 4px 8px;
  font-size: 14px;
}

/* Header */

.top-section {
  position: relative;
  width: 100vw;
  display: flex;
  justify-content: center;
  height: 800px;
  overflow: hidden;
}

.top-section.short {
  height: 120px;
  overflow: visible;
}

.mesh-gradient {
  position: absolute;
  top: 0;
  object-fit: fill;
  width: 100vw;
  height: 800px;
}

/* Landing section */

.landing .text-container.padding {
  padding: 0 20px;
}

.landing .text-container h1 {
  font-weight: 500;
  margin-bottom: 24px;
  width: 100%;
}

.landing .text-container h1.title {
  font-size: 2.8rem;
  line-height: 3.5rem;
  font-weight: 500;
  margin-bottom: 24px;
  margin-right: -40px;
  width: 400px;
}

.text-container h1.title.center {
  font-size: 2.8rem;
  line-height: 3.5rem;
  font-weight: 500;
  width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.landing .text-container p {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 64px;
}

.landing .text-container span {
  font-size: 18px;
  font-weight: 400;
}

.landing .text-container .small-text-container {
  width: calc(100% - 40px);
  max-width: 400px;
  text-align: center;
  margin: 32px auto;
}

.landing-content {
  position: absolute;
  top: 140px;
  width: calc(100vw - 40px);
  max-width: 1024px;
  padding: 40px;
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-rows: 1fr 100px;
  grid-template-areas: 
    "details demo"
    "trustedBy trustedBy";
}

.landing-content-details {
  grid-area: details;
  width: 320px;
  height: 500px;
}

.landing-content-demo {
  grid-area: demo;
  display: flex;
  justify-content: center;
  position: relative;
  top: 100px;
  right: -60px;
  transform: scale(1.8) translateX(180px);
  pointer-events: none;
  width: 170px;
}

.trusted-by {
  grid-area: trustedBy;
}

.trusted-by-title {
  margin: 20px 0;
  color: #1A1A1A;
  opacity: 0.5;
}

.trusted-by-brands {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.trusted-by-brands img {
  height: 24px;
}

.landing-content-demo .layer-1 {
  position: absolute;
  top: 50px;
}


.landing-content-demo .layer-2 {
  position: absolute;
  top: 160px;
  width: 120px;
  transform: translateX(-70px);
}

.landing-content-demo .layer-3 {
  position: absolute;
  top: 210px;
  width: 140px;
  transform: translateX(-90px);
}


/* Input Section */

.opl-input {
  margin-bottom: 30px;
}

.opl-input-small {
  width: 320px;
  margin: 0 auto 20px auto;
}

.opl-get-started-section {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 480px;
  margin: 0 auto;
}

.opl-user-avatar-group {
  height: 36px;
}

.openlink-user {
  margin: 80px 0 40px 0;
  height: 400px;
  object-fit: contain;
}

.username-input {
  font-size: 1.5rem;
  max-width: 140px;
  text-align: start;
  padding: 0;
  outline: none;
  border: none;
}

.username-input::placeholder {
  color: #5533FF;
}
.username-input:focus::placeholder {
  color: transparent;
}
/* Info content */

.info-content {
  margin: 40px auto;
  display: grid;
  max-width: 800px;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "image text";
}

.info-content-image {
  grid-area: image;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-content-image img {
  height: 360px;
  object-fit: contain;
}

.info-content-text {
  grid-area: text;
  display: flex;
  gap: 24px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.info-content-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 0 20px;
  width: calc(100%);
  max-width: 800px;
  text-align: center;
  margin-bottom: 32px;
}

.info-content-center h3 {
  margin-top: 0;
}

.info-content-center-full-screen {
  overflow: hidden;
  max-width: calc(100vw - 40px);
}

.info-content-center .opl-get-started-section {
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}

.instagram-profile {
  display: flex;
  justify-content: center;
  position: relative;
  height: 460px;
  width: 250px;
  margin: 0 auto;
  transform: scale(1) ;
}

.instagram-profile .layer-1 {
  position: absolute;
  top: 50px;
  transform: translateX(-120px);
}

.instagram-profile .layer-2 {
  position: absolute;
  top: 160px;
  transform: scale(1.5) translateX(70px);
}

.instagram-profile .layer-3 {
  position: absolute;
  top: 340px;
  transform: scale(1.6) translateX(16px);
}

.get-opl-image-container {
  height: 272px;
  width: 700px;
  display: flex;
  overflow: hidden;
}

.get-opl-image-container img {
  height: 320px;
}

/* Get your Openlink section */

.get-your-openlink-section {
  margin-top: 120px;
}

/* Endless uses section */
.endless-uses-section {
  background-color: #F0F6D9;
  height: 820px;
  padding: 40px 20px;
}

.endless-uses-section .tab-navigation-button-back {
  grid-area: back;
  background-color: transparent;
}

.endless-uses-section .tab-navigation-button-back img {
  transform: scale(0.4) rotate(180deg);
  opacity: 0.8;
}

.endless-uses-section .tab-navigation-button-next {
  grid-area: next;
  background-color: transparent;
}

.endless-uses-section .tab-navigation-button-next img {
  transform: scale(0.4);
  opacity: 0.8;
}

.endless-uses-section .tab-container {
  max-width: 1024px;
  margin: 0 auto;
  display: grid;
  grid-template-areas: 
    "back tabs next";
}

.endless-uses-section .tab {
  grid-area: tabs;
  overflow-x: scroll;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  width: 1024px;
  max-width: calc(100vw - 40px);
}

.tab::-webkit-scrollbar {
  display: none;
}

.endless-uses-section .tabcontent img {
  width: 100%;
  width: 520px;
  max-width: calc(100vw - 320px);
  object-fit: contain;
}

.endless-uses-section .tab button {
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0 15px;
  margin: 0 4px;
  font-size: 16px;
  white-space:nowrap;
  height: 32px;
  display: flex;
  align-items: center;
  border-radius: 180px;
  transition: all 0.3s ease;

  /* Drop Shadow Button */
  filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.2));
}
.endless-uses-section .tab button:hover {
  background: #FAFAFA;
}
.endless-uses-section .tab button.active {
  background: #5533FF;
  transition: all 0.3s ease;
  color: #000;
  box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.25);
  background-color: rgba(26, 26, 26, 0.05);

}
.endless-uses-section .tabcontent {
  display: none;
  padding: 5px 15px 5px 15px;
  height: 500px;
  max-width: 900px;
  margin: 0 auto;
}

.endless-uses-section .tabcontent.active {
  animation: fade-bottom 1s ease;
  display: flex !important;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

.endless-uses-section .tab-description {
  max-width: 100%;
  text-align: start;
}

.endless-uses-section .tab-description .title {
  font-size: 30px;
  font-weight: bold;
  /* line-height: 30px; */
}

.endless-uses-section .tab-description .usecase-steps {
  display: flex;
  padding: 16px 0 8px 0;
  align-items: center;
  gap: 8px;
}

.endless-uses-section .tab-description .usecase-steps img {
  height: 32px;
  width: 32px;
}

.endless-uses-section .tab-description .usecase-steps img.steps-arrow {
  height: 20px;
  width: 20px;
}


.endless-uses-section .tab-description .description {
  margin: 20px 0 28px 0;
}

.endless-uses-section .tab-description .circular-outline-btn {
  padding: 8px 16px;
  border: 20px;
  border-radius: 76px;
  border: solid 0.5px rgba(26, 26, 26, 0.5);
  color: #000;
  align-items: center;
  justify-content: center;
  display: inline-block;
}

.circular-outline-btn .circular-outline-btn-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.circular-outline-btn .circular-outline-btn-content img {
  width: 16px;
  height: 16px;
}


.explore-more-button-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 20px;
}
.explore-more-button {
  cursor: pointer;
  height: 50px;
  width: 200px;
  background: #1A1A1A;
  color: #f0f6d9;
  font-size: 18px;
  padding: 0 20px;
  margin: 0 auto;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.explore-more-button:hover {
  opacity: 0.8;
  transition: all 0.3s ease;
}

/* Join the community section */
.join-the-community-section {
  background-color: #FAF0FE;
  height: 880px;
  padding: 40px 0px;
}

@keyframes scroll-forward {
  0% {
    transform: translateX(0);
    opacity: 1;
 }
 98% {
  opacity: 1;
 }
  100% {
    transform: translateX(calc(-100px * 80));
    opacity: 0;
 }
}

@keyframes scroll-backward {
  0% {
    transform: translateX(0);
    opacity: 1;
 }
  98% {
    opacity: 1;
  }
  100% {
    transform: translateX(calc(100px * 80));
    opacity: 0;
 }
}

.slider {
  height: 180px;
  overflow: hidden;
  position: relative;
  width: calc(100vw);
  overflow-x: scroll;
  display: flex;
  flex-direction: row-reverse; 
}

.slider::-webkit-scrollbar {
  display: none;
}

.slider-large {
  height: 284px;
  display: flex;
  flex-direction: row;
}
.slider .slide-track {
  animation: scroll-backward 268s linear infinite;
  display: flex;
  flex-direction: row-reverse;
  width: calc(160px * 20);
}

.slider .slide-track-large {
  animation: scroll-forward 600s linear infinite;
  display: flex;
  width: calc(240px * 20);
  height: 300px;
}

.slider .slide {
  height: 166px;
  width: 166px;
  margin: 8px;
}

.slider .slide img {
  height: 166px;
  width: 166px;
  border-radius: 50%;
  object-fit: cover;
}

.carousel {
  height: 350px;
  width: 100vw;
  margin: 20px auto;
}

.carousel-image {
  display: block;
  height: 240px;
  width: 240px;
  object-fit: contain;
  max-width: 100%;
  margin-right: 10px;
  margin-top: 12px;
}

.carousel-image-large {
  display: block;
  height: 240px;
  width: 240px;
  object-fit: contain;
  max-width: 100%;
  margin-right: 10px;
  margin-top: 12px;
}

.carousel-image-bordered {
  display: block;
  height: 240px;
  min-width: 150px;
  max-width: 100%;
  margin-right: 10px;
  border-radius: 40px;
}

.carousel.is-fullscreen .carousel-image {
  height: auto;
  max-height: 100%;
}

.opl-user-tag-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 240px;
  height: 268px;
  margin: 8px;
}

.opl-user-tag-container .carousel-image-large {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
}

.opl-user-tag {
  background-color: #F6F7F2;
  border-radius: 40px;
  padding: 4px 8px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  filter: drop-shadow(0px 3px 10px rgba(0, 0, 0, 0.1));
  position: relative;
  top: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.opl-user-tag .username {
  color: #5533FF;
}

.username-input {
  margin-bottom: 2px;
}

/* Footer */

.footer {
  padding: 0 40px 40px 40px;
  margin: 0 auto;
  max-width: 1024px;
  font-size: 16px;
  line-height: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr 200px;
  grid-template-rows: 120px 200px 40px;
  grid-template-areas: 
    "logo logo language"
    "pages-1 pages-2 social"
    "links-1 links-2 copyright"
  ;
}

.footer a {
  color: #1A1A1A;
}

.footer .logo {
  grid-area: logo;
  display: flex;
  align-items: center;
}

.footer .logo img {
  height: 20px;
}

.footer li {
  margin: 8px 0;  
}

.footer .pages-1 {
  grid-area: pages-1;
  display: flex;
  justify-content: space-between;
}


.footer .pages-1 ul {
  list-style: none;
  padding: 0;
  width: 50%;
}

.footer .pages-2 {
  grid-area: pages-2;
  display: flex;
  justify-content: space-between;
}

.footer .pages-2 ul {
  list-style: none;
  padding: 0;
  width: 50%;
}


.footer .social {
  grid-area: social;
  width: 200px;
  display: flex;
  justify-content: space-between;
  justify-content: flex-end;
  gap: 16px;
}

.footer .social img {
  height: 32px;
}

.footer .links-1 {
  grid-area: links-1;
  display: flex;
}

.footer .links-1 div {
  width: 50%;
}

.footer .links-2 {
  grid-area: links-2;
  display: flex;
}

.footer .links-2 div {
  width: 50%;
}

.footer .copyright {
  grid-area: copyright;
  display: flex;
  justify-content: flex-end;
}

/* Media query for small screens */

@media screen and (max-width: 768px) {
  .mobile-only {
    display: flex !important;
  }

  .desktop-only {
    display: none !important;
  }

  .top-section {
    height: 1140px;
  }

  .mesh-gradient {
    height: 1140px;
  }

  /* Top section */

  .opl-get-started-section {
    flex-direction: column;
    width: 100%;
  }

  /* Endless Uses section */

  .endless-uses-section {
    padding: 40px 0;
    height: 1020px;
    position: relative;
  }
  
  .endless-uses-section .tab-container {
    margin: 0 -20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
      "tabs tabs"
      "back next";
  }

  .endless-uses-section .tab {
    grid-area: tabs;
    overflow-x: scroll;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 0;
    padding: 16px 0px;
    width: 100vw;
    max-width: 100vw
  }

  .endless-uses-section .tab-content-items {
    /* height: 700px; */
    height: 800px;
  }

  .explore-more-button-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .tab-navigation-button-back img {
    margin-top: -28px;
    display: flex;
    float: right;
  }
  
  .tab-navigation-button-next img {
    margin-top: -28px;
    display: flex;
    float: left;
  }

  .endless-uses-section .tabcontent {
    padding: 0;
    margin: 20px auto 0px auto;
    max-width: 400px;
    flex-direction: column;
  }

  .endless-uses-section .tabcontent img {
    max-width: calc(100vw - 30px);
    width: 100%;
    object-fit: contain;
  }

  .endless-uses-section .tabcontent .tab-description {
    text-align: center;
    margin-top: 20px;
  }

  .endless-uses-section .tabcontent .usecase-steps {
    display: flex;
    justify-content: center;
  }

  .join-the-community-section {
    height: 680px;
  }

  .footer {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 120px 120px 120px 0 0 100px 20px;
    grid-template-areas: 
      "logo logo "
      "pages-1 pages-1"
      "pages-2 pages-2"
      "links-1 links-1"
      "links-2 links-2"
      "language social"
      "copyright copyright"
    ;
  }
  
  .footer .social {
    justify-content: flex-end;
    align-items: center;
    width: 100%;
  }

  .footer .copyright {
    justify-content: flex-start;
  }

  /* Sliders */

  .slider-large {
    height: 206px;
  }

  .opl-user-tag {
    overflow-x: clip;
    max-width: 150%;
    font-size: 12px;
    padding: 0px 8px;
    text-overflow: ellipsis;
  }

  .opl-user-tag-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 160px;
    height: 168px;
    margin: 8px;
  }

  .opl-user-tag-container .carousel-image-large {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
  }

  .slider .slide-track {
    animation: scroll-backward 268s linear infinite;
    display: flex;
    flex-direction: row-reverse;
    width: calc(100px * 16);
  }

  .slider {
    height: 100px;
  }

  .slider-large {
    height: 206px;
  }

  .slider .slide {
    width: 80px;
    height: 80px;
  }
  .slider .slide img {
    width: 80px;
    height: 80px;
  }
}

/* Reveal Animation */

.reveal {
  position: relative;
  opacity: 0;
}

.reveal.active {
  opacity: 1;
}
.active.fade-bottom {
  animation: fade-bottom 1s ease;
}
.active.fade-bottom-delay1 {
  animation: fade-bottom-delay1 1s ease;
}
.active.fade-bottom-delay2 {
  animation: fade-bottom-delay2 1s ease;
}
.active.fade-left {
  animation: fade-left 1s ease;
}
.active.fade-right {
  animation: fade-right 1s ease;
}
@keyframes fade-bottom {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-bottom-delay1 {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  20% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-bottom-delay2 {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  40% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


@keyframes fade-left {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-right {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Terms and Conditions */

.terms-and-conditions {
  margin: 0 auto 100px auto;
  padding: 0 40px 100px 40px;
  max-width: 1024px;
  user-select: text;
  color: #1a1a1a;
  font-size: 14px;
}

.terms-and-conditions h1 {
  font-size: 32px;
}

.terms-and-conditions h3 {
  font-size: 24px;
}

.terms-and-conditions strong {
  font-size: 18px;
  font-weight: 400;
}

.title-section {
  display: flex;
  align-content: flex-end;
  justify-content: space-between;
  vertical-align: bottom;
}

.title-section p {
  align-self: flex-end;
}

@media screen and (max-width: 768px) {
  .terms-and-conditions {
    padding: 0 20px 100px 20px;
  }

  .title-section {
    display: block;
  }
}