* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(90deg, rgba(207,237,238,1) 17%, rgba(232,252,255,1) 50%);
    position: relative;
	transition: background-color 1000ms linear;
}

body:hover {
	background: #D4F6FF;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    max-width: 400px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 20px 0;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
	transition: box-shadow: 0.15s;
}

.logo img {
    max-width: 100px;
    height: auto;
	border-radius:19px;
	transition: 0.5s;
}

.logo img:hover {
	box-shadow: 7px 7px 7px rgba(133,238,255,2.2);
    transform: scale(1.02);
    cursor: pointer;
}

.logo img:active {
	box-shadow: 9px 9px 9px rgba(133,238,255,2.2);
    transform: scale(1.07);
    cursor:not-allowed;
}

.login-form {
    width: 100%;
    text-align: center;
}

.login-form label {
    display: block;
    margin-top: 10px;
    text-align: left;
    color: #40566c;
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
	transition:1s;
	background-color:#e4eaf0;
}

.login-form input:hover {
	background-color:white;
}

.login-form p {
	text-align: center;
	color: #40566c;
    text-shadow: 5px 5px 15px #40566c;
    transition: 0.15s;
}

.login-form p:hover {
	color: #697d91;
	cursor: pointer;
    text-decoration: underline;
}

.login-form p:active {
	color: #3a4c5e;
	cursor: pointer;
    text-decoration: underline;
    cursor:progress;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.button {
    padding: 10px 20px;
    background-color: #40566c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    flex: 1;
    max-width: 120px;
	transition:0.5s;
}

.button:hover {
    background-color: #2c3e50;
}

.button:active {
    background-color: #697d91;
    cursor:wait;
}

.footer {
    width: 100%;
    padding: 20px;
    text-align: center;
    background: linear-gradient(90deg, rgba(133,238,255,1) 0%, rgba(2,165,185,1) 50%, rgba(207,237,238,1) 100%);
    color: white;
    transition: 1s;
    text-shadow: 5px 5px 15px #40566c;
    position: absolute;
    bottom: 0;
}

.footer:hover {
    background: linear-gradient(90deg, rgba(133,238,255,0.7) 0%, rgba(2,165,185,0.7) 50%, rgba(207,237,238,0.7) 100%);
    color: #40566c;
    text-shadow: 2px 2px 15px #ffffff;
    font-size: 15px;
    transition: all 500ms;
}

@media screen and (max-width: 600px) {
    .container {
        width: 100%;
        padding: 15px;
        transition: 0.5s;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
        transition: 0.5s;
    }

    .button {
        width: 100%;
        max-width: none; 
        transition: 0.5s;
    }

    /* .footer {
        position: bottom; 
    } */

        /* Adjust the footer for mobile */
        .footer {
            padding: 15px; /* Reduce padding for smaller screens */
            font-size: 16px; /* Adjust font size for better readability */
            text-align: center; /* Center-align text */
        }
    
        /* Adjust the footer h2 for mobile */
        .footer h2 {
            font-size: 20px; /* Reduce font size for better fit */
            margin-bottom: 10px; /* Add margin for better spacing */
        }
    
        /* Adjust the footer hover effect for mobile */
        .footer:hover {
            font-size: 16px; /* Ensure font size doesn't change on hover */
            text-shadow: 2px 2px 5px #ffffff; /* Lighten text shadow for better appearance */
        }
}