body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #d3d3d3e3;
  background-image: url("photo.png");
  /* The image is released free of copyrights under Creative Commons CC0. https://pxhere.com/en/photo/911157 */
  color: #333;
  line-height: 1.6;

}

.container {
  max-width: 900px;
  margin: 20px auto;
  background: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header {
  text-align: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 20px;
  margin-bottom: 20px;
  top: 0;
  background: #fff;
  z-index: 1;
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
  margin: 0;
  font-size: 2.5em;
}

header p {
  margin: 5px 0;
  color: #666;
}

section {
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.animate {
  opacity: 1;
  transform: translateY(0);
}

section h2 {
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 15px;
  color: #444;
}

.experience-item,
.education-item {
  margin-bottom: 20px;
}

.experience-item h3,
.education-item h3 {
  margin: 0;
  font-size: 1.2em;
}

.date {
  font-style: italic;
  color: #888;
}

ul.skills {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

ul.skills li {
  background: #eee;
  padding: 5px 10px;
  margin: 5px;
  border-radius: 5px;
}

footer {
  text-align: center;
  margin-top: 40px;
  font-style: italic;
  color: #666;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

footer.animate {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .container {
    margin: 10px;
    padding: 10px;
  }

  header h1 {
    font-size: 2em;
  }
}

a {
  color: #000000;
  text-decoration: none;
}

a:hover {
  color: #ffb820bb;
  text-decoration: none;
}
