* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-1);
}
html {
  /* 1rem = 10px */
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body,
html {
  width: 100%;
  height: 100%;
}
body {
  width: 100%;
  overflow-x: hidden;
  background-color: #ffe57e;
}

header,
section {
  font-size: 1.6rem;
}
@font-face {
  font-family: "gro";
  src: url(assets/GROBOLD.ttf);
}
:root {
  --font-1: "Pixelify Sans", sans-serif;
  --font-2: "gro";
  --white: #ffffff;
  --black: #000000;
}

.page {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #ffe57e;
}

.page-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}
/* =========top-side======== */
.top-side {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 1rem;
  width: 100%;
  padding: 6rem 4% 6rem 4%;
  flex: 1;
  gap: 2rem;
}

/* ========bottom-side======== */
.bottom-side {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 4rem 4% 4rem 4%;
}
.center-box {
  display: flex;
  justify-content: space-evenly;
  gap: 2rem;
  align-items: center;
  background-color: var(--white);
  width: 100%;
  overflow: hidden;
  padding: 5px 0;
}
.scrolling-content {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}
/* =========heading section======== */
.text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 6;
  gap: 4rem;
}

.heading {
  line-height: 100%;
  font-size: 15rem;
  text-align: center;
  font-weight: 700;
  font-style: Bold;
  -webkit-text-stroke: 0.5rem #7e4b01;
  text-shadow: 0px 0.9rem 0px #794700;
}
.moving-text {
  font-size: 7rem;
  line-height: 100%;
  font-weight: 700;
  font-style: Bold;
  color: #b86200;
}
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* ========btns section======== */
.bnts-wrap {
  background-color: var(--white);
  width: fit-content;
  border: 4px solid #7bc5ce;
  border-radius: 5rem;
  padding: 1rem 3rem;
  position: relative;
  z-index: 5;
}
.btns-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 1rem;
}
.link-btn {
  padding: 0 1rem;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s;
  z-index: 10;
  background-color: var(--white);
  border: 2px solid #496519;
  box-shadow: 0px 0.17rem 0.17rem #000000;
  border-radius: 50%;
}

.link-btn:hover {
  transform: translateY(-8px);
}

.link-btn img {
  width: 100%;
  height: auto;
}
.s-img {
  width: 7rem;
  margin: 0 1rem;
  height: auto;
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.s-img img {
  width: 100%;
  height: 100%;
}
.s-img::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  background-image: url(assets/img-s.png);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 2;
}
/* ========copy btn section======== */

.copy-btn-box {
  display: flex;
  justify-content: center;
  align-items: stretch;
  box-shadow: 0px 0.197rem 0.197rem #000000;
  border-radius: 3rem;
  overflow: hidden;
  position: relative;
}
.copy-btn {
  background-color: #496519;
  cursor: pointer;
  transition: all 0.4s;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
}
.copy-btn img {
  width: 2.5rem;
  height: auto;
  cursor: pointer;
  transition: all 0.4s;
}
.copy-btn:hover .copy-img {
  transform: scale(1.06);
}
.copy-text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--white);
}

.copy-text p {
  color: var(--white);
  font-weight: 500;
  padding: 1rem;
  font-size: clamp(1rem, 1.4rem, 2rem);
  white-space: nowrap;
  font-family: var(--font-2);
  -webkit-text-stroke: 0.1rem #496519;
}
.copy-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 2rem;
}
/* ========main-img section======== */
.side-img {
  height: auto;
  width: 95%;
  position: relative;
  z-index: 5;
}
#side-img-1 {
  max-width: 50rem;
}
#side-img-2 {
  max-width: 60rem;
}

.side-img .img {
  width: 100%;
  height: 100%;
}

/* responsiveness */
@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
}
@media (max-width: 400px) {
  html {
    font-size: 50%;
  }
}
@media (max-width: 1250px) {
  .heading {
    font-size: 13rem;
  }
}
@media (max-width: 1100px) {
  .heading {
    font-size: 11rem;
    -webkit-text-stroke: 0.3rem #7e4b01;
  }
}
@media (max-width: 1000px) {
  .heading {
    font-size: 10rem;
  }
}

@media (max-width: 830px) {
  .copy-text p {
    font-size: 1.8vmin;
  }
  .top-side {
    flex-direction: column;
  }
  .heading {
    font-size: 15rem;
    -webkit-text-stroke: 0.5rem #7e4b01;
  }
  .moving-text {
    font-size: 6rem;
  }
}
@media (max-width: 700px) {
  .copy-text p {
    font-size: 2.2vmin;
  }
}

@media (max-width: 600px) {
  .heading {
    font-size: 20vw;
    -webkit-text-stroke: 0.5vw #7e4b01;
  }
  .moving-text {
    font-size: 5rem;
  }
  .text {
    gap: 3rem;
  }
}
@media (max-width: 400px) {
  .s-img {
    width: 6rem;
    margin: 0;
  }
  .bnts-wrap {
    padding: 1rem 1rem;
  }
  .link-btn {
    padding: 0 0.8rem;
    width: 4.5rem;
    height: 4.5rem;
  }
}
.copy-popup {
  text-align: center;
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 50px;
  transform: translateX(-50%) scale(0.5);
  background: #496519;
  color: white;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 2rem;
  opacity: 0;
  pointer-events: none;
}

.copy-popup.active {
  animation: popupAnim 1s ease-out forwards;
}

@keyframes popupAnim {
  0% {
    transform: translateX(-50%) translateY(20px) scale(0.5);
    opacity: 0;
  }
  30% {
    transform: translateX(-50%) translateY(-10px) scale(1.1);
    opacity: 1;
  }
  70% {
    transform: translateX(-50%) translateY(-20px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-40px) scale(0.8);
    opacity: 0;
  }
}
