/* General Styling */
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    min-height: 100vh; /* Full viewport height */
    margin: 0;
    padding: 20px;
    background-image: url('../images/bayung.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Background Overlay */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Main Container */
.container {
    display: flex;
    justify-content: space-between; /* Space between Baranguard and login box */
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* Baranguard Section */
.baranguard-section {
    flex: 1; /* Take up remaining space */
    max-width: 600px; /* Limit maximum width */
    margin-right: 50px; /* Space between Baranguard and login box */
}

/* Baranguard Title */
h1 {
    margin: 0;
    font-size: 4rem; /* Large font size */
    color: #ccc;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Subtext */
.subtext {
    font-size: 1.5rem; /* Medium font size */
    color: #777;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 10px; /* Space between title and subtext */
}

/* Login Box */
.login-box {
    width: 100%;
    max-width: 400px; /* Limit maximum width */
    text-align: center;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

/* Login Fields */
.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

.input-group input {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Button Styling */
.btn {
    background-color: #1d065f;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #1b11a0;
}

/* Logo Placeholder */
.logo-placeholder img {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
  
    color: white;
    backdrop-filter: blur(5px);
}


/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack items vertically on small screens */
        align-items: center;
        text-align: center;
    }

    .baranguard-section {
        margin-right: 0; /* Remove margin for stacked layout */
        margin-bottom: 20px; /* Space between Baranguard and login box */
    }

    h1 {
        font-size: 3rem; /* Reduce font size for smaller screens */
    }

    .subtext {
        font-size: 1.2rem; /* Reduce font size for smaller screens */
    }

    .login-box {
        width: 90%; /* Increase width for smaller screens */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem; /* Further reduce font size for very small screens */
    }

    .subtext {
        font-size: 1rem;
    }

    .login-box {
        width: 95%;
        padding: 15px;
    }
}