*{
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;  
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* particleground demo */

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  background: #000521;
  font-family: 'Roboto', sans-serif;
  color: #fff;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}

#particles {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#intro {
  position: absolute;
  left: 0;
  top: 50%;
  padding: 0 10px;
  width: 100%;
  text-align: center;
}
h1 {
  text-transform: uppercase;
  font-size: 50px;
  font-weight: 120;
  color: #ffffff;
  letter-spacing: 0.05em;
}
h2 {
  margin: 0 0 30px 0;
  font-size: 24px;
}
h4 {
  font-weight: bold;
  padding-top: 2px;
  padding-bottom: 2px;
}
p {
  margin: 0 0 30px 0;
  font-size: 18px;
  font-family: 'Syncopate', sans-serif;
}


@media only screen and (max-width: 100px) {
  #intro {
    padding: 0 10px;
  }
  h1 {
    font-size: 15px;
  }
  h1::after {
    height: 6px;
  }
  p {
    font-size: 18px;
  }
  .btn {
    font-size: 16px;
  }
}

@media only screen and (max-width: 100px) {
  h1 {
    font-size: 15px;
  }
  h1::after {
    height: 4px;
  }
}

.job-title {
    font-size: 24px;
    margin-top: 10px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
}

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

.animated-text-link, .icon-link {
    transition: transform 0.3s ease;
    display: inline-block;
}

.animated-text-link {
    color: #fff;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    margin: 5px;
    padding: 8px 15px;
}

.animated-text-link:hover, .icon-link:hover {
    transform: scale(1.3);
}

/* Style for LinkedIn, GitHub, Mail icons */
.icon-link {
    color: white;
    font-size: 2em;
    margin: 0 10px;
}

#about-content-container, #projects-content-container {
  visibility: hidden; /* Initially hidden */
  opacity: 0; /* Initially fully transparent */
  transition: visibility 0s, opacity 0.5s linear;
  left: 50%;
  width: 80%; /* Adjust width as needed */
  transition: all 0.5s ease;
}

#about-content, #projects-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 5%);
  width: 80%; /* Default width */
  color: white;
  background-color: rgba(0, 5, 33, 0.9);
  border-radius: 5%;
  text-align: center;
  transition: all 0.5s ease;
  padding: 20px; /* Add padding for better spacing */
  overflow-y: auto;
  max-height: 90vh;
}

@media (max-width: 768px) {
  #about-content, #projects-content {
    width: 90%; /* Slightly increase width on smaller tablets */
    overflow-y: auto; /* Enable vertical scrolling */
    transform: translate(-50%, 5%);
    max-height: 90vh;
  }

  #about-content, #projects-content p,
  .about-section h3,
  .timeline-item,
  .date,
  .skill {
    font-size: 19px; /* Increase font size for better readability */
  }
}

.arrow-up {
    bottom: 100%;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #fcba03;
    position: absolute;
    left: 50%;
    top: 1%;
    margin-left: -15px;
    z-index: 1000;
}
@media (max-width: 480px) {
  #about-content {
    width: 95%; /* Use most of the screen width on mobile */
    transform: translate(-50%, 3%); /* Adjust vertical position */
    padding: 15px; /* Adjust padding */
    overflow-y: auto; /* Enable vertical scrolling */
    max-height: 90vh;
  }
  .arrow-up {
    top: 1.5%;
  }
}

/* Project grid styles */
.project-grid, .video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
}

.project-card, .video-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-card img {
  margin: 10px;
}
.project-card p {
  height: 100%;
}
.project-card h4, .project-card h5 {
  /* Heading styles */
  color: #fcba03; /* Adjust the color as needed */
  margin-bottom: 10px;
  font-weight: bold;
}

.youtube-videos {
  margin: 10px;
}

.video-card h5 {
  margin-top: 5px;
  color: #fcba03; /* Adjust the color as needed */
  margin-bottom: 10px;
  font-weight: bold;
}

.about-section h4 {
  margin-top: 5px;
  color: #fcba03; /* Adjust the color as needed */
  margin-bottom: 10px;
  font-weight: bold;
}

.project-card img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Video styles */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



#intro {
    transition: transform 0.5s ease;
    animation: cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

.about-section {
  margin-bottom: 40px;
  padding-left: 2%;
  padding-right: 2%;
}

.about-section h3 {
  color: #fcba03;
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: 400;
}

.timeline-container {
  text-align: left;
}

.timeline {
  border-left: 2px solid #fcba03;
  position: relative;
  padding-left: 2%;
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
}

.timeline-item ul {
  /* Unordered list styles */
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
}

.timeline-item li {
  /* List item styles */
  margin-bottom: 10px;
  color: white; /* Adjust the color as needed */
  line-height: 1.6;
  font-size: 18px;
}

.timeline-item strong {
  color: #fcba03;
}

.timeline-item h4, .timeline-item h5 {
  /* Heading styles */
  color: #fcba03; /* Adjust the color as needed */
  margin-bottom: 10px;
  font-weight: bold;
}

.timeline-item:before {
  content: '';
  background-color: #fff;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  top: 5px;
}

.date {
  font-style: italic;
  color: #fcba03;
  padding-left: 18px;
}

.skills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.skill {
  border: 1px solid #fcba03;
  border-radius: 5px;
  padding: 5px 10px;
  margin: 5px;
  color: #fcba03;
}


/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #000521;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #fcba03;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #bf8c00
}

.skill {
  position: relative;
}

.tooltip {
  position: absolute;
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  z-index: 100;
  width: 200px;
  pointer-events: none;
  transition: opacity 0.2s;
  font-size: 14px;
}