﻿/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh; /* Full viewport height */
    margin: 0;
    display: grid; /* Use grid for centering */
    place-items: center; /* Center horizontally and vertically */
    background: radial-gradient(ellipse at bottom, #0D1E31, #111);
    font-family: Arial, sans-serif;
    overflow: hidden;
}

/* Login container styling */
.login-container {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 90%; /* Responsive width */
    max-width: 400px; /* Limit width for larger screens */
    text-align: center;
}

    .login-container label {
        display: block;
        margin: 10px 0 5px;
        color: #fff;
        font-size: 14px;
    }

    .login-container input {
        width: 100%; /* Full width */
        padding: 8px;
        margin: 5px 0 15px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
    }

    .login-container button {
        background-color: #5F91FF;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
    }

        .login-container button:hover {
            background-color: #467AD8;
        }

/* Footer styling */
.footer {
    position: fixed;
    bottom: 10px;
    color: white;
    font-size: 12px;
    text-align: center;
    width: 100%;
}

/* Media Query for Small Screens */
@media (max-width: 480px) {
   
    .login-container {
        padding: 20px;
        border-radius: 10px;
        position: absolute;
        right: -18%;
        top: 30%;
        width: 90%; /* Responsive width */
       
        text-align: center;
    }
}


/* Background animation styles */
.night {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotateZ(40deg);
    z-index: -1;
}

.star {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 4px;
    background: linear-gradient(-45deg, #5F91FF, rgba(0, 0, 255, 0));
    border-radius: 999px;
    filter: drop-shadow(0 0 6px #699BFF);
    animation: tail 3s ease-in-out infinite, falling 3s ease-in-out infinite;
}
@keyframes tail {
    0% {
        width: 0;
    }

    30% {
        width: 100px;
    }

    100% {
        width: 0;
    }
}

@keyframes falling {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(300px);
    }
}

.star::before, .star::after {
    content: '';
    position: absolute;
    top: calc(50% - 2px);
    right: 0;
    height: 4px;
    background: linear-gradient(-45deg, rgba(0, 0, 255, 0), #5F91FF, rgba(0, 0, 255, 0));
    border-radius: 100%;
    transform: translateX(50%) rotateZ(45deg);
    animation: shining 3s ease-in-out infinite;
}

@keyframes shining {
    0% {
        width: 0;
    }

    50% {
        width: 30px;
    }

    100% {
        width: 0;
    }
}

.star::after {
    transform: translateX(50%) rotateZ(-45deg);
}

.star:nth-child(1) {
    top: calc(50% - 100px);
    left: calc(50% - 250px);
    animation-delay: 1s;
}

    .star:nth-child(1)::before, .star:nth-child(1)::after {
        animation-delay: 1s;
    }

.star:nth-child(2) {
    top: calc(50% - 50px);
    left: calc(50% - 200px);
    animation-delay: 1.2s;
}

    .star:nth-child(2)::before, .star:nth-child(2)::after {
        animation-delay: 1.2s;
    }

.star:nth-child(3) {
    top: calc(50% - 0px);
    left: calc(50% - 150px);
    animation-delay: 1.4s;
}

    .star:nth-child(3)::before, .star:nth-child(3)::after {
        animation-delay: 1.4s;
    }

.star:nth-child(4) {
    top: calc(50% - -50px);
    left: calc(50% - 200px);
    animation-delay: 1.6s;
}

    .star:nth-child(4)::before, .star:nth-child(4)::after {
        animation-delay: 1.6s;
    }

.star:nth-child(5) {
    top: calc(50% - -100px);
    left: calc(50% - 250px);
    animation-delay: 1.8s;
}

    .star:nth-child(5)::before, .star:nth-child(5)::after {
        animation-delay: 1.8s;
    }


/* Include your additional star and animation styles here */
