/* Lime Theme: modifies the default theme to inject a wee bit o' green in various places. */

/* Use Open Sans as the default font. */
@import url("https://fonts.googleapis.com/css?family=Bitter:300,400,500,700|Source+Code+Pro:300,400,500,700");

/* See https://getbootstrap.com/docs/5.2/customize/css-variables/#root-variables for variables to override. */
:root {
  --tf-green1: #136c14;
  --tf-green2: #4FA64F;
  --tf-green3: #85C285;
  --tf-green4: #e0f2df;
  --bs-font-sans-serif: "Bitter", sans-serif;
  --bs-link-color: var(--tf-green1);
  --tf-pill-bg: var(--tf-green3);
  --tf-icon-fill: var(--tf-green1);
  --tf-icon-hover: var(--tf-green2);
  /*--tf-page-bg-color: var(--bs-white);*/
  --tf-footer-bg-color: var(--tf-green4);
  --tf-projects-bg-color: var(--tf-green4);
}

h1,h2,h3,h4,h5 {
  color: var(--tf-green1);
}
body {
  cursor: url('/img/cursor1.png') 16 16, auto;
}
a, button {
  cursor: url('/img/click1.png') 8 8, pointer;
}
/* Format social media icons */
.tf-social {
  display: inline-block;
  fill: var(--tf-green1);
  height: 1.5em;
  vertical-align: -.1em;
  width: 1.5em;
  transition: 0.2s;
}

.tf-social:hover {
  fill: var(--tf-icon-hover);
}

a {
  text-decoration: none;
}

/* Simplify the styling of the bottom of Essay cards. */
.card-footer {
  background-color: white;
  border-top: none;
}
/* Hide download button when generating PDF */
.pdf-styles .pdf-download-btn {
  display: none;
  cursor: url('/img/click1.png') 8 8, pointer !important;
}

/* Smaller link styling for email and social links in PDF */
.pdf-styles .small-link {
  font-size: 8px; /* Smaller font for PDF links */
  color: black !important;
  visibility: visible;

}
.navbar-nav .nav-link:hover {
    color: #333;
}
.custom-navbar {
    background-color: var(--tf-green4); /* or any other color variable */
    border-bottom: 2px solid var(--tf-green4);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.nav-gif {
  width: 40px;
  height: 40px;
  margin: 0 5px;
  transition: transform 0.3s ease; /* Add a hover effect */
}

.nav-gif:hover {
  transform: scale(1.1); /* Slight zoom on hover */
}

/* Align navbar items better with padding */
.navbar {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #e0f2df !important;
}
/* Common styles for social link container */
.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 10px;
  text-decoration: none;
}

/* Tooltip Style for the First Tooltip */
.tooltip-one {
  background-color: #ffecf2 !important; /* Light pink background for tooltip one */
  color: #e0f2df; /* Text color */
  text-align: center;
  padding: 5px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000; /* Ensure tooltip appears above other elements */
}

/* Show the first tooltip on hover */
.social-link:hover .tooltip-one {
  visibility: visible;
  opacity: 1;
}

/* Tooltip Style for the Second Tooltip */
.tooltip-two {
  background-color: #d4e157; /* Light green background for tooltip two */
  color: #333; /* Text color */
  text-align: center;
  padding: 5px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  top: -30px; /* Position above the icon */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

/* Show the second tooltip on hover */
.social-link:hover .tooltip-two {
  visibility: visible;
  opacity: 1;
}

/* Style each GIF with rounded corners, shadow, and hover effect */
.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%; /* Make icons round */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1); /* Slight zoom effect */
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.3);
}
/* Tooltip styles only for the home page */
.social-link-home {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 10px;
  text-decoration: none;
}

.social-link-home .tooltip-one {
  visibility: hidden;  
  background-color: #ffecf2 !important;
  color: #e0f2df !important;
  text-align: center;
  padding: 5px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

/* Show tooltip on hover */
.social-link-home:hover .tooltip-one {
  visibility: visible;
  opacity: 1;
}

  /* Heading sizes */
  .pdf-styles h1.display-4 {
    font-size: 1.2rem !important;
    margin-bottom: 5px !important;
  }

  .pdf-styles h1.display-6 {
    font-size: 1rem !important;
    margin-bottom: 3px !important;
  }

  /* Compact lists */
  .pdf-styles ul {
    margin-left: 15px !important;
    padding-left: 10px !important;
  }

  /* Hide unnecessary elements */
  .pdf-styles .pdf-download-btn {
    display: none !important;
  }

  /* Ensure links are printable */
  .pdf-styles a {
    color: black !important;
    text-decoration: none !important;
  }

  /* Grayscale and print-friendly styling */
  .pdf-styles {
    color: black !important;
    filter: grayscale(100%);
  }

  /* Compact social links */
  .pdf-styles .small-link {
    font-size: 8px !important;
    color: black !important;
  }
}

/* Additional PDF-specific styles */
.pdf-styles .tf-social {
  fill: black !important;
}

body:not(.pdf-styles) .social-link-resume span {
  color: #333;
  font-weight: normal;
  font-size: 14px;
  text-decoration: none;
  color: var(--tf-green1);
}
/* Hide all SVG icons inside the social link sections */
.col.text-center .tf-social {
  display: inline-block !important;
}
