@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

* {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
  font-style: normal;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  width: 100vw;
  height: 100vh;
}

.bg-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100%;
  width: 100%;
}

.bg-img {
  width: 100% !important;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: -1;
  transform: translateY(-50%);
}

.text-box {
  background-color: #f4f4f4;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  width: 91.7rem;
  height: 47.4rem;
  border-radius: 1.6rem;
  margin-top: -25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.text-box-content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.text-1 {
  color: #7aaf44;
  font-size: 10rem;
  font-weight: 500;
  font-family: "Rubik", sans-serif;
  margin: 0;
  padding: 0;
}

.text-2 {
  color: #0477be;
  font-size: 7rem;
  font-weight: bold;
  margin: 0;
  padding: 0;
  margin-top: -2rem;
}

.text-3 {
  color: #7aaf44;
  font-family: "Rubik", sans-serif;
  font-size: 7rem;
  font-weight: 700;
  margin: 0;
  padding: 0;
  margin-top: -2rem;
}

.text-bottom {
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 3rem;
}

.text-b-svg {
  width: 10.5rem;
  height: 7.1rem;
}

.text-b-1 {
  font-family: "Rubik", sans-serif;
  color: #0477be;
  font-size: 2rem;
  font-weight: 400;
}

.text-b-2 {
  font-family: "Rubik", sans-serif;
  color: #0477be;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: -0.5rem;
}

/* media query  */

@media (max-width: 75em) {
  html {
    font-size: 50%;
  }
}

@media (max-width: 59em) {
  .text-b-1 {
    font-size: 2.5rem;
  }
  .text-b-2 {
    font-size: 1.1rem;
  }
  html {
    font-size: 40%;
  }
}

@media (max-width: 44em) {
  .text-b-svg {
    width: 13.5rem;
    height: 10.1rem;
  }
  .text-b-1 {
    font-size: 3.5rem;
  }
  .text-b-2 {
    font-size: 1.5rem;
  }
  html {
    font-size: 30%;
  }
}

@media (max-width: 34em) {
  html {
    font-size: 20%;
  }
  .text-b-svg {
    width: 15.5rem;
    height: 9.6rem;
  }
  .text-b-1 {
    font-size: 4.5rem;
  }
  .text-b-2 {
    font-size: 2rem;
  }
}
@media (max-width: 20em) {
  html {
    font-size: 15%;
  }
  .text-b-svg {
    width: 17.5rem;
    height: 14.1rem;
  }
  .text-b-1 {
    font-size: 4rem;
  }
  .text-b-2 {
    font-size: 1.8rem;
  }
}
