/* ABOUT ME */
.about-me {
  padding: 40px 20px; /* Padding for spacing around the section */
  border-radius: 8px; /* Rounded corners */
  text-align: center; /* Center text and links */
}
.about-me-content {
  max-width: 800px; /* Max width for larger screens */
  margin: 0 auto; /* Center the content */
}
.about-me p {
  font-size: 1em; /* Slightly larger font for readability */
  line-height: 1.6; /* Improved line spacing */
  margin-bottom: 20px; /* Space below paragraphs */
}
.resume-link {
  font-size: 1.2em; /* Font size for the link */
  color: #fff; /* Blue color for the link */
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Bold text */
  padding: 10px 20px; /* Padding around the text */
  border-radius: 5px; /* Rounded corners */
  border: 2px solid #fff; /* Border matching the link color */
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease; /* Smooth transitions */
}
.resume-link:hover {
  background-color: #555; /* Background color on hover */
  color: #fff; /* White text color on hover */
  border: 2px solid #fff !important;
}

/* SKILLS */
.skills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.skill {
  border-radius: 10px;
  border: 2px solid #555;
  padding: 10px;
  margin: 3px;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 14px;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.skill img {
  max-width: 40px;
  object-fit: contain;
  margin-bottom: 5px;
}
.skill:hover {
  background-color: #555;
  transform: scale(1.05);
}
.section h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  text-align: center;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}
.skill.visible {
  opacity: 1;
  transform: translateX(0);
}

/* PROJECTS */
.projects-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.project-card {
  position: relative;
  width: 363px;
  height: 400px;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background: #fff;
}
.project-title {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2.5em; /* Adjust this value for a larger font size */
  font-weight: bold;
  z-index: 10; /* Ensures the title is above the image */
  background: rgba(0, 0, 0, 0.5); /* Optional: for better readability */
  padding: 10px 20px; /* Adjust padding as needed */
  border-radius: 5px;
  transition: opacity 0.3s ease;
  text-align: center; /* Center text within the title */
}
.project-card img {
  position: absolute;
  top: -20%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  transition: transform 0.3s ease;
  transform: scale(1);
  filter: blur(3px);
}
.project-card:hover .project-title {
  opacity: 0;
}
.project-card:hover img {
  transform: scale(1);
  filter: blur(0);
}
.project-card:hover {
  transform: scale(1.05);
}
.project-details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-card:hover .project-details {
  opacity: 1;
}
.project-title {
  margin: 10px 0;
  font-size: 1.2em;
}
.project-description {
  font-size: 0.9em;
}
.visit-link {
  color: #fff;
  text-decoration: none;
  background-color: #5a5e62;
  padding: 5px 15px;
  border-radius: 5px;
  display: inline-block;
  font-size: 0.9em;
  max-width: 200px;
  text-align: center;
  white-space: nowrap;
  margin: 10px auto 0;
}
a.visit-link:hover {
  border-bottom: none;
  color: #fff;
  border: 2px solid #fff;
}

/* SOCIAL NETWORKS */
.social {
  display: flex;
  justify-content: center;
  align-items: center;
}
