*{
    margin:0;
    padding:0;
    list-style: none;
    box-sizing:border-box;
    width:auto
}
body {
  font-family: Arial, sans-serif;
  padding: 20px;
    
}
.main-nav {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 5px 5px;
  justify-content: space-between;
}

nav {
      background-color: #fff;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);

    }

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

    nav ul li {
      position: relative;
    }

    nav ul li a {
      display: block;
      padding: 15px 20px;
      text-decoration: none;
      color: #000;
      font-weight: bold;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 200px;
      background: #fff;
      border: 1px solid #ccc;
      z-index: 1000;
    }

    .dropdown:hover .dropdown-content {
      display: block;
    }

    .dropdown-content p,
    .nested-title {
      padding: 10px;
      margin: 0;
      cursor: pointer;
      white-space: nowrap;
    }

    .dropdown-content p:hover,
    .nested-title:hover {
      background-color: #f0f0f0;
    }

    .nested-dropdown {
      position: relative;
    }

    .nested-menu {
      display: none;
      position: absolute;
      top: 0;
      left: 100%;
      min-width: 180px;
      background: #fff;
      border: 1px solid #ccc;
    }

    .nested-dropdown:hover .nested-menu {
      display: block;
    }

    .nested-title::after {
      content: "▶";
      float: right;
    }

.notice-bar {
      width: 100%;
      height: 40px;
      background-color: #f44336;
      color: rgb(15, 14, 14);
      font-size: 16px;
      font-weight: bold;
      display: flex;
      justify-content: center;
      text-align: center;
    }

.header {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  position:relative;

}

.logo img {
   
  height: 50px;
}

.header-items {

  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
  vertical-align: middle;
  margin-left: auto;
}
.icon-text {
  display: flex;
  align-items: center;
  gap: 5px;
}

.icon-text img {
  height: 20px;
}

.cart-count {
  background-color: red;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
}

.nav-bar {
  background-color: #fff;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  color:#000;
  display: flex;
  align-items: center;
  padding: 10px 15px;
  overflow:hidden;
  
}

.nav-bar a {
  margin-right: 15px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 14px;
  float:left;
}

.search-box {
  margin-left: auto;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #000;
  padding-bottom: 2px;
}

.search-box input {
  border: none;
  outline: black;
  font-size: 14px;
}

.search-icon {
  margin-left: 5px;
}

.notice-bar {
  text-align: center;
  font-weight: bold;
  padding: 5px;
  background-color: #f8f8f8;}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3,1fr) ;
  gap: 15px;
  padding: 20px;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.image-card img {
  width: 100%;
  height:400px;
  object-fit: cover;
  display:block;
  transition: transform 0.3s ease;
  object-fit: cover;
}

.overlay-text {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: rgb(255, 252, 252);
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  transition: opacity 0.3s ease;
}

.image-card:hover {
  transform: scale(1.03);
}

.image-card:hover img {
  transform: scale(1.1);
}
.product-list {
    animation: myimg 2s ease-in-out infinite alternate-reverse;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  
}

@keyframes myimg {
  from {
    transform: scale(0.99);
  }
  to {
    transform: scale(1.0);
  }
}


.product {
    border: 1px solid #ccc;
    padding: 10px;
    width:fit-content;
    text-align: center;
    display:flex;
}
.product-list{
  display:flex;
  justify-items: normal;
}
.product img {
    width: 100%;
    height: 90%; 
    object-fit: cover;
    border-radius:5px;
}
.product-info{
  width: 150px;
  min-height: 300px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 8px;
  text-align: center;
  background-color: #fff;
}
.grid-logo {
  display: grid;
  grid-template-columns: repeat(5,1fr) ;
  padding: 0px;
}

.card {
  display:block;
  background-color: rgba(var(--color-foreground),.2);
  position: relative;
  overflow: hidden;
  list-style:none;
  padding: 0px;
  border-radius: 15px;
  cursor: pointer;
  justify-items: normal;

}

.card img {
  width: fit-content;
  height:200px;
  object-fit: cover;
  display:flex;
  object-fit: cover;
}
.newsletter-box {
  display: flex;
  flex-direction: column;
  align-items:center;
  padding: 10px;
  gap: 10px; 
  max-width: 300px;
  margin: auto; }

.newsletter-box label {
  display:flex;
  font-size: 16px;
  font-weight: bold;
  text-align:start;
  
}

.newsletter-box input[type="email"] {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
}

.newsletter-box button {
  background-color: black;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
}
.newsletter-box button:hover{
    background-color:yellow;
    color:black;
    transform: scale(1.05);    
  transition: all 0.3s ease; 
}
.newsletter-title {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}
.footer-columns {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: red;
}

.center {
  list-style: none;
  padding: 0;
}

.center li {
  margin-bottom: 0.8rem;
}

.center a {
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}


.center a:hover {
  color: red;
}
.fab.fa-instagram {
  color: #E1306C; 
}

.fab.fa-twitter {
  color: #1DA1F2;
}

.fas.fa-envelope {
  color: #000000; 
}


.fab.fa-instagram:hover {
  color: #833AB4; 
}

.fab.fa-twitter:hover {
  color: #0d8ddb;
}

.fas.fa-envelope:hover {
  color: #1a2ab7; 
}

.h2 {
  animation: animate 2s ease-in-out 1s infinite alternate;
}

@keyframes animate {
  from {
    color:#000;
  }
  to {
    color:rgb(201, 22, 22);
  }
}