/* GENERAL */

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

* {
  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-between;
  align-items: center;
  height: 17vh;
  padding: 0 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: normal;
  margin-right: 2rem;
  flex-shrink: 0;
}

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

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;
  font-weight: normal;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
  cursor: default;
}

/* LANGUAGE SWITCHER */

.language-switcher {
  position: relative;
  margin-left: 1rem;
}

.language-dropdown {
  position: relative;
  display: inline-block;
}

.language-btn {
  background: none;
  border: 2px solid #000000;
  color: #000000;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  min-width: 50px;
}

.language-btn:hover {
  background: #000000;
  color: #ffffff;
  transform: scale(1.05);
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.language-dropdown:hover .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: block;
  width: 100%;
  padding: 0.8rem 1rem;
  background: none;
  border: none;
  color: #000000;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: left;
}

.language-option:hover {
  background: #000000;
  color: #ffffff;
}

.language-option:first-child {
  border-radius: 10px 10px 0 0;
}

.language-option:last-child {
  border-radius: 0 0 10px 10px;
}

.language-option:only-child {
  border-radius: 10px;
}


/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

/* Responsive Navigation - Hide regular nav below 1300px */
@media (max-width: 1300px) {
  /* Only hide nav-links in the desktop header, not footer */
  #desktop-nav .nav-links {
    display: none;
  }
  
  /* Hide the desktop nav logo when hamburger menu is active */
  #desktop-nav .logo {
    display: none;
  }
  
  #hamburger-nav {
    display: flex;
  }
}

/* Adjust for longer text in different languages */
@media (max-width: 1500px) {
  .nav-links {
    gap: 1rem;
    font-size: 1.2rem;
  }
}

@media (max-width: 1400px) {
  .nav-links {
    gap: 0.8rem;
    font-size: 1.1rem;
  }
}

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

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

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

.menu-links {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 100px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
}

.menu-links.open {
  transform: translateX(0);
}

.menu-links li {
  list-style: none;
  margin: 0.5rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-links.open li {
  opacity: 1;
  transform: translateY(0);
}

.menu-links.open .close-btn { transition-delay: 0.05s; }
.menu-links.open .mobile-language-selector { transition-delay: 0.1s; }
.menu-links.open li:nth-child(3) { transition-delay: 0.15s; }
.menu-links.open li:nth-child(4) { transition-delay: 0.2s; }
.menu-links.open li:nth-child(5) { transition-delay: 0.25s; }
.menu-links.open li:nth-child(6) { transition-delay: 0.3s; }
.menu-links.open li:nth-child(7) { transition-delay: 0.35s; }

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.close-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.menu-links.open .close-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Language Selector */
.mobile-language-selector {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0 2rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-language-selector .language-option {
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-language-selector .language-option:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.mobile-language-selector .language-option.active {
  background: #333;
  color: white;
  transform: scale(1.05);
}

.menu-links.open .mobile-language-selector {
  opacity: 1;
  transform: translateY(0);
}

.menu-links a {
  display: block;
  padding: 0.8rem 1.5rem;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  width: 200px;
}

.menu-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
  transition: left 0.5s ease;
}

.menu-links a:hover::before {
  left: 100%;
}

.menu-links a:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hamburger Animation */
.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(6px, 6px);
}

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

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

/* SECTIONS */

section {
  padding-top: 4vh;
  height: auto; /* allow sections to grow with their content */
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
  position: relative;
}

.section-container {
  gap: 4rem;
  height: auto; /* let inner wrappers size naturally */
}


/* PROFILE SECTION */

#profile {
  display: flex;
  justify-content: center;
  gap: 5rem;
  height: 80vh;
}

.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  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;
  transition: transform 0.3s ease;
}

.title:hover {
  transform: scale(1.1);
}

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

#socials-container .icon {
  transition: transform 0.3s ease;
}

#socials-container .icon:hover {
  transform: scale(1.2);
}

/* 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;
  height: auto;
  min-height: 80vh;
}

.about-containers {
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}
.about-containers,
.about-details-container {
  display: flex;
}


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

.about-pic {
  border-radius: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.about-pic:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15), 0 12px 40px rgba(0, 0, 0, 0.15);
}


.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;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.details-container:hover {
  transform: scale(1.05);
  background: #000000;
  border-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  will-change: transform, background-color, box-shadow;
}

.details-container h2,
.details-container h3,
.details-container p {
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.details-container:hover h2,
.details-container:hover h3,
.details-container:hover p {
  color: #ffffff;
}

/* Override dark mode for Technical Proficiencies section */
#Technical\ Profeciencies .details-container:hover {
  transform: none;
  background: white;
  border-color: transparent;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15), 0 12px 40px rgba(0, 0, 0, 0.15);
}

#Technical\ Profeciencies .details-container:hover h2,
#Technical\ Profeciencies .details-container:hover h3,
#Technical\ Profeciencies .details-container:hover p {
  color: black;
}

/* Override dark mode for About Me section */
#about .details-container:hover {
  transform: none;
  background: white;
  border-color: transparent;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15), 0 12px 40px rgba(0, 0, 0, 0.15);
}

#about .details-container:hover h2,
#about .details-container:hover h3,
#about .details-container:hover p {
  color: black;
}

/* Enhanced smooth animations for Experience and Projects sections */
#experience .details-container,
#projects .details-container {
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#experience .details-container h2,
#experience .details-container h3,
#experience .details-container p,
#projects .details-container h2,
#projects .details-container h3,
#projects .details-container p {
  transition: color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#experience .details-container:hover,
#projects .details-container:hover {
  transform: scale(1.05);
  background: #000000;
  border-color: #ffffff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Remove borders from About Me and Technical Proficiencies sections */
#about .details-container,
#Technical\ Profeciencies .details-container {
  border-color: transparent;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15), 0 12px 40px rgba(0, 0, 0, 0.15);
}


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

/* EXPERIENCE SECTION - TIMELINE */

.timeline-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  perspective: 1000px;
}

.timeline {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #000000, #666666, #cccccc, #666666, #000000);
  transform: translateX(-50%);
  border-radius: 1px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1), 0 0 40px rgba(0, 0, 0, 0.05);
  animation: timelineGlow 3s ease-in-out infinite alternate;
  will-change: box-shadow;
}

@keyframes timelineGlow {
  0% { box-shadow: 0 0 20px rgba(0, 0, 0, 0.1), 0 0 40px rgba(0, 0, 0, 0.05); }
  100% { box-shadow: 0 0 30px rgba(0, 0, 0, 0.15), 0 0 60px rgba(0, 0, 0, 0.08); }
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(50px);
  animation: slideInUp 0.8s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: #ffffff;
  border: 3px solid #000000;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(255, 255, 255, 0.8);
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.timeline-marker::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #000000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.timeline-marker:hover {
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 0 8px rgba(255, 255, 255, 0.9);
}

.timeline-marker:hover::before {
  width: 6px;
  height: 6px;
}

.timeline-start-marker {
  background: #000000;
  border: 3px solid #ffffff;
  width: 20px;
  height: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(255, 255, 255, 0.8);
  animation: pulse 2s ease-in-out infinite;
  will-change: transform;
}

@keyframes pulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.1); }
}

.timeline-start-marker:hover {
  transform: translateX(-50%) scale(1.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 0 8px rgba(255, 255, 255, 0.9);
  animation: none;
}

.timeline-content {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  width: 45%;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.02), transparent);
  transition: left 0.6s ease;
}

.timeline-content:hover::before {
  left: 100%;
}

.timeline-content::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 12px solid transparent;
  transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content::after {
  right: -24px;
  border-left-color: #ffffff;
  transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::after {
  left: -24px;
  border-right-color: #ffffff;
  transform: translateY(-50%);
}

.timeline-content:hover .timeline-item:nth-child(odd) .timeline-content::after {
  border-left-color: #000000;
}

.timeline-content:hover .timeline-item:nth-child(even) .timeline-content::after {
  border-right-color: #000000;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 5%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 5%;
}

.timeline-content:hover {
  transform: translateY(-12px) rotateX(5deg);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.2);
  background: #000000;
  color: #ffffff;
}

.timeline-content:hover::after {
  transform: translateY(-50%) scale(1.1);
}

.timeline-content h3,
.timeline-content .timeline-date,
.timeline-content p {
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-content:hover h3 {
  color: #ffffff;
}

.timeline-content:hover .timeline-date {
  color: #cccccc;
  letter-spacing: 1px;
}

.timeline-content:hover p {
  color: #e0e0e0;
}

.timeline-item:nth-child(odd) .timeline-content:hover::after {
  border-left-color: #000000;
}

.timeline-item:nth-child(even) .timeline-content:hover::after {
  border-right-color: #000000;
}

/* Center-triggered animations for timeline items */
.timeline-content.center-animated {
  transform: translateY(-12px) rotateX(5deg);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.2);
  background: #000000;
  color: #ffffff;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-content.center-animated::before {
  left: 100%;
}

.timeline-content.center-animated::after {
  transform: translateY(-50%) scale(1.1);
}

.timeline-content.center-animated h3 {
  color: #ffffff;
}

.timeline-content.center-animated .timeline-date {
  color: #cccccc;
  letter-spacing: 1px;
}

.timeline-content.center-animated p {
  color: #e0e0e0;
}

.timeline-item:nth-child(odd) .timeline-content.center-animated::after {
  border-left-color: #000000;
}

.timeline-item:nth-child(even) .timeline-content.center-animated::after {
  border-right-color: #000000;
}

.timeline-marker.center-animated {
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 0 8px rgba(255, 255, 255, 0.9);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-marker.center-animated::before {
  width: 6px;
  height: 6px;
}

/* Add a subtle pulse animation for center-animated markers */
.timeline-marker.center-animated {
  animation: centerPulse 2s ease-in-out infinite;
  will-change: transform, box-shadow;
}

@keyframes centerPulse {
  0%, 100% { 
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), 0 0 0 8px rgba(255, 255, 255, 0.9);
  }
  50% { 
    transform: translateX(-50%) scale(1.35);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(255, 255, 255, 0.95);
  }
}

.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;
}

/* Technical Proficiencies Section - Larger Icons */
#Technical\ Profeciencies article .icon {
  height: 5rem;
  width: 5rem;
  transition: transform 0.3s ease;
}

#Technical\ Profeciencies article .icon:hover {
  transform: scale(1.2);
}

/* Technical Proficiencies Section - Single Line Layout */
#Technical\ Profeciencies .article-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

#Technical\ Profeciencies article {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  min-width: 5rem;
}

/* Technical Proficiencies Section - Box Shadows */
#Technical\ Profeciencies .details-container {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
  border: none;
  transition: box-shadow 0.3s ease;
}

/* Technical Proficiencies Section - Spacing */
#Technical\ Profeciencies {
  margin-bottom: 2rem;
  position: relative;
}

#Technical\ Profeciencies .details-container:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15), 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* PROJECTS SECTION */

#projects {
  position: relative;
}

.color-container {
  border-color: rgb(163, 163, 163);
  background: rgb(250, 250, 250);
  transition: all 0.3s ease;
  cursor: pointer;
}

.color-container:hover {
  transform: scale(1.05);
  background: #000000;
  border-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  will-change: transform, background-color, box-shadow;
}

.project-img {
  border-radius: 2rem;
  width: 90%;
  height: 90%;
  transition: all 0.3s ease;
}

.color-container:hover .project-img {
  transform: scale(1.02);
}

.project-title {
  margin: 1rem;
  color: black;
  transition: color 0.3s ease;
}

.color-container:hover .project-title {
  color: #ffffff;
}

.project-btn {
  color: black;
  border-color: rgb(163, 163, 163);
  transition: all 0.3s ease;
}

.color-container:hover .project-btn {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.color-container:hover .project-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* CONTACT */

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: fit-content;
  min-height: 70vh;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  background: rgb(250, 250, 250);
  margin: 2rem auto;
  padding: 1rem;
  flex-wrap: wrap;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem;
  padding: 0.5rem;
  min-width: 200px;
}

.contact-info-container p {
  font-size: larger;
}

.contact-icon {
  cursor: default;
}

.email-icon {
  height: 2.5rem;
}

/* FOOTER SECTION */

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

footer nav {
  display: flex;
  justify-content: center;
}

footer .nav-links {
  justify-content: center;
}

footer p {
  text-align: center;
}

/* SCROLL FADE-IN ANIMATIONS */

.fade-in {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-80px) translateY(40px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(80px) translateY(40px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(-60px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-down {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in-down.visible {
  opacity: 1;
  transform: translateY(0);
}
