body {
    background-color: #fff;
    margin: 0;
    font-family: Arial, sans-serif;
    padding-top: 60px; 
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    height: 110vh;
    background-attachment: fixed;


}

nav {
    left: -2%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    overflow: hidden;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    margin: 0 10px;
    transition: color 0.3s;
}

nav a:hover {
    color: #f4c500;
}

.logo {
    cursor: pointer;
    width: 275px;
    height: 100px;
    position: relative;
    left: 2%;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

  .menu {
    display: flex;
}

  .header {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
}

  .header h1 {
    font-size: 48px;
    margin: 0;
}

  .header p {
    font-size: 18px;
    color: #666;
}

  .products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

    input {
    width: 100px;
    max-width: 190px;
    background-color: #f5f5f5;
    color: #242424;
    padding: .15rem .5rem;
    min-height: 12px;
    border-radius: 4px;
    outline: none;
    border: none;
    line-height: 1.15;
    box-shadow: 0px 10px 20px -18px;
}
  
  input:focus {
    border-bottom: 2px solid #5b5fc7;
    border-radius: 4px 4px 2px 2px;
}
  
  input:hover {
    outline: 1px solid lightgrey;
}

.hidder-info{
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: red;
}

.product {
    margin-top: 50px;
    border: px solid #ddd;
    border-radius: 5px;
    background-color: white;
    border: 1px solid #ddd;
    overflow: hidden;
    text-align: center;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    padding: 50px;
    height: 250%;
    display: flex;
    transform: scale(1.02);
}

.top-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  padding-top: 5%;
  margin-top: 105px;
}

.product img {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
    height: 250px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.product:hover{
  transform: scale(1.04);      
}

.product h3 {
    margin: 10px 0;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

  .product p {
    color: #666;
    margin: 0 0 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.product button {
    padding: 10px 20px;
    background: #f4c500;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background 0.3s;
}

.product button:hover {
  background: #997b04;
}

.content {
  flex: 1; 
  padding: 20px;
  text-align: center;
}

.footer {
  background-color: #4d4d4d;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  position: relative;
  flex-shrink: 0; 
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.social-icons {
    margin-bottom: 10px;
}

.icon-link {
    color: #fff;
    margin: 0 10px;
    font-size: 20px;
    transition: color 0.3s ease;
}

.icon-link:hover {
    color: #f4c500; 
}

.copyright {
    font-size: 14px;
    margin: 0;
}

#back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #f4c500;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

#back-to-top:hover {
    background-color: #b99400;
}

#back-to-top i {
    margin-top: 2px;
}











@media (max-width: 768px) {
    body {
      height: 200vh;
    }
    .top-products {
      display: block;
      position: relative;
    }

    .product {
      height: 350px;
    }

    .logo {
      width: 85px;
      height: 85px;
    }

    .menu {
      align-items: flex-start;
      position: absolute;
      left: 30%;
  }

  nav a {
    left: 700px;
    padding-left: 1px;
  }
}
