html {
  scroll-behavior: smooth;
}

section {
  padding: 0;
}

.navbar {
  height: 8em;
}
.translate-link {
  padding: 0 !important;
  margin: 0 !important;
}
.header-language {
  padding: 0;
}

.header-language a > i {
  padding: 0;
}
.navbar.navbar-dark .header-language > a:hover {
  color: #828282 !important;
}
.nav-flex-parent {
  width: 85%;
  margin: 0 auto;
}
.nav-bar-logo-container {
  flex: 1;
  padding-left: 1.5rem;
}

.nav-bar-logo-container > a {
  width: 70%;
}
.ul-items-container {
  flex: 2;
}

.ul-items-container #navbarNav {
  justify-content: flex-end;
}

.navbar.navbar-dark .navbar-nav {
  align-items: center;
  justify-content: center;
}
.navbar.navbar-dark .navbar-nav .nav-link {
  color: #ff7a8f !important;
  font-size: 1.171302083vw;
  font-weight: 500;
}

.navbar.navbar-dark .navbar-nav > .nav-item.dropdown.megamenu:hover > a:hover {
  color: #ff7a8f !important;
}

.nav-header-container #navbarNav ul li a:hover {
  color: rgba(0, 0, 0, 0.4) !important;
}
.nav-header-container #navbarNav ul li a:active {
  color: rgba(0, 0, 0, 0.4) !important;
}

.nav-header-container #navbarNav {
  margin: 0;
}

header .navbar .navbar-brand img,
header.side-menu .logo img,
header .sidebar-nav-menu .navbar-brand img {
  max-height: 100%;
}

#downloadBtn {
  width: 17vw;
  max-width: 19vw;
}

#hanToy {
  width: 5.2%;
  padding-top: 10.9375%;
  padding: 10% 0 0 0;
}

#hanToy img {
  animation: rotation 1s infinite linear;
  animation-direction: alternate-reverse;
}
@keyframes rotation {
  from {
    transform: rotate(-100deg);
  }
  to {
    transform: rotate(-20deg);
  }
}

@keyframes hanToy {
  from {
    transform: rotate(-80deg);
  }
  to {
    transform: rotate(0deg);
  }
}

#nannyWithBabyFirstSection {
  margin: 0;
  width: 50%;
}

#text-first-section {
  width: 42.90625%;
  padding-top: 8%;
  margin: 0 0 0 7%;
}

#text-first-section h1 {
  line-height: 4.739583vw;
  font-size: 2.9282552083vw;
  letter-spacing: 1.5px !important;
  color: #ff7a8f;
  margin-bottom: 0;
}
#first-section-cotr {
  padding-top: 5rem;
}

#text-first-section p {
  font-size: 1.4vw;
  color: #93c1f9;
  font-weight: 400;
  letter-spacing: 0.05rem;
  margin: 0;
}

#text-first-section #download {
  color: #303030;
  font-weight: 500;
  font-size: 1.822916vw;
  margin: 0 0 14px 0;
  margin-top: 4.322916vw;
}

#text-first-section div {
  width: 100%;
}

#text-first-section a {
  max-width: 100%;
}

#text-first-section div :nth-child(1) img {
  width: 10vw;
}

#text-first-section div :nth-child(2) img {
  width: 11vw;
  max-width: 100%;
  max-height: 100%;
}

.flexContainer-second-section {
  margin: 177px 0 0 0;
}
#title-second-section {
  width: 100%;
  max-width: 100%;
}

#title-second-section span {
  width: 43vw;
  max-width: 43vw;
  min-width: fit-content;
  font-weight: 700;
  color: #ff7a8f;
  font-size: 2rem;
}

#title-second-section p {
  color: rgba(108, 108, 114, 1);
  margin-top: 34px;
  margin-bottom: 67px;
  line-height: 30px;
  font-size: 1.571302083rem;
  max-width: 47vw;
  width: 47vw;
}
.second-section-img-container {
  align-self: start !important;
}

#second-section-img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  margin-top: -50px;
}
#cards-second-section {
  width: 41.71875vw;
}

.card-second-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0 84px 36px 84px;
  min-height: fit-content;
  margin-top: 56px;
  background-color: rgb(255, 255, 255);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 1.40556px 14.0556px;
  border-radius: 14.0556px;
}

.last-card {
  margin-bottom: 195px;
  min-height: fit-content;
}
.firstCard {
  margin-top: 0;
}

#red-circle-card {
  position: absolute;
  top: 40px;
  left: 28px;
}

.card-second-section span {
  font-size: 1.75rem;
  width: 100%;
  font-weight: 600;
  color: rgb(35, 34, 51);
  padding-top: 42px;
  margin-bottom: 1.2rem;
}

.card-second-section p {
  font-family: Poppins, sans-serif;
  font-display: swap;
  font-size: 1.3rem;
  color: rgb(108, 108, 114);
  font-weight: 400;
  width: 100%;
}

#mobile-overflowing {
  margin: 0;
  margin-bottom: -200px;
}

#third-section {
  background-color: #fbfbfb;
  padding: 300px 0;
}

#third-section-flex-parent {
  margin-left: 70px;
}

#forth-section-image {
  width: 50%;
  max-height: 100%;
  height: 100%;
  margin: 60px 0 0 0;
  padding: 0;
  align-self: flex-end !important;
}

#forth-section-text span {
  font-size: 2.6rem;
}

#forth-section-text a {
  text-transform: capitalize;
  color: #ff7a8f;
  display: inline-block;
  margin-top: 5.625rem;
  border-radius: 1rem;
  background-color: #fff;
  padding: 16px 40px;
  font-size: 1.606357142857143rem;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 600 !important;
  font-display: swap;
}

#reading_2 {
  padding: 100px 0 100px 50px !important;
}

.footer-column-half {
  width: 25%;
}
.footer-column-quarter {
  max-width: fit-content;
  min-width: fit-content;
}

@media screen and (max-width: 601px) {
  .ul-items-container {
    flex: 1.5;
  }
  .nav-bar-logo-container {
    flex: 1.5 !important;
  }
  body {
    min-width: 300px;
  }
  .navbar {
    height: 6rem;
  }
  .navbar.navbar-boxed {
    padding: 0 30px;
  }

  .navbar-brand {
    width: 20vw;
  }
  .navbar-dark.bg-transparent .navbar-toggler-line {
    background-color: #ff7a8f !important;
  }

  .bg-mobile {
    background-image: url(../images/bye-kids-images/BG-for-mobile-V.webp) !important;
    background-size: cover !important;
  }

  #flex-box-first-section {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    text-align: left;
  }

  #text-first-section {
    margin: 0;
    width: 100%;
    height: fit-content !important;
  }

  #text-first-section h1 {
    margin: 0;
    width: 100%;
    font-size: 1.6rem;
    line-height: 2.5rem;
  }

  #text-first-section p {
    margin-top: 20px;
    font-size: 1.6rem;
  }
  #text-first-section #download {
    font-size: 1.6rem;
  }

  #text-first-section div :nth-child(1) img {
    width: 20vw;
  }

  #text-first-section div :nth-child(2) img {
    width: 22vw;
  }

  #hanToy {
    width: 20vw;
  }

  #nannyWithBabyFirstSection {
    width: 90%;
  }
  #title-second-section p {
    max-width: 100%;
    width: 100%;
  }

  #download {
    font-size: 4vw;
  }
  .flexContainer-second-section {
    margin: 30px auto 0 auto;
  }
  #second-section-img {
    width: 100%;
    height: 100%;
  }

  #cards-second-section {
    width: 100%;
  }

  #red-circle-card {
    position: absolute;
    top: 40px;
    left: 8px;
  }

  #cards-second-section > div {
    margin: 0 auto;
  }

  .card-second-section {
    height: 100%;
    text-align: start;
    padding: 0 50px 25px 50px;
  }

  #mobile-overflowing {
    margin: 0;
  }
  #third-section {
    background-color: #fbfbfb;
    padding: 110px 0;
  }

  #third-section-flex-parent {
    margin-left: 0;
  }

  #third-section-flex-parent {
    margin-left: 0;
    justify-content: space-around;
  }

  #reading {
    background-size: cover !important;
    height: 100% !important;
    max-width: 100% !important;
    padding-bottom: 20px !important;
    margin-bottom: 0 !important;
  }

  #reading_2 {
    padding: 0 !important;
  }

  .cover-background {
    background-size: contain !important;
  }

  #forth-section-image {
    width: 100%;
    height: 100%;
    justify-content: center;
  }

  #forth-section-row {
    justify-content: center;
    flex-direction: column-reverse;
  }

  #forth-section-text {
    text-align: center;
  }

  #forth-section-text span {
    font-size: 2.6rem;
    letter-spacing: normal;
    white-space: normal;
    word-spacing: normal;
    line-height: 40px;
  }

  #forth-section-text a {
    margin-top: 0;
  }

  #download-buttons-last-section {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  #reading_2 div div div span {
    font-size: 2.5rem !important;
  }

  .footer-column-half {
    width: 100%;
    margin-bottom: 3rem;
  }

  .footer-column-quarter {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    margin-bottom: 3rem;
  }

  footer a + p {
    color: #fff;
  }

  footer a {
    color: #fff;
  }

  .download-bottom-text-btns {
    width: 100% !important;
  }

  .download-bottom-btns {
    justify-content: space-evenly;
  }

  .navbar.navbar-dark .header-language > a {
    color: #ff7a8f !important;
  }
}

@media screen and (min-width: 600px) and (max-width: 1200px) {
  .navbar-dark.bg-transparent .navbar-toggler-line {
    background-color: #ff7a8f !important;
  }

  #flex-box-first-section {
    width: 100%;
    margin: 0;
  }

  #first-section-cotr {
    max-width: 100%;
    padding: 0;
  }

  #text-first-section {
    margin: 0;
    padding-top: 8%;
    margin-left: 7%;
    height: 450px;
  }

  #text-first-section h1 {
    line-height: 4.739583vw;
    font-size: 2.896vw;
    letter-spacing: 1.5px !important;
    margin-bottom: 0;
  }
  .ul-items-container {
    min-width: fit-content;
    flex: 0.3;
  }

  #text-first-section p {
    font-size: 2vw;
    font-weight: 400;
    letter-spacing: 0.05rem;
    margin: 0;
  }
  #hanToy {
    width: 8vw;
  }
  #nannyWithBabyFirstSection {
    padding: 0;
    align-self: start;
  }

  .flexContainer-second-section {
    width: 70%;
    margin: 20px auto 20px auto;
    max-width: 100%;
    justify-content: center;
  }

  .second-section-cotr {
    max-width: 100%;
  }

  #second-section-img {
    margin: 0 auto;
    width: 100%;
  }

  #mobile-overflowing {
    margin: 0;
    width: 50%;
  }

  #cards-second-section {
    width: 100%;
  }
  #red-circle-card {
    position: absolute;
    top: 40px;
    left: 8px;
  }

  #cards-second-section > div {
    margin: 0 auto;
  }

  .card-second-section {
    height: 100%;
    text-align: start;
    padding: 0 50px 25px 50px;
  }
  #third-section {
    background-color: #fbfbfb;
    padding: 110px 0;
  }

  #third-section-flex-parent {
    margin-left: 0;
  }

  #third-section-flex-parent {
    margin-left: 0;
    justify-content: space-around;
  }

  #reading {
    background-size: cover !important;
    height: 100% !important;
    max-width: 100% !important;
    padding-bottom: 20px !important;
    margin-bottom: 0 !important;
  }

  #reading_2 {
    background-size: cover !important;
    height: 100% !important;
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  #reading_2 div div div {
    text-align: center;
    background-size: cover;
  }

  #reading_2 div div div span {
    font-size: 2.5rem !important;
  }

  .cover-background {
    max-height: 100% !important;
  }

  #forth-section-image {
    width: 100%;
    max-width: 100%;
    height: 50%;
    justify-content: center;
    align-self: flex-end;
  }

  #forth-section-text {
    width: 100%;
    height: 50%;
    justify-content: center;
    font-size: 2.5rem;
  }

  #forth-section-text h4 {
    margin-bottom: 0;
  }
  #forth-section-row {
    justify-content: start;
    flex-direction: column-reverse;
  }

  .footer-application span,
  p,
  a {
    font-size: 1rem !important;
  }

  /* footer .container-fluid .row .contact-us-section {
    width: 30% !important;
    max-width: 40% !important;
  } */

  .fitting-content {
    width: 25% !important;
    max-width: fit-content;
  }
}

/* media query for edit the default in desktop size */
@media screen and (min-width: 1199px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 100%;
  }
}

@media screen and (width <= 990px) and (-webkit-min-device-pixel-ratio: 0) {
  #downloadBtn {
    /* display: none; */
    max-width: 80px !important;
    flex: 1.5;
  }
  .nav-bar-logo-container {
    flex: 0.8;
}
.btn.btn-very-small {
    padding: 0 !important;
}
}
@media screen and (min-width: 999px) and (max-width: 1201px) {
  .reading_2_mobiles {
    padding-top: 40px !important;
  }
}

@media screen and (min-width: 1199px) and (max-width: 1250px) {
  .card-second-section {
    padding: 0 25px 25px 84px;
    height: 250px;
    margin-top: 56px;
  }

  #reading_2 {
    padding: 70px;
  }

  .reading_2_first-text {
    font-size: 2.5rem !important;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1600px) {
  .second-section-img-container {
    width: 53%;
    height: 870px;
  }
  #forth-section-text span {
    font-size: 2.5rem !important;
  }

  @media screen and (min-width: 1199px) and (max-width: 1470px) {
    #second-section-img {
      margin-top: -20px;
    }
  }
}

/* @media screen and (max-width: 800px) {
  #reading {
    background-image: url(/images/bye-kids-images/BG\ for\ mobile.png) !important;
    background-size: cover !important;
  }
} */

/* 
  contact us page style
*/

#form-section {
  padding: 20rem 0;
  background-color: rgb(251, 238, 245);
}

#title {
  color: #ff7a8f;
}

#project-contact-us-button {
  padding: 2rem;
  color: #ff7a8f;
  font-size: 1.5rem;
  border-radius: 10px;
  background-color: #fff;
}

#project-contact-us-button:hover {
  background-color: #ff7a8f;
  color: #fff;
}

form input {
  font-size: 2rem;
}

form textarea {
  font-size: 2rem;
}

/* privacy policy page style*/

#why {
  padding: 250px 0;
}

#why ul {
  list-style: none;
}

#why .title {
  color: #ff7a8f;
}
