﻿/* 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 */
            }

/* Main content styling */
.content {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

h1 {
    align-content: baseline;
    margin-top: 30px;
    color: #fff;
}

h2 {
    align-content: baseline;
    margin-top: 30px;
    color: #ffd700;
}

p {
    margin-bottom: 20px;
    align-content: center;
    color: #fff;
}

/* 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;
    }
}
