﻿button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 12px 20px;
  margin: 8px 8px 8px 0px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  font-family: Roboto;
  letter-spacing: 2px;
  background-color: var(--primary-color);
  color: var(--bg);
  border: solid 2px var(--primary-color);
  transition: 0.25s;
}
button:hover, .btn:hover {
  background-color: var(--primary-color-hover);
}
button i, .btn i {
  font-size: 24px;
}
button.secondary, .btn.secondary {
  background-color: var(--bg);
  color: var(--primary-color);
  border: solid 2px var(--primary-color);
}

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 70%;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 5px;
  outline: none;
}

input[type=number] {
  -webkit-appearance: none;
  appearance: none;
  color: var(--text);
  padding: 8px;
  width: 40px;
  height: 20px;
  border: solid 1px var(--secondary-color);
  border-radius: 4px;
  background: transparent;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 24px;
  background-color: var(--secondary-color);
  border-radius: 4px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.light btn, body.light button {
  background-color: var(--primary-color);
  color: var(--bg);
  border: solid 2px var(--primary-color);
}
body.light btn.secondary, body.light button.secondary {
  background-color: var(--bg);
  color: var(--primary-color);
  border: solid 2px var(--primary-color);
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: Roboto;
  font-style: normal;
  font-weight: 700;
  line-height: 115%;
  scroll-margin-top: 100px;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h1, .h1 {
  font-size: clamp(3rem, 2.7273rem + 1.0909vi, 3.6rem);
}

h2, .h2 {
  font-size: clamp(2.25rem, 2.0455rem + 0.8182vi, 2.7rem);
}

h3, .h3 {
  font-size: clamp(1.875rem, 1.7045rem + 0.6818vi, 2.25rem);
}

h4, .h4 {
  font-size: clamp(1.5rem, 1.3636rem + 0.5455vi, 1.8rem);
}

h5, .h5 {
  font-size: clamp(1.25rem, 1.1364rem + 0.4545vi, 1.5rem);
}

h6, .h6 {
  font-size: clamp(1.125rem, 1.0227rem + 0.4091vi, 1.35rem);
}

p {
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  margin-top: 0;
  margin-bottom: 1rem;
}

.p-1 {
  padding: 1rem;
}

.p-2 {
  padding: 2rem;
}

.p-3 {
  padding: 3rem;
}

.gap-1 {
  gap: 1rem !important;
}

.gap-2 {
  gap: 2rem !important;
}

.gap-3 {
  gap: 3rem !important;
}

.m-0 {
  margin: 0 !important;
}

.d-flex {
  display: flex !important;
}

.justify-content-center {
  justify-content: center !important;
}

.align-items-center {
  align-items: center !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.formal {
  font-family: "Petit Formal Script", cursive;
  font-weight: 400;
  font-style: normal;
}

.text-no-wrap {
  white-space: nowrap !important;
}

.text-center {
  text-align: center !important;
}

.c-card {
  --card-font-size: 1rem;
  display: flex;
  align-items: center;
  position: relative;
  flex: 1;
  color: var(--text);
  border-radius: 20px;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box, linear-gradient(0deg, var(--bg-card) 80%, oklch(31% 0.03 47.7deg) 100%) border-box;
  border: 1px solid transparent;
  overflow: hidden;
  flex-wrap: wrap;
}
.c-card p {
  font-family: "Mooli", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 4px;
  font-size: var(--card-font-size);
  line-height: calc(var(--card-font-size) * 1.8);
  margin: 0;
}
@media (min-width: 900px) {
  .c-card {
    flex-wrap: nowrap;
    --card-font-size: 1.5rem;
  }
}
.c-card img, .c-card .image {
  flex-basis: 50%;
  width: 100%;
}
.c-card .card-content {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  gap: 2rem;
  padding: 2rem 0.5rem;
}
@media (min-width: 900px) {
  .c-card .card-content {
    flex-basis: 50%;
    padding: 3rem;
  }
}
.c-card .card-image {
  min-height: 300px;
  flex-basis: 100%;
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (min-width: 900px) {
  .c-card .card-image {
    flex-basis: 50%;
    min-height: 50vh;
  }
}

body.light .c-card {
  border: 1px solid var(--primary-color);
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 3rem 1rem;
  background-color: var(--bg-card);
  background-size: cover;
  box-shadow: 0 2px 2px oklch(10% 0 0deg / 0.15), 0 6px 6px oklch(10% 0 0deg / 0.15);
  gap: 1rem;
  font-size: 1rem;
  font-family: "Mooli", sans-serif;
  line-height: 2rem;
}
@media (min-width: 900px) {
  footer {
    font-size: 1.5rem;
  }
}
footer i {
  font-size: 2rem;
  color: var(--primary-color);
}
footer div {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
footer div p {
  text-align: center;
}
footer a {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text);
}
footer a:hover {
  color: var(--secondary-color);
}

body.light footer {
  border-bottom: 1px solid var(--primary-color);
  box-shadow: 0 2px 2px oklch(10% 0 0deg / 0.15), 0 6px 6px oklch(10% 0 0deg / 0.15);
}

.c-gradient-card {
  --card-font-size: 1rem;
  display: flex;
  align-items: center;
  position: relative;
  flex: 1;
  color: var(--text);
  background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(-170deg, var(--bg) 0%, var(--secondary-color) 50%, var(--bg) 100%) border-box;
  border: 1px solid transparent;
  overflow: hidden;
  font-family: "Mooli", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 4px;
  font-size: var(--card-font-size);
  line-height: calc(var(--card-font-size) * 1.8);
  flex-wrap: wrap;
  padding: 4rem 1rem;
}
@media (min-width: 900px) {
  .c-gradient-card {
    flex-wrap: nowrap;
    --card-font-size: 1.5rem;
  }
}
.c-gradient-card img, .c-gradient-card .image {
  flex-basis: 50%;
  width: 100%;
}
.c-gradient-card .card-content {
  flex-basis: 100%;
  padding: 2rem 0.5rem;
}
@media (min-width: 900px) {
  .c-gradient-card .card-content {
    flex-basis: 50%;
    padding: 3rem;
  }
}
.c-gradient-card .card-image {
  min-height: 300px;
  flex-basis: 100%;
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (min-width: 900px) {
  .c-gradient-card .card-image {
    flex-basis: 50%;
  }
}

body.light .c-card {
  border: 1px solid var(--primary-color);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background-color: var(--bg-card);
  background-size: cover;
  box-shadow: 0 2px 2px oklch(10% 0 0deg / 0.15), 0 6px 6px oklch(10% 0 0deg / 0.15);
}
header i {
  font-size: 2rem;
}
header a {
  text-decoration: none;
  color: var(--text);
}
header .header-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
}
header .header-items a {
  display: inline-flex;
}
@media (max-width: 500px) {
  header .header-items {
    flex-wrap: wrap;
    justify-content: center;
  }
}
header .header-items svg {
  width: clamp(300px, 100%, 350px);
  padding: 1rem;
}
header .header-items .btn {
  white-space: nowrap;
}

body.light header {
  border-bottom: 1px solid var(--primary-color);
  box-shadow: 0 2px 2px oklch(10% 0 0deg / 0.15), 0 6px 6px oklch(10% 0 0deg / 0.15);
}

.c-image-hero {
  display: flex;
  min-height: 300px;
  background-position: center;
  background-size: cover;
}

.p-home {
  text-align: center;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 900px) {
  .p-home {
    gap: 5rem;
    padding: 5rem;
  }
}
@media (min-width: 1440px) {
  .p-home {
    gap: 8rem;
    padding: 8rem;
  }
}
.p-home .c-cta {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}
.p-home .c-cta p {
  letter-spacing: 4px;
  font-size: 22px;
  line-height: 2.75rem;
  font-family: "Mooli", sans-serif;
  font-weight: 400;
  font-style: normal;
}
@media (min-width: 900px) {
  .p-home .c-cta p {
    font-size: 32px;
  }
}
.p-home .c-cta .btn {
  font-size: 32px;
  padding: 20px;
  margin: 0;
}

.p-style-guide {
  padding: 1rem;
  gap: 2rem;
  display: flex;
  flex-direction: column;
}
.p-style-guide section {
  display: flex;
  flex-direction: column;
}
.p-style-guide .color-square {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  border: 2px solid black;
}
.p-style-guide .copy-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--primary-color);
  width: 60px;
  height: 30px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  margin: 0;
  padding: 0;
}
.p-style-guide pre.code {
  font-family: monospace;
  font-weight: 300;
  font-size: 0.7rem;
  line-height: 1.5rem;
}

:root {
  --primary-hue: 350;
  --secondary-hue: 118.98;
  --text-hue: 108.57;
  --primary-color: oklch(48% 0.12 350deg);
  --primary-color-hover: oklch(40% 0.12 350deg);
  --secondary-color: oklch(59% 0.14 118.98deg);
  --bg: oklch(20% 0.02 49.99deg);
  --bg-card: oklch(24% 0.03 49.7deg);
  --text: oklch(94% 0.02 108.57deg);
}

body.light {
  --primary-hue: 350.37;
  --secondary-hue: 142.84;
  --text-hue: 50;
  --primary-color: oklch(59% 0.18 350.37deg);
  --primary-color-hover: oklch(50% 0.18 350.37deg);
  --secondary-color: oklch(78.92% 0.1609 142.84deg);
  --bg: oklch(99% 0 50deg);
  --bg-card: oklch(97% 0.01 21.35deg);
  --text: oklch(20% 0 50deg);
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
}

main {
  flex: 1 0 auto;
}

.controls {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.c1 {
  min-width: 300px;
  flex: 1;
}

span {
  color: var(--accent-color);
}
