:root {
  --color-bg: #0a0a0b;
  --color-surface: #111215;
  --color-text: #ffffff;
  --color-muted: #c7c9ce;
  --color-primary: #ff2d55;
  --color-accent: #ffd166;
  --grid-gap: 16px;
  --container-max: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Montserrat, "Proxima Nova", Metropolis, sans-serif;
  font-weight: 400;
  color: var(--color-text);
  background-color: #ff0085;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}

.header__logo {
  height: 32px;
}

.header__cta {
  white-space: nowrap;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 55px;
  font-size: 12px;
  text-transform: uppercase;
}

.button--primary {
  background: #ffffff;
  color: #000000;
}

.button--accent {
  background: #fff;
  color: #111;
}

.button:hover {
  background: #000000;
  color: #fff;
}

/* Hero */
.hero__media {
  position: relative;
}

.hero__image {
  border-radius: 16px;
  width: 100%;
}

.hero__sound {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}

.hero__content {
  background-image: url('../images/bgmobile.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 4em 1em;
}

.hero__title {
  font-weight: 900;
  font-size: 35px;
  line-height: 1.2;
  margin: 0 0 12px;
  text-shadow: 0px 6px 0px #000;
  text-transform: uppercase;
  font-style: italic;
}

.hero__cta {
  margin-top: 16px;
}

/* video Section */

.hero-video {
  width: 100%;
  padding: 2em 20px;
  background-color: #79f19f;
}

.box-video {
  position: relative;
  width: 100%;
  max-width: 856px;
  height: auto;
  aspect-ratio: 856 / 482;
  margin: 0 auto;
  overflow: hidden;
}

.box-video video {
  width: 100%;
  border-radius: 1em;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

.play-button img {
  width: 100%;
  height: 100%;
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  width: max-content;
}

.features__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.features__item:nth-child(2) {
  margin-left: 2em;
}

.features__item:nth-child(3) {
  margin-left: 4em;
}


.features__icon {
  width: 66px;
  height: auto;
}

.features__text {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-style: italic;
  font-weight: bold;
  text-transform: uppercase;
}

/* About */
.about {
  padding: 24px 0 48px;
  padding-left: 20px;
  padding-right: 20px;
}

.about__title {
  text-shadow: 0px 6px 0px #000;
  font-size: 35px;
  font-style: italic;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -2px;
  margin: 0 0 1.5em;
  line-height: 1.2;
}

.about__text {
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
}

.about__actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.about__actions .button,
.hero__actions .button{
  font-size: 18px;
  margin-top: 25px;
}

/* Footer */
.footer {
  padding: 24px 0 40px;
  background: #fff;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  margin: 0 0 20PX 0;
  color: #000000;
  font-size: 12px;
}

.footer__rta {
  height: 24px;
  margin: 0 auto;
  width: 35px;
}

.logo {
  width: 150px;
  height: auto;
}

/* Desktop Grid (>= 900px) */
@media (min-width: 900px) {
  :root {
    --grid-gap: 24px;
  }

  .main {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(24px, auto);
    gap: var(--grid-gap);
  }

  .hero {
    grid-column: 1 / -1;
    padding: 4em 0;
  }

  .hero__content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--grid-gap);
    align-items: center;
    padding: 5em 0;
  }

  .hero__content {
    background-image: none;
  }

  .hero__title {
    grid-column: 1 / span 12;
    font-size: 45px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero__cta {
    grid-column: 1 / span 4;
    justify-self: start;
  }

  .about {
    grid-column: 1 / -1;
    padding: 24px 0 72px;
  }

  .about__title {
    font-size: 32px;
  }

  .about__text {
    font-size: 16px;
  }

  .header {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .header__logo {
    height: auto;
    width: 12em;
  }

  .logo {
    width: 150px;
    height: auto;
  }

  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    width: 87px;
    height: 87px;
  }

  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 30px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 55px;
    font-size: 1em;
    text-transform: uppercase;
  }
  
  .features__item:nth-child(3) {
    margin-left: 0em;
  }

  .hero__actions {
    display: contents;
  }

  .hero-video {
    width: 100%;
    padding: 4em 20px;
    background-color: #79f19f;
  }

  .footer__inner {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
  }

  .footer__rta {
    height: 24px;
    margin-left: auto;
    width: 35px;
  }
}

/* Small screens fine-tuning */
@media (max-width: 374px) {
  .button {
    padding: 10px 16px;
  }

  .hero__title {
    font-size: 24px;
  }
}