@import url("https://fonts.googleapis.com/css2?family=Ranchers&family=Rock+Salt&family=Sedgwick+Ave&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: var(--black);
}
html {
  /* 1rem = 10px */
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body,
html {
  width: 100%;
  height: 100%;
}
body {
  background: #ffd23e;
  width: 100%;
  overflow-x: hidden;
}
header,
section {
  font-size: 1.6rem;
}
:root {
  --font-ranchers: "Ranchers", sans-serif;
  --font-rock: "Rock Salt", cursive;
  --font-sedgwick: "Sedgwick Ave", cursive;
  --white: #ffffff;
  --black: #000000;
  --nav-height: 100px;
  --footer-height: 100px;
}
.page {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: auto;
  max-width: 1400px;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 2%;
  padding-right: 2%;
  margin: 2rem 2% 2rem 2%;
  min-height: var(--nav-height);
  gap: 10px;
  background-color: #ffffff;
  border: 8px solid #000000;
  border-radius: 18px;
}
.logo span {
  font-family: var(--font-ranchers);
  font-weight: 400;
  font-size: 4rem;
  text-align: center;
}
.page-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: calc(100vh - var(--nav-height) - var(--footer-height));
}

/* ========bottom-side======== */
.bottom-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex: 1;
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
  padding-left: 4%;
  padding-right: 4%;
  margin-bottom: 15rem;
}
.bottom-side::before {
  content: "";
  position: absolute;
  right: 0;
  width: 50%;
  height: 50%;
  background: radial-gradient(
    50% 50% at 50% 50%,
    #ffffff 0%,
    rgba(255, 255, 255, 0) 100%
  );
  background-position: center;
}
/* =========heading section======== */
.text-div {
  margin-top: 5rem;
}
.heading {
  font-size: 4.5rem;
  font-family: var(--font-ranchers);
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.para {
  font-size: 3rem;
  font-weight: 400;
  font-family: var(--font-rock);
  max-width: 63rem;
}
/* ========btns section======== */

.btns-container {
  display: flex;
  gap: 5px;
  justify-content: center;
  position: relative;
}

.link-btn {
  padding: 0 0.5rem;
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s;
  z-index: 10;
}
.btn:hover,
.link-btn:hover {
  transform: translateY(-8px);
}

.link-btn img {
  width: 100%;
  height: auto;
}
/* ========copy btn section======== */
.copy-btn-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  width: fit-content;
  margin-left: auto;
  position: relative;
  z-index: 10;
}

.copy-btn {
  font-size: 3rem;
  font-family: var(--font-sedgwick);
  font-weight: 400;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.4s;
  border: 3px solid #000000;
  background-color: #ffffff;
  padding: 1rem;
}
.copy-text {
  font-size: 2.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-family: var(--font-rock);
  padding: 1rem 1rem;
  font-weight: 400;
}

.copy-text p {
  font-weight: 400;
  font-size: 1rem;
  /* font-size: 2vmin; */
  font-family: var(--font-sedgwick);
}
/* ========main-img section======== */
.image-wrapper {
  position: relative;
  top: -1rem;
  margin-bottom: 15rem;
}
.main-img {
  position: relative;
  width: 85%;
  max-width: 50rem;
  min-width: 45rem;
  z-index: 5;
}
.image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    50% 50% at 50% 50%,
    #ffffff 0%,
    rgba(255, 255, 255, 0) 100%
  );
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}
.bottom-image {
  width: 80%;
  max-width: 50rem;
  height: auto;
  position: relative;
  z-index: 5;
  bottom: 25rem;
  margin-bottom: -26rem;
}
.bottom-image img,
.main-img img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 5;
}

/* footer */
.footer {
  min-height: var(--footer-height);
  padding-left: 4%;
  padding-right: 4%;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: #c3d0ff;
  border-top: 8px solid #000000;
  border-bottom: 8px solid #000000;
}
/* responsivness */
@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
}
@media (max-width: 400px) {
  html {
    font-size: 50%;
  }
}
@media (max-width: 850px) {
  .bottom-side {
    flex-direction: column;
    align-items: center;
  }
  .image-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    margin-bottom: 0;
  }
  .bottom-side::before {
    display: none;
  }
  .image-wrapper::before {
    display: flex;
  }
  .text-div {
    margin-top: 0;
    text-align: center;
  }
  .heading {
    font-size: 4rem;
  }
  .copy-btn,
  .copy-text,
  .para {
    font-size: 2.5rem;
  }
  .logo span {
    font-size: 3.5rem;
  }

  .bottom-image {
    max-width: 40rem;
    bottom: 19rem;
    margin-bottom: -20rem;
  }
  .main-img{
      min-width: 0;
  }
}
@media (max-width: 750px) {
  .bottom-side {
    margin-bottom: 0;
  }
  .bottom-image {
    max-width: 40rem;
    bottom: -1rem;
    margin-bottom: 0rem;
    margin-right: auto;
    margin-left: auto;
  }
  .copy-text {
    flex-direction: column;
    gap: 1rem;
  }
  .copy-btn-box {
    margin-right: auto;
    flex-direction: column;
    gap: 1rem;
  }
}
@media (max-width: 500px) {
  .heading {
    font-size: 3.5rem;
  }
  .copy-btn,
  .copy-text,
  .para {
    font-size: 2.2rem;
  }
  .logo span {
    font-size: 3rem;
  }
}
