* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: var(--black);
  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: linear-gradient(180deg, #51ff00 0%, #51ff00 100%);
}

header,
section {
  font-size: 1.6rem;
}
@font-face {
  font-family: "neg";
  src: url(assets/NegritaPro.ttf);
}
:root {
  --font-1: "neg";
  --white: #ffffff;
  --black: #000000;
}

.page {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #51ff00 0%, #51ff00 100%);
}

.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: space-evenly;
  gap: 1rem;
  flex: 1;
  width: 100%;
  padding: 8rem 4% 2rem 4%;
}
/* ========bottom-side======== */
.bottom-side {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 8rem 4% 4rem 4%;
  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 {
  text-align: center;
  text-align: center;
  vertical-align: middle;
  font-weight: 400;
  line-height: 80%;
  letter-spacing: 0%;
}
.heading1 {
  font-size: 28rem;
  text-transform: lowercase;
}
.heading2 {
  font-size: 20rem;
  text-transform: capitalize;
}

/* ========btns section======== */
.btns-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 1rem;
  border: 4.33px solid #7bc5ce;
  background-color: var(--white);
  padding: 1rem 3rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-radius: 5rem;
}
.apple {
  width: 5rem;
  height: auto;
  margin: 0 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 #000000;
  box-shadow: 0px 0.17rem 0.17rem #000000;
}

.link-btn:hover {
  transform: translateY(-8px);
  border-radius: 20px;
}

.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;
  overflow: hidden;
  position: relative;
  border-radius: 5rem;
  border: 4.33px solid #7bc5ce;
}
.copy-btn {
  background-color: #000000;
  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: #000000;
  font-weight: 400;
  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;
}
.copy-popup {
  text-align: center;
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 50px;
  transform: translateX(-50%) scale(0.5);
  background: #000000;
  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;
  }
}
/* ========main-img section======== */

.wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 100rem;
  width: 100%;
  padding-left: 1rem;
}
#text2 {
  margin-left: auto;
  margin-right: auto;
  align-self: center;
  padding: 1rem 0;
}
.side-img {
  height: auto;
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
#side-img-1 {
  width: 90%;
  max-width: 45rem;
}
#side-img-2 {
  width: 30%;
  max-width: 17rem;
  position: relative;
  margin: 4px 4px;
}
.img2 {
  position: absolute;
  width: 70%;
  height: auto;
}

.wrap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 18rem;
  background-color: var(--white);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
}
.wrap-bg img,
.side-img .img {
  width: 100%;
  height: 100%;
}

.white-layer {
  width: 100%;
  position: relative;
  z-index: 5;
}
.white-layer 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: 1350px) {
  .heading1 {
    font-size: 23rem;
  }
}
@media (max-width: 1150px) {
  .heading1 {
    font-size: 20rem;
  }
  .heading2 {
    font-size: 18rem;
  }
}
@media (max-width: 950px) {
  .heading1 {
    font-size: 18rem;
  }
}
@media (max-width: 850px) {
  .top-side {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 8rem 4% 2rem 4%;
  }
  .heading1 {
    font-size: 25rem;
  }
}

@media (max-width: 700px) {
  .copy-text p {
    font-size: 1.8vmin;
  }
  .bottom-side {
    padding: 6rem 4% 6rem 4%;
  }
  .heading2 {
    font-size: 15rem;
  }
}
@media (max-width: 630px) {
  .heading1 {
    font-size: 34vw;
  }
  .heading2 {
    font-size: 13rem;
  }
}
@media (max-width: 450px) {
  .heading2 {
    font-size: 20vw;
  }
}
@media (max-width: 400px) {
  .heading2 {
    font-size: 20vw;
  }
  .apple {
    margin: 0;
  }
  .btns-container {
    padding: 1rem;
  }
}
@media (min-width: 1000px) {
  .white-layer {
    height: 25rem;
  }
  .white-layer img {
    display: none;
  }
  .white-layer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url(assets/layer.png);
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
  }
}
