
body {
    margin: 0;
    padding: 0;
    position: relative;
    background-color: #dee2e6;
    
    color: #343a40;
    font-family: Arial, sans-serif;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #343a40;
    color: #cec4da;
    z-index: 1000;
    padding: 10px;
    width: 100%;
    display: flex;
    align-items: center;
}

.logo {
    width: 200px;
}

nav {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.headerUl {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    justify-content: left;
    margin-left: 50px; 
}

.headerli {
    margin: 0 10px;
    transition: all .40s ease;
}

.headera {
    color: #cec4da;
    text-decoration: none;
}
.headerli:hover {
    transform: translateY(-3px) translateX(-5px);
    color: gray;
}


.headera:hover {
    color: gray;
}
main {
    padding-top: 70px;
    padding-bottom: 50px;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 100px;
}

.footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    gap: 3.5rem;
    background: #343a40;
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    color: #cec4da;
}

.footer-content li {
    margin-bottom: 16px;
    list-style: none;
}

.footer-content li a {
    display: block;
    
    color: #cec4da;
    font-size: 15px;
    font-weight: 400;
    transition: all .40s ease;
}

.footer-content li a:hover {
    transform: translateY(-3px) translateX(-5px);
    color: gray;
}

.footer .logo {
    width: 150px;
}

.icons a {
    display: inline-block;
    font-size: 22px;
    color: #d6d6d6;
    margin-right: 17px;
    transition: all .40s ease;
}

.icons a:hover {
    color: #fff;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .footer {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, auto));
        gap: 2rem;
        position: relative;
    }
}


.login-form {
    background-color: #343a40;
    color: #cec4da; 
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.login-form h1 {
    text-align: center;
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="tel"],
.login-form input[type="password"] {
    width: calc(100% - 20px); 
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #cec4da; 
    border-radius: 4px; 
    background-color: #343a40; 
    color: #cec4da;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    flex-grow: 1;
}

.toggle-password {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #cec4da;
    cursor: pointer;
}

.login-form button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #212529;
    color: #cec4da;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-form button[type="submit"]:hover {
    background-color: #cec4da; 
    color: #212529;
}

.error-message {
    display: none;
    color: red;
    margin-top: 5px;
}

label[for="terms"] {
    display: flex;
    align-items: center;
    font-size: 12px;
    white-space: nowrap;
}

label[for="terms"] input[type="checkbox"] {
    margin-right: 5px;
    transform: scale(0.8); 
}
@media screen and (max-width: 400px) {
    .headerli {
        margin: 10px 0; 
    }

    .headera {
        font-size: 12px; 
    }

    .logo {
        width: 100px; 
    }

    .headerUl {
        margin-left: 0; 
    }

    .headerli:not(:last-child) {
        margin-right: 10px; 
    }
}

@media screen and (max-width: 768px) {
    main {
        margin-top: 20px;
    }
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        font-size: 10px;
    }
    
    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
    .divfooter h3{
        font-size: 10px;
    }
    body {
        font-size: 10px;
    }
    .login-form {
        width: 70%;
    }
    .logo {
        width: 100px;
    }
}

nav :hover {
    color: gray;
}

.copyright {
    margin: 0px;
}
 