/* -- Reset -- */
* {
    margin: 0; 
    padding: 0; 
    box-sizing: border-box;
}
html, body {
    height: 100%;
    background: #fafafa; /* fallback color */
    font-family: sans-serif;
}

/* Container using magic ratio trick */
.hero-container {
    position: relative;
    width: 100%;
    /**max-width: 1200px;*/
    margin: 0 auto;
}
.hero-container::before {
    content: "";
    display: block;
    padding-top: 50%; /* Maintain 2:1 aspect ratio */
}

/* Hero image fills container */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    object-fit: contain;
}

/* Form covers container */
.hero-container form {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
}

/* Big text input styles */
.email-box {
    position: absolute;
    top: 53%;
    left: 67%;
    width: 9%;
    height: 4%;
    font-size: 1rem;
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* Submit button styles */
.submit-btn {
    position: absolute;
    top: 58.5%;
    left: 67%;
    width: 5%;
    height: 3.5%;
    border: none;
    border-radius: 6px;
    background: #333;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}
.submit-btn:hover {
    background: #555;
}

/* Paragraph styles */
.hero-container form p {
    position: absolute;
    top: 68%; 
    left: 67%;
    font-size: 1.25rem;
    color: #000;
}

/* RESPONSIVE TWEAKS */
@media (max-width: 1024px) {
    .email-box {
      top: 53%;
      left: 67%;
      width: 9%;
      height: 4%;
      font-size: 1rem;
      padding: .5rem;
    }
    .submit-btn {
      top: 58.5%;
      left: 67%;
      width: 5%;
      height: 3.5%;
      font-size: 0.9rem;
    }
    .hero-container form p {
      top: 68%; 
      left: 67%;
      font-size: 0.6rem;
    }
}
/**
@media (max-width: 768px) {
    .email-box {
      top: 48%;
      left: 15%;
      width: 70%;
      height: 10%;
      font-size: 0.85rem;
      padding: 0.35rem;
    }
    .submit-btn {
      top: 60%;
      left: 50%;
      width: 20%;
      height: 10%;
      font-size: 0.85rem;
    }
    .hero-container form p {
      top: 70%; 
      left: 50%;
      font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .email-box {
      top: 50%;
      left: 10%;
      width: 80%;
      height: 12%;
      font-size: 0.75rem;
      padding: 0.3rem;
    }
    .submit-btn {
      top: 63%;
      left: 50%;
      width: 30%;
      height: 12%;
      font-size: 0.75rem;
    }
    .hero-container form p {
      top: 75%; 
      left: 50%;
      font-size: 0.75rem;
      text-align: center;
      width: 100%;
      transform: translateX(-50%);
    }
}*/

