﻿* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #fbe9d0;
}

.top-navbar {
  height: auto; /* Adjust height for flexible layouts */
  width: 100%; /* Ensure it spans full width */
  padding: 10px 20px;
  display: flex;
  justify-content: space-between; /* Distribute space evenly */
  align-items: center;
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
  gap: 20px; /* Space between elements */
  z-index: 2;
  background-color: #fbe9d0;
}

.logo-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* Ensure wrapping for small screens */
  font-weight: 600;
  gap: 10px;
}

.logo-section img {
  height: 40px;
}

.logo-section h1 {
  font-size: 1.5rem; /* Scale down for smaller devices */
  margin-left: 4px;
}

.contact-section {
  display: flex;
  flex-direction: column; /* Stack items vertically on small screens */
  font-size: 14px;
  max-width: 100%;
  gap: 5px;
  text-align: left;
}

.contact-row {
  margin: 0 3px;
}

.contact-row a {
  text-decoration: none;
  color: black;
}

.contact-row a:hover{
  color: blue;
}
.social-media-icons {
  display: flex;
  justify-content: center; /* Center icons */
  align-items: center;
  gap: 10px; /* Space between icons */
}

.social-media-icons a {
  text-decoration: none;
}

.social-media-icons img {
  height: 30px;
  margin: 0px 5px;
  transition: transform 0.3s;
}

.social-media-icons img:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .top-navbar {
    flex-direction: column; /* Stack elements vertically */
    text-align: center;
    align-items: center; /* Left align on small screens */
    padding: 10px;
    gap: 4px;
  }

  .logo-section h1 {
    font-size: 1.2rem; /* Reduce font size */
  }

  .contact-section {
    font-size: 13px;
    text-align: center; /* Center align text on small screens */
  }

  .social-media-icons {
    margin: 0 auto; /* Align icons to the left */
  }
}

@media (max-width: 480px) {
  .logo-section img {
    height: 30px; /* Scale down logo */
    margin: 0 auto;
  }

  .logo-section h1 {
    font-size: 1rem; /* Further reduce font size */
  }

  .social-media-icons img {
    height: 25px; /* Scale down icons */
  }

  .contact-section {
    font-size: 12px; /* Smaller font for compact layout */
  }
}


/*Navbar*/
/* Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;
  max-width: 100%;
  
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
 
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.active {
  background-color: #ddd;
  color: rgb(44, 43, 43);
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}