/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  --color-black: #0F0B1C;
  --color-white: #FFFFFF;
  --color-lila: #B464FF;
  --color-violet: #5E099B;
  --color-yellow: #FFD700;
  --color-green: #7CED4B;
  --color-mint: #6DD3D1;
  --font-size-h1: 2.3125rem;
  --font-size-h2: 1.6875rem;
  --font-size-body: 1.125rem;
  --section-padding: 5rem 1.5625rem;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--color-black);
  color: var(--color-lila);
}

h1 {
  font-weight: 600;
  font-size: var(--font-size-h1);
  line-height: 1.125;
  margin: 0.25em 0 0.5em 0;
}

h2 {
  font-weight: 600;
  font-size: var(--font-size-h2);
  line-height: 1.06;
  margin: 0.25em 0 0.5em 0;
}

p {
  font-size: var(--font-size-body);
  line-height: 1.5;
  margin: 0 0 1em 0;
}

img {
  margin: 0;
  width: 100%;
  height: auto;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.375rem 1.5625rem;
  border-bottom: 2px solid var(--color-lila);
}

header img {
  height: 20px;
  width: auto;
}

section {
  padding: var(--section-padding);
}

.footer {
  padding: var(--section-padding);
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer img {
  height: 2.8125rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer h2 {
  line-height: 1.3;
  margin-bottom: 3em;
  --bg-size: 200%;
  --color-one: hsl(15 90% 55%);
  --color-two: hsl(40 95% 55%);
  background: linear-gradient(
                45deg,
                var(--color-lila),
                var(--color-white),
                var(--color-lila)
              ) 0 0 / var(--bg-size) 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: move-bg 4s infinite cubic-bezier(0.19, 1, 0.22, 1);
}

.footer p {
  font-size: 1rem;
}

footer {
  padding: 1rem 1.5625rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: smaller;
  box-shadow: 0 -5px 20px 0px rgba(255, 255, 255, 0.1);
}

.hero {
  padding: 0 1.5625rem;
  min-height: calc(100vh - 4.125rem);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero .wrapper {
  max-width: 60rem;
}

.text-image {
  padding: 0;
}

.text-image .wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.text-image .text {
  padding: 5rem 1.5625rem;
}

.text-image .wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tc-white {
  color: var(--color-white);
}

.tc-black {
  color: var(--color-black);
}

.bg-white {
  background-color: var(--color-white);
}

.bg-lila {
  background-color: var(--color-lila);
}

.bg-mint {
  background-color: var(--color-mint);
}

.center {
  text-align: center;
}

@media screen and (min-width: 768px) {

  :root {
    --font-size-h1: 3rem;
    --font-size-h2: 2rem;
    --section-padding: 12.5rem 1.5625rem;
  }

  .hero {
    padding: 0 10rem;
  }

  .text-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .text-image .image,
  .text-image .text,
  .text-text .text {
    min-width: 0;
  }

  .text-image--left .image {
    order: 1;
  }

  .text-image--left .text {
    order: 2;
  }

}

@media screen and (min-width: 1024px) {
  .text-image .text {
    padding: 5rem;
  }
}

@media screen and (min-width: 1280px) {

  :root {
    --font-size-h1: 5rem;
    --font-size-h2: 3rem;
    --section-padding: 12.5rem 1.5625rem;
  }

  .footer h2 {
    margin-bottom: 10rem;
  }

  .footer img {
    height: 3.75rem
  }

  .hero {
    padding: 0 15rem;
  }

  .text-image .text {
    padding: 13.75rem 7.1875rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .footer h2 {
    animation: move-bg 4s linear infinite;
  }
  @keyframes move-bg {
    to {
      background-position: var(--bg-size) 0;
    }
  }
}
