@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html, body {
    width: 100%;
    padding: 0;
    color: #01005e;
    font-family: "Poppins", system-ui;
    font-style: normal;
    box-sizing: border-box;
    overflow-x: hidden;
    margin: 0;
}

body {
    font-family: "Urbanist", Arial, Helvetica;
    font-weight: 400;
}

/*********************************************************************************navigation bar**************************************************************************************************/
.logo img {
    height: 16vh;
    width: 27vh;
}
.navbar {
    max-width: 100%;
    background-color:#01005e;
    color: #fe5902;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10vh;
    border-bottom: 1px outset #000000;
}
.navbar h1 {
    margin: 0;
    font-size: 17px;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
   
   
}
.navbar li {
    margin-left: 20px;
    font-weight: 400;
    font-family: "Poppins", system-ui;
    font-size: 16px;
    color: #fe5902;
    
}
.navbar a,
button {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    font-family: "Poppins", system-ui;
    font-weight: bold;
    
}

.navbar a:hover {
    color: #D94F25;
}

/* Hamburger Icon Styles */
#hamburger-icon {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: #000000;
    cursor: pointer;
    position: absolute; /* Ensure it's fixed */
    top: 15px; /* Adjust top positioning */
    right: 20px; /* Adjust right positioning */
    z-index: 1000; /* Ensure it's on top of other elements */
}
/* Side Navigation */
.side-navigation {
    height: 100%; /* Full height */
    width: 0; /* Start with width 0 */
    position: fixed; /* Stay in place */
    z-index: 1000; /* On top of everything */
    top: 0;
    left: 0;
    background-color: #111; /* Dark background color */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* Smooth transition */
    padding-top: 60px; /* Padding at the top */
}
.side-navigation a {
    padding: 8px 8px 8px 32px; /* Padding for menu items */
    text-decoration: none;
    font-size: 25px; /* Font size for menu items */
    color: #818181; /* Default color */
    display: block; /* Make it a block */
    transition: 0.3s; /* Smooth color transition */
}
.side-navigation a:hover {
    color: #f1f1f1; /* Change color on hover */
}

.side-navigation .closebtn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px; 
    margin-left: 50px;
}
/* Hamburger Icon */
#hamburger-icon {
    font-size: 30px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    right: 0;
}

/* Responsive Styles */
@media screen and (max-width: 967px) {
    .navbar {
        display: flex;
        align-items: flex-start;
        padding: 5px;
        height: auto;
        justify-content: space-between;
    }
    #hamburger-icon {
        display: block; /* Make sure the icon is visible */
    }
    #navbar-list {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 70px;
        background-color: #ffffff;
        position: absolute; /* Keep the menu fixed when visible */
        top: 7vh; /* Adjust position based on navbar height */
        left: 0;
        z-index: 999; /* Ensure it appears over other content */
    }

    /* Keep the menu fixed when active */
    #navbar-list.active {
        display: flex;
    }

    .navbar ul {
        width: 70%;
        padding: 0;
    }

    .navbar li {
        margin: 10px 0;
        font-weight: 500;
        font-size:18px ;
    }

    .navbar a {
        font-size: 18px;
        padding: 10px;
        display: block;
    }
    .logo img {
    height: 7vh;
    width: 9vh;
}
   
}
/* Display the navbar list when active */
#navbar-list.active {
    display: flex;
}

@media screen and (max-width: 480px) {
    .navbar {
        padding: 5px;
    display: flex;
    }

    .logo {
        display: flex;
    }

    #navbar-list {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 70px;
        background-color: #ffffff;
        position: absolute; /* Keep the menu fixed when visible */
        top: 7vh; /* Adjust position based on navbar height */
        left: 0;
        z-index: 999; /* Ensure it appears over other content */
    }

    /* Keep the menu fixed when active */
    #navbar-list.active {
        display: flex;
    }

    .navbar a {
        font-size: 16px;
    }

    .navbar ul {
        width: 100%;
        text-align: center;
    }
    .logo img {
    height: 7vh;
    width: 10vh;
}
}

/* Responsive Styles for 800px to 1040px */
@media screen and (min-width: 800px) and (max-width: 1208px) {
    .navbar {
        
        flex-direction: row; /* Ensure items are in a row for larger screens */
        justify-content:none; /* Space items evenly */
    }

    .navbar ul {
        width: auto; /* Adjust the width of the navbar */
    }

    .navbar li {
        margin: 0 10px; /* Add margin for spacing between items */
        font-weight: 500; /* Keep the font weight consistent */
        font-size: 16px; /* Set font size for better visibility */
    }

    .navbar a {
        font-size: 14px; /* Maintain a readable font size */
        /* Adjust padding for a better touch target */
    }
    .logo img {
    height: 8vh;
    width: 11vh;
}
}


.navnotlist{

    display: flex;
    gap: 15px;
    align-items: center;
    justify-items: center;
    margin-top: 12px;
}

/*******************************************************************************dropdown************************************/

/* Original Styles */
.dropdown {
  float: left;
  overflow: hidden;

}

.dropbtn {
  font-size: 20px;  
  border: none;
  outline: none;
  color: rgb(212, 212, 212);
  padding: 15px 25px;
  
  font: inherit;
  margin: 0;
  font-family: "Poppins", system-ui;
  text-align: center;
  height: 40px;
}

.dropdownback a{
   top: 20px;
}
.header h2 {
    font-size: 16px;
    font-family: Urbanist, Arial, Helvetica;
}

.dropdown:hover .dropbtn {
  color: #D94F25;
  height: 8vh;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  width: 100%;
  left: 0;
  z-index: 1;
  margin-top: auto;
  text-align: center;
}

.dropdown-content .header {
  background: #000000;
  padding: 7px;
  color: rgb(0, 0, 0);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.column {
  float: left;
  width: 100%;
  padding: 10px;
  background-color: #ffffff;
  height: 50vh;
}

.row {
  height: 50vh;
  display: flex;
}

.column a {
  float: none;
  color: black;
  padding: 16px;
  text-decoration: none;
  display: block;
  text-align: justify;
  font-size: 14px;
  font-family: Urbanist, Arial, Helvetica;
}

.column h1 {
  text-align: left;
}

.column a:hover {
  background-color: #ffffff;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Media Queries */

/* Extra Small Devices (Phones - less than 576px) */
@media only screen and (max-width: 575.98px) {
    .dropdown .dropbtn {
        font-size: 16px;
        padding: 5px 10px;
        font-weight: bold;
    }
    
    .column {
        width: 20.33%;
        padding: 5px;
    }
    .row{
        overflow-x: scroll;
    }
    .dropdown-content {
        width: 100%;
    }
    
    .header h2 {
        font-size: 14px;
    }
}

/* Small Devices (Larger Phones - 576px to 767px) */
@media only screen and (min-width: 576px) and (max-width: 767.98px) {
    .dropdown .dropbtn {
        font-size: 16px;
        padding: -8px -12px;
        font-weight: bold;
    }
    
    .column {
        width: 100%;
        padding: 8px;
    }
    .row{
        overflow-x: scroll;
    }
    .dropdown-content {
        width: 100%;
    }
    
    .header h2 {
        font-size: 15px;
    }
}

/* Medium Devices (Tablets - 768px to 991px) */
@media only screen and (min-width: 768px) and (max-width: 991.98px) {
    .dropdown .dropbtn {
        font-size: 16px;
        padding: -10px -15px;
        font-weight: bold;
    }
    
    .column {
        width: 50%;
        padding: 10px;
    }
    
    .dropdown-content {
        width: 100%;
    }
    
    .header h2 {
        font-size: 16px;
    }
    
    .row {
        flex-direction: row;
        height: auto;
    }
}

/* Large Devices (Mini Laptops - 992px to 1199px) */
@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
    .dropdown .dropbtn {
        font-size: 16px;
        padding: -12px -30px;
        font-weight: bold;
    }
    
    .column {
        width: 33.33%;
        padding: 15px;
    }
    
    .dropdown-content {
        width: 100%;
    }
    
    .header h2 {
        font-size: 18px;
    }
    
    .row {
        flex-direction: row;
    }
}

/* Extra Large Devices (Desktops - 1200px to 1599px) */
@media only screen and (min-width: 1200px) and (max-width: 1599.98px) {
    .dropdown .dropbtn {
        font-size: 16px;
        font-weight: bold;
        padding: -12px -30px;
    }
    
    .column {
        width: 25%;
        padding: 20px;
    }
    
    .dropdown-content {
        width: 100%;
    }
    
    .header h2 {
        font-size: 20px;
    }
    
    .row {
        flex-direction: row;
        height: auto;
    }
}

/* Ultra Large Devices (Big Desktops - 1600px and above) */
@media only screen and (min-width: 1600px) {
    .dropdown .dropbtn {
        font-size: 16px;
        padding: -12px -30px;
        font-weight: bold;
    }
    
    .column {
        width: 20%;
        padding: 25px;
    }
    
    .dropdown-content {
        width: 100%;
    }
    
    .header h2 {
        font-size: 22px;
    }
    
    .row {
        flex-direction: row;
        height: auto;
    }
}

/****************************************************************************************************sign in function**********************************************************/

.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0, 0.9);
  overflow-y: hidden;
  transition: 0.5s;
  overflow: hidden;
}

.overlay-content {
  position: relative;
  top: 20%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
  color: #ffffff;
  cursor: pointer;
}

.sign-in-form {
  display: inline-block;
  text-align: left;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
}

.sign-in-form h2 {
  font-size: 24px;
  color: #000000;
  
}

.sign-in-form input[type="email"],
.sign-in-form input[type="password"],
.sign-in-form input[type="text"] {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #000000;
  border-radius: 5px;
  box-sizing: border-box;
}

.sign-in-form button {
  width: 100%;
  background-color: #d50000; /* Red color for the Login button */
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.sign-in-form button:hover {
  background-color: #b20000;
}

.sign-in-form a {
  text-decoration: none;
  color: #007bff;
  display: block;
  margin-top: 10px;
}

.sign-in-form a:hover {
  color: #0056b3;
}

.sign-in-form .register-button {
  background-color: #fe5902;
  color: rgb(255, 255, 255);
  padding: 10px;
  border: 1px solid black;
  cursor: pointer;
  width: 100%;
  margin-top: 15px;
  font-weight: bold;
}

.sign-in-form .register-button:hover {
  background-color: #f1f1f1;
}


.open-signin {
  font-size: 16px;
  cursor: pointer;
  color: #ffffff;
  font-weight: 600;
  font-family: "Poppins", system-ui;
}
/* Style for the sign-in button */
.sign-in-button {
    display: flex;
    align-items: center; /* Center icon and text */
    font-size: 16px; /* Adjust font size */
    font-weight: bold;
    text-decoration: none;
    color: #000; /* Set color */
    margin-right: 15px; /* Space between elements */
}

.sign-in-button i {
    margin-right: 8px; /* Space between icon and text */
}

.sign-in-button:hover {
    color: #D94F25; /* Change color on hover */
}

@media screen and (max-height: 450px) {
  .overlay {overflow-y: auto;}
  .overlay .closebtn {
    font-size: 30px;
    top: 10px;
    right: 25px;
  }
}
/************************************************************************************************* Search bar ************************************************************/
.overlay-elephant {
  height: 100%; /* Reduced height to 50% */
  width: 100%;
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgba(253, 247, 247, 0.932);
}

.overlay-content-lion {
  position: relative;
  top: 20%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay-link-tiger {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay-link-tiger:hover, .overlay-link-tiger:focus {
  color: #f1f1f1;
}

.overlay-closebtn-panda {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 100px !important; /* Ensure a larger size */
  color: #000000; /* White color for better contrast */
  text-decoration: none;
  transition: 0.3s;
  cursor: pointer;
  background: none;
  z-index: 9999; /* Bring it to the front if needed */
  text-shadow: 2px 2px 8px rgb(255, 255, 255); /* Optional for visibility */
}

.overlay-closebtn-panda:hover {
  color: #a18e8e;
}

.search-bar-dolphin {
  padding: 10px;
  width:100%; /* Adjusted width to 70% */
  max-width:160vh;
  height: 7vh;
  font-size: 18px;
  border: none;
  border-radius: 5px;
}

.search-container-kangaroo {
  margin-bottom: 20px;
}

.open-button-giraffe {
  font-size: 30px;
  cursor: pointer;
  margin-right: 9vh;
  margin-top: 10px;
}

@media screen and (max-height: 450px) {
  .overlay-link-tiger {font-size: 20px;}
  .overlay-closebtn-panda {
    font-size: 70px; /* Adjusted for smaller screens */
    top: 15px;
    right: 35px;
  }
}
.search-results {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  
  
}

.search-result-item {
  width: 300px; /* Adjusted to match item size */
  background: #ffffff;
  padding: 10px;
  margin: 5px;
  border-radius: 5px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.search-result-item img {
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: cover;
  border-radius: 5px;
}

.search-result-item h4 {
  font-size: 18px;
  margin: 10px 0 5px;
}

.search-result-item p {
  font-size: 16px;
  color: #333;
  margin: 0;
}

#searchResults .homeproductsbutton {
  font-size: 14px; /* Smaller font size */
  padding: 5px 10px; /* Reduced padding for a smaller button */
  border-radius: 5px; /* Adjust as needed */
  background-color: #333; /* Button color */
  color: #fff; /* Text color */
  border: none; /* Remove border */
  cursor: pointer; /* Pointer cursor */
  margin-top: 10px; /* Space between the button and other content */
  width: 25vh;
}

#searchResults .homeproductsbutton:hover {
  background-color: #555; /* Change color on hover */
}     