:root {
  /* Primary colors */
  --primary-color: #682e92;
  --secondary-color: #2e2e2e;
  --dark-color: #1e1e1e;

  /* Text colors */

  --text-primary: #682e92;
  --text-secondary: #eeeeee;

  /* Background colors */
  --bg-light: #ffffff;
  --bg-dark: #2e2e2e;
  --bg-darker: #1e1e1e;

  background-color: #fefefe;
}

html {
  scroll-behavior: smooth;
}

section {
  padding: 0;
}

.navbar {
  height: 7rem;
}
.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: 100%;
  padding: 0 1rem;
}
.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: #333 !important; */
  font-size: 1rem;
  font-weight: 500;
}

.navbar.navbar-dark .navbar-nav > .nav-item.dropdown.megamenu:hover > a:hover {
  color: var(--primary-color) !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%;
}

#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);
  }
}

.moveConst {
  animation: moveConst 1s infinite alternate;
}
@media (max-width: 768px) {
  .moveConst2 {
    height: 85%;
  }
}

@media (max-width: 767px) {
  .wire {
    display: none;
  }
}

@media (max-width: 448px) {
  .moveConst2 {
    height: 60%;
    top: 55px !important;
  }
}

.moveConst2 {
  animation: moveConst 1s infinite alternate;
  animation-delay: 0.5s;
}

.shadowScale {
  animation: shadowScale 1s infinite alternate;
}

.shadowScale2 {
  animation: shadowScale 1s infinite alternate;
  animation-delay: 0.5s;
}

@keyframes shadowScale {
  from {
    transform: scaleX(0.5);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes moveConst {
  from {
    transform: translateY(70px);
  }
  to {
    transform: translateY(0);
  }
}

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

#nannyWithBabyFirstSection {
  margin: 0;
}

#text-first-section {
  margin: 0 0 0 7rem;
  height: auto !important;
}

#text-first-section h1 {
  line-height: 4.739583vw;
  font-size: 2.9282552083vw;
  letter-spacing: 1.5px !important;
  color: var(--primary-color);
  margin-bottom: 0;
}

#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: 80px 0 0 0;
}

#title-second-section span {
  min-width: fit-content;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 2rem;
}

#title-second-section p {
  color: rgba(108, 108, 114, 1);
  /* line-height: 30px; */
  font-size: 1.5rem;
  /* padding-right: 30px; */
}
.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: 100%;
}

.card-second-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 30px;
  min-height: fit-content;
  margin-top: 30px;
  background-color: var(--bg-darker);
  box-shadow: 0px 10px 20px 0px #00000033;
  border: 1px solid #ffffff1a;
  border-radius: 14.0556px;
}

.firstCard {
  margin-top: 0;
}

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

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

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

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

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

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

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

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

#forth-section-text a {
  text-transform: capitalize;
  color: var(--primary-color);
  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 10px 50px !important;
}

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

@media screen and (max-width: 1200px) {
  .parent_footer {
    flex-direction: column !important;
  }
  .first_footer {
    width: 100% !important;
  }
  .second_footer {
    width: 100% !important;
  }
  .third_footer {
    width: 100% !important;
  }
}

@media screen and (max-width: 601px) {
  .parent_footer {
    row-gap: 40px;
    height: auto;
    padding-bottom: 20px;
  }

  .ul-items-container {
    flex: 1.5;
  }
  .nav-bar-logo-container {
    flex: 1.5 !important;
  }
  body {
    min-width: 300px;
    font-family: "Red Hat Display", serif !important;
    font-optical-sizing: auto;
  }
  .navbar {
    height: 6rem;
  }
  .navbar.navbar-boxed {
    padding: 0 30px;
  }

  .navbar-brand {
    width: 20vw;
  }
  .navbar-dark.bg-transparent .navbar-toggler-line {
    background-color: var(--primary-color) !important;
  }

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

  #flex-box-first-section {
    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: 40px;
  }

  #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: 2.1rem;
    left: 2.5rem;
  }

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

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

  #mobile-overflowing {
    margin: 0;
  }
  #third-section {
    background-color: var(--bg-dark);
    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;
    padding-top: 4rem !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: var(--primary-color) !important;
  }
}

@media screen and (min-width: 600px) and (max-width: 1200px) {
  .navbar-dark.bg-transparent .navbar-toggler-line {
    background-color: var(--primary-color) !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: 90%;
    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: 34px;
    left: 1.8rem;
  }

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

  .card-second-section {
    height: 100%;
    text-align: start;
    padding: 30px 50px 25px 50px;
  }
  #third-section {
    background-color: var(--bg-dark);
    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 {
    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) {
  .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: 25px 25px 25px 84px;
    height: 250px;
    margin-top: 30px;
  }

  #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: var(--primary-color);
}

#project-contact-us-button {
  padding: 2rem;
  color: #f3f3f3;
  font-size: 1.25rem;
  border-radius: 10px;
  background-color: #303030;
}

#project-contact-us-button:hover {
  background-color: var(--primary-color);
  color: #f3f3f3;
}

form input {
  font-size: 2rem;
}

form textarea {
  font-size: 2rem;
}

/* privacy policy page style*/

#why {
}

#why ul {
  list-style: none;
}

#why .title {
  color: var(--primary-color);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  font-weight: bold;
}

.footer-links li a {
  color: white !important;
  font-size: 0.9rem;
}

.px-1rem {
  padding-left: 1rem;
  padding-right: 1rem;
}

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

input,
textarea {
  background-color: #82828210 !important;
}
