.background {
    height: 100vh;
}

.content {
    position: relative;
    right: 20%;
    width: 100%;
    min-height: 100vh;
    text-align: center;
    margin-bottom: 15%;
    overflow-y: auto;
}

.headline {
    text-align: center;
    width: 100%;
    margin: auto;
    font-weight: normal;
}

.form-container {
    position: relative;
    width: 80%;
    height: 50%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 4px solid #ff9900;
}

.form-container img {
    width: 100%;
    height: 70%; /* Default, will adjust in media queries */
    object-fit: cover;
    object-position: center top;
}

.contact-form {
    position: relative;
    background-color: rgba(255, 255, 255, 0);
    padding: 0px;
    width: 80%;
    height: 50%;
    border-radius: 8px;
    bottom: 0%;
    z-index: 2;
}

.contact-form h2 {
    text-align: center;
    font-family: "CyberDyne", Arial, sans-serif;
    font-weight: normal;
    color: #ff9900;
    text-shadow:
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-family: "CyberDyne", Arial, sans-serif;
    font-weight: normal;
    color: #ff9900;
    text-shadow:
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black;
    font-size: 22px;
}

.contact-form input[type="text"],
.contact-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    border: 1px solid #ff7b00;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-weight: normal;
    color: #ff9900;
    font-size: 22px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 2px;
    background-color: #ffae0000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: "CyberDyne", Arial, sans-serif;
    font-weight: normal;
    color: #ff9900;
    text-shadow:
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black;
    font-size: 38px;
}

.contact-form button:hover {
    background-color: #ffa600;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 1em 0;
}

/* Media Queries */
@media (max-width: 320px) {
    .background {
        height: 105vh;
    }

    .content {
        width: 100%;
        left: 1%;
        top: -5%;
    }

    .headline h1 {
        font-size: 30px;
        margin-top: 7%;
    }

    .form-container {
        width: 97%;
        height: 31%;
    }

    .form-container img {
        height: 100%;
    }

    .contact-form {
        width: 85%;
        height: 50%;
        top: -96%;
    }

    .contact-form h2 {
        font-size: 18px;
    }

    .contact-form label {
        font-size: 10px;
    }

    .contact-form input[type="text"],
    .contact-form textarea {
        padding: 2px;
        margin-bottom: 4px;
        font-size: 10px;
    }

    .contact-form button {
        font-size: 14px;
        padding: 0px;
    }

    .g-recaptcha {
        display: flex;
        justify-content: center;
        margin: 1em 0;
        width: 100%;
        margin-top: 1%;
        transform: scale(0.6);
    }
}

@media only screen and (min-width: 321px) and (max-width: 350px) {
    .background {
        height: 105vh;
    }

    .content {
        width: 100%;
        left: 1%;
        top: -1%;
    }

    .headline h1 {
        font-size: 30px;
        margin-top: 7%;
    }

    .form-container {
        width: 97%;
        height: 29%;
    }

    .form-container img {
        height: 100%;
    }

    .contact-form {
        width: 85%;
        height: 50%;
        top: -96%;
    }

    .contact-form h2 {
        font-size: 18px;
    }

    .contact-form label {
        font-size: 10px;
    }

    .contact-form input[type="text"],
    .contact-form textarea {
        padding: 2px;
        margin-bottom: 4px;
        font-size: 10px;
    }

    .contact-form button {
        font-size: 14px;
        padding: 0px;
    }

    .g-recaptcha {
        display: flex;
        justify-content: center;
        margin: 1em 0;
        width: 100%;
        margin-top: 1%;
        transform: scale(0.5);
    }
}

@media only screen and (min-width: 351px) and (max-width: 370px) {
    .background {
        height: 105vh;
    }

    .content {
        width: 100%;
        left: 1%;
        top: -3%;
    }

    .headline h1 {
        font-size: 30px;
        margin-top: 7%;
    }

    .form-container {
        width: 97%;
        height: 32%;
    }

    .form-container img {
        height: 100%;
    }

    .contact-form {
        width: 85%;
        height: 50%;
        top: -97%;
    }

    .contact-form h2 {
        font-size: 22px;
    }

    .contact-form label {
        font-size: 12px;
    }

    .contact-form input[type="text"],
    .contact-form textarea {
        padding: 3px;
        margin-bottom: 4px;
        font-size: 10px;
    }

    .contact-form button {
        font-size: 14px;
        padding: 2px;
    }

    .g-recaptcha {
        display: flex;
        justify-content: center;
        margin: 1em 0;
        width: 100%;
        margin-top: 1%;
        transform: scale(0.6);
    }
}

@media only screen and (min-width: 371px) and (max-width: 390px) {
    .background {
        height: 105vh;
    }

    .content {
        width: 100%;
        left: 1%;
        top: -5%;
    }

    .headline h1 {
        font-size: 30px;
        margin-top: 7%;
    }

    .form-container {
        width: 97%;
        height: 33%;
    }

    .form-container img {
        height: 100%;
    }

    .contact-form {
        width: 85%;
        height: 50%;
        top: -98%;
    }

    .contact-form h2 {
        font-size: 24px;
    }

    .contact-form label {
        font-size: 12px;
    }

    .contact-form input[type="text"],
    .contact-form textarea {
        padding: 4px;
        margin-bottom: 6px;
        font-size: 8px;
    }

    .contact-form button {
        font-size: 16px;
        padding: 2px;
    }

    .g-recaptcha {
        display: flex;
        justify-content: center;
        margin: 1em 0;
        width: 100%;
        margin-top: 1%;
        transform: scale(0.6);
    }
}

@media only screen and (min-width: 391px) and (max-width: 425px) {
    .background {
        height: 105vh;
    }

    .content {
        width: 100%;
        left: 1%;
        top: -1%;
    }

    .headline h1 {
        font-size: 30px;
        margin-top: 7%;
    }

    .form-container {
        width: 97%;
        height: 34%;
    }

    .form-container img {
        height: 100%;
    }

    .contact-form {
        width: 85%;
        height: 50%;
        top: -97%;
    }

    .contact-form h2 {
        font-size: 20px;
    }

    .contact-form label {
        font-size: 12px;
    }

    .contact-form input[type="text"],
    .contact-form textarea {
        padding: 4px;
        margin-bottom: 6px;
        font-size: 12px;
    }

    .contact-form button {
        font-size: 16px;
        padding: 2px;
    }

    .g-recaptcha {
        display: flex;
        justify-content: center;
        margin: 1em 0;
        width: 100%;
        margin-top: 1%;
        transform: scale(0.7);
    }
}

@media only screen and (min-width: 426px) and (max-width: 600px) {
    .background {
        height: 105vh;
    }

    .content {
        width: 100%;
        left: 1%;
        top: -10%;
    }

    .headline h1 {
        font-size: 30px;
        margin-top: 7%;
    }

    .form-container {
        width: 97%;
        height: 38%;
    }

    .form-container img {
        height: 100%;
    }

    .contact-form {
        width: 85%;
        height: 50%;
        top: -97%;
    }

    .contact-form h2 {
        font-size: 20px;
    }

    .contact-form label {
        font-size: 12px;
    }

    .contact-form input[type="text"],
    .contact-form textarea {
        padding: 4px;
        margin-bottom: 6px;
        font-size: 12px;
    }

    .contact-form button {
        font-size: 16px;
        padding: 2px;
    }

    .g-recaptcha {
        display: flex;
        justify-content: center;
        margin: 1em 0;
        width: 100%;
        margin-top: 1%;
        transform: scale(0.7);
    }
}

@media only screen and (min-width: 601px) and (max-width: 767px) {
    .background {
        height: 110vh;
    }

    .content {
        width: 100%;
        left: 1%;
        top: 10%;
    }

    .headline h1 {
        font-size: 32px;
        margin-top: 7%;
    }

    .form-container {
        width: 95%;
        height: 50%;
    }

    .form-container img {
        height: 100%;
    }

    .contact-form {
        width: 85%;
        height: 50%;
        top: -97%;
    }

    .contact-form h2 {
        font-size: 22px;
    }

    .contact-form label {
        font-size: 14px;
    }

    .contact-form input[type="text"],
    .contact-form textarea {
        padding: 4px;
        margin-bottom: 6px;
        font-size: 14px;
    }

    .contact-form button {
        font-size: 20px;
        padding: 2px;
    }

    .g-recaptcha {
        display: flex;
        justify-content: center;
        margin: 1em 0;
        width: 100%;
        margin-top: 1%;
        transform: scale(0.7);
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .background {
        height: 110vh;
    }

    .content {
        width: 100%;
        left: 1%;
        top: 10%;
    }

    .headline h1 {
        font-size: 36px;
        margin-top: 7%;
    }

    .form-container {
        width: 90%;
        height: 50%;
    }

    .form-container img {
        height: 100%;
    }

    .contact-form {
        width: 85%;
        height: 50%;
        top: -97%;
    }

    .contact-form h2 {
        font-size: 22px;
    }

    .contact-form label {
        font-size: 14px;
    }

    .contact-form input[type="text"],
    .contact-form textarea {
        padding: 4px;
        margin-bottom: 6px;
        font-size: 14px;
    }

    .contact-form button {
        font-size: 20px;
        padding: 2px;
    }

    .g-recaptcha {
        display: flex;
        justify-content: center;
        margin: 1em 0;
        width: 100%;
        margin-top: 1%;
        transform: scale(0.8);
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1439px) {
    .background {
        height: 120vh;
    }

    .content {
        width: 100%;
        left: 7%;
        top: 10%;
    }

    .headline h1 {
        font-size: 38px;
        margin-top: 7%;
    }

    .form-container {
        width: 90%;
        height: 50%;
    }

    .form-container img {
        height: 100%;
    }

    .contact-form {
        width: 85%;
        height: 50%;
        top: -97%;
    }

    .contact-form h2 {
        font-size: 28px;
    }

    .contact-form label {
        font-size: 16px;
    }

    .contact-form input[type="text"],
    .contact-form textarea {
        padding: 4px;
        margin-bottom: 6px;
        font-size: 16px;
    }

    .contact-form button {
        font-size: 24px;
        padding: 2px;
    }

    .g-recaptcha {
        display: flex;
        justify-content: center;
        margin: 1em 0;
        width: 100%;
        margin-top: 1%;
        transform: scale(0.85);
    }
}

@media only screen and (min-width: 1440px) and (max-width: 1918px) {
    .background {
        height: 120vh;
    }

    .content {
        width: 100%;
        left: -19%;
        top: 0%;
    }

    .headline h1 {
        font-size: 42px;
        margin-top: 7%;
    }

    .form-container {
        width: 90%;
        height: 50%;
    }

    .form-container img {
        height: 100%;
    }

    .contact-form {
        width: 85%;
        height: 50%;
        top: -97%;
    }

    .contact-form h2 {
        font-size: 32px;
    }

    .contact-form label {
        font-size: 24px;
    }

    .contact-form input[type="text"],
    .contact-form textarea {
        padding: 4px;
        margin-bottom: 6px;
        font-size: 16px;
    }

    .contact-form button {
        font-size: 32px;
        padding: 2px;
    }

    .g-recaptcha {
        display: flex;
        justify-content: center;
        margin: 1em 0;
        width: 100%;
        margin-top: 3%;
        transform: scale(1);
    }
}

@media only screen and (min-width: 1919px) and (max-width: 1920px) {
    .background {
        height: 120vh;
    }

    .content {
        width: 100%;
        left: -19%;
        top: 0%;
    }

    .headline h1 {
        font-size: 56px;
        margin-top: 4%;
    }

    .form-container {
        width: 85%;
        height: 50%;
    }

    .form-container img {
        height: 100%;
    }

    .contact-form {
        width: 85%;
        height: 50%;
        top: -97%;
    }

    .contact-form h2 {
        font-size: 34px;
    }

    .contact-form label {
        font-size: 26px;
    }

    .contact-form input[type="text"],
    .contact-form textarea {
        padding: 4px;
        margin-bottom: 6px;
        font-size: 16px;
    }

    .contact-form button {
        font-size: 36px;
        padding: 2px;
    }

    .g-recaptcha {
        display: flex;
        justify-content: center;
        margin: 1em 0;
        width: 100%;
        margin-top: 3%;
        transform: scale(1.1);
    }
}

@media only screen and (min-width: 1921px) and (max-width: 2300px) {
    .background {
        height: 120vh;
    }

    .content {
        width: 100%;
        left: -19%;
        top: 0%;
    }

    .headline h1 {
        font-size: 56px;
        margin-top: 4%;
    }

    .form-container {
        width: 85%;
        height: 50%;
    }

    .form-container img {
        height: 100%;
    }

    .contact-form {
        width: 85%;
        height: 50%;
        top: -97%;
    }

    .contact-form h2 {
        font-size: 34px;
    }

    .contact-form label {
        font-size: 26px;
    }

    .contact-form input[type="text"],
    .contact-form textarea {
        padding: 4px;
        margin-bottom: 6px;
        font-size: 16px;
    }

    .contact-form button {
        font-size: 36px;
        padding: 2px;
    }

    .g-recaptcha {
        display: flex;
        justify-content: center;
        margin: 1em 0;
        width: 100%;
        margin-top: 3%;
        transform: scale(1.1);
    }
}

@media only screen and (min-width: 2301px) and (max-width: 2559px) {
    .background {
        height: 120vh;
    }

    .content {
        width: 100%;
        left: -19%;
        top: 0%;
    }

    .headline h1 {
        font-size: 56px;
        margin-top: 4%;
    }

    .form-container {
        width: 85%;
        height: 50%;
    }

    .form-container img {
        height: 100%;
    }

    .contact-form {
        width: 85%;
        height: 50%;
        top: -97%;
    }

    .contact-form h2 {
        font-size: 36px;
    }

    .contact-form label {
        font-size: 32px;
    }

    .contact-form input[type="text"],
    .contact-form textarea {
        padding: 4px;
        margin-bottom: 6px;
        font-size: 24px;
    }

    .contact-form button {
        font-size: 46px;
        padding: 2px;
    }

    .g-recaptcha {
        display: flex;
        justify-content: center;
        margin: 1em 0;
        width: 100%;
        margin-top: 3%;
        transform: scale(1.3);
    }
}

@media only screen and (min-width: 2560px) {
    .background {
        height: 120vh;
    }

    .content {
        width: 100%;
        left: -14%;
        top: 0%;
    }

    .headline h1 {
        font-size: 62px;
        margin-top: 6%;
    }

    .form-container {
        width: 85%;
        height: 50%;
    }

    .form-container img {
        height: 100%;
    }

    .contact-form {
        width: 85%;
        height: 50%;
        top: -97%;
    }

    .contact-form h2 {
        font-size: 40px;
    }

    .contact-form label {
        font-size: 40px;
    }

    .contact-form input[type="text"],
    .contact-form textarea {
        padding: 4px;
        margin-bottom: 6px;
        font-size: 28px;
    }

    .contact-form button {
        font-size: 52px;
        padding: 2px;
    }

    .g-recaptcha {
        display: flex;
        justify-content: center;
        margin: 1em 0;
        width: 100%;
        margin-top: 3%;
        transform: scale(1.5);
    }
}