@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;600;700;800;900&display=swap");

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  outline: none;
}

:root {
  /*text color*/
  --red-color: #bf111a;
  --yellow-color: #c38331;
  --background-color: #fdf5e8;
  --pink-color: #dda5a3;
  --brown-color: #3d3223;
  --light-color: #cecece;
  --white-color: #fff;
  --black-color: #000;
  --brown-color2: #7e281a;

  /*font*/
  --primary-font: "Poppins", sans-serif;
}

body,
html {
  font-size: 10px;
  font-weight: 300;
  font-family: var(--primary-font);
  scroll-behavior: smooth;
  overflow-x: hidden;
  line-height: 1.5;
  background-color: var(--background-color);
}

h1 {
  font-size: 10rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 2rem;
}

h2 {
  font-weight: 500;
  line-height: 1.4;
}

h3 {
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1rem;
}

h4 {
  font-weight: 500;
  line-height: 1;
  margin-bottom: 1rem;
}

h5 {
  font-weight: 500;
  line-height: 1;
  margin-bottom: 0.9375rem;
}

p {
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 1px;
  margin-top: 1rem;
}

.form-control::placeholder {
  color: var(--pink-color);
}

a,
a:active,
a:focus,
a:hover,
.btn:focus {
  text-decoration: none;
  box-shadow: none;
  outline: 0;
  color: var(--black-color);
}

.bg-red {
  background-color: var(--red-color);
}

.bg-white {
  background-color: var(--white-color);
}

.text-white {
  color: var(--white-color);
}

.text-black {
  color: var(--black-color);
}

.text-red {
  color: var(--red-color);
}

.text-yellow {
  color: var(--yellow-color);
}

.text-pink {
  color: var(--pink-color);
}

.text-light {
  color: var(--light-color);
}

.text-brown {
  color: var(--brown-color2);
}

.main-btn {
  color: var(--white-color);
  background-color: var(--red-color);
  border-radius: 5rem;
  padding: 0.9rem 3rem;
  font-family: var(--primary-font);
  font-weight: 500;
  font-size: 2rem;
  transition: all 0.3s linear;
}

.main-btn:hover {
  background-color: var(--white-color);
  color: var(--red-color);
}

.big-btn {
  color: var(--pink-color);
  background-color: var(--white-color);
  border-radius: 5rem;
  padding: 0.9rem 3rem;
  font-family: var(--primary-font);
  font-weight: 300;
  font-size: 1.8rem;
  margin-top: 1.5rem;
  transition: all 0.3s linear;
  border: none;
}

/* .big-btn:hover {
  background-color: var(--pink-color);
  color: var(--white-color);
  border: none;
} */

.wrapper {
  padding: 2rem 0;
}

/*banner*/
.banner-wrapper {
  background-image: url("../images/banner/banner.blank.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  padding-bottom: 5rem;
}
.banner-wrapper-1 {
  background-image: url("../images/banner/banner.blank2.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  padding-bottom: 5rem;
  position: relative;
}

.bg-banner {
  background-image: url("../images/banner/banner.bottle.png");
  background-size: contain;
  background-position: 100% 0%;
  background-repeat: no-repeat;

  /* height: calc(100vh - 100px); */
  height: 100%;
}
.bg-banner.bg-banner-2 {
  background-image: url("../images/banner/four.bottle.png");
  background-size: contain;
  background-position: 100% 0%;
  background-repeat: no-repeat;

  /* height: calc(100vh - 100px); */
  height: 110%;
}

.navbar-logo-1 {
  width: 90px;
  height: auto;
  object-fit: cover;
  padding-top: 0;
}

.navbar-logo-2 {
  width: 21rem;
  height: auto;
  object-fit: cover;
  padding-left: 10px;
}

.heading {
  font-size: 40px;
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 1rem;
  margin-top: 20px;
  letter-spacing: -1px;
  padding-left: 50px;
}

.banner-icon-1 {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.banner-icon-2 {
  width: 8.5rem;
  height: auto;
  object-fit: cover;
}

.banner-text {
  font-size: 2rem;
  font-weight: 800;
}

.small-heading {
  font-size: 2.7rem;
  font-weight: 800;
  margin-bottom: 3rem;
  background-color: var(--white-color);
  color: var(--red-color);
}

.banner-red-part-1 {
  margin-top: 10px;
}

.banner-red-part-2 {
  margin-top: 3rem;
  margin-bottom: 50px;
}

.flex-container-banner {
  display: flex;
  flex-direction: row;
  font-size: 20px;
  text-align: center;
  align-items: center;
  justify-content: flex-start;

  position: absolute;
  bottom: 20px;
}
.flex-item-banner-2 {
  text-align: left;
}
/* .flex-item-banner-1 {
    flex: 5%;
    text-align: left;
    padding-top: 50px           ;
}

.flex-item-banner-2 {
    flex: 15%;
    text-align: left;
    padding-top: 60px;
    padding-left: 10px;
}
.flex-item-banner-3 {
    flex: 80%;
} */

/*challenge*/
.challenge-heading-1 {
  font-size: 32px;
  font-weight: 600;
  padding-top: 15px;
}

.challenge-heading-2 {
  font-size: 2rem;
  font-weight: 600;
}

.text-center {
  text-align: center;
  align-items: center;
}

/*result*/
.result-text {
  font-size: 25px;
}

.flex-container-result-head {
  display: flex;
  align-items: stretch;
  background-color: #f1f1f1;
}

.flex-container-result-head > div {
  background-color: rgb(16, 146, 75);
  color: white;
  margin: 1px;
  text-align: center;
  line-height: 25px;
  font-size: 14px;
  padding: 20px 10px;
}

.flex-container-result {
  display: flex;
  align-items: stretch;
  background-color: #f1f1f1;
}

.flex-container-result > div {
  background-color: rgb(72, 74, 75);
  color: white;
  margin: 1px;
  text-align: center;
  line-height: 25px;
  font-size: 11px;
  padding: 20px 10px;
}

.width-1 {
  width: 70px;
}

.width-2 {
  width: 30px;
}

.width-3 {
  width: 10px;
}

.width-4 {
  width: 120px;
}

.width-5 {
  width: 100px;
}

.result-padding {
  padding: 0px 385px;
}

.result-link {
  display: block;
  margin-top: 30px;
  font-size: 2rem;
}

.result-link-text {
  padding-left: 10px;
}

.result-button {
  margin-top: 10px;
}

.result-button-icon {
  margin-right: 10px;
}

/*bottom*/
.bottom-wrapper {
  background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url("../images/banner/bottom.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  height: auto;
  padding-bottom: 5rem;
}

.bottom {
  padding: 2rem 0rem;
  padding-bottom: 5rem;
}

.bottom-text {
  font-size: 1.2rem;
}

/*footer*/
.footer-wrapper {
  background-color: var(--brown-color);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  height: auto;
  padding: 0.2rem;
}

.footer-icon {
  width: 1.5rem;
  height: auto;
  object-fit: cover;
  margin-left: 0.6rem;
}

.footer-text {
  /* margin-bottom: 5.5rem; */
  font-size: 1.4rem;
}

.flex-container {
  text-align: center;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
}

/* 
.flex-item-1 {
    background-color: var(--brown-color);
    padding: 5px;
    flex: 30%;
    padding-left: 170px;
}

.flex-item-2 {
    background-color: var(--brown-color);
    padding: 5px;
    flex: 40%;
    text-align: left;
}
.flex-item-3 {
    background-color: var(--brown-color);
    padding: 5px;
    flex: 30%;
    padding-right: 0px;
}  */

#search_input {
  width: 410px;
  max-width: 70vw;
  margin-inline: auto;
}

.container {
  padding-left: 20px;
  padding-right: 20px;
}

@media only screen and (min-width: 900px) {
  .bottom-wrapper .container {
    width: 60vw;
  }

  footer .container {
    width: 70vw;
  }

  #myBtn {
    display: none;
  }

  #navbarNavDropdown {
    display: block;
  }
}
.sub-heading {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0;
  padding-left: 70px;
  margin-top: -8px;
  letter-spacing: -1px;
}
@media only screen and (max-width: 900px) {
  .flex-container {
    flex-direction: column;
    padding-bottom: 10px;
    padding-top: 10px;
  }
  .footer-text {
    padding-top: 5px;
    padding-bottom: 5px;
    display: block;
  }

  .navbar-logo-1 {
    width: 6rem;
    height: auto;
    object-fit: cover;
    padding-top: 0;
  }

  .navbar-logo-2 {
    width: 13rem;
    height: auto;
    object-fit: cover;
  }

  .heading {
    padding-top: 20px;
    font-size: 34px;
  }

  .main-btn {
    font-size: 12px;
  }

  .banner-text {
    font-size: 14px;
  }

  .challenge-heading-1 {
    font-size: 24px;
  }

  .challenge-heading-2 {
    font-size: 18px;
  }

  .form-control::placeholder {
    font-size: 12px;
  }

  .bottom-text {
    font-size: 16px;
  }
}

.text-1 {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--red-color);
  display: inline-block;
  width: max(40%, 250px);
}

.index-2 #search_input {
  margin: 0;
  width: 285px;
  padding: 0.4rem 2rem;
}

.index-2 .main-btn {
  padding: 0.4rem 2rem;
  font-size: 1.5rem;
  margin-left: 1rem;
}

.index-2 .form-control::placeholder {
  font-size: 12px;
}

.index-2 .form-control {
  font-size: 12px;
}

.head2 {
  font-weight: 500;
  font-size: 26px;
}
@media only screen and (max-width: 400px) {
  .bg-banner {
    background-position: 100% 0%;
    background-size: cover;
  }
  .sub-heading {
    padding-left: 0px;
  }
  .heading {
    padding-left: 0px;
  }
}
@media only screen and (max-width: 900px) {
  .head2 {
    font-weight: 500;
    font-size: 21px;
  }

  .index-2 {
    flex-direction: column;
  }

  .index-2 .main-btn {
    margin: 0;
    font-size: 12px;
    max-width: 150px;
    margin-top: 10px;
  }
}

/* for table */
.result-table {
  background-color: #fff;
}
.result-table th {
  background-color: #fad483;
}

.result-table :is(th, td) {
  font-size: 16px;
  vertical-align: middle;
}
/* for table */
@media only screen and (min-width: 900px) {
  .banner-wrapper.wrapper .container {
    width: 80vw;
    max-width: unset;
  }
}

@media only screen and (min-width: 600px) {
  .form-batch-no {
    position: absolute;
    bottom: 5vh;
  }
  .form-batch-no.form-batch-no-2 {
    position: unset;
    bottom: unset;
  }
}

@media only screen and (min-width: 900px) {
  .body-text {
    font-size: 14px;
  }
}

@media only screen and (max-width: 767px) {
  .banner-wrapper {
    padding-bottom: 0;
  }
}

.container.bg-banner {
  background-position-x: 85%;
}

@media only screen and (max-width: 900px) {
  .container.bg-banner {
    background-size: 250px;
    background-position-y: 0%;
    background-position-x: 100%;
  }
}

#search_form {
  margin-top: 20px;
}

.four-bottle {
  width: 250px;
  position: absolute;
  bottom: 40px;
}

@media only screen and (max-width: 600px) {
  .container.bg-banner {
    background-size: 210px;
  }

  .index-2 #search_input {
    width: 200px;
  }

  .index-2 .main-btn {
    max-width: 110px;
  }

  .text-1 {
    width: max(40%, 220px);
  }
}

@media only screen and (max-width: 767px) {
  .container.bg-banner {
    background-position-x: 100%;
  }
}

@media only screen and (min-width: 1400px) {
  .four-bottle {
    width: 350px;
    bottom: 30px;
  }
}

@media only screen and (max-width: 600px) {
  .four-bottle {
    bottom: 90px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
  }
}
