body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */
.hero {
  position: relative;

  /* 100% ekrano aukščio */
  min-height: 100vh;
  height: 100svh;      /* moderniems browseriams (mobile fix) */

  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../images/hero-bg-w.png");
  background-size: cover;
  background-position: center 100%;
}

.hero-content {
  position: relative;
  z-index: 2;

  max-width: 720px;
  margin: 0 auto;

  padding: 6rem 24px 20vh;

  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content h1 {
    margin: 0;
}

@media (max-width: 768px){
  .hero-bg {
    background-image: url("../images/hero-bg-h.png");
    background-position: center 25%;
  }
}

@media (min-width: 1600px){
  .hero-bg {
    background-position: center 60%;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.65),
      rgba(0,0,0,0.35),
      rgba(0,0,0,0.8));
}
