/* GENERAL */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

header {
    text-align: center;
    padding: 2em 0;
}

.project-title {
    font-size: 3em;
    margin: 0.5em 0;
}

.date {
    font-size: 1.2em;
    color: gray;
}

.hero {
    background-color: #e9ecef;
    padding: 2em;
    text-align: center;
    margin: 2em 0;
}

.subtitle {
    font-size: 1.5em;
    margin-bottom: 1em;
}

.info {
    display: flex;
    justify-content: center;
    gap: 2em;
    font-size: 1em;
    color: gray;
}

.details {
    text-align: center;
    padding: 4em 0;
}

.details h3, .details h4 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.details p {
    font-size: 1.2em;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.links-skills {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 2em 0;
}

.links-skills .category, .links-skills .skills-technology, .links-skills .find-more {
    flex: 1;
}

.links-skills h3 {
    margin-bottom: 1em;
}

.icons {
    display: flex;
    justify-content: center;
    gap: 1em;
}

.icons img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icons img:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.skills-list {
    margin-top: 1em;
}

.highlight {
    font-size: 1.2em;
    color: #000;
    transition: color 0.3s ease;
}

.highlight:hover {
    color: #ff69b4; /* Pink color on hover */
}

.blog {
    text-align: center;
    padding: 4em 0;
}

.blog-link {
    color: blue;
    text-decoration: none;
}

.blog-link:hover {
    color: #ff69b4;
    text-decoration: underline;
}

.slideshow-container {
    max-width: 80%;
    position: relative;
    margin: 3em auto;
    text-align: center;
}

.mySlides {
    display: none;
}

.slide-image {
    width: 100%;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 3s;
    animation-name: fade;
    animation-duration: 3s;
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}


.highlight.link {
  color: blue;
  text-decoration: none;
}

.highlight.link:hover {
  color: blue;
  text-decoration: underline;
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

p {
  color: rgb(85, 85, 85);
}

/* TRANSITION */

a,
.btn {
  transition: all 300ms ease;
}

/* DESKTOP NAV */

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
}

a {
  color: black;
  text-decoration: none;
  text-decoration-color: white;
}

a:hover {
  color: grey;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: rgb(181, 181, 181);
}

.logo {
  font-size: 2rem;
}

.logo:hover {
  cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 30px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: black;
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: black;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}

/* SECTIONS */

section {
  padding-top: 4vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
  padding: 4rem 0;
  margin-bottom: 5rem; /* Added margin-bottom */
}

/* PROFILE SECTION */

#profile {
  display: flex;
  justify-content: center;
  gap: 5rem;
  min-height: 70vh; /* Changed from height: 80vh to min-height: 70vh */
}

.section__pic-container {
  display: flex;
  height: 300px;
  width: 300%;
  margin: auto 0;
}

.section__text {
  align-self: center;
  text-align: center;
}

.section__text p {
  font-weight: 600;
}

.section__text__p1 {
  text-align: center;
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.title {
  font-size: 3rem;
  text-align: center;
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
}

/* BUTTONS */

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}

.btn-color-1,
.btn-color-2 {
  border: rgb(53, 53, 53) 0.1rem solid;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1,
.btn-color-2:hover {
  background: rgb(53, 53, 53);
  color: white;
}

.btn-color-1:hover {
  background: rgb(0, 0, 0);
}

.btn-color-2 {
  background: none;
}

.btn-color-2:hover {
  border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-container {
  gap: 1rem;
}

/* ABOUT SECTION */

#about {
  position: relative;
}

.about-containers {
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.about-details-container {
  justify-content: center;
  flex-direction: column;
}

.about-containers,
.about-details-container {
  display: flex;
}

.about-pic {
  border-radius: 2rem;
}

.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: white;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  text-align: center;
}

.section-container {
  gap: 4rem;
  height: 80%;
}

.section__pic-container {
  height: 400px;
  width: 400px;
  margin: auto 0;
}

/* EXPERIENCE SECTION */

#experience {
  position: relative;
}

.experience-sub-title {
  color: rgb(85, 85, 85);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

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

.article-container {
  display: flex;
  text-align: initial;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: space-around;
}

article {
  display: flex;
  width: 10rem;
  justify-content: space-around;
  gap: 0.5rem;
}

article .icon {
  cursor: default;
}

/* General styles for the resume section */
#resume .container {
  max-width: 1200px;
  margin: 0 auto;
}

.resume-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.tab-button {
  padding: 1rem 2rem;
  border: none;
  background: #f4f4f4;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s, color 0.3s;
  margin-right: 1rem;
}

.tab-button.active {
  background: #e91e63;
  color: #fff;
}

.tab-button:hover {
  background: #d81b60;
  color: #fff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* TIMELINE STYLES */
.timeline-container {
  display: flex;
  justify-content: space-between;
}

.timeline {
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.timeline-column {
  position: relative;
  width: 48%;
}

.timeline-item {
  position: relative;
  width: 80%;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: 1rem;
  width: 1rem;
  height: 1rem;
  background: #e91e63;
  border-radius: 50%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0;
  bottom: 0;
  width: 0.2rem;
  background: #e91e63;
  z-index: -1;
}

.timeline-content h3 {
  color: #333;
  transition: color 0.3s;
}

.timeline-content p {
  color: #666;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.timeline-item:hover p:last-child {
  color: #e91e63;
  transition: color 0.3s;
}

@media screen and (max-width: 768px) {
  .timeline-container {
    flex-direction: column;
  }

  .timeline-column {
    width: 100%;
  }

  .tab-button {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}

/* Projects section styles */
.projects-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.project-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  text-align: center;
  width: 300px;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 2rem; /* Added margin-bottom to create spacing between cards */
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-img-container {
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  position: relative;
}

.project-img {
  border-radius: 1rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.project-title-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
}

.project-title {
  font-size: 1.5rem;
  margin: 0;
}

.project-logos {
  display: flex;
  gap: 0.5rem;
}

.project-logos img {
  width: 24px;
  height: 24px;
}

.project-description {
  font-size: 1rem;
  color: #666;
}

.repositories-count {
  text-align: center;
  color: #e91e63;
  font-size: 1.2rem;
}
/* CONTACT SECTION */

#contact {
  display: flex;
  justify-content: center;
  padding: 4rem 0;
  background-color: #ffffff;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.contact-info {
  text-align: center;
  width: 40%;
}

.contact-info h2 {
  color: #04e995;
  margin-bottom: 1rem;
}

.contact-img {
  border-radius: 1rem;
  width: 100%;
  max-width: 200px;
  margin-bottom: 1rem;
}

.contact-form {
  width: 55%;
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #ddd;
}

.contact-form button {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  background: #070002;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #070002;
}

.social-icons a {
  margin: 0 0.5rem;
}

.social-icons img {
  width: 30px;
  height: 30px;
  cursor: pointer;
}

/* FOOTER SECTION */

footer {
  height: 26vh;
  margin: 0 1rem;
}

footer p {
  text-align: center;
}

/* TABS STYLES */
.resume-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.tab-button {
  padding: 1rem 2rem;
  border: none;
  background: #f4f4f4;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s, color 0.3s;
}

.tab-button.active {
  background: #000000;
  color: #fff;
}

.tab-button:hover {
  background: #000000;
  color: #fff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* TIMELINE STYLES */
.timeline-container {
  display: flex;
  justify-content: space-between;
}

.timeline {
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.timeline-column {
  position: relative;
  width: 48%;
}

.timeline-item {
  position: relative;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: 1rem;
  width: 1rem;
  height: 1rem;
  background: #000000;
  border-radius: 50%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0;
  bottom: 0;
  width: 0.2rem;
  background: #000000;
  z-index: -1;
}

.timeline-content h3 {
  color: #333;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #666;
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 768px) {
  .timeline-container {
    flex-direction: column;
  }

  .timeline-column {
    width: 100%;
  }
}

.timeline-item h3 {
  color: #333;
  transition: color 0.3s;
}

.timeline-item p {
  color: #666;
  transition: color 0.3s;
}

.timeline-item:hover p:last-child {
  color: #e91e63;
  transition: color 0.3s;
}

.timeline-item h3 {
  color: #333;
}

.timeline-item p {
  color: #666;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-column {
  width: 100%;
}

.timeline-item.full-width {
  position: relative;
  padding: 1rem;
  margin: 1rem 0;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-content.full-width {
  width: 100%;
}


@media screen and (max-width: 768px) {
  .timeline-item {
    width: 90%; /* Adjust width for smaller screens */
  }

  .timeline-content {
    width: calc(100% - 1rem); /* Adjust width to account for padding */
    margin-left: 1rem;
  }
}


/* ..*/

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-column {
  width: 100%;
}

.timeline-item.full-width {
  position: relative;
  padding: 1rem;
  margin: 1rem 0;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-content.full-width {
  width: 100%;
}

.timeline-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.timeline-content ul li {
  margin-bottom: 0.5rem;
}

.skills {
  color: #e91e63;
  font-style: italic;
}

@media screen and (max-width: 768px) {
  .timeline-item {
    width: 90%;
  }

  .timeline-content {
    width: calc(100% - 1rem);
    margin-left: 1rem;
  }
}

@media screen and (max-width: 600px) {
  .projects-container {
    flex-direction: column;
    align-items: center;
  }

  .project-card {
    width: 80%;
  }
}

/* Additional responsiveness */
@media screen and (max-width: 768px) {
  section {
    margin: 0 2rem;
    padding: 2rem 0;
    margin-bottom: 3rem;
  }
}
