.container {
  width: min(100% - 2rem, 1300px);
  margin-inline: auto;
  margin-top: 50px;
  margin-bottom: 50px;
}

.section-title {
  text-align: center;
  font-size: 30px;
  margin: 10px;
}

/* hero section */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding-inline: 20px;
  padding-block: 10px;
}

.hero-image {
  width: 200px;
  max-width: 100%;
  border-radius: 50%;
  height: auto;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  text-align: center;
  font-size: 35px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions a {
  padding: 5px 10px;
  border: 2px solid var(--accent-color);
  border-radius: 5px;
  transition: color 0.1s, border-color 0.1s;
}

.hero-actions a:hover {
  color: var(--text-color);
  border-color: var(--text-color);
}

#web-development {
  display: block;
}

/* skills section */
.skills-interface {
  width: min(100% - 2rem, 600px);
  margin-inline: auto;
  background: var(--white);
  box-shadow: 2px 1px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  border-top: 5px solid var(--accent-color);
}

.group-selector {
  display: flex;
  flex-direction: column;
}

.group-button + .group-button {
  border-top: 2px solid var(--white);
}

.group-button {
  padding: 10px 15px;
  background: var(--bg-color);
  color: var(--accent-color);
  border: none;
  font-family: inherit;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.group-button:hover {
  color: var(--blue);
  font-size: 20px;
  background-color: var(--white);
}

.group-button.active {
  color: var(--blue);
  font-size: 20px;
}

.group-content {
  padding: 0 10px;
}

.group-content ul {
  display: none;
  list-style: none;
  text-align: center;
}

.group-content li {
  padding: 12px 10px;
  border-bottom: 2px solid var(--bg-color);
}

.group-content li:last-child {
  border-bottom: none;
}

.skills {
  padding-inline: 20px;
  padding-block: 10px;
}

/* project section */
.projects-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.project-card {
  width: min(100% - 2rem, 400px);
  height: min(100%, 840px);
  background: var(--white);
  box-shadow: 2px 1px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.project-image {
  max-width: 100%;
  display: block;
}

.project-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.project-technologies {
  display: flex;
  list-style: none;
  gap: 12px;
}

.project-links-group {
  display: flex;
  justify-content: space-between;
}

.project-links-group a:hover {
  color: var(--text-color);
}