body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding-top: 180px;
  background: #f9f9f9;
  color: #333;
}

header {
  background: #007acc;
  color: white;
  padding: 20px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  text-align: center;
}

.site-title {
  margin-bottom: 10px;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav ul li {
  margin: 5px 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

section {
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}

h2 {
  color: #007acc;
  margin-top: 40px;
}

#personal,
#about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.image-block {
  flex: 1 1 30%;
  text-align: left;
}

.text-block {
  flex: 1 1 65%;
}

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

table,
th,
td {
  border: 1px solid #ccc;
}

th {
  background-color: #f0f0f0;
  font-weight: bold;
}

th,
td {
  padding: 10px;
  text-align: left
}

#about-photo {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  margin-top: 40px;
}

#about-photo .image-block {
  flex: 0 0 250px;
}

#about-photo .image-block img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

#about-photo .text-block {
  flex: 1;
}

.skills-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
  justify-items: center;
}

.skill-item {
  text-align: center;
}

.skill-label {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 10px;
}

.skill-item img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.skill-item:nth-child(4),
.skill-item:nth-child(5) {
  grid-column: span 1;
}