
@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");

/* Responsive design for smartphones */
@media (max-width: 600px) {
  html, body {
    font-size: 16px;
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
  }
  .scotch-container {
    padding: 0;
    width: 100vw;
    min-height: 100vh;
    position: static;
    background-size: cover;
  }
  .main-container {
    padding: 8px 0 0 0;
    margin: 0 auto;
    display: block;
    width: 100vw;
    position: static;
    top: unset;
    left: unset;
    transform: none;
    gap: 24px;
    box-sizing: border-box;
  }
  .text-container {
    padding: 0 8px;
    align-items: flex-start;
  }
  .text-sphere-container {
    flex-direction: column;
    width: 100vw;
    gap: 24px;
    align-items: center;
    padding: 0 8px;
    box-sizing: border-box;
  }
  nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100vw;
    margin: 0 0 8px 0;
    overflow-x: auto;
    white-space: nowrap;
    background: none;
    box-shadow: none;
    padding: 0 4px;
  }
  h1 {
    font-size: 1.5em;
    word-break: break-word;
  }
  img, .sphere {
    max-width: 100%;
    height: auto;
  }
  .buy, .buy-cta {
    width: 100%;
    min-width: 0;
    font-size: 1em;
    height: 48px;
    margin: 8px 0;
  }
  input, select, textarea {
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 8px;
  }
  label {
    width: 100%;
    display: block;
    margin-bottom: 8px;
  }
  form {
    width: 100%;
    padding: 0 4px;
    box-sizing: border-box;
  }
}

:root {
  --dark-color: #191f1d;
  --mid-dark: #555a57;
  --light-color: #ece0c8;
  --mid-light: #949993;
  --shadow: #0005;
   --linear-rainbow: linear-gradient(
    to right,#ede6bf,#ecc947,#cb5a31,#6f5d79,#4e779a
  );
  --circle-rainbow: linear-gradient(
    to right,#ede6bf,#ecc947,#cb5a31,#6f5d79,#4e779a
  );
  --logo-komorebi: url(images/logo-transparent.png);
  --logo-forms: url();
  --noise-texture: url(https://i.gyazo.com/a26366e538851a5c569ff648e99b7fd4.png);
  --gif-texture: url(https://64.media.tumblr.com/da60c13b478dda09ab90c27e880983b8/tumblr_nd4pwdPKdc1tun3l0o1_1280.gifv);
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  display: grid;
  place-items: center;
  background: var(--dark-color);
  background-image: var(--noise-texture);
  background-blend-mode: overlay;
}

h1 {
  margin: 0;
  font-family: "Mulish", sans-serif;
  font-weight: 1000;
  font-size: 64px;
  color: var(--light-color);
}

h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 16px;
  color: var(--mid-light);
}

h3 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  font-size: 24px;
  color: var(--mid-light);
}

p {
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  width: 390px;
  color: var(--mid-light);
}

nav {
  display: flex;
  align-items: center;
  justify-content: end;
  box-sizing: border-box;
  margin: 30px 128px;
  gap: 48px;
  font-size: 16px;
}

a {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-family: "Mulish", sans-serif;
  color: var(--mid-light);
  font-weight: 400;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a:not(.buy, .buy-cta, .learn) {
  width: 64px;
}

a:hover:not(.buy, .buy-cta, .learn) {
  transition: all 0.2s ease-in-out;
  font-weight: 900;
  text-shadow: 0 0 8px var(--light-color);
}

.scotch-container {
  margin: 0;
  padding: 0;
/*  display: grid;*/
  height: 100%;
  width: 100%;
  background-image: linear-gradient(
    150deg,
    var(--dark-color) 60.2%,
    var(--mid-dark) 60.28%,
    var(--mid-dark) 60.7%,
    var(--dark-color) 60.78%,
    var(--dark-color) 61.4%,
    var(--mid-dark) 61.48%,
    var(--mid-dark) 62.6%,
    var(--dark-color) 62.68%,
    var(--dark-color) 63.4%,
    var(--mid-dark) 63.48%,
    var(--mid-dark) 64.6%,
    var(--dark-color) 64.68%,
    var(--dark-color) 65.4%,
    var(--mid-dark) 65.48%,
    var(--mid-dark) 67.4%,
    var(--dark-color) 67.48%,
    var(--dark-color) 68.4%,
    var(--mid-dark) 68.48%,
    var(--mid-dark) 71.4%,
    var(--dark-color) 71.48%,
    var(--dark-color) 72.4%,
    var(--mid-dark) 72.48%,
    var(--mid-dark) 76.4%,
    var(--dark-color) 76.48%,
    var(--dark-color) 77.4%,
    var(--mid-dark) 77.48%,
    var(--mid-dark) 81.4%,
    var(--dark-color) 81.48%,
    var(--dark-color) 82.4%,
    var(--mid-dark) 82.48%,
    var(--mid-dark) 87.4%,
    var(--dark-color) 87.48%
  );
  box-sizing: border-box;
  animation: spawn 2s ease-in-out forwards; 
}

.scotch-container:before {
  content: "";
  display: flex;
  position: absolute;
  background-image: var(--noise-texture);
  height: 100%;
  width: 100%;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 3;
}

.scotch-container:hover:after {
  content: "";
  display: flex;
  position: absolute;
  background-image: var(--gif-texture);
/*  height: 580px;
  width: 960px;*/
  background-repeat: no-repeat;
  background-size: cover;
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 64%;
  z-index: 3;
}

.main-container {
  padding: 0;
  margin: auto;
  display: grid;
  height: fit-content;
  gap: 64px;
  place-items: center;
  box-sizing: border-box;
  width: fit-content;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

}

.text-container {
  display: flex;
  flex-direction: column;
}

.text-sphere-container {
  display: flex;
  width: 125%;
  gap: 128px;
  align-items: center;
}

.sphere {
  display: grid;
  height: 200px;
  width: 200px;
  background-image: url(https://noise.fr.to/assets/images/logo-transparent.png);
  border: 3px solid var(--mid-light);
  border-radius: 50%;
  transition: all 0.4s;
  box-shadow: 0px 0px var(--shadow);
  background-position: center;
  background-size: contain;
}

.sphere:hover {
  scale: 1.1;
  box-shadow: 16px 16px var(--shadow);
  transition: all 0.2s;
  background-image: url(https://noise.fr.to/assets/images/logo-transparent.png), var(--circle-rainbow);
}

.buy {
  display: grid;
  place-items: center;
  font-weight: 900;
  border: 1px solid var(--mid-light);
  height: 40px;
  width: 128px;
  transition: all 0.2s;
}

.buy:hover {
  scale: 1.1;
  background: var(--light-color);
  color: var(--dark-color);
  border: 1px solid var(--light-color);
}

/* Unified button style for .buy-cta (submit button) */
.buy-cta {
  display: grid;
  place-items: center;
  color: var(--dark-color);
  font-family: "Mulish", sans-serif;
  font-weight: 1000;
  background-image: linear-gradient(
    to right,
    var(--light-color),
    var(--light-color)
  );
  height: 40px;
  width: 200px;
  font-size: 16px;
  border: none;
  outline: none;
  transition: all 0.4s;
  cursor: pointer;
}

.buy-cta:hover {
  scale: 1.1;
  color: var(--light-color);
  background-image: var(--linear-rainbow);
  transition: all 0.2s;
}


@keyframes spawn{
  0%{
    box-shadow: 0 0 0 var(--shadow);
    opacity:0%;
  }
  100%{
    box-shadow: 0 0 32px var(--shadow);
    opacity:100%;
  }
}

.divisor {
  height: 300px;
}