@font-face {
  font-family: Alieron-Heavy;
  src: url("Aileron-Heavy.otf") format("opentype");
}

@font-face {
  font-family: Alieron;
  src: url("Aileron-Regular.otf") format("opentype");
}

body {
  margin: 0;
  font-family: Rubik, sans-serif, Alieron;
}

.f-alieron {
  font-family: Alieron;
}

.f-alieron-heavy {
  font-family: Alieron-Heavy;
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(78, 77, 77, 0.5);
  border-radius: 20px;
}
/* animation start */

.fade-in {
  opacity: 0;
}

.fade-in.active {
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}

.anim {
  opacity: 0;
  transform: translateY(80px);
  scroll-behavior: smooth;
}

.anim1 {
  opacity: 0;
  transform: translateX(-80px);
  scroll-behavior: smooth;
}

.anim2 {
  opacity: 0;
  transform: translateX(80px);
  scroll-behavior: smooth;
}

.anim.active {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.85s ease-in;
}

.anim1.active,
.anim2.active {
  opacity: 1;
  transform: translateX(0);
  transition: transform 0.45s ease-in;
}

.text-underline-hover:hover {
  transition: all 0.25s ease;
  text-decoration: underline;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
/* animation end */

/* nav bar start*/
.glassy-navbar {
  background: rgba(0, 0, 0, 0); /* start fully transparent */
  backdrop-filter: blur(0px); /* no blur initially */
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease,
    border-color 0.4s ease;
}

.glassy-navbar.scrolled {
  background: rgba(0, 0, 0, 0.1); /* glassy black */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar ul li {
  border-bottom: 3px solid green;
  border-width: 0;
}

.navbar ul li:hover {
  border-width: 100%;
}

.navbar .nav-item a {
  color: white;
  position: relative;
  font-weight: bold;
  text-decoration: none;
}

.nav-item a:focus,
.nav-item a:hover {
  color: orange;
  transition: all 0.3s ease-in;
}
.nav-item-2 {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Visible state */
.nav-item-2.show {
  opacity: 1;
  transform: translateY(0);
}
.navbar .nav-link::after {
  content: " ";
  position: absolute;
  left: 0;
  bottom: 0;
  border-bottom: 3px solid #0ea293;
  width: 0%;
  transition: 0.5s;
}

.nav-link.active {
  color: orange !important;
}

.nav-link.active::after {
  width: 100%;
}

.navbar .nav-link:hover::after {
  width: 100%;
}

.navbar-toggler {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Hamburger bars */
.navbar-toggler .bar {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff; /* Change color as needed */
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Add some subtle staggered width for visual interest */
.navbar-toggler .bar:nth-child(1) {
  width: 70%;
}
.navbar-toggler .bar:nth-child(2) {
  width: 100%;
}
.navbar-toggler .bar:nth-child(3) {
  width: 85%;
}

/* When toggled (active), animate widths */
.navbar-toggler.active .bar:nth-child(1) {
  width: 100%;
}
.navbar-toggler.active .bar:nth-child(2) {
  width: 60%;
}
.navbar-toggler.active .bar:nth-child(3) {
  width: 100%;
}

.mainNavbar {
  display: flex !important;
  width: 100%;
  background: transparent;
  position: static;
  flex-direction: column;
  justify-content: center;
  align-items: end;
  border-radius: 0;
  padding: 0;
  transition: all 0.3s ease;
}

/* Hide by default on small screens */
@media (max-width: 992px) {
  .mainNavbar {
    display: none !important;
    transform: translateX(100%);
    opacity: 0;
  }

  .mainNavbar.active {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgb(11 41 36);
    z-index: 999;
    padding: 1rem;
    border-radius: 0 0 1rem 1rem;
    align-items: flex-end;

    /* Slide-in effect */
    animation: slideIn 0.4s ease forwards;
  }

  .mainNavbar.closing {
    animation: slideOut 0.3s ease forwards;
  }

  .mainNavbar .navbar-nav {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
  }
  .absolute-package {
    position: static !important;
  }
}
@media (max-width: 500px) {
  .mainNavbar .navbar-nav {
    display: block;
    text-align: center;
  }
}
/* Keyframes for animation */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
/*nav bar end*/
/*home page start*/
#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader {
  position: absolute;
  width: 50px;
  height: 50px;
  border-top: 5px solid green;
  border-bottom: 5px solid red;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.glassy-black {
  background: rgba(0, 0, 0, 0.8); /* transparent black */
  backdrop-filter: blur(5px); /* frosted glass effect */
  -webkit-backdrop-filter: blur(5px); /* Safari support */
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.highlighted-black {
  background: linear-gradient(
    145deg,
    rgba(0, 0, 0, 0.85),
    rgba(30, 30, 30, 0.9)
  );
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.05);
}

.highlighted-white {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.85),
    rgba(245, 245, 245, 0.9)
  );
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.05);
}

.img-wrapper {
  position: relative;
  display: inline-block; /* shrink to fit image size */
}

.bubble-30 {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  animation: float 3s ease-in-out infinite;
}

.bubble-13 {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  animation: float 4s ease-in-out infinite;
}
.top-rounded {
  position: absolute;
  top: 30%;
  right: -27px;
  width: 55px;
  height: 55px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rightthentop {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  border-radius: 50%;
  padding: 20px;
}
@media (max-width: 710px) {
  .rightthentop {
    top: 0;
    right: 50%;
  }
}
/*home page end*/
/*special deals page start*/

.absolute-package {
  position: absolute;
  top: -20%;
}
.middle-rounded {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/*special deals page end*/

.h-45 {
  height: 45vh;
}
.w-90 {
  width: 90%;
}
.bg-pink {
  background-color: pink;
}
.bg-success-hover:hover {
  background-color: rgb(var(--bs-success-rgb)) !important;
  transition: background-color 0.3s ease-in-out;
}

.text-secondary-hover {
  color: var(--bs-gray);
}

.text-secondary-hover:hover {
  color: var(--bs-white);
}

.modal {
  min-width: 60% !important;
}

/* index section start */
.loggeduser .usermiddlemenu {
  flex: 1;
  overflow-y: auto;
  width: 60%;
  margin-left: 2%;
  margin-right: 22%;
  transition: 0.25s ease;
}

.icon {
  background-color: rgb(255, 255, 255);
}

.icon-bg-red {
  background-color: red;
  transition: all 0.25s ease;
}

.icon-bg-pink {
  background-color: rgb(var(--bs-purple));
  transition: all 0.25s ease;
}

.icon-bg-pink-subtle {
  background-color: rgba(var(--bs-purple), 0.6);
  transition: all 0.25s ease;
}

.icon-bg-success {
  background-color: rgb(var(--bs-success-rgb));
}

.icon-bg-success-subtle {
  background-color: rgba(var(--bs-success-rgb), 0.6);
}

.icon-bg-pink-hover:hover {
  background-color: rgb(var(--bs-purple));
}

.icon-bg-success-hover:hover {
  background-color: rgb(var(--bs-success-rgb));
}

.icon-bg-grey {
  background-color: rgb(117, 115, 115);
  transition: all 0.25s ease;
}

.icon-bg-white-hover:hover,
.reaction-btn:hover > .icon-bg-white-hover,
a:hover > .icon-bg-white-hover {
  background-color: white;
}

.icon-bg-white {
  background-color: rgb(255, 255, 255);
  transition: all 0.25s ease;
}

.icon-bg-green {
  background-color: rgba(46, 206, 2, 0.8);
  transition: all 0.25s ease;
}

.icon-bg-green-hover:hover {
  background-color: rgba(46, 206, 2, 0.8);
  transition: all 0.25s ease;
}

.icon-bg-grey-hover:hover,
.reaction-btn:hover > .icon-bg-grey-hover {
  background-color: rgb(54, 53, 53);
}

/* modal section start */
.previewBox {
  display: flex;
  flex-wrap: wrap;
}

.previewBox .previewImg {
  position: relative;
  border: 2px solid rgba(128, 128, 128, 0.5);
  border-radius: 5px;
  margin-right: 5px;
  margin-bottom: 5px;
}

.previewImg img {
  padding: 2px;
  object-fit: cover;
  max-width: 120px;
  max-height: 100px;
}

.previewcrossbtn {
  display: none;
  transition: all 0.25s ease;
}

.previewImg:hover > .previewcrossbtn {
  cursor: pointer;
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  color: red;
}

#choosepostimage,
#choosearticleimage {
  display: none;
}

#imageInputDiv {
  display: none;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(-15%, -50%);
  background-color: white;
  min-width: 200px;
  border-radius: 5px;
  border: 2px solid grey;
  padding: 0.5rem;
}

#imagewidthparam,
#imageheightparam {
  width: 40px;
  outline: none;
}

#customImgInput,
#customVideoInput {
  display: inline-block;
  cursor: pointer;
  font-size: 16px;
  position: relative;
  width: 40px;
  height: 30px;
  text-align: center;
  border: 2px solid rgba(128, 128, 128, 0.5);
  border-radius: 5px;
  padding: 2px;
  margin-right: 5px;
}

#chooseinnerimage {
  display: none;
}

#textbody img {
  position: relative;
  cursor: pointer;
  max-width: 100%;
  padding: 5px;
}

.img-options {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgb(255, 255, 255);
  box-shadow: 0 0 10px black;
  border: 1px solid #ccc;
  padding: 10px;
}

.img-options a {
  cursor: pointer;
}
/* modal section end */
/* footer section start */
.toaster {
  position: fixed;
  left: 10px;
  bottom: 10px;
  z-index: 9999;
}

.toaster .toast-message {
  position: relative;
  display: flex;
  background: white;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 103, 138, 0.5);
  max-width: 400px;
  min-height: 80px;
  overflow: hidden;
  border: 2px solid rgba(128, 128, 128, 0.4);
  margin-top: 1rem;
  margin-bottom: 1rem;
  transition: all 0.5s ease-in;
}

/* footer section end */
