* {
  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: var(--black);
}

header,
section {
  font-size: 1.6rem;
}
@font-face {
  font-family: "riffic";
  src: url(assets/RifficFree-Bold.ttf);
}
@font-face {
  font-family: "neg";
  src: url(assets/NegritaPro.ttf);
}
:root {
  --font-1: "riffic";
  --font-2: "neg";
  --white: #ffffff;
  --black: #000000;
}

.page {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--black);
}
.page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-position: top center;
  background-size: cover;
  background-image: url(assets/bg.png);
  z-index: 0;
}
.page::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-position: top center;
  background-size: cover;
  background-image: url(assets/light.png);
  z-index: 1;
}
.page-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  position: relative;
}
/* =========top-side======== */
.top-side {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  padding: 10rem 4% 2rem 4%;
  flex: 1;
}
/* ========bottom-side======== */
.bottom-side {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  width: 100%;
}

/* =========heading section======== */
.text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 6;
  margin-top: 1rem;
}

.heading {
  font-size: 14rem;
  font-weight: 700;
  font-style: Bold;
  line-height: 100%;
  letter-spacing: 0%;
}

/* ========btns section======== */
.btns-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 1rem;
  border: 4.33px solid #002aff;
  border-radius: 5rem;
  padding: 1rem 5rem;
  width: fit-content;
  margin: 0 auto;
  background-color: var(--white);
}
.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;
  border-radius: 50%;
  background-color: var(--white);
  border: 1.93px solid #002aff;
  box-shadow: 0px 0.12rem 0.12rem #000000;
}

.link-btn:hover {
  border-radius: 10px;
}

.link-btn img {
  width: 100%;
  height: auto;
}

/* ========copy btn section======== */

.copy-btn-box {
  display: flex;
  justify-content: center;
  align-items: stretch;
  border-radius: 4rem;
  overflow: hidden;
  border: 4.33px solid #002aff;
  background-color: var(--white);
  position: relative;
}
.copy-btn {
  background-color: #002aff;
  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;
}

.copy-text p {
  color: #002aff;
  font-family: var(--font-2);
  font-weight: 400;
  text-transform: capitalize;
  white-space: nowrap;
  padding: 1rem;
  font-size: clamp(1.3rem, 2rem, 2rem);
  -webkit-text-stroke: 0.02rem #ffffff;
}
.copy-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
/* ========main-img section======== */
.wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
}
.side-img {
  height: auto;
  position: relative;
  z-index: 5;
}
#side-img1 {
  width: 100%;
}
.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: 700px) {
  .heading {
    font-size: 16vw;
  }
  .copy-text p {
    font-size: 3vmin;
  }
}
@media (max-width: 520px) {
  .btns-container {
    padding: 1rem 4rem;
  }
}
@media (max-width: 350px) {
  .btns-container {
    padding: 1rem 2rem;
  }
}

.copy-popup {
  text-align: center;
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 50px;
  transform: translateX(-50%) scale(0.5);
  color: var(--white);
  background-color: #002aff;
  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;
  }
}
