.dm-hero {
  width: 100%;
  min-height: 710px;
  position: relative;
  padding-top: 170px;
  overflow: hidden;
  background-color: #ffd500;
}

.dm-hero .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
}

.dm-hero .container {
  position: relative;
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dm-hero h1 {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.04;
  color: #000;
  margin-bottom: 30px;
  text-transform: uppercase;
  max-width: 572px;
  opacity: 0;
}

.dm-hero p {
  font-size: 18px;
  line-height: 1.5;
  color: #000;
  max-width: 390px;
  margin-bottom: 40px;
  opacity: 0;
}

.dm-hero-buttons {
  display: flex;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dm-hero-buttons a {
  font-size: 18px;
  line-height: 1.5;
  padding: 12px 20px 12px 18px;
  color: #000;
  background-color: #fff;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.24s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  
  
  
  
  
  
  
  
  
  
  
  
  &:hover {
    transform: scale(1.04) !important;
  }
  &:active {
    filter: brightness(0.95);
    transform: scale(1) !important;
    transition: all 0.1s ease;
  }
}

.dm-hero-image {
  position: absolute;
  top: 170px;
  left: calc(45% + 20px);
  right: 20px;
  bottom: -21px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dm-hero-image > div {
  position: absolute;
  bottom: 0;
  top: 0;
  display: flex;
  align-items: end;
}

.dm-hero-image img:first-child {
  height: auto;
  max-height: 100%;
  z-index: 2;
}

.dm-hero-image footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 109px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dm-hero-image footer span {
  background-color: #ffffff;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  /* backdrop-filter: blur(2px); */
}

.dm-hero-image .hero-brad {
  left: -50px;
  right: min(48%, 280px);
  max-width: 327px;
}

.dm-hero-image .hero-eric {
  left: min(55%, 140px);
  max-width: 350px;
  z-index: 2;
}

.dm-hero-image .hero-neil {
  left: min(58%, 350px);
  max-width: 370px;
}

.dm-hero-image .hero-neil footer {
  /* left: 13%; */
}

.dm-block {
  position: absolute;
  animation: dm-block-animation 5s ease-in-out infinite;
  z-index: 1;
  display: none;
}

.dm-block-svg {
  display: block;
}

.dm-block-svg img {
  display: block;
  border-radius: 16px !important;
  /* box-shadow: rgb(38 40 53) 0px 0px 0px 3px, inset #5e4a29 0px 0px 0px 1px !important; */
  /* border: 3px #423a2f solid !important; */
}

.dm-block-1 {
  top: 16%;
  left: -10%;
  width: 130px;
}

.dm-block-2 {
  animation-delay: 1.2s;
  top: -19%;
  left: 20%;
  width: 110px;
}

.dm-block-3 {
  animation-delay: 2.97s;
  top: 18%;
  right: -10%;
  width: 115px;
}

.dm-block-4 {
  animation-delay: 1.67s;
  top: -8%;
  right: -24%;
  width: 144px;
}

.dm-block-5 {
  animation-delay: 0.8s;
  top: -22%;
  left: 60%;
  width: 120px;
}

@keyframes dm-block-animation {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .dm-hero h1 {
    font-size: 36px;
  }

  .dm-hero-buttons {
    /* flex-direction: column; */
    gap: 16px;
  }

  .dm-hero-buttons a {
    justify-content: center;
    font-size: 16px;
  }

  .dm-hero-image {
    left: calc(49% + 20px);
  }

  .dm-hero {
    height: 100%;
    max-height: unset;
  }

  .dm-hero-image {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    padding-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 10px 0px 0px;
    bottom: 0;
  }

  .dm-hero-image > div {
    position: relative;
    max-width: min(126%, 255px) !important;
    padding: 8vw 0 30px;
    margin: 0 auto;
    left: 0 !important;
    right: 0 !important;
    /* height: 300px; */
  }

  .dm-hero-image .hero-neil img {
    /* padding-top: 40px; */
    /* grid-column-end: 3; */
    /* grid-column-start: 1; */
    /* max-height: 280px; */
        min-width: 123%;
  margin-left: -19%;
  }

  .dm-hero-image .hero-eric img {
  min-width: 130%;
  margin-left: -15%;
  }

  .dm-hero-image .hero-brad img {
     min-width: 120%;
     position: relative;
     right: -4%;
  }

  .dm-hero-image footer {
    height: 47px;
    /* margin-bottom: -16px; */
    background: #fff;
  }

  .dm-hero-image footer span {
    display: inline-block;
    min-width: 67px;
    max-width: 81px;
    font-size: 12px;
    padding: 6px 8px;
    background: transparent;
  }

  .dm-block-1 {
    top: 20%;
    left: -24%;
    width: 80px;
  }

  .dm-block-2 {
    animation-delay: 1.2s;
    top: -9%;
    left: 20%;
    width: 70px;
  }

  .dm-block-3 {
    animation-delay: 2.97s;
    top: 12%;
    right: -26%;
    width: 75px;
  }

  .dm-block-4 {
    top: 18%;
    right: -54%;
    width: 94px;
  }

  .dm-block-5 {
    animation-delay: 0.8s;
    top: -7%;
    left: -13%;
    width: 78px;
  }

  .dm-block-svg {
    transform: scale(0.8);
  }
}

@media (min-width: 1440px) {
  .dm-hero-image {
    left: calc(50% + 20px);
  }
}
