/* .roboto-mono-<uniquifier> {
  font-family: "Roboto Mono", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */

html,
body {
  font-family: "Roboto Mono", serif;
  background-color: #323437;
  color: #d1d0c5;
  scroll-behavior: smooth;
  height: 100%; /* Ensure the body spans the full height of the viewport */
  margin: 0; /* Remove default margin to avoid unwanted spacing */
  display: flex;
  flex-direction: column; /* Stack elements vertically */
}

.custom-navbar {
  background-color: #2c2e31;
}

.navbar-brand,
.nav-link {
  font-size: 1.1rem;
  color: #d1d0c5;
}

.nav-link:hover {
  color: #e2b714;
}

.nav-link i {
  transition: transform 0.3s ease-in-out; /* Smooth transition */
}

.nav-link:hover i {
  transform: scale(1.4); /* Slight zoom-in effect */
}

.nav-space {
  padding: 0 0.5rem;
}

.brand-name {
  font-family: "Freckle Face", serif;
  font-size: 1.5rem;
  color: #e2b714;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-img {
  width: 90%;
  height: 90%;
  border: 2px solid #e2b714;
  border-radius: 5%;
  transition: transform 0.2s ease-in-out;
  object-fit: cover;
}

.hero-img:hover {
  transform: scale(1.05);
}

.role-text {
  transition: opacity 0.5s ease-in-out; /* Smooth transition for fading effect */
  opacity: 1; /* Fully visible */
}

.role-text.hide {
  opacity: 0; /* Hidden */
}

.details {
  text-align: justify;
}

.tooltip {
  font-family: "Roboto Mono", sans-serif; /* Change font */
  font-size: 14px; /* Adjust font size */
  background-color: #333 !important; /* Background color */
  color: #fff !important; /* Text color */
  border-radius: 4px; /* Rounded corners */
  padding: 8px 12px; /* Add padding */
}

.tooltip .arrow::before {
  background-color: #333 !important; /* Match arrow background with tooltip */
}

.tooltip-inner {
  max-width: 350px; /* Adjust width */
  text-align: center; /* Center the text */
  background-color: #444 !important; /* Tooltip background color */
  color: #f0f0f0 !important; /* Tooltip text color */
  border-radius: 5px; /* Smooth corners */
  padding: 10px; /* Add spacing */
}

.details-link {
  color: #e2b714;
  text-decoration: none;
}

.details-link:hover {
  color: #d1d0c5;
}

.sticky-footer {
  background-color: #2c2e31;
  color: #d1d0c5;
  text-align: center;
  padding: 1rem;
}

.footer-name {
  color: #e2b714;
}

.main-container {
  height: calc(
    100vh - 40px
  ); /* Account for navbar height (default Bootstrap navbar is 56px) */
  margin-top: 5px; /* Push main content below navbar */
}
.left-fixed {
  position: sticky;
  top: 0;
  height: 100%; /* Full height of parent container */
  overflow-y: auto;
  background-color: transparent; /* Light background */
}
.right-scrollable {
  height: 100%;
  overflow-y: scroll;
  scrollbar-width: none; /* For Firefox */
  -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

.right-scrollable::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Opera */
}

.exp_row {
  height: 380px;
}
.job_dec {
  font-size: 12px;
  font-style: italic;
}

.job_title {
  font-size: 16px;
  font-weight: bold;
}

.edu_card {
  background-color: #323437;
  color: #d1d0c5;
  border-left: 1px solid #e2b714;
  box-shadow: #2c2e31 0px 0px 10px;
}

.project_link {
  color: #d1d0c5;
  text-decoration: none;
}

.project_link:hover {
  color: #e2b714;
}

/* Footer */
footer {
  background-color: #2c2e31;
  color: #d1d0c5;
  text-align: center;
  padding: 1rem 0;
  width: 100%;
  margin-top: auto; /* Push the footer to the bottom of the page */
  position: relative; /* Ensure proper positioning */
}

.footer-name {
  color: #e2b714;
}

@media screen and (max-width: 1200px) {
  .hero-img {
    margin-top: 20px;
    width: 100%;
    height: 80%;
    margin-bottom: 0px;
  }
}

@media screen and (max-width: 1080px) {
  .hero-img {
    margin-top: 20px;
    width: 100%;
    height: 80%;
    margin-bottom: 0px;
  }
}

@media screen and (max-width: 768px) {
  .navbar-nav {
    justify-content: center !important; /* Centers the links */
    text-align: center; /* Ensures proper centering */
  }
  .nav-link {
    border-bottom: 1px solid #2c2e31; /* Add a border at the bottom */
  }
  .hero-img {
    width: 70%;
    height: 80%;
    margin-bottom: 0px;
  }
  .title_text,
  .role-text {
    margin-top: 0;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .hero-img {
    width: 50%;
    height: 80%;
  }
}
