:root {
  /* --card_lo_bg: #3a3a3a; */
  --card_lo_bg: #bebebe;
}

* {
  padding: 0;
  margin: 0;
  border: border-box;
}

.loader {
  width: fit-content;
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.7rem;
  background: linear-gradient(
    to right,
    rgb(255, 0, 0),
    rgb(232, 14, 199),
    rgb(3, 248, 248)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.2s ease-in-out;
  /* animation: fadeIn 1s infinite alternate; */
}

#s {
  background: linear-gradient(to right, rgb(246, 40, 174), rgb(69, 47, 237));
  /* -webkit-background-clip: text; */
  transition: all 2s ease-in-out;
  -webkit-text-fill-color: transparent;
  /* animation: fadeIn 2s infinite alternate; */
  opacity: 1;
}

#h {
  position: relative;
  background: linear-gradient(to right, rgb(156, 60, 240), rgb(57, 109, 243));
  /* -webkit-background-clip: text; */
  -webkit-text-fill-color: transparent;

  transform: translateY(400px);
  transition: transform 2s ease-in-out;
  /* animation: fadeIn 2s infinite alternate; */
  opacity: 1;
}

#u {
  background: linear-gradient(to right, rgb(63, 80, 236), rgb(56, 176, 240));
  /* -webkit-background-clip: text; */
  -webkit-text-fill-color: transparent;
  transition: all 2s ease-in-out;
  /* animation: fadeIn 2s infinite alternate; */
  opacity: 1;
}

@keyframes fadeIn {
  0% {
    /* opacity: 0.3; */
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateY("70px");
    transform: translateX("100px");
    opacity: 1;
  }
}

/* From Uiverse.io by Smit-Prajapati */
.loader {
  display: none;
  height: 2px;
  width: 100%;
  background: rgb(44, 44, 44);
  position: fixed;
  /* overflow: hidden; */
  top: 0;
  z-index: 10;
}
.loader .black_overlay {
  background: linear-gradient(
    87deg,
    /* rgb(0, 0, 0) 0%,
    rgba(0, 0, 0, 0.14) 30%,
    rgba(0, 0, 0, 0.14) 70%,
    rgb(0, 0, 0) 100% */
  );
  position: absolute;
  inset: 0px;
}
.loader .light {
  width: 150px;
  height: 100%;
  position: absolute;
  left: -20%;
  top: 0px;
  background: linear-gradient(
    87deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 204, 255) 40%,
    rgb(0, 204, 255) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  animation: light 1.5s infinite ease-in-out;

  box-shadow: 0 0 30px rgb(0, 204, 255);
}

@keyframes light {
  from {
    left: -30%;
  }
  to {
    left: 100%;
  }
}

/* website message */
.web_message_u {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.web_message_u .message_box_us {
  padding: 20px;
  border-radius: 5px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
}

.web_message_u .message_box_us button {
  background: #fff;
  color: #000;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.web_message_u .message_box_us p {
  margin: 0;
  font-size: 1.2rem;
  text-align: center;
  line-height: 1.5;
  text-transform: none;
}

/* cart show loader */

.cart_lo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--border-color);
  padding-top: 7px;
}

.cart_lo > .user_lo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart_lo > .user_lo > .user_img_lo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--card_lo_bg);
  opacity: 0.8;
}
.cart_lo > .user_lo > .follow_lo {
  width: 80px;
  height: 25px;
  border-radius: 5px;
  background-color: var(--card_lo_bg);
  opacity: 0.8;
}

.cart_lo > .user_lo > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
}

.cart_lo > .user_lo > div > .name_lo {
  width: 50%;
  height: 18px;
  border-radius: 3px;
  background-color: var(--card_lo_bg);
  opacity: 0.8;
}
.cart_lo > .user_lo > div > .username_lo {
  display: flex;
  width: 60%;
  gap: 1rem;
}
.cart_lo > .user_lo > div > .username_lo > .user_na_lo {
  width: 50%;
  height: 18px;
  border-radius: 3px;
  background-color: var(--card_lo_bg);
  opacity: 0.8;
}
.cart_lo > .user_lo > div > .username_lo > .time_lo {
  width: 50%;
  height: 18px;
  border-radius: 3px;
  background-color: var(--card_lo_bg);
  opacity: 0.6;
}

.cart_lo > .title_lo {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 85%;
  margin: 10px 0;
  padding: 10px, 0, 10px, 0;
}

.cart_lo > .title_lo > .title_text_1_lo {
  width: 100%;
  height: 18px;
  border-radius: 3px;
  opacity: 0.8;
  background-color: var(--card_lo_bg);
}

.cart_lo > .title_lo > .title_text_2_lo {
  width: 90%;
  height: 18px;
  border-radius: 3px;
  background-color: var(--card_lo_bg);
  opacity: 0.6;
}

.cart_lo > .img_lo {
  display: flex;
  flex: 1;
  width: 100%;
}
.cart_lo > .img_lo > .img {
  width: 100%;
  height: 300px;
  max-width: 400px;
  background-color: var(--card_lo_bg);
  opacity: 0.95;
  border-radius: 1rem;
}

.cart_lo > .like_and_comment_lo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}
.cart_lo > .like_and_comment_lo > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 0;
}
.cart_lo > .like_and_comment_lo > div > .icon_lo {
  width: 60px;
  height: 25px;
  border-radius: 5px;
  background-color: var(--card_lo_bg);
  opacity: 0.8;
}

.cart_lo > .like_and_comment_lo > .right_lo {
  justify-content: flex-end;
  gap: 20px;
}
.cart_lo > .like_and_comment_lo > .left_lo {
  gap: 20px;
}

/* Loading Animation */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.loading-indicator {
  width: 80%;
  flex-direction: column;
}
