/* Ensure full height of the viewport for body and html */
html, body {
    height: 100%; /* Full height */
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Main container for the content */
.main-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items at the top */
    padding: 20px;
    background: url('dark-fantasy-bg2.webp') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding-top: 80px;
}
/* Flex container for sidebar and content */
.layout {
    display: flex;
    justify-content: center; /* Ensure the layout stays centered */
    align-items: flex-start;
    width: 100%; /* Take full width */
}


/* Sidebar styling */
.sidebar {
    width: 250px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin-top: 80px;

    margin-right: 20px;
    color: #f1f1f1;
}

    .sidebar h3 {
        font-family: 'Uncial Antiqua', cursive;
        font-size: 1.5rem;
        margin-bottom: 20px;
        color: #66ccff;
    }

    .sidebar ul {
        list-style-type: none;
        padding: 0;
    }

        .sidebar ul li {
            margin-bottom: 10px;
        }

            .sidebar ul li a {
                color: #66ccff;
                text-decoration: none;
                transition: color 0.3s ease;
            }

                .sidebar ul li a:hover {
                    color: #fff;
                    text-shadow: 0 0 8px rgba(102, 204, 255, 0.8); /* Glowing effect on hover */
                }

/* Content styling */
.content {
    flex: 1; /* Take up the rest of the space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Login form container */
.login-container {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px 20px 20px 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7);
    width: 300px;
    text-align: center;
    margin-top: 80px;
    animation: fadeIn 1.5s ease-in; /* Fade-in animation */
}
.login-container2 {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px 20px 20px 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7);
    width: 900px;
    margin-left: 100px;
    text-align: center;
    margin-top: 40px;
    animation: fadeIn 1.5s ease-in; /* Fade-in animation */
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px); /* Start slightly above */
    }

    to {
        opacity: 1;
        transform: translateY(0); /* End in place */
    }
}

/* Heading styling */
h2 {
    color: #056e34;
    font-family: 'Uncial Antiqua', cursive;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5); /* Subtle glow effect */
}

p, li, a {
    color: #e0e0e0;
    font-size: 1rem;
    font-family: 'Almendra', serif;
}

a {
    transition: color 0.3s ease-in-out;
}

    a:hover {
        color: white;
    }

/* Glowing button effect */
.button {
    background-color: #4caf50;
    color: #66ccff;
    padding: 12px 20px;
    width: 100%;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.7), 0 0 20px rgba(76, 175, 80, 0.5);
    animation: glowing 2s infinite alternate;
}

    .button:hover {
        position: relative;
        overflow: hidden;
    }

        .button:hover::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 300%;
            height: 300%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 20%, transparent 70%);
            transform: translate(-50%, -50%) scale(0);
            transition: transform 0.5s ease-out;
        }

        .button:hover::before {
            transform: translate(-50%, -50%) scale(1);
        }

/* Glowing button animation */
@keyframes glowing {
    from {
        box-shadow: 0 0 10px rgba(76, 175, 80, 0.7), 0 0 20px rgba(76, 175, 80, 0.5);
    }

    to {
        box-shadow: 0 0 20px rgba(76, 255, 80, 1), 0 0 40px rgba(76, 255, 80, 0.7);
    }
}


/* Footer styling with transparency and floating effect */
.footer {
    position: absolute; /* Position it relative to the main container */
    bottom: 0; /* Stick it to the bottom of the page */
    width: 100%; /* Ensure the footer takes up the full width */
    padding: 10px; /* Add some padding for comfort */
    text-align: center;
    color: #f1f1f1;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black for floating effect */
    box-shadow: 0px -1px 5px rgba(0, 0, 0, 0.2); /* Optional shadow to enhance floating effect */
    z-index: 1000; /* Ensure the footer is above other content */
}

    /* Hamburger menu styles */
    .hamburger-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000; /* Ensure it appears above everything */
}

.hamburger-icon {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

    .hamburger-icon span {
        display: block;
        height: 3px;
        background-color: white;
        transition: all 0.3s ease-in-out;
    }

/* Hidden menu links */
.menu-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    z-index: 999;
}

    .menu-links ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .menu-links ul li {
            margin: 10px 0;
        }

            .menu-links ul li a {
                color: #66ccff;
                text-decoration: none;
                font-size: 1rem;
            }

                .menu-links ul li a:hover {
                    color: white;
                }

    /* Show menu when 'show' class is added */
    .menu-links.show {
        display: block;
    }

/* Animate the hamburger icon to turn into an X when clicked */
.hamburger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-icon.active span:nth-child(2) {
    opacity: 0; /* Hide the middle line */
}

.hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}
/* Banner styling with transparency and floating effect */
.banner {
    position: absolute;
    top: 0; /* Stick the banner to the top of the page */
    width: 100%; /* Full width banner */
    padding: 20px 0; /* Padding for some space inside the banner */
    text-align: center;
    color: #f1f1f1;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2); /* Optional shadow for floating effect */
    z-index: 1000; /* Ensure it stays above other content */
}

    .banner h1 {
        margin: 0; /* Remove default margins */
        font-family: 'Uncial Antiqua', cursive;
        font-size: 2.5rem;
        color: #66ccff; /* Banner text color */
    }
.story {
    color: lightgray;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}
