/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&family=Raleway:wght@400&family=Roboto:wght@400&family=Open+Sans:wght@400&family=Fira+Code:wght@400&display=swap');

/* General Body */
body {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  color: white;
  background-color: #1e1e1e;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100vw;
  box-sizing: border-box;
}

/* Responsive Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  color: #32af87;
  margin: 0.5em 0;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.75rem;
}

h5 {
  font-size: 1.5rem;
}

h6 {
  font-size: 1.25rem;
}


/* Subtitles and Section Headers */
.subtitle {
  font-family: 'Raleway', sans-serif;
  color: #dcdcdc;
  font-size: 1.25rem;
}

/* Common styles for both buttons */
.btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 5px;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
}

/* Primary button */
.primary-button {
  background-color: #32af87;
  color: white;
  border-radius: 50px;
  padding: 10px 20px;
}

.primary-button:hover {
  background-color: #28a770;
}

/* Secondary button */
.secondary-button {
  background-color: transparent;
  color: white;
  padding: 10px 20px;
  text-decoration: underline;
}

.secondary-button:hover {
  text-decoration: underline;
  color: #32af87;
}

/* Button container */
.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Media query for responsive design */
@media (min-width: 768px) {
  .button-container {
    flex-direction: row;
  }
}

/* Text Input Boxes */
input[type="text"],
textarea {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  padding: 10px;
  border: 1px solid #3c3c3c;
  background-color: #252525;
  color: #ffffff;
  border-radius: 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Cards or Containers */
.card {
  background-color: #2d2d2d;
  padding: 20px;
  border-radius: 16px;
  margin: 10px 0;
}

/* Navbar */
.navbar {
  background-color: #1e1e1e;
  padding: 10px 20px;
  border-radius: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.navbar a {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #ffffff;
  text-decoration: none;
  padding: 10px;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #32af87;
}

.navbar .logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #32af87;
  text-decoration: none;
  font-size: 1.25rem;
}

.navbar-nav .nav-item {
  margin-right: 15px;
}

.navbar-nav .nav-item:last-child {
  margin-right: 0;
}


/* Code Snippets */
code,
pre {
  font-family: 'Fira Code', monospace;
  font-size: 0.875rem;
  background-color: #252525;
  color: #ffffff;
  padding: 5px;
  border-radius: 4px;
  overflow-x: auto;
}

.dropdown-menu {
  background-color: #2d2d2d;
  border: none;
}

.dropdown-item {
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.dropdown-item:hover {
  background-color: #32af87;
  color: #ffffff !important;
}

/* content container spacer */
.spacer {
  margin-top: 20vh;
}

.transparent-bg {
  background-color: transparent !important;
}

/* full container styles */
.full-container {
  width: 100%;
  height: 75vh;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Ensure all child content respects the container’s size */
.full-container * {
  box-sizing: border-box;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
}

/* text input box */
.text-boxes-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 50vw;
  margin: 0 auto;
}

.text-box {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  box-sizing: border-box;
}

/* project cards */
.project-card {
  background-color: #2d2d2d;
  border-radius: 50px;
  padding: 1rem;
}

/* title containers */
.title-container {
  display: inline-block;
  text-align: center;
  position: relative;
}

.title-container h1 {
  display: inline-block;
  white-space: nowrap; /* Prevents text from wrapping */
}

.title-line {
  width: 10vw;
  height: 5px;
  background-color: #32af87;
  border-radius: 5px;
  margin-top: 5px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}



/* logos */
.logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px;
}

.logo-container a {
  display: inline-block;
  width: 10%;
  margin: 0 5px;
}

.logo-image {
  width: 20%;
  height: auto;
  max-width: 100px;
}

/* Ensure container background is transparent */
.container-fluid {
  background-color: transparent;
}

/* Flexbox for vertical centering */
.right-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.right-container img {
  max-width: 100%;
  height: auto;
}

.left-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.left-container p,
.left-container h1 {
  margin: 0;
}

.button-group {
  margin-top: 20px;
}

.btn-secondary {
  text-decoration: underline;
}

/* Sliding animations */
.fade-container {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-container.scrolled-into-view {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframe animations for logos */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tadaWithPause {
  0%, 25% {
    transform: scale(1);
  }
  35%, 55%, 75% {
    transform: scale(1.1) rotate(3deg);
  }
  45%, 65% {
    transform: scale(1.1) rotate(-3deg);
  }
  85%, 100% {
    transform: scale(1);
  }
}

.logo-container a img {
  animation: fadeSlideUp 1.5s ease forwards, tadaWithPause 3s ease 3s infinite;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.logo-container a {
  display: inline-block;
  margin-right: 10px;
}


/* Ensure logos are correctly contained and visible */
#logos-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* scroll bar */
/* WebKit Browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #333;
}

::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #888;
}

/* Firefox */
.scrollable-element {
  scrollbar-width: thin;
  scrollbar-color: #666 #333;
}

/* Responsive design for stacking layout */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
}

/* Media Queries */
@media (max-width: 1024px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .navbar a {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  button {
    width: 50px;
    height: 50px;
  }

  .navbar {
    padding: 5px 10px;
  }

  .navbar a {
    padding: 5px;
    font-size: 0.75rem;
  }

  .navbar .logo {
    font-size: 1rem;
  }
}


/* footer */
.footer {
  background-color: #2d2d2d;
}

footer p {
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 0;
  padding: 10px 0;
  line-height: normal
}

.footer-image {
  height: 4vh;
  width: 4vh;
  margin-left: 10px;
  vertical-align: middle; /* Align logos with the text */
}

@media (max-width: 576px) {
  .footer-image {
      height: 3vh;
      width: 3vh;
  }

  .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .footer-container .col-md-6 {
      text-align: center;
  }
}

/* skill logo container */
.skill-logos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10vh;
}

.skill-logo {
  flex: 1 1 calc(25% - 20px); /* 25% width per logo minus the gap */
  max-width: 150px;
  margin: 10px; /* Horizontal space between logos */
  text-align: center;
  pointer-events: none; /* can't copy and paste images */
}

.skill-logo img {
  width: 100%;
  height: auto;
  border-radius: 50px;
}

@media (max-width: 992px) {
  .skill-logo {
      flex: 1 1 calc(33.33% - 20px); /* 3 logos per row on medium screens */
      max-width: 120px;
  }
}

@media (max-width: 768px) {
  .skill-logo {
      flex: 1 1 calc(50% - 20px); /* 2 logos per row on small screens */
      max-width: 100px;
  }
}

@media (max-width: 576px) {
  .skill-logo {
      flex: 1 1 calc(100% - 20px); /* 1 logo per row on extra small screens */
      max-width: 80px;
  }
}


/* Gallery Carousel */
/* 50px border radius for images and gallery */
.carousel-inner img {
  border-radius: 50px;
}

.carousel-inner {
  border-radius: 50px;
}

/* Styles for carousel indicators (thumbnails) */
.carousel-indicators li {
  background-color: rgba(50, 50, 50, 0.7); /* Visible on light backgrounds */
  border: 1px solid #ffffff; /* Light border for visibility */
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.carousel-indicators .active {
  background-color: #32af87; /* Green for active thumbnail */
}

/* Text container to center text */
.text-container {
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
  .col-md-4 {
      width: 100%;
      order: 1; /* Text comes first on smaller screens */
  }
  .col-md-8 {
      width: 100%;
      order: 2; /* Gallery comes second on smaller screens */
  }
}


/* Music Player */
/* Music Player */
.separator {
  border-left: 1px solid #32af87; /* Thin green vertical line */
  margin-left: 10px;
  margin-right: 10px;
}

.music-player {
  background-color: #2D2D2D;
  border-radius: 50px;
  margin: auto;
  width: 75%;  /* Adjust the width to 75% */
}

.music-thumbnail {
  object-fit: cover;
}

.song-list {
  border-top: 1px solid #32af87;
  border-bottom: 1px solid #32af87;
  padding-top: 10px;
  padding-bottom: 10px;
  max-height: 200px;  /* Limit height and make scrollable */
  overflow-y: auto;
}

.music-item-info p {
  margin: 0;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

.controls button {
  border-radius: 50%;
  width: 3em;
  height: 3em;
  background-color: white;
  border: none;
  background-size: cover;
  background-repeat: no-repeat;
}

.controls button#prevBtn {
  background-image: url('../images/music_previous.png');
}

.controls button#playPauseBtn {
  background-image: url('../images/music_play.png');  /* Default to play image */
}

.controls button#nextBtn {
  background-image: url('../images/music_next.png');
}

.controls button#playPauseBtn.paused {
  background-image: url('../images/music_pause.png');
}

.music-item-thumbnail img {
  border-radius: 50%;
}

.music-item-info .text-muted {
  font-size: 0.8rem;
}

.music-progress-bar {
  background: #1e1e1e;
  cursor: pointer;
  border-radius: 50px;
  height: 10px;
  width: 50%;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}

.music-progress-bar::-webkit-slider-runnable-track {
  background: #32af87;
}

.music-progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
}

.time-label {
  color: white;
  font-size: 0.8rem;
  display: inline-block;
  padding: 0.5em;
}

/* Education Card */
.education-card {
  background-color: #2d2d2d;
  border-radius: 50px;
  margin-top: 1rem;
  padding: 0rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

p {
  margin: 0;
  padding: 0;
}

/* Default for larger screens */
.education-img {
  border-radius: 50px 0 0 50px;
}

/* On small screens (mobile), apply 50px border-radius to all corners */
@media (max-width: 1200px) {
  .education-img {
      border-radius: 50px !important;
  }
}

/* Soft Skills Container */
.soft-skills-container {
  margin-top: 3vh;
  text-align: center;
  background-color: #2d2d2d; /* Background color of the container */
  border-radius: 50px;        /* Rounded corners */
  padding: 2rem;              /* Padding inside the container */
}

/* Skill Item */
.skill-item {
  display: flex;
  justify-content: center;
  padding: 1rem;
}

/* Skill Box Styling */
.skill-box {
  background-color: #32af87;
  border-radius: 50px;
  padding: 10px 30px;
  color: white;
  text-align: center;
  width: 100%;
  max-width: 350px;
  display: flex; /* Use flexbox to center content */
  align-items: center; /* Vertically center the text */
  justify-content: center; /* Horizontally center the text */
  height: 100%; /* Take full height of the container in that row */
}

/* Paragraph Styling for Skill Box */
.skill-box p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
  text-align: center;
  word-wrap: break-word; /* Allow word wrap for long text */
}

/* Ensure all items in the same row have the same height */
.row {
  display: flex;
  flex-wrap: wrap;
}

.row .skill-item {
  display: flex;
  align-items: stretch; /* Ensure all skill-boxes in a row have the same height */
}


/* Responsive Behavior */
@media (max-width: 992px) { /* Medium screens */
  .skill-item {
      max-width: 50%;
  }
}

@media (max-width: 768px) { /* Small screens */
  .skill-item {
      max-width: 100%;
  }
}










/* nav bar */
/* .navbar {
    height: 10vh;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
} */

/* nav bar item spacing */
/* .navbar-nav .nav-link {
    margin-right: 20px;
} */

/* nav bar dropdown */
/* .custom-dropdown {
    z-index: 1000;
} */

/* nav bar desktop hovering effect */
/* @media (min-width: 992px) { */

/* adjust breakpoint if needed */
/* .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
} */

/* hamburger menu style */
/* @media (max-width: 992px) {
    .custom-navbar {
        background-color: #f8f9fa; */
/* Change this to your desired color */
/* text-align: center;
    }

    .custom-navbar .nav-item {
        float: none;
        display: inline-block;
    }
} */

/* nav bar dropdown item */
/* .custom-centered {
    text-align: center;
} */




/* update or delete website status */
/* .website-status p {
    margin: 0;
} */

/* pfp container */
/* .circular-container {
    width: 10em;
    height: 10em;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
} */


/* gallery controls */
/* .carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    color: black;
} */

/* button */
/* .custom-button {
    background-color: #33ae87;
    border: none;
    color: white;
    filter: brightness(100%);
    padding: 10px;
    transition: background-color 0.3s;
} */

/* button hover */
/* .custom-button:hover {
    background-color: #2a966f;
} */

/* button click */
/* .custom-button:active {
    background-color: #1f724e;
    outline: none;
}

.custom-button.clicked {
    background-color: #2a966f;
} */

/* skill card body */
/* .card-body {
    align-items: center;
    justify-content: center;
} */






/* button */




/* old code */
/* body,
ul {
    color: white;
    background-color: #202124;
    font-family: "M PLUS Rounded 1c";
    margin: 0;
    padding: 0;
}

header {
    background-color: #3c40438a;
    padding: 0.5em;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
} */

/* header-under {
    background-color: #3c40438a;
    filter: blur(5px);
    padding: 0.5em;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
} */

/* footer {
    background-color: #3c4043;
    color: #ffffff;
    padding: 0.5em;
    text-align: center;
}

h1,
h2 {
    color: #42c38d;
}

.container {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1em;
    text-align: center;
}

.right-container {
    flex: 1;
    padding: 1em;
    text-align: center;
}

.left-container {
    flex: 1;
    padding: 1em;
    text-align: left;
}

.center-container {
    padding: 1em;
    text-align: center;
} */

/* navigation */
/* nav {
    display: flex;
    justify-content: flex-end;
    padding: 0.5em;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline;
    margin-left: 0.5em;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5em;
}

nav ul li a:hover {
    background-color: #3c4043;
}

.menu {
    display: flex;
    list-style-type: none;
}

.menu li {
    margin-left: 0.5em;
}

.menu li a {
    color: #ffffff;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 1em;
    height: 2px;
    background-color: #ffffff;
    margin-bottom: 4px;
} */

/* Media query for small screens */
/* @media (max-width: 768px) {
    .menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
} */


