:root{
  --accent: #6A77CB;
  --theme: #393E46;
}
body, html {
  margin: 0 !important;
  background: var(--accent);
  overflow-x: hidden;
}
* {
  box-sizing: border-box;
}

main {
  background: white;
}
div, p {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}
.title, h1, h2, h3, h4, h5, h6, dl {
  font-family: "Biome", "Roboto", sans-serif;
  font-weight: 800;
}
input, button, textarea, select, .form-input {
	font-family: "Roboto", sans-serif;
	background: white;
	font-weight: 400;
	padding: 0.5rem;
	border-radius: 0.25rem;
	border: 1px solid var(--accent);
}
fieldset {
	border-radius: 0.4rem;
}
input[type="button"], input[type="submit"], button {
  background: var(--theme);
  color: white;
}

dd, dt {
  margin-bottom: 0.5rem;
}
dl a {
  color: var(--accent);
}
a {
  text-decoration: none;
  &:hover {
    color: var(--theme);
  }
}
.products li {
  margin-bottom: 2rem;
}
.logo {
  height: 5rem;
  margin: auto;
  margin-top: 3rem;
  display: block;
  width: 100%;
}

.active.logo {
  transform: scale(0.5);
  transition: transform 0.5s;
}

.scroll-reveal {
  &.slide-up {
    transform: translateY(5rem);
    opacity: 0;
    &.active {
      transform: translateY(0);
      opacity: 1;
      transition: transform 0.7s, opacity 0.7s;
    }
  }
  &.slide-in {
    transform: translateX(5rem);
    opacity: 0;
    &.active {
      transform: translateX(0);
      opacity: 1;
      transition: transform 0.7s, opacity 0.7s;
    }
  }
}
#music-submit {
	translate: 0;
	opacity: 1;
	transition: translate 0.4s 0.1s, opacity 0.4s 0.1s;
	@starting-style {
		translate: 0 2rem;
		opacity: 0;
	}
}
.slide-in {
	translate: 0;
	opacity: 1;
	transition: translate 0.3s, opacity 0.3s;
	transition-delay: var(--delay, 0);
	@starting-style {
		translate: -2rem 0;
		opacity: 0;
	}
}
section {
  background: white;
}

.accent {
  color: var(--accent);
  fill: var(--accent);
}
.light-accent {
  color: color-mix(in hsl, white, var(--accent));
  fill: color-mix(in hsl, white, var(--accent));
}
.theme {
  color: var(--theme);
  fill: var(--theme);
}
.light-theme {
  color: color-mix(in hsl, white, var(--theme));
  fill: color-mix(in hsl, white, var(--theme));
}
.white {
  color: #FFFFFF;
  fill: #FFFFFF;
}
.bg-accent {
  background: var(--accent);
}
.bg-theme {
  background: var(--theme);
}

.grid {
  display: grid;
}
.container {
  height: calc(100vh - 10rem);
}
.inset {
  padding: 1rem;
}
footer > div {
  min-height: 5vh;
  line-height: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: nowrap;
}
.vertical-pad {
  display: block;
  padding-block: 3rem;
}
.middle {
  max-width: 1000px;
  width: 100%;
  margin: auto;
}
section {
  margin-bottom: 5rem;
}
.team-members {
  & article {
    display: grid;
    column-gap: 1rem;
    grid-template-columns: 10rem 1fr;
    grid-template-rows: auto auto auto;
    margin-block: 4rem;
    & img {
      width: 10rem;
      height: 10rem;
      border-radius: 1rem;
      object-fit: cover;
      grid-row-start: span 2;
    }
    & h1, & h2,& h3, & h4, & h5, & h6 {
      margin: 0;
    }
    & :nth-child(1) {
      grid-row-start: span 3;
    }
  }
}
.form-input {
  width: 100%;
  max-width: 400px;
}
.mirror article:nth-child(odd) {
  direction: rtl;
  text-align: right;
}
.row {
  display: flex;
  flex-direction: row;
}
.col {
  display: flex;
  flex-direction: column;
}
.col {
  flex: auto
}
.mb {
  margin-bottom: 1rem;
}
.thank-you-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: color-mix(in hsl, var(--accent), transparent);
  color: white;
  border-radius: 1rem;
  height: 15rem;
}

.sticky-head {
  position: sticky;
  top: -3rem;
  z-index: 2;
  background-image: linear-gradient(0deg, transparent, white 50%);
}
@media (max-width: 768px) {
  footer > div {
    flex-direction: column;
  }
  .hide-small {
    display: none;
  }
  .sticky-head {
    position: sticky;
    top: 0rem;
    & .logo {
      height: 3rem;
      margin-top: 0;
    }
  }
}
