/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Import the Inter font from Google Server */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200..900");

/* Core Styles */

body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

header {
  display: flex;
  align-items: center;
  /* justify-content: flex-start; */
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 100%;
  padding: 0 15px; /* Add some padding */
}

.burger-button {
  display: none;
}

a {
  color: #219ebc;
}

a:hover {
  color: #023047;
}

/* Logo in header */
#logo {
  flex-shrink: 0; /*Prevents the logo from shrinking */
  margin-right: 0px; /* Adjust spacing between logo and burger button*/
}

#logo:hover{
  filter: grayscale(80%) brightness(100%) contrast(85%);
}

/* Main Navigation */
nav {
  display: flex;
  margin-left: 5em;
  justify-content: left;
  align-items: center;
  min-height: 80px;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin: 0 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-size: 20px;
  font-weight: 500;
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  border-radius: 8px;
}

nav a:hover {
  background-color: #eee;
}

/* Products */
#product-gallery, #just-text{
  margin: 0 20px 20px 20px;
  border: 1px solid #ddd;
  background: #fff;
}

#product-gallery{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 0 20px;
}

#just-text{
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
}

#just-text p{
  margin: 15px 0;
}

#just-text h3{
  padding-top: 30px;
}

#just-text .image-container {
  text-align: center;
  /* margin-top: 20px; */
  background-color: #ffeed2;
  border: 1px solid #ccc;
  border-radius: 6px;
  min-width: 35%;
}

#just-text .responsive-image {
  height: auto;
}




#gallery-header, #just-text-header{
  margin: 20px 20px 0 20px;
  padding: 20px 0 20px 20px;
  border: 1px solid #ddd;
  border-bottom: 0;
  background: #fff;
}


/* Individual Product */
.product-item {
  margin: 20px 40px 20px 0;
  width: 140px;
  font-size: 14px;
}

/* Product Title */
.product-item h2 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 500;
}

/* Product Image */
.product-item a img {
  border: 2px solid #fff;
  border-radius: 6px;
}

.product-item a img:hover {
  border: 2px solid #999;
}

/* Product Short Description */
.product-item p.description {
  margin-bottom: 10px;
}

/* Product Price */
.product-item p.price {
  font-weight: 800;
}


footer{
  margin: 10px 0;
  text-align: center;
}

/* -------------------------------------- */
/* Responsive Design */


@media screen and (max-width: 800px) {
  nav ul {
    display: none; /* Hides the nav on smaller screens */
  }

  nav ul.main-nav--active { 
    /* When burger icon is clicked */
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid #333;
    border-radius: 2px;
    padding: 20px;
    width: 90%;
  }

  .burger-button {
    display: block; /* Shows the button on smaller screens */
    z-index: 2000;
    position: absolute;
    top: 30px;
    right: 50px;
  }
}


