html {
  --highlight-color: #f5f5f5;
  --text-color: hsl(0, 0%, 10%);
  --background: rgb(98, 106, 111);
  --main-padding: 4rem;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--text-color);
  font-family: Helvetica;
  background-repeat: no-repeat;
  padding-inline: var(--main-padding);
}

a {
  color: var(--text-color);
}

p,
li {
  max-width: 80ch;
}

.site-wrapper {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  max-width: calc(1800 / 16 * 1rem);
}

.start-main {
  display: grid;
  column-gap: var(--main-padding);
  grid-template-columns: 30% auto;
  grid-template-rows: 23dvh auto;
  justify-items: end;
}

.microphone-wrapper {
  row-span: 2;
  position: relative;
}

.microphone {
  position: absolute;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: 88px;
  object-fit: cover;
  filter: grayscale(100%);
}

.card-content {
  padding-top: 2rem;
  font-size: 1.5rem;
  grid-row: 2;
  grid-column: 2;
}

.card-content h1 {
  font-weight: normal;
  line-height: 1.1;
}

.card-content h1,
.subline {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.subline {
  font-weight: bold;
  color: var(--highlight-color);
}

.services {
  list-style: none;
  padding-left: 0.5em;
  border-left: 3px solid currentColor;
  margin-left: 2em;
  margin-block: 1.7rem;
}

.services li {
  margin-block: 0.5em;
}

.divider {
  background: currentColor;
  width: 2px;
  display: inline-block;
  height: 1em;
  translate: 0 0.2em;
}

footer {
  padding-block: 1rem;
}

.footer-navigation ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  justify-content: end;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
}

@media screen and (max-width: 50rem) {
  html {
    --main-padding: 1rem;
  }

  .start-main {
    grid-template-columns: 1fr;
    grid-template-columns: 15% auto;
  }
}

@media screen and (max-width: 38rem) {
  html {
    --main-padding: 0.5rem;
  }

  .start-main {
    display: block;
  }

  .microphone-wrapper {
    display: none;
  }

  .services {
    margin-left: 1em;
  }

  .contact a {
    display: block;
    line-height: 1.5;
  }

  .divider {
    display: none;
  }
}
