﻿/* Reset some default styles */
body, h1, h2, h3, p, ul, li, blockquote {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-image: url('../image/login.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.container {
    width: 80%;
    margin: 0 auto;
}
/* Header Styles */
header {
    color: #FFF8DC;
    padding: 40px 10px;
    text-align: center;
    position: relative;
    height: 100px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.logo {
    position: absolute;
    top: 10px;
    left: 20px;
    width: 120px;
    height: 120px;
    transition: transform 0.3s ease-in-out;
}

    .logo:hover {
        transform: scale(1.1) rotate(5deg);
    }

nav ul {
    list-style-type: none;
    text-align: center;
}

    nav ul li {
        display: inline-block;
        margin-right: 20px;
        position: relative;
    }

        nav ul li a {
            text-decoration: none;
            color: #fff;
            font-weight: bold;
            transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
            display: block;
            padding: 10px;
            position: relative;
            overflow: hidden;
        }

            nav ul li a::before, nav ul li a::after {
                content: "";
                position: absolute;
                width: 100%;
                height: 2px;
                background-color: #ffd700;
                transition: transform 0.3s ease-in-out;
            }

            nav ul li a::before {
                top: 0;
                left: 0;
                transform: scaleX(0);
                transform-origin: top left;
            }

            nav ul li a::after {
                bottom: 0;
                right: 0;
                transform: scaleX(0);
                transform-origin: bottom right;
            }

            nav ul li a:hover::before {
                transform: scaleX(1);
                transform-origin: top right;
            }

            nav ul li a:hover::after {
                transform: scaleX(1);
                transform-origin: bottom left;
            }

            nav ul li a:hover {
                color: #DCDCDC; /* Change text color on hover */
                background-color: rgba(255, 255, 255, 0.1); /* Add a slight background color on hover */
            }

/* Login form styles */
.login-container {
    background-color: #ffffff4d;
    padding: 30px;
    margin: 20px auto;
    margin-top: 25px;
    width: 70%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    align-content: center;
}

    .login-container h1 {
        text-align: center;
        color: #333;
    }

    .login-container input[type="text"],
    .login-container input[type="password"] {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

        .login-container input[type="text"]:focus,
        .login-container input[type="password"]:focus {
            outline: none;
            border-color: #66afe9;
            box-shadow: 0 0 5px #66afe9;
        }

    .login-container button {
        width: 100%;
        padding: 10px;
        background-color: #007bff;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

        .login-container button:hover {
            background-color: #0056b3;
        }

/* Button styles */
.btn {
    height: 50px;
    width: 100px;
    padding: 10px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    .btn:hover {
        background-color: #ffd700;
    }

/* Footer Styles */
footer {
    position: page;
    bottom: 0;
    width: 100%;
    background-color: #778899;
    color: #FFF8DC;
    padding: 0px 0;
    text-align: center;
}

    footer ul {
        list-style-type: none;
    }

        footer ul li {
            display: inline-block;
            margin-right: 10px;
            color: #000000; /* Change the color to black */
        }

            footer ul li a {
                text-decoration: none;
                color: #FFF8DC; /* Change the link color to black */
                font-weight: bold;
            }

                footer ul li a:hover {
                    color: #00FF7F;
                }

/* Responsive Styles */
@media screen and (max-width: 768px) {
    nav ul {
        text-align: center;
    }

        nav ul li {
            display: block;
            margin: 10px 0;
        }

    .dropdown {
        display: block;
        text-align: center;
    }

    nav ul li:hover .dropdown {
        display: none;
    }
}
