@import url("https://fonts.googleapis.com/css2?family=Lilita+One&display=swap");

html,
body {
  font-family: "Lilita One", cursive;
  font-size: 16px;

  /* background-image: url("../img/bgLeft.svg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto; */
}

a:hover {
  color: #b9eaff;
}

.gray-color {
  color: #858585;
}

.bg-gray {
  background-color: #d9d9d9;
}

.bg-pink {
  background-color: #ffebeb;
}
.bg-blue {
  background-color: #b9eaff;
}

.navbar {
  background-image: linear-gradient(
    to bottom,
    rgb(255, 255, 255),
    rgba(255, 255, 255, 0.616),
    rgba(255, 255, 255, 0.384),
    rgba(111, 0, 255, 0)
  );
}

.logo {
  font-size: 2.5rem;
  margin: 0 3rem;
  color: #000000;
}

.navbar-brand {
  font-size: 4rem;
}

.navbar-nav {
  font-size: 2rem;
  border-radius: 50px;
  background: #b9eaff;
}

.nav-link {
  margin: 0 3rem;
  color: #000000;
}

.navbar-nav .nav-link.active {
  color: #858585;
  border-radius: 50px;
  background: #ffebeb;
  padding: 0 5rem;
  margin: 8px 8px 8px 0px;
}

/* Custom Tooltip Styles - Matching the cute popover design */
.tooltip {
  font-family: inherit; /* Inherit body/robot font */
  font-size: 0.875rem; /* Slightly smaller for cuteness */
  z-index: 1080; /* Above Bootstrap's default */
}

.tooltip .tooltip-inner {
  font-family: inherit;
  font-size: 0.875rem;
  max-width: 250px; /* Keep it compact */
  border: none;
  border-radius: 16px; /* Extra rounded for cute */
  box-shadow: 0 8px 32px rgba(255, 105, 180, 0.3); /* Soft pink glow shadow */
  background: linear-gradient(
    135deg,
    #ffeef8 0%,
    #f8e8ff 100%
  ); /* Pastel pink-purple gradient */
  color: #333; /* Dark text for contrast */
  padding: 12px 16px; /* More breathing room */
  line-height: 1.4;
  animation: tooltipFadeIn 0.3s ease-out; /* Smooth entrance */
}

/* Tooltip arrow styling - make it cute with gradient match */
.tooltip .tooltip-arrow::before {
  border-top-color: #ffeef8; /* Matches gradient start for top placement */
  filter: drop-shadow(
    0 2px 4px rgba(255, 105, 180, 0.2)
  ); /* Subtle shadow on arrow */
}

/* Arrow colors for different placements */
.tooltip.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: #ffeef8;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
  border-bottom-color: #ffeef8;
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
  border-left-color: #ffeef8;
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
  border-right-color: #ffeef8;
}

/* Smooth fade-in animation */
@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media only screen and (max-width: 768px) {
  .tooltip {
    max-width: 80vw; /* Prevent overflow on narrow screens */
  }
  .tooltip .tooltip-inner {
    font-size: 0.75rem; /* Smaller text if needed */
  }
}

/* Hover effect on trigger image for advanced interactivity */
.feature-img[role="button"]:hover {
  transform: scale(1.05); /* Subtle zoom */
  transition: transform 0.2s ease;
  filter: drop-shadow(
    0 4px 12px rgba(255, 105, 180, 0.4)
  ); /* Pink glow on hover */
}

/* Animations */
@keyframes sparkle {
  from {
    transform: scale(1);
    opacity: 0.7;
  }
  to {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* Heart-specific tweak (for the col-6 heart) */
.heart {
  cursor: pointer;
}

.heart:hover + .popover,
.heart:focus + .popover {
  background: linear-gradient(
    135deg,
    #ff69b4 0%,
    #ffc0cb 100%
  ); /* Hotter pink for heart */
}

#home {
  background-image: url("../img/bgLeft.svg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: auto;
}

#work {
  background-image: url("../img/bgRight.svg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: auto;
}

#content {
  margin-top: 130px;
}

.home-main {
  margin-bottom: -2rem;
}

.welcome-text {
  font-size: 6.2rem;
  margin: 15rem 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  position: relative;
}

.guitar {
  width: 29%;
  left: 39%;
  position: absolute;
}

.coding {
  width: 17%;
  left: 52%;
  top: -20%;
  position: absolute;
}

.camera {
  width: 27%;
  left: 60%;
  top: 15%;
  position: absolute;
}

.cards {
  width: 16%;
  right: 16%;
  top: -18%;
  position: absolute;
}

.business {
  width: 18%;
  right: 8%;
  top: -10%;
  position: absolute;
}

#featured-img {
  position: relative;
  margin-top: 15%;
}

.feature-img {
  position: absolute;
  width: 11%;
  bottom: 100%;
  pointer-events: auto;
  z-index: 1;
}

.feature-img:hover {
  /* width: 50%; */
  transform: scale(1.2);
}

.feature-img.heart {
  width: 18%;
  right: 0%;
  top: 80%;
  position: absolute;
  animation: 1.5s ease 0s infinite beat;
}

@keyframes beat {
  0%,
  50%,
  100% {
    transform: scale(1, 1);
  }
  30%,
  80% {
    transform: scale(0.92, 0.95);
  }
}

@keyframes pulse {
  0%,
  50%,
  100% {
    background: #fee;
  }
  30%,
  80% {
    background: #fff;
  }
}

.custom-hr {
  height: 12px;
  border-top: 5px solid #858585;
  border-bottom: 5px solid #858585;
}

#about {
  margin-top: 5rem;
}

.about-left {
  margin-top: 16rem;
}

.about-text {
  font-size: 6rem;
}

.about-info {
  font-size: 3rem;
}

.skills {
  position: relative;
  z-index: 999;
}

.clickToSee {
  position: absolute;
  width: 65%;
  margin-top: -14%;
  margin-left: 5%;
  --move-distance: 10px;
  animation: mover 2.3s infinite alternate;
}

.btn-main {
  transform: scale(1.2);
  color: #858585;
  box-shadow: 0px 5px 4px #b9eaff;
  border-radius: 50px;
  background: #ffebeb;
  /* margin-left: 23rem; */
  border: none;
}

.btn-main:hover {
  transform: scale(1.4);
  color: #858585;
  background: #ffebeb;
}

.funimg {
  position: relative;
}

.teehee {
  position: absolute;
  width: 25%;
  margin-top: -24%;
  margin-left: 15%;
}

#work {
  margin-top: 5rem;
}

.work-card {
  padding: 5rem 0;
  box-shadow: 0px 5px 4px #858585;
  position: relative;
}

.work-card:hover {
  transform: scale(1.1);
}

.work-img {
  position: absolute;
  left: 35%;
  bottom: -15%;
  z-index: 999;
  --move-distance: 6px;
  animation: mover 2.3s infinite alternate;
}

.work-img:nth-child(even) {
  animation-direction: alternate-reverse;
}

@-webkit-keyframes mover {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(var(--move-distance) * -1));
  }
}

.subscribe {
  height: 4rem;
  border: 0.4rem solid #858585;
  border-radius: 50px;
  background-color: #ffebeb;
  border-right: 0;
}

.subscribe:focus {
  background-color: #ffebeb;
  /* border: 0.4rem solid #d9d9d9; */
}

.subscribe::placeholder {
  color: #858585;
  text-align: center;
  font-size: 1.3rem;
}

.btn-subscribe {
  padding: 0 3rem;
  border: 0.4rem solid #858585;
  border-radius: 50px;
  color: #000000;
  background-color: #b9eaff;
  font-size: 1.5rem;
  border-left: 0;
}

.btn-subscribe:hover {
  background-color: #d9d9d9;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */

  .welcome-text {
    font-size: 4rem;
    margin: 10rem 0;
  }

  .guitar {
    width: 30%;
    left: 39%;
    top: -23%;
    position: absolute;
  }

  .coding {
    width: 20%;
    left: 55%;
    top: -27%;
    position: absolute;
  }

  .camera {
    width: 35%;
    left: 55%;
    top: -13%;
    position: absolute;
  }

  .cards {
    width: 20%;
    right: 5%;
    top: -27%;
    position: absolute;
  }

  .business {
    width: 25%;
    right: 0%;
    top: -20%;
    position: absolute;
  }

  #about {
    margin-top: 5rem;
  }

  .about-left {
    margin-top: 1rem;
  }

  .about-text {
    font-size: 4rem;
  }

  .about-info {
    font-size: 3rem;
  }

  .clickToSee {
    position: absolute;
    width: 90%;
    margin-top: -5%;
    margin-left: 15%;
    animation: mover 2.3s infinite alternate;
  }

  .teehee {
    position: absolute;
    width: 45%;
    margin-top: -42%;
    margin-left: -10%;
  }

  .feature-img.heart {
    width: 40%;
    right: 30%;
    top: 40%;
    position: absolute;
    animation: 1.5s ease 0s infinite beat;
  }
}

/* Form Loading Spinner Styles */
.form-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  border-radius: inherit;
}

.form-loading-overlay.show {
  display: flex;
}

.form-loading-spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: text-bottom;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
  color: #858585;
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

.form-loading-text {
  margin-left: 0.75rem;
  color: #858585;
  font-size: 1rem;
}

.form-submitting {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.form-submitting input,
.form-submitting textarea,
.form-submitting button {
  pointer-events: none;
}
