body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
  overflow-x: hidden;
  animation: fadeIn 1.5s ease-in-out;
  max-width: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.cart-header-col {
  width: 54%;
  /* max-width: 600px; */
}

.col-1 {
  width: 100%;
  max-width: 100px;
}

/* menu */

/* 
#SingOutIcon {
    display: none;
}

*/

#ShoppingCartIcon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 2px 5px;
  font-size: 12px;
}

.header {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  background-color: #333;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1001;
  box-sizing: border-box;
}

.header .logo {
  display: flex;
  align-items: center;
}

.header .logo img {
  height: 40px;
}

.header .search-bar {
  flex-grow: 1;
  margin: 0 20px;
}

.header .search-bar input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  box-sizing: border-box;
}

.header .icons {
  display: flex;
  align-items: center;
}

.header .icons i {
  color: white;
  display: flex;
  align-items: center;
  font-size: 20px;
  margin-left: 20px;
  cursor: pointer;
}

.header .icons i p {
  margin: 0 0 0 5px;
  /* Adjust margin for spacing */
  color: white;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
}

.menu {
  position: fixed;
  top: 60px;
  /* Adjust according to header height */
  left: 0;
  width: 100%;
  background-color: rgb(248, 244, 244);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ddd;
  z-index: 1000;
  box-sizing: border-box;
}

.top-box {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background-color: #333;
  z-index: 1;
  margin: 0;
  padding: 0;
}

@media (max-width: 480px) {
  .menu {
    display: none;
  }

  .mobile-menu {
    display: block;
  }
}

@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-item {
    margin-bottom: 10px;
  }
}

.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1001;
  box-sizing: border-box;
  /* Ensure padding is included in total width */
}

.mobile-header .mobile-menu-icon {
  font-size: 24px;
  cursor: pointer;
  color: #ffffff;
  width: 35px;
}

.mobile-header .mobile-logo {
  display: flex;
  align-items: center;
}

.mobile-header .mobile-logo img {
  height: 40px;
}

.mobile-header .mobile-search-bar {
  flex-grow: 1;
  margin: 0 20px;
}

.mobile-header .mobile-search-bar input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  box-sizing: border-box;
}

.mobile-icons {
  display: flex;
  align-items: center;
}

.mobile-icons i {
  color: white;
  display: flex;
  align-items: center;
  font-size: 20px;
  margin-left: 20px;
  cursor: pointer;
}

.mobile-icons i p {
  margin: 0 0 0 5px;
  /* Adjust margin for spacing */
  color: white;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100vh;
  background-color: #fff;
  transition: transform 0.5s ease-in-out;
  z-index: 1000;
}

.mobile-menu-icons {
  height: 50px;
  display: flex;
  align-items: center;
}

.mobile-menu-icons i {
  color: rgb(78, 78, 78);
  display: flex;
  align-items: center;
  font-size: 20px;
  margin-left: 20px;
  cursor: pointer;
}

.mobile-menu-icons i p {
  margin: 0 0 0 5px;
  /* Adjust margin for spacing */
  color: rgb(78, 78, 78);
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
}

.mobile-menu.show {
  transform: translateX(250px);
}

.mobile-menu-Layout {
  height: 100%;
  background-color: #fff;
  overflow-y: auto;
}

.mobile-menu-Layout ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-Layout ul li {
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  text-indent: 15px;
}

.mobile-menu-Layout ul li:last-child {
  border-bottom: none;
}

.mobile-menu-Layout ul li i {
  font-size: 14px;
  padding: 0px 0px 0px 100px;
}

.mobile-menu-Layout ul li ul {
  display: none;
  position: relative;
  top: 0;
  left: 0;
  background-color: #535353;
  padding: 10px;
  border: 1px solid #ddd;
  margin-top: 10px;
}

.mobile-menu-Layout ul li ul li {
  color: #e2e2e2;
}

.mobile-menu-Layout ul li ul.show {
  display: block;
}

.close-menu {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-menu:hover,
.close-menu:focus {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

.nav {
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.nav a {
  padding: 15px 20px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  display: block;
}

.nav a:hover {
  background-color: #f0f0f0;
}

.dropdown {
  /* position: relative; */
  display: inline-block;
  overflow: auto;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.categories:hover .dropdown-content {
  display: block;
}

/* menu */

/* ------------------------------------------ */

/* Slideshow  */

.slideshow {
  padding-bottom: 10px;
}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.bannerSlides {
  animation: fadeIn 1.5s ease-in-out;
}

/* Number text (1/3) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbbbbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Fading animation */
/* .fade {
    animation-name: fade;
    animation-duration: 1.5s;
} */

@keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

.fade {
  animation-name: fade;
  animation-duration: 150ms;
  animation-fill-mode: forwards;
}

/* End Slideshow  */

/* ------------------------------------------ */

/* Main Body */

.main-body,
.LatestProducts-body,
.DiscountsForThisPeriod-body {
  display: block;
}

.main-body.active,
.LatestProducts-body.active,
.DiscountsForThisPeriod-body.active {
  display: flex;
}

.main-body {
  margin-top: 150px;
  margin-bottom: 100px;
  max-width: 1400px;
  justify-self: center;
}

.LatestProducts-body {
  margin-top: 100px;
  margin-bottom: 100px;
  max-width: 1400px;
  justify-self: center;
}

.DiscountsForThisPeriod-body {
  margin-top: 140px;
  margin-bottom: 100px;
  max-width: 1400px;
  justify-self: center;
}

.warning {
  color: red;
  font-size: 12px;
}

.see-all {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: #333;
}

.see-all:hover {
  background-color: #f0f0f0;
}

.products {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  padding: 20px 20px 20px;
  box-sizing: border-box;
}

.product-list {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 5px;
  position: relative;
  background-color: white;
  display: flex;
  overflow-x: auto;
  flex-wrap: nowrap;
}

.AllLatestProducts-products-list {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 5px;
  background-color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.AllDiscountsForThisPeriod-product-list {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 5px;
  background-color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.product-group {
  display: flex;
  width: 100%;
  margin: 10px 0;
}

.All-product-list {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 5px;
  background-color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.product {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin: 10px;
  padding: 10px;
  width: calc(25% - 40px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.product img {
  width: 100%;
  height: auto;
}

.product .price {
  color: #e60012;
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
}

.product .old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
}

.product .add-to-cart {
  background-color: #ffcccb;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.product .add-to-cart:hover {
  background-color: #e60012;
  color: white;
}

/* ------------------------------------------ */

/* Footer */

.footer-bottom {
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #333;
  padding: 20px 0;
  text-align: center;
  padding-top: 20px;
  margin-top: 40px;
  border-top: 1px solid #555;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: #aaa;
}

.footer {
  background-color: #333;
  color: #fff;
  padding: 5px 0 5px;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin: 20px;
  text-align: left;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ddd;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  color: #fff;
  margin-right: 15px;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #ddd;
}

.fab {
  color: #e2e2e2;
}

@media screen and (max-width: 768px) {
  .footer-section {
    flex: 100%;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
  }
}

/* Footer */
/* ------------------------------------------ */

/* Login and Create Account */
.modal {
  display: none;
  position: fixed;
  z-index: 1002;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  transition: visibility 0s linear 0.5s;
  /* Delay hiding the modal */
}

.modal.show {
  display: flex;
  opacity: 1;
  animation: modalFadeIn 0.5s ease-out forwards;
  transition: none;
  /* Remove delay when showing */
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateZ(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal.hide {
  animation: modalFadeOut 0.7s ease-out forwards;
  transition: visibility 0s linear 0.5s;
  /* Delay hiding the modal */
}

@keyframes modalFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateZ(-20px);
  }
}

.modal-content {
  background-color: #c5c5c5;
  color: white;
  padding: 20px;
  border-radius: 5px;
  width: 90%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  box-shadow: 0 0 100px rgba(0, 0, 0, 1.1);
}

.modal-content h2 {
  font-size: 2em;
  color: rgb(0, 0, 0);
  text-transform: uppercase;
}

.modal-content .form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.modal-content .form .inputBox {
  position: relative;
  width: 100%;
}

.modal-content .form .inputBox input {
  width: 95%;
  background: #333;
  border: none;
  outline: none;
  padding: 25px 10px 7.5px;
  border-radius: 4px;
  color: #fff;
  font-weight: 500;
  font-size: 1em;
}

.modal-content .form .inputBox i {
  position: absolute;
  left: 0;
  padding: 15px 10px;
  font-style: normal;
  color: #aaa;
  transition: 0.5s;
  pointer-events: none;
}

.modal-content .form .inputBox input:focus ~ i,
.modal-content .form .inputBox input:valid ~ i {
  transform: translateY(-7.5px);
  font-size: 0.8em;
  color: #fff;
}

.modal-content .form .links {
  display: flex;
  justify-content: space-around;
}

.modal-content .form .links a {
  color: #000000;
  text-decoration: none;
}

.modal-content .form .links a:nth-child(2) {
  color: rgb(0, 0, 0);
  font-weight: 600;
  cursor: pointer;
}

.modal-content .form .inputBox input[type="submit"] {
  padding: 10px;
  width: 100%;
  background: rgb(150, 150, 150);
  color: #000;
  font-weight: 600;
  font-size: 1.35em;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

/* Login and Create Account */

/* ------------------------------------------ */

/* Error message and Create Account */
.error-container {
  position: fixed;
  top: 8%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1003;
  display: none;
  width: 300px;
  text-align: center;
  border-radius: 10px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.account-container {
  position: fixed;
  top: 8%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1003;
  display: none;
  width: 300px;
  text-align: center;
  border-radius: 10px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.account-message {
  color: red;
}

.error-message {
  color: red;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-weight: bold;
  color: #aaa;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #000;
}

/* Error message and Create Account */

.cart-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.cart-header {
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  margin-left: 20px;
  display: flex;
  justify-self: space-between;
  /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
  width: auto;
}

.cart-header-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.cart-item {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 15px;
  margin-bottom: 10px;
  margin-left: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cart-items {
  display: inline;
  align-items: center;
  background-color: #fff;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.item-details {
  display: flex;
  align-items: justify;
  background-color: #fff;
  width: 10%;
  height: auto;
  max-width: 600px;
}

.item-name {
  display: inline;
  /* text-align: justify; */
  width: 23%;
}

.item-row {
  display: flex;
  /* justify-content: space-between; */
  width: 100%;
}

.quantity-controls {
  display: flex;
  align-items: center;
  width: 16%;
  /* margin-left: left; */
}

.quantity {
  text-align: center;
  width: 22%;
}

.quantity-btn-add {
  padding: 5px;
  background-color: #eee;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 13%;
  margin-left: 10px;
  margin-right: 5px;
  align-items: center;
  text-align: center;
  content: center;
}

.quantity-btn-subtract {
  padding: 5px;
  background-color: #eee;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 13%;
  margin-left: 5px;
  margin-right: 5px;
  align-items: center;
  text-align: center;
  content: center;
}

.cart-btn-location {
  width: 4%;
}

.remove-btn {
  color: red;
  border: none;
  background: none;
  cursor: pointer;
}

.remove-btn:active {
  color: darkred;
  text-decoration: underline;
}

.remove-btn:hover {
  color: darkred;
  background-color: white;
}

.cart-summary {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  margin-left: 20px;
  /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
  align-items: flex-end;
  width: auto;
  display: flex;
  justify-content: flex-end;
  /* width: 20%; */
}

.summary-item {
  text-align: end;
  width: 100%;
  /* Match the width of the Total Price column */
}

.action-buttons {
  display: flex;
  justify-content: end;
  margin-top: 20px;
  width: 90%;
}

.button-row {
  padding-top: 20px;
  /* padding-right: 20px; */
  /* width: 120%; */
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.btn-continue {
  background-color: #464141;
  color: white;
  padding-left: 20px;
}

.btn-buy {
  margin-left: 20px;
  background-color: #033b20;
  color: white;
}

.btn-buy:hover {
  background-color: #045e37;
}

.cart-price {
  align-self: center;
  text-align: center;
  /* display: inline; */
  width: 25%;
}

.cart-after-discount {
  align-self: center;
  text-align: center;
  /* display: inline; */
  width: 11%;
}

.cart-unit-price {
  align-self: center;
  text-align: center;
  /* display: inline; */
  width: 16%;
  /* padding-right: 130px; */
}

.cart-unit-price .original-price {
  color: #999;
  font-size: 14px;
  text-decoration: line-through;
}

.cart-unit-price .discounted-price {
  color: #e40032;
  font-size: 18px;
  font-weight: bold;
}

.alert.hide {
  display: none !important;
}

.alert {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.alert.body {
  /* display: flex; */
  /* justify-content: center; */
  align-items: center;
}

.alert > .alert-container {
  width: 20%;
  height: 20%;
  background: white;
  color: black;
  border-radius: 8px;
}

.alert > .alert-container > .alert-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}

button.alert-close {
  background: transparent;
  border: 0;
  height: 100%;
  cursor: pointer;
}

/* ...existing code... */

/* Add responsive styles for footer */

@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-links {
    justify-content: center;
  }
}

/* Payment */

.vheight {
  height: 80vh;
}

/*container*/
.container {
  background-color: white;
  padding: 10px 20px;
  border: 1px solid lightgrey;
  border-radius: 5px;
}

input[type="text"] {
  width: 90%;
  padding: 3px;
  border-radius: 5px;
}

/*row*/
.row {
  display: flex;
  flex-wrap: wrap;
}

/*coloum*/
.col-60 {
  flex: 50%;
  padding: 0 10px;
}

.col-45 {
  flex: 45%;
  padding: 0 10px;
}

.col-35 {
  flex: 35%;
  padding: 0 10px;
}

/*button*/
.btn {
  background-color: black;
  border: none;
  color: white;
  padding: 12px 16px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
}

.btn:hover {
  background-color: rgb(11, 11, 11);
}

/* End Payment */

/* About US */
.about-us-container {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 1px 50px 1px 50px;
}

.slogan {
  text-align: center;
  border-bottom: 1px solid;
  width: 100%;
  max-width: 1400px;
}

/* .image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
} */

.image-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
}

.image-container img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.overlay-text .line1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 1.5s;
}

.overlay-text .line2 {
  font-size: 2rem;
  font-weight: normal;
  font-style: italic;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 3s;
}
.text-5 .line {
  font-size: 3rem;
}

.line {
  font-size: 2rem;
  font-weight: normal;
  font-style: italic;
  /* opacity: 0; */
  /* position: absolute;
    top: 50%;
    left: 50%; */
}

img {
  margin-top: 0;
  padding-top: 0;
  display: block;
  width: 100%;
}

.text-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.text-1,
.text-2,
.text-3,
.text-4,
.text-5 {
  display: block;
  animation-duration: 50s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.text-1 {
  animation-name: anim-1;
}

.text-2 {
  animation-name: anim-2;
}

.text-3 {
  animation-name: anim-3;
}
.text-4 {
  animation-name: anim-4;
}
.text-5 {
  animation-name: anim-5;
}

@keyframes anim-1 {
  0%,
  2% {
    /* left: -100%; */
    opacity: 0;
  }
  2%,
  15% {
    /* left: 25%; */
    opacity: 1;
  }
  20%,
  100% {
    /* left: 110%; */
    opacity: 0;
  }
}

@keyframes anim-2 {
  0%,
  20% {
    /* left: -100%; */
    opacity: 0;
  }
  25%,
  35% {
    /* left: 25%; */
    opacity: 1;
  }
  40%,
  100% {
    /* left: 110%; */
    opacity: 0;
  }
}

@keyframes anim-3 {
  0%,
  40% {
    /* left: -100%; */
    opacity: 0;
  }
  45%,
  55% {
    /* left: 25%; */
    opacity: 1;
  }
  60%,
  100% {
    /* left: 110%; */
    opacity: 0;
  }
}

@keyframes anim-4 {
  0%,
  60% {
    /* left: -100%; */
    opacity: 0;
  }
  65%,
  75% {
    /* left: 25%; */
    opacity: 1;
  }
  80%,
  100% {
    /* left: 110%; */
    opacity: 0;
  }
}

@keyframes anim-5 {
  0%,
  80% {
    /* left: -100%; */
    opacity: 0;
  }
  85%,
  95% {
    /* left: 25%; */
    opacity: 1;
  }
  100% {
    /* left: 110%; */
    opacity: 0;
  }
}

/* End About US *