:root {
  --animate-speed: 2s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;

  /* Slide show -ны зураг хэмжээ тааруулах */
  /* overflow: hidden; */
}

#navID {
  margin-right: 20px;
}

/* Slideshow container */
img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.slideshow-container {
  max-width: max-content;
  height: 700px;
  position: relative;
  margin: auto;
  overflow: hidden;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Caption text  --- Нүүр зураг дээрх текст*/
.text1 {
  color: #fff;
  font-size: 4.5rem;
  /* font-family: "Roboto", sans-serif; */
  font-weight: 700;
  font-style: italic;

  padding: 12px 300px;
  position: absolute;
  bottom: 300px;
  width: 100%;
  text-align: left;
  line-height: 3.5rem;
  z-index: 5;
}

.text2 {
  color: #fff;
  font-size: 4rem;
  font-weight: 700;
  padding: 12px 300px;
  position: absolute;
  bottom: 200px;
  width: 100%;
  text-align: left;
  line-height: 3.5rem;
  z-index: 5;
}

#page1 {
  transform: translateY(-40px);
  animation: heading var(--animate-speed) forwards ease-in;
}

@keyframes heading {
  to {
    transform: translateY(0px);
  }
}

#page2 {
  transform: translateX(-40px);
  animation: heading var(--animate-speed) forwards ease-in;
}

/* Таблэт */

@media (max-width: 1024px) {
  .text1 {
    font-size: 3rem;
    line-height: 2.9rem;
    color: #fff;
    position: relative;
  }

  .text2 {
    font-size: 3rem;
    line-height: 2.9rem;
    color: #fff;
    bottom: 200px;
    position: relative;
  }

  .slideshow-container {
    max-width: 1000px;
    height: 400px;
  }

  .hero-body {
    max-width: 1000px;
    height: 300px;
  }

  .hero-body h1 {
    line-height: 3rem;
    text-align: center;
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    z-index: 5;
  }
}

/* Гар утас */
@media (max-width: 768px) {
  .content {
    color: #222;
    font-weight: 600;
  }

  .ecohome {
    padding: 0;
  }

  .EfesLogo {
    max-width: 120px;
  }

  .navbar-menu {
    max-width: 250px;
    margin-bottom: 10px;
  }

  .navbar-item {
    font-size: 12px;
    font-weight: 600;
  }

  .menu-list {
    font-weight: 600;
  }

  .text1 {
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: #f2f2f2;
    padding-left: 20px;
    padding-right: 20px;
    bottom: 100px;
    position: relative;
    z-index: 5;
  }

  .text2 {
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: #fff;
    padding-left: 20px;
    padding-right: 20px;
    bottom: 100px;
    position: relative;
    z-index: 5;
  }

  .slideshow-container {
    max-width: 700px;
    height: 200px;
  }

  .hero-body {
    max-width: 700px;
    height: 200px;
  }

  .hero-body h1 {
    line-height: 3rem;
    text-align: center;
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    z-index: 5;
  }

  .footer {
    font-weight: 600;
  }

  .hero-body h1 {
    font-weight: 600;
  }
}

/* -------------------------------------------------------------- */

/* Contact CSS */
.footer a {
  color: #000e5e;
}

address {
  color: #000e5e;
}

.borderbot {
  border-bottom: #000e5e 0.5px dotted;
  padding: 45px 0 50px 0;
}

h2,
h4 {
  font-family: "Raleway", sans-serif;
}

/* footer CSS */
.foottext {
  font-size: 14px;
  background-color: #000e5e;
  color: #fff;
  padding: 10px;
  text-align: center;
}

.crumb {
  padding: 20px 10px;
}

/* box дээрх анимэшин */
.box {
  transition: all 0.5s ease-in-out;
}

.box:hover {
  transform: scale(0.95);
}

.business {
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px dotted gray;
}

/* progress bar */