@import url('https://fonts.googleapis.com/css?family=Open+Sans');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none; /* Apply no underline specifically to links */
}

body, input, button {
    font-family: 'Open Sans', sans-serif;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 30px; /* Ensure there's padding on all sides */
}

.box {
    display: flex;
    flex-direction: column;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 0 125px 0 rgba(0, 0, 0, 0.1),
                0 32px 64px -48px rgba(0, 0, 0, 0.5);
}

.form-box {
    width: 100%; /* Full-width for responsiveness */
    max-width: 450px; /* Maintain maximum width on all devices */
    margin: 0 auto; /* Center form within the box */
}

.form-box header {
    font-size: 25px; /* Maintain font size across devices */
    font-weight: 600;
    padding-bottom: 15px;
}

.form-box .field {
    display: flex;
    margin-bottom: 10px;
    flex-direction: column;
}

.form-box form .input input {
    height: 40px;
    width: 100%; /* Full-width for inputs */
    font-size: 16px;
    padding: 0 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    outline: none;
}

.btn {
    height: 40px;
    background: rgba(102, 95, 29, 0.808);
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    width: 150px; /* Fixed width for consistency */
    margin-left: auto; /* Center button horizontally */
    margin-right: auto; /* Center button horizontally */
}

.btn:hover {
    opacity: 0.80;
}

@media (max-width: 768px) {
    .form-box header {
        font-size: 20px; /* Slightly smaller to fit smaller screens */
    }

    .box {
        padding: 20px; /* Slightly reduced padding */
    }

    .btn {
        width: 50%; /* Full-width button for easier mobile access */
        font-size: 16px; /* Slightly larger font size for better readability */
    }

    .form-box form .input input {
        font-size: 16px; /* Maintain font size for readability */
    }
}
