@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;700&display=swap');

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f1d8e4;
  font-family: 'Roboto', sans-serif;
  color: #222;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 15px 10px;
}
.container {
  max-width: 350px;
  width: 100%;
  max-height: 600px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  overflow-y: auto;
  padding: 25px 25px 20px;
}
header {
  text-align: center;
  margin-bottom: 25px;
}
.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #b47394;
  margin: 0 auto 15px;
  box-shadow: 0 4px 10px rgba(232, 171, 210, 0.3);
  transition: transform 0.3s ease;
}
.profile-photo:hover {
  transform: scale(1.05);
}
h1.name {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 2rem;
  color: #1c2541;
}
p.subtitle {
  margin: 0;
  font-weight: 400;
  font-size: 1rem;
  color: #4a4a4a;
}
section {
  margin-bottom: 25px;
}
section h2 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 12px;
  border-bottom: 2px solid #db78ae;
  padding-bottom: 6px;
  color: #1c2541;
}
/* About and Experience and Education text */
.section-text {
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}
/* Email and Contact as links */
.contact-info p {
  margin: 6px 0;
  font-weight: 500;
  font-size: 0.95rem;
  color: #102a43;
}
.contact-info a {
  color: #84356c;
  text-decoration: none;
  font-weight: 600;
}
.contact-info a:hover {
  text-decoration: underline;
}
/* Skills as badges */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.skill-badge {
  background-color: #ce559c;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 25px;
  user-select: none;
  cursor: default;
  transition: background-color 0.3s ease;
}
.skill-badge:hover {
  background-color: #8d1d6a;
}
/* Projects */
.project-card {
  background: #f9fbfd;
  border-radius: 14px;
  padding: 15px 18px;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.1);
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.project-card:hover {
  box-shadow: 0 8px 22px rgba(244, 206, 234, 0.607);
  transform: translateY(-4px);
}
.project-image-wrapper {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 ratio */
  position: relative;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(244, 206, 234, 0.607);
}
.project-image-wrapper img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 10px;
  user-select: none;
  pointer-events: none;
}
.project-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1c2541;
  margin-bottom: 6px;
}
.project-desc {
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #444;
}
.project-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #614159;
  text-decoration: underline;
  transition: color 0.3s ease;
}
.project-link:hover {
  color: #f1a3d5;
}
/* Scrollbar styling */
.container::-webkit-scrollbar {
  width: 7px;
}
.container::-webkit-scrollbar-track {
  background: #f7f9fc;
}
.container::-webkit-scrollbar-thumb {
  background-color: #dc3a93cc;
  border-radius: 10px;
}
@media (max-width: 380px) {
  .container {
    padding: 22px 20px 18px;
  }
  h1.name {
    font-size: 1.8rem;
  }
  section h2 {
    font-size: 1.2rem;
  }
}