* {
  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: #bc86ff;
}

header,
section {
  font-size: 1.6rem;
}
@font-face {
  font-family: "cartoon";
  src: url(assets/BD_Cartoon_Shout.ttf);
}
:root {
  --font-1: "cartoon";
  --white: #ffffff;
  --black: #000000;
}

.page {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #bc86ff;
}
.page::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url(assets/bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  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;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  padding: 8rem 4% 4rem 4%;
  gap: 2rem;
  overflow: hidden;
}
/* ========bottom-side======== */
.bottom-side {
  display: flex;
  align-items: flex-end;
  justify-content: space-evenly;
  flex: 1;
  position: relative;
  z-index: 4;
  width: 100%;
  padding-top: 3rem;
  overflow: hidden;
}

/* =========heading section======== */
.text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 6;
  margin-bottom: 2rem;
  margin-left: 6rem;
}

.heading {
  text-transform: uppercase;
  font-size: 17rem;
  text-align: center;
  font-weight: 400;

  -webkit-text-stroke: 0.5rem #000000;
}
.heading1 {
  color: var(--white);
}
.heading2 {
  color: #fbdcb3;
}
.text-img {
  position: relative;
  left: -10rem;
  max-width: 30rem;
  width: 50%;
  height: auto;
  margin-right: auto;
}
/* ========btns section======== */
.btns-container {
  display: flex;
  justify-content: center;
  align-items: center;
  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 #e87f12;
  box-shadow: 0px 0.13rem 0.13rem #000000;
}
.btn:hover,
.link-btn:hover {
  transform: translateY(-8px);
  border-radius: 10px;
}

.link-btn img {
  width: 100%;
  height: auto;
}

/* ========copy btn section======== */

.copy-btn-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  width: 100%;
  padding: 2rem 4% 2rem 4%;
  background-color: #ffdaa8;
}
.copy-btn {
  cursor: pointer;
  transition: all 0.4s;
  z-index: 5;
  font-weight: 400;
  font-size: 3rem;
  line-height: 100%;
  color: var(--black);
}
.copy-text {
  align-content: center;
  text-align: center;
}
.copy-text p {
  font-weight: 400;
  font-size: 3vmin;
  color: var(--black);
}
.copy-popup {
  text-align: center;
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%) scale(0.5);
  background: #bc86ff;
  color: var(--black);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 2rem;
  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;
  }
}
/* ========main-img section======== */
.wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.side-img {
  display: flex;
  flex-direction: column;
  height: auto;
  position: relative;
  z-index: 5;
}
#side-img-1 {
  width: 90%;
  max-width: 50rem;
  margin-top: auto;
}

#side-img-2 {
  max-width: 35rem;
  width: 50%;
}
#side-img-3 {
  max-width: 15rem;
  width: 30%;
  margin-bottom: auto;
}
#side-img-4 {
  max-width: 25rem;
  width: 40%;
}
.inside-img {
  position: relative;
  z-index: 1;
}
#inside-img-1 {
  width: 70%;
  bottom: 5rem;
  left: -18%;
}
#inside-img-2 {
  width: 95%;
  bottom: 15rem;
  left: -26%;
  margin-bottom: -16rem;
}
#inside-img-3 {
  width: 95%;
  bottom: 15rem;
  left: 35%;
  margin-bottom: -16rem;
}
.side-img .img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 5;
}

/* responsiveness */
@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
}
@media (max-width: 400px) {
  html {
    font-size: 50%;
  }
}

@media (max-width: 1050px) {
  .heading {
    font-size: 15rem;
  }
}
@media (max-width: 930px) {
  .heading {
    font-size: 13rem;
  }
  .text-img {
    left: -7rem;
  }
}
@media (max-width: 850px) {
  .top-side {
    flex-direction: column;
    align-items: center;
  }
  .heading {
    font-size: 16rem;
  }
  .text {
    margin-left: 0;
  }
}
@media (max-width: 800px) {
  #side-img-2 {
    width: 35%;
  }
  #side-img-3 {
    width: 15%;
  }
  #side-img-4 {
    width: 30%;
  }
}
@media (max-width: 650px) {
  #inside-img-1 {
    width: 70%;
    bottom: 5vw;
    left: -18%;
  }
  #inside-img-2 {
    width: 80%;
    bottom: 15vw;
    left: -20%;
    margin-bottom: -16vw;
  }
  #inside-img-3 {
    width: 67%;
    bottom: 14vw;
    left: 30%;
    margin-bottom: -14vw;
  }
}
@media (max-width: 500px) {
  .text-img {
    left: -4vw;
    width: 35vw;
  }
  .text {
    width: 100%;
  }
  .heading {
    font-size: 28vw;
  }
}
@media (max-width: 650px) {
  .bottom-side {
    flex-direction: column;
  }
  #side-img-2 {
    margin-right: auto;
    width: 60%;
  }
  #inside-img-3 {
    width: 70%;
    bottom: 22vw;
    left: 44%;
    margin-bottom: 0;
  }
  #side-img-3 {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
  }
  #inside-img-1 {
    width: 70%;
    bottom: 9vw;
    left: -18%;
  }
  #side-img-4 {
    margin-left: auto;
    width: 50%;
  }
  #inside-img-2 {
    width: 80%;
    bottom: 18vw;
    left: -29%;
    margin-bottom: -19vw;
  }
}
