/* --------FONT SYSTEM -------- */
/* Karantina */

/* 12px, 16px, 24px, 32px, 48px, 72px, 128px*/
/* 1rem = 10px */

/* ------------------------------ COLOR SYSTEM  ------------------------------*/

/* blues

- #8FB7D5

- #2F4858
*/

/* grays
#333333
#292929
#1F1F1F
#141414
*/

/* whites/text
#fff



*/

/* ------------------------------ COLOR SYSTEM  ------------------------------*/

@font-face {
  font-family: "Karantina-Regular";
  src: url("fonts/Karantina-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Karantina-Bold";
  src: url("fonts/Karantina-Bold.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Karantina-Light";
  src: url("fonts/Karantina-Light.ttf");
  font-weight: normal;
  font-style: normal;
}

/* -------- SPACING SYSTEM --------*/

* {
  margin: 0px;
  padding: 0px;
}

:root {
  --bg0: #07070b;
  --bg1: #0b0b14;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  /* background-color: #1f1f1f; */
  min-height: 100%;
  color: white;

  background:
    /* center readability vignette */ radial-gradient(
      circle at 50% 20%,
      rgba(8, 8, 12, 0.98) 0%,
      rgba(8, 8, 12, 0.9) 35%,
      rgba(8, 8, 12, 0.85) 65%,
      rgba(8, 8, 12, 0.8) 100%
    ),
    /* subtle repeatable noise/texture (tileable!) */
      url("images/lostandtexture1.jpg");
  /* base gradient mood */
  /* linear-gradient(to bottom, var(--bg0), var(--bg1)); */

  background-size: cover, 20px 20px, cover;
  background-attachment: scroll, scroll, scroll;
}

/* .background-image {
  z-index: 1;
} */

.section {
}

.section-01 {
  margin-bottom: 10%;
}

.logo {
  margin-top: 2rem;
  font-family: "Karantina-Regular", sans-serif;
  font-size: 2.4rem;
  letter-spacing: 1rem;
  justify-self: center;
  color: #fff;
}

.brand-label {
  margin: 4rem 0 4rem 0;
  font-family: "Karantina-Regular", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 1rem;
  justify-self: center;
  color: #fff;
}

.hero-title {
  font-family: "Karantina-Regular", sans-serif;
  /* font-family: "Karantina-Regular", sans-serif; */
  /* font-size: 12rem; */
  font-size: clamp(4.8rem, 10vw, 12rem);
  margin-top: 2rem;
  justify-self: center;
  text-align: center;
  color: #fff;
  text-shadow: 0 8px 40px rgba(255, 255, 255, 0.08);
  line-height: 1.05;
  letter-spacing: 0.5px;
}

.hero-inner {
  width: 100%;
  max-width: 70%;
  margin: 0 auto;
  padding: 6.4rem 2.4rem 4.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-line {
  color: white;
  font-family: "Inter", sans-serif !important;
  /* font-size: 4.8rem; */
  font-size: clamp(2.4rem, 4.2vw, 4.8rem);
  font-weight: 600;
  margin-top: clamp(8rem, 10vw, 16rem);
  justify-self: center;
}

.hero-btn {
  display: flex;
  flex-direction: column;
  justify-self: center;
  margin: 12rem 0 0 0;
  padding: clamp(14px, 2.5vw, 36px) clamp(18px, 4vw, 72px);
  /* padding: 3.6rem 7.2rem 3.6rem 7.2rem; */
  text-decoration: none;

  color: #000;
  background: #ffffff;

  border-radius: 4px;
  transition: all 0.3s ease;

  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
}

.hero-btn-text {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.4rem, 1.5vw, 1.8rem);
  text-transform: uppercase;
  font-weight: 600;
}

.hero-btn-arrow {
  display: flex;
  flex-direction: column;
  justify-self: center;
  padding: clamp(10px, 2vw, 20px);
  margin: 2rem 0 4rem 0;
  text-decoration: none;

  color: #000;
  background: #ffffff;

  border-radius: 50%;
  transition: all 0.3s ease;

  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
}

.hero-btn-arrow-icon {
  align-self: center;
  width: 2.4rem;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.hero-btn:hover {
  transform: translateY(3px);
}

.hero-btn-arrow:hover {
  transform: translateY(3px);
}

/* Hover */
.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2), 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Active */
.hero-btn:active {
  transform: translateY(0);
}

.dividing-line {
  border-top: white 1px solid;
  width: 110%;
}

/* -------------------- IN BETWEEN SECTION-------------------- */

.inbtwn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 4rem;
}

.used-by-header {
  font-family: "Karantina-Regular", sans-serif;
  font-size: clamp(4.8rem, 8vw, 8rem);
  margin-top: 2rem;
  margin-bottom: 4rem;
  justify-self: center;
  text-align: center;
  color: #fff;
}

.used-by-list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: clamp(10%, 4vw, 20%);
}

.used-by-list-item {
  font-family: "Karantina-Regular", sans-serif;
  font-size: clamp(3.6rem, 4vw, 4.8rem);
  letter-spacing: 0.1rem;
  white-space: nowrap;
  opacity: 0.8;
}

/* .inbtwn img {
  max-width: 24rem;
  opacity: 0.4;
  background: none;
  filter: grayscale(100%);
} */

.made-with {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.supported-by {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.supported-by-header {
  font-family: "Karantina-Regular", sans-serif;
  font-size: 8rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
  justify-self: center;
  color: #fff;
}

.preset-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preset-info-header {
  font-family: "Karantina-Regular", sans-serif;
  font-size: 12rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
  justify-self: center;
  color: #fff;
}

.preset-info-subtext {
  font-family: "Karantina-Regular", sans-serif;
  font-size: 6rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
  justify-self: center;
  color: #fff;
}

/* -------------------- IN BETWEEN SECTION-------------------- */

#free-bounce {
  scroll-margin-top: 8rem;
  margin-top: 4rem;
}

.free-bounce-inner {
  width: 100%;
  max-width: 85%;
  margin: 0 auto;
  padding: 4.8rem 4.8rem 4.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tay-wav-subheader {
  margin-top: 1rem;
  font-family: "Karantina-Regular", sans-serif;
  font-size: 2.4rem;
  opacity: 0.5;
  letter-spacing: 1rem;
  justify-self: center;
  color: #fff;
}

.free-bounce-header {
  font-family: "Karantina-Regular", sans-serif;
  /* font-family: "Karantina-Regular", sans-serif; */
  font-size: clamp(8.4rem, 6vw, 12rem);
  margin-top: 0rem;
  justify-self: center;
  text-align: center;
  color: #fff;
  text-shadow: 0 8px 40px rgba(255, 255, 255, 0.08);
  line-height: 1.05;
  letter-spacing: 0.5px;
}

.media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4.8rem;
  margin: 4rem 0 0rem 0;
  flex: 1.5;
  /* padding: 4rem 2rem 0 0; */
}

.media-and-info {
  display: flex;
  flex-direction: row;
  /* align-items: flex-start; */
}

.player-header {
  font-family: "Karantina-Regular", sans-serif;
  font-size: 3.6rem;
  text-align: center;
  letter-spacing: 0.1rem;
}

.player {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: clamp(2.4rem, 3vw, 4.8rem);
  width: 60%;
}

.player-title {
  font-family: "Karantina-Regular", sans-serif;
  font-size: 4.8rem;
  color: #fff;
  margin: 0 0 0 0;
}

.status {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  margin-top: 0rem;
}

.title {
  color: #fff;
  /* font-family: "Karantina-Regular", sans-serif; */
  font-family: "Inconsolata", monospace;
  font-size: 2.4rem;
}

.controls {
  display: flex;
  flex-direction: row;
  margin-top: 0rem;
  gap: clamp(rem, 1vw, 1.2rem);
}

.controls button {
  all: unset;
  cursor: pointer;
  font-size: 2.4rem;
  /* background-color: white; */
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.controls button:hover {
  transform: translateY(-2px);
}

.back {
}

.icon {
  width: 24px;
  height: 24px;
  /* stroke: currentColor; */
  /* fill: none; */
}

.play-toggle .icon {
  font-size: 4.8rem;
  /* padding: 2rem; */
}

.play-toggle .pause {
  display: none;
}

.play-toggle.is-playing .play {
  display: none;
}

.play-toggle.is-playing .pause {
  display: block;
}

.forward {
}

.wave {
  margin: 0rem 0 0rem 0;
  width: 25%;
  max-width: 25%;
  height: 4.8rem;
  transition: opacity 0.2s ease;
}

.wave:hover {
  opacity: 0.8;
}

.light {
  display: inline-block;
  align-self: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: none;
  border: 1px solid white;
}

.light.on {
  background: red;
}

/* IMAGES AND CAROUSEL */

.product-images-carousel {
  position: relative;
  width: min(900px, 80%);
  margin: 0 auto;
  user-select: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1.2rem;
}

.product-images-carousel:hover {
  transform: translateY(-6px);
  box-shadow: 0 1.5rem 3rem rgba(255, 255, 255, 0.2);
}

.product-images-viewport {
  overflow: hidden;
  border-radius: 12px;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
  width: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 30px;
  line-height: 44px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.nav.prev {
  z-index: 2;
  left: 10px;
}
.nav.next {
  right: 10px;
}

.nav:active {
  transform: translateY(-50%) scale(0.98);
}

.prev {
}

.next {
}

.product-images {
  display: flex;
  transition: transform 250ms ease;
  will-change: transform;
}

.product-images > img {
  width: 75%;
  flex: 0 0 100%;
  display: block;
  object-fit: contain; /* good for screenshots */
  background: #111; /* letterbox background */
  aspect-ratio: 4 / 3;
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none; /* not clickable */
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
}

.dot.active {
  background: rgba(255, 255, 255, 0.95);
}
/* IMAGES & CAROUSEL */

.product-price {
  text-align: center;
  font-family: "Karantina-Regular", sans-serif;
  font-size: 8rem;
  font-weight: 600;
  margin-top: 1rem;
}

#buy-btn {
  /* align-self: center; */
  margin: 2rem auto 0;
  padding: clamp(1rem, 3vw, 3rem) clamp(1.25rem, 6vw, 6rem);

  background-color: #fff;
  border-radius: 4px;
  border: #1f1f1f 1px solid;
  width: (40%, 520px);
  justify-self: center;
  transition: 0.3s ease;
}

.buy-btn-text {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  text-transform: uppercase;
  font-weight: 600;
  color: black;
  text-align: center;
  text-wrap: nowrap;
}

/* Hover */
#buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2), 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Active */
#buy-btn:active {
  transform: translateY(0);
}

.juce-logo {
  opacity: 0.6;
  max-width: 8rem;
  filter: grayscale(100%);
}

.made-with-juce {
  display: flex;
  flex-direction: column;
  margin: 3.6rem 2.4rem 0 1rem;
}

/* .made-with-juce-header {
  font-family: "Inter", sans-serif;
  font-size: 1.6rem;
  color: #fff;
} */

.compatibility {
  display: flex;
  flex-direction: row;
  width: 90%;
}

.compat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 2vw, 12px);
  margin: 4rem 4rem 4rem 0;
}

.compat-grid div {
  padding: clamp(3px, 2vw, 6px) clamp(7px, 2vw, 14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: clamp(0.8rem, 2vw, 1.2rem);
  font-family: "Inter", sans-serif;
}

/* .compat-grid-divider {
  font-size: 1.2rem;
  margin-left: 2rem;
  margin-right: 2rem;
} */
.footer {
  padding: 8rem 4rem;
}

.footer-inner {
  max-width: 1200px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  justify-self: center;
  align-items: center;
  gap: 12rem;
}

.footer-logo {
  font-family: "Karantina-Regular", sans-serif;
  font-size: 4.8rem;
  letter-spacing: 1rem;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-direction: row;
  gap: 12rem;
  list-style: none;
  margin-top: 2rem;
}

.footer-links a {
  font-family: "Nunito Sans", sans-serif;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 500;
  color: white;
}

.info {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 8rem;
  text-align: left;
  flex: 1;
}

.features-header {
  font-family: "Karantina-Regular", sans-serif;
  font-size: clamp(6.4rem, 4.8vw, 8rem);
  letter-spacing: 0.3rem;
  color: #fff;
  margin: 6rem 0 0 0;
}

.features-text {
  margin: 2rem 0 0 0;
  color: white;
  font-family: "Inter", sans-serif;
  line-height: 1rem;
  font-size: clamp(1.2rem, 3vw, 2.4rem);
  font-weight: 500;
  width: 90%;
}

.features-list {
  margin: 4rem 0 4rem 4rem;
}

.features-list-item {
  color: white;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.2rem, 3vw, 2.4rem);
  font-weight: 500;
  margin-top: 2rem;
}

.product-desc-header {
  font-family: "Karantina-Regular", sans-serif;
  font-size: clamp(6.4rem, 4.8vw, 8rem);
  letter-spacing: 0.3rem;
  color: #fff;
  margin: 0 0 0 0;
}

.product-desc-text-1 {
  margin: 2rem 0 0 0;
  color: white;
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  font-size: clamp(1.2rem, 3vw, 2.4rem);
  font-weight: 500;
  width: 100%;
}

.product-desc-text-2 {
  margin: 4rem 0 0 0;
  color: white;
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  font-size: clamp(1.2rem, 3vw, 2.4rem);
  font-weight: 500;
  width: 90%;
}

/* MEDIA QUERIES */

@media (max-width: 1200px) {
  .info {
    align-items: center;
  }
  .features-header {
    text-align: center;
  }

  .product-desc-header {
    text-align: center;
  }

  .product-desc-text-1 {
    text-align: center;
  }

  .product-desc-text-2 {
    text-align: center;
  }

  .media {
    margin-bottom: 0rem;
  }

  .compat-grid {
    flex-wrap: wrap;
    align-items: center;
  }

  .hero-inner {
    padding: 96px 80px 80px;
  }

  .media-and-info {
    flex-direction: column;
  }
}

/* Tablet */
@media (min-width: 768px) {
  .hero-inner {
    padding: 80px 40px 60px;
  }

  .free-bounce-main-content {
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .compat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2rem 2rem 2rem 0;
  }
}
