
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1em;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border:1px solid black;
}

h1 {
    text-align: center;
}

label {
    display: block;
    margin-bottom: 0.5em;
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 95%;
    padding: 0.5em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="file"] {
    border: none;
}

button {
     background-color: navy;
    color: white;
    padding: 0.75em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 45%;
    font-size: 1em;
}
.submit-button{
 background-color: navy;
    color: white;
}
.back-button{
background-color: navy;
    color: white;
}
.button-container{
   display:flex;
   justify-content: space-between;
}
button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Media Queries for Responsiveness */
@media (max-width: 820px) {
    .form-container {
        padding: 1em;
        border:1px solid black;
        margin-left: 30px;
        margin-right: 30px;
        margin-top: 20px;

    }
    
    input[type="text"],
    input[type="email"],
    textarea,
    select,
    button {
        font-size: 0.9em;
    }

}

@media (max-width: 768px) {
    h1 {
        font-size: 1.5em;
    }
    
    input[type="text"],
    input[type="email"],
    textarea,
    select,
    button {
        font-size: 0.85em;
    }

     .form-container {
        padding: 1em;
        border:1px solid black;
        margin-left: 30px;
        margin-right: 30px;
        margin-top: 20px;

    }
}

@media (max-width: 414px) {
    h1 {
        font-size: 1.2em;
    }
    
    input[type="text"],
    input[type="email"],
    textarea,
    select,
    button {
        font-size: 0.8em;
    }
}

@media (max-width: 375px) {
    .form-container {
        padding: 0.5em;
    }
    
    h1 {
        font-size: 1em;
    }
    
    input[type="text"],
    input[type="email"],
    textarea,
    select,
    button {
        font-size: 0.75em;
    }
}

@media (max-width: 365px) {
    .form-container {
        padding: 0.5em;
    }
    
    h1 {
        font-size: 0.9em;
    }
    
    input[type="text"],
    input[type="email"],
    textarea,
    select,
    button {
        font-size: 0.7em;
    }
}

