/* Ensure proper scaling on mobile devices */
html, body {
    height: 100%;
    margin: 0;
    font-family: Papyrus, Helvetica, sans-serif;
    background: linear-gradient(112.1deg, rgb(32, 38, 57) 11.4%, rgb(63, 76, 119) 70.2%);
    background-size: cover; /* Cover the entire background */
    background-repeat: no-repeat; /* No repeating */
}

.container {
    width: 100%; /* Use full width */
    max-width: 400px; /* Maximum width for larger screens */
    padding: 16px;
    margin: 0 auto;
    margin-top: 60px;
    border-radius: 4px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    background: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
    color: white;
}

.container2 {
    width: 100%; /* Use full width */
    max-width: 400px; /* Maximum width for larger screens */
    padding: 16px;
    margin: 20px auto 0 auto; /* Center and add margin at the top */
    background-color: #f2f2f2;
    border-radius: 4px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}

input[type=text], input[type=password], input[type=email] {
    width: 100%; /* Full width inputs */
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

button, input[type=submit] {
    background: linear-gradient(111.4deg, rgb(55, 168, 192) -0.2%, rgb(103, 187, 125) 100.2%);
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%; /* Full width buttons */
}

button:hover, input[type=submit]:hover {
    opacity: 0.8;
}

.forgot {
    color: #858585;
    margin-top: 10px;
    text-align: center;
    text-decoration: none;
}

@media screen and (max-width: 500px) {
    .container, .container2 {
        width: 90%; /* Slightly smaller width for small screens */
        margin-top: 5px;
    }
}
