/* --- General Body Styles --- */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: url('background.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* --- Main Container --- */
.container {
  max-width: 850px;
  margin: 40px auto;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
}

/* --- Profile Photo --- */
.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #0073b1;
  margin-bottom: 15px;
}

.profile-name {
    text-align: center;    /* centers the name below the photo */
    font-weight: bold;     /* makes it bold */
    margin-top: 10px;      /* spacing between photo and name */
    font-size: 24px;       /* adjust size as needed */
    color: #333;           /* optional: text color */
}

/* --- Subtitle --- */
.subtitle {
  color: #4b5563;
  font-size: 18px;
  margin-bottom: 30px;
}

/* --- Sections --- */
section {
  text-align: left;
  margin-bottom: 30px;
}

/* --- Section Titles --- */
h2 {
  color: #1f2933;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 6px;
  margin-bottom: 12px;
  font-size: 22px;
}

/* --- Paragraphs --- */
p {
  line-height: 1.6;
  color: #374151;
}

/* --- Lists --- */
ul {
  padding-left: 20px;
  line-height: 1.7;
  color: #374151;
}

/* --- Skills --- */
.skills li {
  display: inline-block;
  background: #e5e7eb;
  padding: 6px 14px;
  margin: 6px 6px 0 0;
  border-radius: 20px;
  font-size: 14px;
}

/* --- Links --- */
a {
  color: #0073b1;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}





/* --- Animation --- */
@keyframes moveName {
  from {
    transform: translateX(-15px);
  }
  to {
    transform: translateX(15px);
  }
}

/* --- Responsive Design --- */
@media screen and (max-width: 600px) {
  .container {
    padding: 25px;
  }

  .moving-name {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }
}

