/* Header */

section#header {
  width: 100%;
  position: relative;
  background-color: var(--color-white);
  padding: 100px 0;
}

section#header .wrapper {
  background: url("../src/images/bg.png") no-repeat center top;
  background-size: 1200px auto;
  padding-bottom: 50px;
}

section#header .intro {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

section#header .block-screen {
  margin-top: 50px;
  text-align: center;
}

section#header .block-screen img {
  box-shadow: 0px 15px 41px 9px rgba(0, 0, 0, 0.06);
}

/* Functions */

#functions {
  margin-top: -120px;
  position: relative;
  z-index: 10;
  box-shadow: 0px -120px 40px 0 rgba(0, 0, 0, 0.06);
}

#functions .grid {
  display: grid;
  grid: 1fr / 1fr 1fr;
  grid-gap: 16px;
}

#functions .card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#functions img {
  max-height: 400px;
  transition: opacity 300ms ease;
}

@media (max-width: 1000px) {
  #functions .grid {
    grid-template-columns: 1fr;
  }

  #functions .card {
    order: -1;
  }
}
