form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    font-size: 15px;
    color: black;
}
.form_bg > h3 {
    grid-column: span 2;
    text-align: center;
}
.form_bg > p {
    grid-column: span 2;
    text-align: center;
}
input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
h2 {
    text-align: center;
    margin-bottom: 20px;
}
.start{
    text-align: start;
}
button[type="submit"] {
    width: 20%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    grid-column: span 2;
    align-self: center;
    justify-self: center; /* Center horizontally */
    margin: 0 auto; /* Center within its container */
}
button[type="submit"]:hover {
    background-color: #45A049;
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
    form {
        display: block;
    }
    form > * {
        margin-bottom: 10px;
    }
    button[type="submit"] {
        width: 100%;
    }
}

form input[type="file"] {
    width: 100%; /* Set the width to 50% */
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Responsive styles */
@media only screen and (max-width: 768px) {
    form input[type="file"] {
        width: 80%; /* Reduce the width for medium screens */
    }
}

@media only screen and (max-width: 456px) {
    form input[type="file"] {
        width: 80%; /* Full width for very small screens */
    }
}

