@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

body {
  /* font-family: "Roboto", sans-serif; */
  font-family: "Noto Sans Bengali", sans-serif;
  background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Sans Bengali", sans-serif;
}

.newsletter-wrapper {
  position: relative;
  overflow: hidden;
  padding-inline: 80px;
  gap: 30px;
  border-radius: 30px;
  margin-bottom: 200px;
  z-index: 10;
}
.newsletter-wrapper .newsletter-image {
  max-width: 340px;
  max-height: 510px;
  overflow: hidden;
}
.newsletter-wrapper .newsletter-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.newsletter-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 85%;
  left: 0;
  bottom: 0;
  background: linear-gradient(-45deg, #fbfbfb, #d8ebeb);
  z-index: -10;
  border-radius: 30px;
}
.newsletter-wrapper h2 {
  font-size: 50px;
  font-weight: 600;
  color: #000000;
  margin-top: 50px;
}
.newsletter-wrapper p {
  font-size: 18px;
  color: #383838;
  line-height: 24px;
  margin-block: 10px 30px;
}
.newsletter-wrapper .input-group {
  max-width: 520px;
  width: 100%;
  height: 80px;
  margin-inline: auto;
  /* border: 3px solid #138483; */
  background: linear-gradient(white, white) padding-box,
    linear-gradient(to right, #efbf9d, #138483) border-box;
  border: 3px solid transparent;
  border-radius: 100px;
  overflow: hidden;
  position: relative;
  margin-top: 20px;
}
.newsletter-wrapper .input-group input {
  padding-left: 30px;
  padding-right: 130px;
  font-size: 20px;
  border: none;
}
.newsletter-wrapper .error-message {
  text-align: left;
  font-size: 14px;
  color: rgb(244, 53, 53);
}
.newsletter-wrapper .input-group .input-group-text {
  border: none;
  background-color: #138483;
  width: 120px;
  height: 85%;
  border-bottom-left-radius: 100px !important;
  border-bottom-right-radius: 100px;
  border-top-left-radius: 100px !important;
  border-top-right-radius: 100px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 6px;
}
.newsletter-wrapper .input-group > .form-control:focus {
  z-index: 0;
}
.newsletter-wrapper .input-group input::placeholder {
  color: #b8b8b8;
  animation: spacingPlaceholder 2s infinite ease-in-out;
}
@keyframes spacingPlaceholder {
  0% {
    letter-spacing: 0px;
  }
  50% {
    letter-spacing: 2px;
  }
  100% {
    letter-spacing: 0px;
  }
}

/* responsive */
@media (max-width: 992px) {
  .newsletter-wrapper::before {
    height: 100%;
    background: linear-gradient(180deg, #fbfbfb, #d8ebeb);
  }
  .newsletter-wrapper .input-group {
    width: 500px;
    margin-bottom: 30px;
  }
}
@media (max-width: 576px) {
  .newsletter-wrapper {
    padding-inline: 1rem;
    padding-top: 50px;
    margin-bottom: 100px;
  }
  .newsletter-wrapper::before {
    height: 100%;
  }
  .newsletter-wrapper h2 {
    font-size: 32px;
    margin-top: 10px;
  }
  .newsletter-wrapper .input-group {
    height: 70px;
    margin-bottom: 30px;
    width: 100%;
  }
  .newsletter-wrapper .input-group .input-group-text {
    width: 55px;
    height: 55px;
  }
  .newsletter-wrapper .input-group input {
    padding-right: 80px;
  }
}
