
* {
    box-sizing: border-box;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1rem;
}

.logo {
    font-size: 1.5rem;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

main {
    margin: 0;
    position: relative; /* Add relative positioning to the main element */
}

body {
    font-family: 'Cabin', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    position: relative;
    min-height: 100vh;
}

.login-container {
    max-width: 500px;
    margin: 100px auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


h2 {
    text-align: center;
    color: #333;
}

h1 {
    text-align: center;
    font-size: 45px;
}

form {
    margin-top: 20px;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

input[type="email"],
input[type="password"],
input[type="text"]{
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

input[type="submit"] {
    width: 30%;
    padding: 10px;
    font-size: 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: auto;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Custom styles for form elements group */
.form-group {
    margin-bottom: 20px; /* Add spacing between form elements groups */
}


.login-btn {
    background-color: #007bff; /* Change the background color as desired */
    color: #fff; /* Change the text color as desired */
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center; /* Center the button text */
    text-decoration: none; /* Remove underline */
    display: block;
    margin: auto;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #333;
  color: #fff;
  position: relative;
  bottom: 0;
  width: 100%;
  max-width: 100%; /* Ensure it doesn't exceed viewport width */
  overflow-x: hidden; /* Hide horizontal overflow */
}

/* Footer styles */
footer p {
    font-size: 1.1rem;
    margin: 0;
}

.password-form-container {
        text-align: center; /* Center text horizontally */
        display: flex;
        flex-direction: column;
        align-items: center; /* Center content vertically */
        height: 85vh; /* Center content vertically within the viewport */
        justify-content: center;
    }

    .password-form-container form {
        margin-top: 20px; /* Adjust as needed */
    }
    
.check-btn {
    background-color: #007bff; /* Change the background color as desired */
    color: #fff; /* Change the text color as desired */
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center; /* Center the button text */
    text-decoration: none; /* Remove underline */
}

/* Footer styles for smaller screens (mobile) */
@media screen and (max-width: 600px) {

    footer {
        width: 100%;
        padding: 0.5rem;
    }

    footer p {
        font-size: 12px;
        margin: 5px 0;
    }

    .logo {
        font-size: 1.2rem; /* Adjust logo size for smaller screens */
    }

    h1 {
        font-size: 1.5rem; /* Adjust heading size for smaller screens */
    }

    .login-container {
        max-width: 90%; /* Adjust max-width for smaller screens */
        margin: 50px auto; /* Adjust margin for centering on smaller screens */
        padding: 15px; /* Adjust padding for smaller screens */
    }

    h2 {
        font-size: 1.8rem; /* Adjust heading size for smaller screens */
    }

    form {
        margin-top: 15px; /* Adjust margin for smaller screens */
    }

    input[type="email"],
    input[type="password"],
    input[type="text"]{
        width: 95%; /* Make input fields full width on smaller screens */
    }

    input[type="submit"] {
        width: 100%; /* Make submit button full width on smaller screens */
    }

    .form-group {
        margin-bottom: 15px; /* Adjust spacing between form elements groups */
    }
}
