:root {
  --primary-color: #ffca2a; /*f4ca51*/
  --primary-color-dark: rgb(232, 177, 13);
  --primary-color-extra-dark: hsl(18, 58%, 27%);
  --primary-dark: #1f252e;
}

* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  background-image: url("../img/background.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

body::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.092); /* Adjust opacity here */
  background-image: url("../img/background.jpg");
}

/* Genral */
.container {
  padding: 0 5.5rem;
}

button {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-family: "Outfit", sans-serif;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
}

button:hover {
  background-color: var(
    --primary-color-dark
  ); /* Adjust the alpha value for desired darkness */
  border-color: var(--primary-color-dark);
}

/* Nav */
header {
  background-color: hsl(
    18,
    58%,
    27%
  ); /* hsl(309.07deg 62.32% 27.06%); hsl(18, 58%, 27%);*/
  position: sticky;
  top: 0;
  z-index: 1;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  opacity: 0;
  animation: leftSideAni 1s ease forwards;
}

.logo a {
  color: var(--primary-color);
  text-decoration: none;
}

ul {
  display: flex;
  gap: 0.6rem;
  list-style-type: none;
  background-color: transparent;
  overflow: hidden;
}

li a {
  display: inline-block;
  padding: 0.3rem 1rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.7px;
  border-radius: 36px;
  line-height: 2;
  transition: 0.3s;
  opacity: 0;
  animation: navani 0.3s ease forwards;
  animation-delay: calc(0.15s * var(--navAni));
}

li a.active,
li a:hover {
  color: var(--primary-color);
}

.nav-btn {
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
  opacity: 0;
  animation: rightSideAni 1s ease forwards;
}

#click {
  display: none;
}

.menu {
  display: none;
}

.nav-btn {
  display: block;
}

.nav-btn-mobile {
  display: none;
}

.logo-img {
  width: 55px; /* Adjust size as needed */
  height: 55px; /* Adjust size as needed */
  margin-right: 5px; /* Adjust spacing between logo and text */
  margin-top: -5px;
  margin-bottom: -5px;
}

/* Nav End */

/* Section 1 */

.main .detail {
  margin-top: 20%;
  width: 50%;
}

.main .discount {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 300;
  word-spacing: 8px;
  opacity: 0;
  animation: leftSideAni 1s ease forwards;
  animation-delay: 1s;
}

.main .discount::before {
  content: "";
  height: 3px;
  width: 60px;
  display: inline-block;
  background-color: var(--primary-color);
  margin-bottom: 5px;
  margin-right: 10px;
}

.main h1 {
  color: #fff;
  font-size: 4rem;
  font-weight: 600;
  opacity: 0;
  animation: leftSideAni 1s ease forwards;
}

.main button {
  margin-top: 1.5rem;
  opacity: 0;
  animation: leftSideAni 1s ease forwards;
  animation-duration: 1s;
}

.images {
  width: 50%;
  text-align: end;
}

.images img {
  background-color: var(--primary-color);
  width: 450px;
  border-radius: 50%;
}

/* Section 1 End */

/* Animation */
@keyframes leftSideAni {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }

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

@keyframes navani {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }

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

@keyframes rightSideAni {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }

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

@keyframes topSideAni {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }

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

@keyframes mobileNavAni {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
E/*end  Animation */
/* @keyframes ImgAni {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-9px);
    }
    100% {
        transform: translateX(0);
    }
} 
@keyframes imageAni {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}*/

/* menu for mobile devices */
.menu-btn {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
}

.menu-icon .navicon {
  background: #fff;
  display: block;
  height: 2px;
  position: relative;
  transition: background 0.2s ease-out;
  width: 18px;
}

.menu-icon .navicon:before,
.menu-icon .navicon:after {
  background: #fff;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}

.menu-icon .navicon:before {
  top: 5px;
}

.menu-icon .navicon:after {
  top: -5px;
}

.menu-btn:checked + .menu-icon .navicon {
  background: transparent;
}

.menu-btn:checked + .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.menu-btn:checked + .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.menu-btn:checked + .menu-icon .navicon:before,
.menu-btn:checked + .menu-icon .navicon:after {
  top: 0;
}

li a.show-animation {
  animation: navani 1.5s ease forwards;
  animation-delay: calc(0.15s * var(--navAni));
}

.footer {
  position: fixed;
  background-color: var(--primary-color-extra-dark); /* Adjust as needed */
  color: #fff; /* Adjust text color as needed */
  text-align: center;
  padding: 15px 0;
  bottom: 0;
  width: 100%;
}

.footer p {
  margin: 0;
}


@media screen and (max-width: 1200px) {
  html {
    font-size: 98%;
  }

  section.container {
    padding: 0 5rem;
  }

  .images img {
    width: 330px;
  }
}

@media screen and (max-width: 1000px) {
  html {
    font-size: 95%;
  }
  header.container {
    padding: 0 3rem;
  }
  section.container {
    padding: 0 4rem;
  }
  li a {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 900px) {
  header.container {
    padding: 0 1.2rem;
  }
  section.container {
    padding: 0 3rem;
  }
  li a {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 800px) {
  html {
    font-size: 90%;
  }
  section.container {
    padding: 0 2rem;
  }
  li a {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
}

@media screen and (max-width: 700px) {
  body {
    height: auto;
  }

  header {
    height: auto;
  }

  ul.menu-items {
    margin-top: 2%;
    background: var(--primary-color-extra-dark);
    width: 100%;
    height: calc(100vh - 3.4rem); /* Subtract header height */
    position: absolute;
    display: flex;
    flex-direction: column;
    text-align: center;
    top: 3.4rem; /* Same as header height */
    left: -100%;
    z-index: 111111;
  }

  .menu {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
  }

  #click:checked ~ ul {
    left: 0%;
    transition: all 0.3s ease;
  }

  .nav-btn {
    display: none;
  }

  .nav-btn-mobile {
    display: block;
    margin-top: 5%;
    margin-left: 10%;
    margin-right: 10%;
  }

  .main .detail {
    width: 100%;
  }

  .images {
    text-align: center;
    width: 100%;
  }

  .main {
    margin-top: 2rem;
  }

  .menu-btn {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
  }

  .menu-icon {
    display: block;
    margin-top: 1rem;
  }
  .footer {
    padding: 12px;
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 600px) {
  ul {
    margin-top: 3%;
  }
}

@media screen and (max-width: 500px) {
  ul {
    margin-top: 4%;
  }
}
