.header {
    background-image: linear-gradient(rgba(4, 9, 30, 0.5),
            rgba(4, 9, 30, 0.7)), url(/images/Untitled\ design\ \(2\).png);
    height: 980px;
}

body {
    font-family: Arial, sans-serif;

    color: white;
    margin: 0;
    padding: 0;
}



.container {
    max-width: 850px;
    margin: 30px auto;
    padding: 20px;
    background-color: transparent;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgb(0, 0, 0);
    border-color: black;
    color: white;
    margin-bottom: 300px;

}

h1 {
    text-align: center;
    color: #ffffff;
    /* Green color for headings */
}

.form-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

form {
    flex: 1;
    margin-right: 20px;
}

label {
    display: block;
    margin: 10px 0 5px;
}

option {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
}

input[type="text"],
input[type="email"],
select,
textarea {
    background-color: transparent;
    width: 93%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid white;
    border-radius: 4px;
    color: white;
    font-size: 18px;
    box-shadow: 0 0 5px #ffffff;
}

button {
    background-color: #62ad37;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
    margin-right: 15px;
}

button:hover {
    background-color: #e3c013;
}

.image-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.image-preview {
    border: 2px dashed #ffde3b;
    padding: 5px 10px;
    background-color: transparent;
    border-radius: 5px;
    text-align: center;
    margin: 10px 0;
    height: auto;
    width: 350px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-self: center;
    position: relative;
    box-shadow: 0 0 5px #ffde3b;
}

h2{
    display: flex;
    align-self: center;
}
 img {
    width: 300px;
    height: auto;
    align-self: center;
    border-radius: 5px;
}

.Button-container {
    display: flex;
    /* Use flexbox to align items in a row */
    align-items: center;
    /* Align items vertically in the center */
}

@media(max-width:750px) {

    .container {
        display: flex;
        flex-direction: column;
        margin-bottom: 100px;
        max-width: 500px;
        margin: 30px auto;
        background-color: transparent;
        margin-bottom: 200px;
    }

}

@media(max-width:499px) {
    .header {
        height: 1000px;
        background-position: center;
        background-size: cover;
        position: relative;
    }

    .container {
        max-width: 86vw;
        margin: 30px auto;
        padding: 20px 10px;
        margin-bottom: 0;
    }

    .form-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
    }

    .image-preview {
        height: auto;
        width: 81vw;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin: 25px 0;
    }

    form {
        flex: 1;
        margin-right: 0;
    }

    input[type="text"],
    input[type="email"],
    select,
    textarea {
        background-color: transparent;
        width: 81vw;
        margin-bottom: 15px;
    }
}