* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  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: #0d0a00;
}

header,
section {
  font-size: 1.6rem;
}
@font-face {
  font-family: "meadow";
  src: url(assets/Meadow\ Bloom.otf);
}
@font-face {
  font-family: "riffic";
  src: url(assets/RifficFree-Bold.ttf);
}
:root {
  --font-1: "meadow";
  --font-2: "riffic";
  --white: #ffffff;
  --black: #000000;
}

.page {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #0d0a00;
}
.page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(assets/bg.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;
  width: 100%;
  padding: 10rem 3% 2rem 3%;
}
/* ========bottom-side======== */
.bottom-side {
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex: 1;
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 2rem 0 4rem 0;
  overflow: hidden;
}

/* =========heading section======== */
.text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 6;
}

.heading {
  text-align: center;
  font-weight: 400;
  line-height: 100%;
  text-shadow: 0px 0.45rem 0.45rem #ffffff;
}
.heading1 {
  line-height: 80%;
  text-transform: uppercase;
  color: #d9d9d9;
  font-size: 32rem;
  -webkit-text-stroke: 0.6rem #000000;
}
.heading2 {
  font-size: 8.7rem;
  text-transform: capitalize;
  -webkit-text-stroke: 0.4rem #d9d9d9;
}
.behind-text {
  font-weight: 400;
  color: #2a2618;
  text-shadow: 0px 1.5vw 1.5vw #ffffff2a;
  -webkit-text-stroke: 1.5vw #000000;
  font-size: 58vw;
}
/* ========btns section======== */

.btns-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.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: 2.23px solid #000000;
  box-shadow: 0px 0.142rem 0.142rem #000000;
}
.btn:hover,
.link-btn:hover {
  transform: translateY(-8px);
}

.link-btn img {
  width: 100%;
  height: auto;
}

/* ========copy btn section======== */

.copy-btn-box {
  display: flex;
  justify-content: center;
  align-items: stretch;
  border-radius: 10px;
  border: 2.55px solid #000000;
  box-shadow: 0px 0.191rem 0.191rem 0px #000000;
}
.copy-btn {
  background-color: #000000;
  cursor: pointer;
  transition: all 0.4s;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.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);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.copy-text p {
  font-family: var(--font-2);
  padding: 1rem;
  font-size: clamp(1rem, 1.3rem, 1.5rem);
  color: #000000;
  font-weight: 700;
  font-style: Bold;
}
/* ========main-img section======== */
.wrap {
  width: 100%;
  position: relative;
  align-content: center;
}
.behind-text {
  position: absolute;
  left: -5vw;
  top:4rem;
}
.side-img {
  height: auto;
  width: 94%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 5;
}
#side-img-1 {
  max-width: 50rem;
}

.ellipse {
  position: absolute;
  width: 20%;
  max-width: 18rem;
  height: auto;
  z-index: 1;
}
#ellipse1 {
  top: 0;
  left: 0;
}
#ellipse2 {
  right: 0;
  bottom: 0;
}

.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) {
  .copy-text p {
    font-size: 1.5vmin;
  }
}

@media (max-width: 620px) {
  .heading1 {
    font-size: 44vw;
           line-height: 100%;
  }
}
@media (max-width: 350px) {
  .heading2 {

    font-size: 20vw;
    -webkit-text-stroke: 0.3rem #d9d9d9;
  }
}
@media (min-width: 800px) {
  .behind-text {
    position: absolute;
    top: -8vw;
    left: -5vw;
  }
  #side-img-1 {
    max-width: 46vw;
  }
}

.copy-btn-box {
  position: relative;
}

.copy-btn {
  position: relative;
  overflow: hidden;
}

/* Popup effect */
.copy-popup {
  position: absolute;
  left: 50%;
  top: -20px;
  transform: translateX(-50%) scale(0.5);
  background: #0d0a00;
  color: white;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 2.3rem;
  opacity: 0;
  pointer-events: none;
  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;
  }
}
