* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000; /* Dark background color */
    color: #ffffff; /* White text for contrast */
    font-family: 'Garamond', serif; /* Use a serif font for a classic feel */
}

.background-image {
    background-image: url('robot2.png'); /* Central image */
    background-size: contain; /* Ensure the entire image is visible */
    background-position: center; /* Center the image horizontally and vertically */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    position: fixed; /* Fixed position for background image */
    top: 50%; /* Center the image vertically */
    left: 50%; /* Center the image horizontally */
    width: 100%; /* Full width of the viewport */
    height: 66.67vh; /* Occupy two-thirds of the viewport height */
    transform: translate(-50%, -50%); /* Adjust positioning to center */
    z-index: 0; /* Ensure it stays behind other elements */
}

.spacer {
    height: 100vh; /* Extra space to require scrolling */
}

.content {
    position: relative; /* Position for layering */
    z-index: 1; /* Ensure it is above the background */
    padding: 20px; /* Add padding for spacing */
    width: 80vw; /* Set the width to 80% of the viewport width */
    max-width: 900px; /* Limit the maximum width for readability */
    margin: 0 auto; /* Center the content horizontally */
    text-align: left; /* Align text to the left */
}

h1 {
    font-size: 5rem; /* Larger font size for the main heading */
    margin-bottom: 10px; /* Add spacing below the heading */
}

h2 {
    font-size: 3rem; /* Larger font size for the subheading */
    margin-top: 10px; /* Add spacing above the subheading */
    margin-bottom: 40px; /* Add spacing below the subheading */
}

p {
    font-size: 1.8rem; /* Larger font size for paragraph text */
    line-height: 1.8; /* Better line spacing for readability */
    margin-bottom: 20px; /* Add spacing below each paragraph */
}

.contact-form {
    margin-top: 20px; /* Add spacing above the form */
    display: flex;
    flex-direction: column; /* Stack inputs vertically */
    justify-content: space-between; /* Space out inputs and button */
    width: 100%; /* Make the form take up full width */
}

form label {
    margin: 10px 0 5px; /* Spacing around labels */
}

form input,
form textarea {
    padding: 10px;
    margin-bottom: 10px; /* Reduced margin for inputs */
    border: 1px solid #444; /* Dark border */
    border-radius: 5px; /* Rounded corners for inputs */
    background: #333; /* Dark input background */
    color: #ffffff; /* White text in inputs */
}

form button {
    padding: 10px;
    background: #ffcc00; /* Gold button */
    color: #221e1d; /* Dark text on button */
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background 0.3s; /* Smooth background transition */
}

form button:hover {
    background: #ff9900; /* Darker gold on hover */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .content {
        width: 90vw; /* Make the content take up more space on smaller screens */
        padding: 10px; /* Adjust padding for smaller screens */
    }

    h1 {
        font-size: 3rem; /* Smaller heading size for mobile */
    }

    h2 {
        font-size: 2.5rem; /* Smaller subheading size for mobile */
    }

    p {
        font-size: 1.4rem; /* Adjust paragraph font size */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem; /* Even smaller heading size for very small screens */
    }

    h2 {
        font-size: 2rem; /* Smaller subheading size */
    }

    p {
        font-size: 1.2rem; /* Adjust paragraph font size */
    }
}
