:root {
  --text-color: #202124;
  --primary-color: #3498db;
  --text-color: #2c3e50;
  --bg-color: #ecf0f1;
  --border-color: #dadce8;
  --secondary-color: #e8f8fe;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "calibri", arial, sans-serif;
  line-height: 1.5;
  color: var(--text-color);
  background-color: #f8f9fa;
  padding: 20px;
  margin: 0;
}

.container {
  max-width: 21cm;
  margin: 0 auto;
  background-color: white;
  box-shadow: 0 20px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

header {
  background-color: var(--primary-color);
  color: white;
  padding: 30px 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-content {
  flex: 1;
}

h1 {
  font-size: 36px;
  margin-bottom: 5px;
  font-weight: bold;
}

h2 {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 15px;
  opacity: 0.9;
}

.photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-wrapper {
  display: flex;
  flex-wrap: cover;
}

.main-content {
  flex: 2;
  padding: 30px;
  min-width: 65%;
}

.sidebar {
  flex: 1;
  background-color: var(--secondary-color);
  padding: 30px;
  min-width: 250px;
}

section {
  margin-bottom: 25px;
  padding: 15px;
  background-color: var(--section-bg);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

h3 {
  color: var(--heading-color);
  font-size: 22px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
  position: relative;
}

h3::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -2px;
  left: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 10 px 0;
}

th {
  text-align: left;
  padding: 10px;
  background-color: var(--primary-color);
  color: white;
}

td {
  padding: 10px;
  margin-bottom: 1px solid var(--border-color);
}

tr:hover {
  background-color: var(--secondary-color);
}

#kontak {
  background-color: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.kontak-info {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  word-break: break-word;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2 ease;
}

a:hover {
  color: var(--heading-color);
  text-decoration: underline;
}
#skill {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.skill-tag {
  background-color: var(--primary-color);
  color: white;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 20px;
}

.skill-tag:hover {
  background-color: var(--heading_color);
  transform: scale(1.85);
}
