body {
  background-color: #f5f5f5;
  font-family: arial, sans-serif;
  padding: 40px;
}

.card {
  background-color: #fff;
  max-width: 500px;
  margin: auto;
  display: flex;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-img {
  border-radius: 50%;
  margin-right: 20px;
  width: 120px;
  height: 120px;
  animation: fadeIn 1s ease-in-out;
}

.info {
  flex: 1;
}

.name {
  color: #007acc;
  margin-bottom: 10px;
  animation: slideIn 1s ease-in-out;
}

.bio {
  color: #333;
  margin-bottom: 15px;
}

.section-title {
  color: #007acc;
  margin: 30px 0 15px;
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.skill {
  background-color: #e0f7fa;
  color: #007acc;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  transition: transform 0.2s;
}

.skill:hover {
  transform: scale(1.05);
}

.contact-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007acc;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.contact-btn:hover {
  background-color: #005f99;
}

.about-container {
  max-width: 700px;
  margin: auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.about-container h1,
.about-container h2 {
  color: #007acc;
  margin-bottom: 10px;
}

.about-container ul {
  padding-left: 20px;
}

.about-container p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.buttons-group {
  margin-top: 20px;
}

.buttons-group a {
  margin-right: 10px;
}

@media (max-width: 600px) {
  .card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-img {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .about-container {
    padding: 20px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}


