/*Linkdin Shayan Shah*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body {
  height: 100vh;
  background: url(./bg.jpg);
  background-position: center;
  background-size: cover;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
}

header .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
  animation: top 0.9s ease;
  backdrop-filter: blur(10px);
}

.navbar .menu-links {
  display: flex;
  gap: 40px;
}

.navbar ul {
  list-style: none;
}

.navbar .logo {
  color: #fff;
  font-size: 2.1rem;
  font-weight: 600;
  margin-left: 10px;
}

.navbar .logo span {
  color: #c06b3a;
}

.navbar a {
  color: #ffff;
  text-decoration: none;
  transition: 0.2s ease;
}

.navbar a:hover {
  color: #c06b3a;
}

.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 20px;
}
.hero-section .content {
  color: #fff;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  animation: right 1s ease;
}

.hero-section .content h1 {
  font-size: 3rem;
  max-width: 600px;
}

.hero-section .content p {
  font-weight: 300;
  margin-top: 15px;
  max-width: 600px;
}

.hero-section .content span {
  color: #c06b3a;
  margin-left: 10px;
}
.hero-section .content button {
  background: #fff;
  outline: none;
  border: none;
  font-size: 1rem;
  padding: 12px 30px;
  margin-top: 38px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s ease;
}

.hero-section .content button:hover {
  background: #c06b3a;
  color: #fff;
}

#menu-btn {
  color: #ffff;
  cursor: pointer;
}

#close-menu-btn {
  display: none;
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
}

.products {
  height: 100vh;
  background: #c06b3a;
}

@keyframes top {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes right {
  0% {
    opacity: 0;
    transform: translateX(-400px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media screen and (max-widht: 850px) {
  header {
    padding: 10px 20px;
  }
  header.show-mobile-menu .navbar .menu-links::before {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
  }
  #close-mneu-btn,
  #menu-btn {
    display: block;
  }
  .navbar .menu-links {
    position: fixed;
    flex-direction: column;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100vh;
    background: #fff;
    padding: 70px 40px 0;
    transition: left 0.15s ease;
  }

  .navbar a {
    color: #000;
  }

  header.show-mobile-menu .navbar .menu-links {
    left: 0;
  }

  .hero-section .content {
    text-align: center;
  }

  .hero-section .content :is(h1, p) {
    max-width: 100%;
  }

  .hero-section .content h1 {
    font-size: 2.3rem;
    line-height: 60px;
  }

  .hero-section .content button {
    padding: 9px 18px;
  }
}
