body {
}

.yomland {
  margin: auto;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  overflow: hidden;
  background: linear-gradient(
    315deg,
    rgba(101, 0, 94, 1) 3%,
    rgba(60, 132, 206, 1) 38%,
    rgba(48, 238, 226, 1) 68%,
    rgba(255, 25, 25, 1) 98%
  );
  animation: gradient 15s ease infinite;
  background-size: 400% 400%;
  background-attachment: fixed;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35rem;
  z-index: -1;
}
.yomland.hedloginbanner {
  height: 28rem;
}
.btn-yomloginsocial i {
  font-size: 1.3rem;
}

.theor {
  color: #5f5f5f;
}

.input-error {
  border: 2px solid red !important;
}

.error-message {
  color: red;
  font-size: 12px;
  margin-top: 5px;
}

.theor:before,
.theor:after {
  position: absolute;
  content: "";
  display: inline-block;
  width: 15%;
  height: 1px;
  position: relative;
  vertical-align: middle;
  background: linear-gradient(
    90deg,
    transparent,
    hsla(0, 0%, 46%, 0.4),
    hsla(0, 0%, 46%, 0.4)
  );
}

@keyframes gradient {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}
.wave {
  background: rgb(255 255 255 / 50%);
  border-radius: 1000% 1000% 0 0;
  position: absolute;
  width: 200%;
  height: 3rem;
  animation: wave 10s -3s linear infinite;
  transform: translate3d(0, 0, 0);
  opacity: 0.9;
  bottom: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}

.wave:nth-of-type(2) {
  bottom: -1.25em;
  animation: wave 18s linear reverse infinite;
  opacity: 0.8;
}

.wave:nth-of-type(3) {
  bottom: -2.5em;
  animation: wave 20s -1s reverse infinite;
  opacity: 0.9;
}

@keyframes wave {
  2% {
    transform: translateX(1);
  }

  25% {
    transform: translateX(-25%);
  }

  50% {
    transform: translateX(-50%);
  }

  75% {
    transform: translateX(-25%);
  }

  100% {
    transform: translateX(1);
  }
}

.navbar {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.yomlandinfo {
  margin-top: 10rem;
  color: #fff;
  text-align: right;
  margin-bottom: 2rem;
}
.yomlandinfo.hedlogin {
  margin-top: 7rem;
}

.profilecard {
  border-top: 1px solid #adadad;
  border-bottom: 1px solid #adadad;
}

.featurecause .innercontent {
  background: #fff;
  border-radius: 2rem;
}
.featurecause2 .innercontent {
  background: #fff;
  border-radius: 2rem;
  height: 400px;
}
.bg-gradient-danger {
  background: #f20643 !important;
  color: #fff !important;
}

.fright {
  float: right;
}
.aright {
  align-items: end;
}
.center {
  text-align: center;
}

.yom-comp-img img {
  width: 10rem;
}
/* Custom styles for mega dropdown */
.mega-dropdown {
  width: 600px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar {
  background: #fff6;
}

.mega-dropdown .row {
  padding: 10px;
}

.mega-dropdown h6 {
  font-weight: bold;
  margin-bottom: 10px;
}

.mega-dropdown .list-unstyled {
  margin: 0;
  padding: 0;
}

.mega-dropdown .list-unstyled li {
  margin-bottom: 10px;
}

.mega-dropdown .list-unstyled li a {
  color: #333;
  text-decoration: none;
}

.mega-dropdown .list-unstyled li a:hover {
  color: #007bff;
}

.mega-dropdown img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 10px;
}

/* Hide the nested submenu by default */
.nested-dropdown-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  margin-top: -7px;
  background-color: white;
  width: 400px; /* Adjust the width as needed */
}

/* Show the nested submenu on hover */
.dropdown-submenu:hover .nested-dropdown-menu {
  display: block;
}

.dropdown-item.dropdown-toggle::after {
  content: "\f0da";
  font-family: "FontAwesome";
  float: right;
}

/* Hover functionality for the main dropdown */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.navbartogglercust {
  display: none;
}
.mega-dropdown {
  background: #ffffff7d;
}

.mega-dropdown .list-unstyled li a span {
  font-size: 0.7rem;
  color: #676565;
}

.alternatemenu{
  display: none;
}

div#navbarNavDropdown {
  z-index: 9;
}
.toggacctsettback {
  position: absolute;
  top: 0;
  left: 0;

}

img#profilePic:hover {
  box-shadow: inset 0px 1px 7px 230px #000;
}


@media (min-width: 992px) {
  .navbar-collapse {
    display: flex !important;
    position: static;
    transform: none;
    background-color: transparent;
   
  }

  /* Hide the close button on larger screens */
  .close-btn {
    display: none;
  }
}

/* Hide the navbar by default */

@media (max-width: 991.98px) {
  .navbartogglercust {
    display: flex;
  }

  /* Ensure the navbar takes full width */
  .navbar-collapse {
    position: absolute;
    right: -2rem;
    top: 0;
    width: 100%;
    background-color: #f8f9fa;
    transition: transform 0.8s ease-in-out; /* Smooth sliding transition */
    transform: translateX(
      100%
    ); /* Hidden off-screen to the right */ /* Optional: change background if needed */
  }

  .collapse {
    
    transform: translateX(100%); /* Initially hidden to the right */
    transition: transform 0.5s ease-in-out; /* Smooth transition */
  }

  /* When the navbar is expanded, show it sliding in from left */
  .collapse.show {
    display: block;
    transform: translateX(0); /* Slides in from the left */
  }
  /* Slide-out effect */
  .collapse.slide-out {
    transform: translateX(100%); /* Slide out to the right */
    transition: transform 0.5s ease-in-out; /* Match duration with slide-in */
  }

  /* Additional styling for the navbar-toggler */
  .navbar-toggler {
    outline: none;
    border: none;
  }

  /* Optional: Style the navbar links */
  .navbar-nav .nav-link {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
    z-index: 1;
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
  }

  .default-menu
  {
    display: none !important;
  }
  .alternatemenu{
    display: block;
  }
  
}
@media (max-width: 768px) {
  .mega-dropdown {
    width: 100%;
  }
  .navbartogglercus {
    display: block;
  }
}
@media (max-width: 450px) {
  .navbartogglerserch {
    display: none;
  }
}
