* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Rubik", sans-serif;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Navbar */

header {
  background: linear-gradient(to right, #eee, #eee);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 16px;
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav img {
  width: 200px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 40px;
}

nav ul li a {
  color: #561f00;
  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s;
}

nav ul li a:hover {
  color: #ff5c00;
}

/* Mobile Menu */

.menu-btn {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.menu-icon {
  width: 42px;
  height: 42px;
  color: #111;
}

.menu-icon[name="close-outline"] {
  display: none;
}

/* Hero Section */

.hero {
  background: linear-gradient(to right, #eee, #eee);
}

.header-div {
  min-height: 200px;
  /* padding-bottom: 40px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
  text-align: center;
}

.header-div h2 {
  color: #ff7400;
  font-size: 50px;
  font-weight: 600;
  margin-bottom: 10px;
}

.header-div p {
  color: #561f00;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5em;
}

.container-main {
  margin-top: -200px;
  padding-top: 150px;
  /* background: linear-gradient(to right, #e4d4c6, #dfc2a3); */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 220px;
  height: 220px;
  transform-style: preserve-3d;
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  0% {
    transform: perspective(1000px) rotateY(0deg);
  }

  100% {
    transform: perspective(1000px) rotateY(360deg);
  }
}

.img-span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 74%;
  transform-origin: center;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--i) * 45deg)) translateZ(440px);
  -webkit-box-reflect: below 0px
    linear-gradient(transparent, transparent, #0004);
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  transition: 2s;
}

.img-span:hover img {
  transform: translateY(-6px) scale(1.15);
}

/* IMAGE PORTFOLIO */

.img-portfolio {
  padding: 20px;
  max-width: 1400px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 40px auto;
}

.portfolio-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.portfolio-tabs li {
  list-style-type: none;
  background: #eee;
  padding: 12px 20px;
  margin: 5px;
  letter-spacing: 1px;
  cursor: pointer;
}

.portfolio-tabs li.active {
  background: #ff5c00;
  color: #fff;
}

.product {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.product .itembox {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 10px;
  display: block;
}

.product .itembox.hide {
  display: none;
}

.product .itembox img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.3s;
}

.product .itembox img:hover {
  filter: grayscale(0%);
}
