@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    text-align: center;  /* Ensure text inside is also centered */
}


header {
    width: 100%;
    padding: 5px;
    background-color: #12234e;
}


.letran {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Pushes items to opposite sides */
    width: 100%;
}

.logo {
    float: left;
    padding: 10px;   
}   

.pogi {
    font-family: 'Old English Text MT', 'Garamond', serif; 
    font-size: 17px;
    padding-top: 0%;
    color: white;
}

.pogi2 {
    font-family: 'Roboto'; 
    font-size: 12px;
    font-weight: 300;
    display: flex; 
    color: white; 
}

.nartel {
    display: flex;
    flex-direction: column; /* Stacks text vertically */
    align-items: flex-start; /* Aligns text to the left */
    justify-content: center; /* Centers vertically in the header */
    text-align: left; /* Ensures text alignment is left */
    flex-grow: 1; /* Expands to fill space */
    padding-left: 20px; /* Adds spacing from the logo */
}


.border {  
    width: 100%;
    background-color: #001f3f;  
    display: flex;
    padding: 30px;
}

h1 {
    margin-top: 1%;
    font-size: 30px;
    padding-top: 100px;
}

h2 {
    margin-top: 1%;
    font-size: 16px;
    font-weight: 300;
    padding-bottom: 2%;   
}

.search-container {
    margin-top: -1%;
    width: 1000px; /* Change max-width to width for full width */
    max-width: 600px; /* Still limit the maximum width */
    display: flex; 
    flex-direction: column; /* Center suggestions below the search bar */
    align-items: center; /* Center align the search bar and suggestions */
    position: relative; /* Allow absolute positioning for suggestions */
}

input[type="text"] {
    width: 1000px; /* Set width to 100% to take full width of the container */
    max-width: 600px; /* Keep the max-width to limit the input field's size */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}
.suggestions {
    border: none; /* Remove border */
    border-radius: 4px;
    max-width: 900px; /* Increased width of the suggestion strip */
    width: 100%;
    position: absolute;
    background-color: white;
    z-index: 1000;
    display: none; /* Initially hidden */
    left: 50%; /* Center it horizontally */
    transform: translateX(-50%); /* Adjust to center */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    color: black; /* Set font color to black */
    text-decoration: none; /* Remove underline */
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

/* Show suggestions when there are results */
#suggestions {
    display: block;
}

.btn-info {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-info:hover {
    background-color: #0056b3;
}

.suggestions {
    border: none;
    border-radius: 4px;
    max-width: 900px;
    width: 100%;
    position: absolute;
    background-color: white;
    z-index: 1000;
    display: none;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.suggestion-item {
    padding: 10px;
}
.suggestion-item a {
    text-decoration: none;
    color: black;
}
.suggestion-item:hover {
    background-color: #f0f0f0;
}
.filter-container {
    text-align: center; /* Center the text */
}
.filter-container form {
    display: inline-block; /* Center the form */
}
.checkbox {
    margin-right: 10px;
}

#filterButton {
    background-color: red; /* Set the button background to red */
    color: white; /* Set the text color to white */
    border: none; /* Remove the border */
    padding: 10px 20px; /* Add some padding */
    border-radius: 5px; /* Round the corners */
    cursor: pointer; /* Change the cursor to pointer */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

button:hover {
    background-color: darkred; /* Darker shade of red on hover */
}

/* Admin login section - now blending with background */
.admin-login {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Aligns the button to the right */
    padding: 10px 20px; /* Adds spacing without creating contrast */
    background-color: transparent; /* Removes background color */
    border-radius: 0; /* Removes rounded corners */
    box-shadow: none; /* Removes shadow */
}

/* Ensures proper spacing and alignment for the button */
.admin-login .navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

/* Button styling */
.admin-login .nav-link button {
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px; /* Slightly rounded corners */
    transition: 0.3s ease-in-out;
    border: 2px solid red; /* Bootstrap primary color */
    color: red;
    background-color: white; /* Blends with a light background */
    box-shadow: none; /* Removes shadow */
}

/* Button hover effect */
.admin-login .nav-link button:hover {
    background-color: red;
    color: white;
    cursor: pointer; /* Ensures pointer remains on hover */
}

.image-intro {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px; /* Control the size */
    margin: 20px auto; /* Center it horizontally */
    text-align: center;
    background: transparent; /* Make it transparent */
    padding: 10px;
    margin-top: 5%;
   
}

.image-intro img {

    max-width: 100%;
    height: auto;
    opacity: 0.8; /* Make it slightly transparent */
}


/*testing lang pu*/

.logo img {
    height: 60px;
}

button {
    background-color: #1d3163;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px; /* Add padding to button */
    cursor: pointer;
    height: 50px; /* Match the height of the input field */
}

button:hover {
    background-color: #15254d; /* Change to a consistent hover color */
}

.btn-back {
    background-color: #dc3545; /* Bootstrap danger color */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px; /* Add padding to button */
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth transition */
    text-decoration: none; /* Remove underline */
    display: inline-block; /* Make it behave like a button */
}

.btn-back:hover {
    background-color: #c82333; /* Darker shade on hover */
}

header {
    width: 100%;
    color: black;
    padding: 10px;
    background-color: #001f3f;
    display: flex;
    align-items: center;
}










@media (max-width: 768px) {
    .search-container {
        width: 95%;
        max-width: 500px;
    }
    
    input[type="text"] {
        font-size: 14px;
        padding: 8px;
    }
}
