* {
  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: #0670ad;
}

header,
section {
  font-size: 1.6rem;
}
@font-face {
  font-family: "pixel";
  src: url(assets/PixelPurl.ttf);
}
:root {
  --font-1: "pixel";
  --white: #ffffff;
  --black: #000000;
}

.page {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #0670ad;
}
.page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url(assets/bg.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  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: flex-end;
  justify-content: center;
  gap: 1rem;
 
  width: 100%;
  padding: 4rem 4% 2rem 4%;

}
/* ========bottom-side======== */
.bottom-side {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  width: 100%;
  padding-top: 4rem;
   flex: 1;
}

/* =========heading section======== */
.text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 6;
}

.heading {
  font-weight: 500;
  font-size: 22rem;
  line-height: 70%;
  letter-spacing: 0%;
  text-align: center;
  color: #f6d34e;
  -webkit-text-stroke: 0.5rem #000000;
}

/* ========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;
  border-radius: 50%;
  background-color: var(--white);
  border: 2px solid #0c77b2;
  box-shadow: 0px 0.17rem 0.17rem #000000;
}

.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;
  box-shadow: 0px 0.182rem 0.182rem #000000;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.copy-btn {
  background-color: #0c77b2;
  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: #0c77b2;
  font-weight: 500;
  padding: 1rem;
  font-size: clamp(1rem, 1.3rem, 1.5rem);
}
.copy-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
/* ========main-img section======== */
.img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}
.side-img {
  height: auto;
  position: relative;
  z-index: 5;
}
#side-img-1 {
  width: 90%;
  max-width: 50rem;
  margin-bottom: 23rem;
}
#side-img-2 {
  width: 70%;
  max-width: 30rem;
  margin-right: auto;
  margin-top: auto;
}
#side-img-3 {
  width: 80%;
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8rem;
}

.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: 1200px) {
  .heading {
    font-size: 20rem;
  }
}
@media (max-width: 1100px) {
  .heading {
    font-size: 18rem;
  }
}

@media (max-width: 850px) {
  .top-side {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #side-img-1 {
    margin-bottom: 2rem;
    margin-right: auto;
  }
  .heading {
    font-size: 20rem;
  }
}

@media (max-width: 700px) {
  .copy-text p {
    font-size: 1.8vmin;
  }
}
@media (max-width: 600px) {
  .heading {
    font-size: 30vw;
    -webkit-text-stroke: 0.7vw #000000;
  }
  #side-img-3 {
    margin-bottom: 0;
    margin-right: 0;
  }
  .bottom-side {
    flex-direction: column-reverse;
  }
}
@media (max-width: 500px) {
}
.copy-popup {
  text-align: center;
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 50px;
  transform: translateX(-50%) scale(0.5);
  background: #0c77b2;
  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;
  }
}
