.subheader {
    position: relative;
    height: 500px;
  }
  
  .subheader::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--img);
    background-repeat: no-repeat;
    background-size: x 500px;
    z-index: -1;
  }

  @media (min-width: 1400px) {
    .subheader::before{
        background-size: 100%;
    }
  }
  
  .subheader::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(12, 12, 12);
    
    z-index: -1;
  }

.hero-container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-wrapper{
    display: flex; 
    align-items: center;
    justify-content: center; 
    width: 100%; 
    height: 100%; 
}

.hero-image {
    z-index: 0; 
    background-color: var(--primary-500); 
    opacity: 0.5;
}

.hero-wrapper iframe {
    z-index: 1;
    position: relative;
    margin-bottom: 20px;
}

.curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    border-radius: 999px 0 0 0;
    background-color: var(--secondary-500);
}

.animated-cta {
    animation: grow 1s ease-in-out infinite alternate;
}

.animated-cta:hover {
    animation: grow 2s ease-in 2s;
    animation-fill-mode: forwards;
}

@keyframes grow {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.02);
    }
}
.hero-video{
    border-radius: 30px;
}

.container-form{
    position:relative; 
    height: full; 
    display: grid; 
    grid-template-columns: 3fr 2.5fr; 
    height:50px; 
    width: 100%; 
    background-color: var(--white);
}

.container-form-2{
    grid-column-start: 2; 
    position: relative; 
    top: -470px;
}

.container-mobile{
    display: flex;
    flex-direction: column;
    background-color: var(--primary-500);
    border-radius: 20px;
    z-index: 1;
}
.container-mobile > div {
    display: flex;
    flex-direction: column;
}

.container-mobile > :nth-child(2) {
    justify-content: space-between;
/* same as the heading text */
}

@media (min-width: 768px) {


}
@media (max-width: 768px) {
    .hero-video{
        max-width: 100%;
        min-width: 300px;
        border-radius: 30px;
        z-index: 1;
    }
    .container-mobile{
        flex-direction: row;
        min-height: auto;
        display: flex;
    }
    .container-form{
        display: grid;
        grid-template-columns: 1fr; 
        position: relative;
        flex-direction: column;
        height: 350px;
    }
    .container-form-2{
        grid-column-start: 1;
        top: -20px;
    }
    .subheader{
        height: 550px;;
    }
    .subheader::before{
        background-position: -350px;
    }
}

@media (min-width: 2000px) {
    #selling-points {
        width: 20%;
    }
}