.header {
  display: grid;
  margin-bottom: 32px;
  grid-gap: 20px;
  grid-template-columns: 1fr calc(50% - 145px) 115px;
}
@media screen and (max-width: 1023px) {
  .header {
    grid-template-columns: 1fr 115px;
    gap: 32px;
    padding: 0 20px;
  }
}
.header__left {
  display: flex;
  align-items: start;
  height: fit-content;
  justify-content: space-between;
  margin-top: 10px;
  width: calc(50% - 10px);
  overflow: hidden;
}
@media screen and (max-width: 1023px) {
  .header__left {
    width: 100%;
  }
}
.header__menu {
  display: block;
}
.header__logo {
  display: block;
}
.header__right {
  display: flex;
  align-items: start;
  justify-content: space-between;
}
@media screen and (max-width: 1023px) {
  .header__text {
    grid-column: 1/3;
  }
}
.header__video-block {
  display: flex;
  align-items: start;
  margin-top: 10px;
  overflow: hidden;
  height: fit-content;
}
@media screen and (max-width: 1023px) {
  .header__video-block {
    grid-column: 2/3;
    grid-row: 1/2;
    justify-content: end;
  }
}
.header__video {
  width: 85px;
  height: 48px;
  background-color: green;
  margin-right: 20px;
}
.header__sound-button {
  padding: 20px;
  margin: -20px;
}
.hero-cards {
  overflow: hidden;
}
.hero-cards__content {
  max-width: 1440px;
  margin: 0 auto 50px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
@media screen and (max-width: 1023px) {
  .hero-cards__content {
    width: 1000px;
  }
}
.hero-cards__card {
  flex: 1 1 0;
  height: 192px;
  background-color: green;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-cards__card:first-of-type {
  opacity: 0;
  pointer-events: none;
}
.hero-cards__card-special {
  position: absolute;
  z-index: 100;
  background-color: lightgreen;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-cards__card-video {
  /*display: flex;*/
  /*align-items: center;*/
  /*justify-content: center;*/
}
.hero-cards__text {
  width: calc(25% - 15px);
  margin-left: calc(50% + 10px);
}
@media screen and (max-width: 1023px) {
  .hero-cards__text {
    width: 100%;
    margin-left: 0;
  }
}
.hero-container {
  /*height: 300%;*/
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  padding: 30px 20px 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media screen and (max-width: 1023px) {
  .hero {
    padding: 30px 0 50px;
  }
}
.design-features {
  padding: 150px 20px 100px;
  height: 100vh;
}
.design-features__title {
  width: calc(25% - 15px);
  margin-left: calc(50% + 10px);
  margin-bottom: 50px;
}
@media screen and (max-width: 1023px) {
  .design-features__title {
    width: 100%;
    margin-left: 0;
  }
}
.design-features__cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.design-features__card {
  flex: 1 1 0;
}
.design-features__card-title {
  display: block;
  margin-bottom: 10px;
  font-size: var(--font-size-xl);
}
.design-features__icon-container {
  margin-bottom: 20px;
  overflow: hidden;
}
.design-features__card-line {
  width: 0;
  height: 1px;
  background-color: var(--color-black);
  margin-top: 20px;
}
.happy-couple {
  height: 200vh;
  background-color: mediumpurple;
  position: relative;
  z-index: 10;
}
.happy-couple__image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}
.box {
  width: 100px;
  height: 100px;
  background-color: #ffb24e;
}

.spacer {
  height: 150vh;
  background-color: mediumpurple;
  z-index: 100;
}

.spacer2 {
  height: 100vh;
  background-color: #d653b9;
}
