p {
  margin: 0;
  padding: 0;
}

.create-btn {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  margin-bottom: 20px;
  border: 1px solid rgb(182, 182, 182);
  box-shadow: 2px 2px 5px gray;
  font-size: 20px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.section-header h1 {
  margin: 0;
}

.section-header::before,
.section-header::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
}

.projects-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.project-wrapper {
  position: relative;
}

.project {
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 1px solid black;
  box-shadow: 2px 2px 4px gray;
  font-size: 14px;
  padding: 15px;
  overflow: hidden;
  height: 185px;
  justify-content: space-between;
}

.project-title {
  font-weight: bold;
}

.project-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.project-status {
  border: 1px solid rgb(54, 54, 54);
  border-radius: 8px;
  box-shadow: 1px 1px 6px rgb(210, 210, 210);
  font-size: 12px;
  padding: 4px 8px;
}

.project-header .status-idea {
  background-color: rgb(177, 221, 255);
}

.project-header .status-development {
  background-color: rgb(238, 255, 124);
}

.project-header .status-finished {
  background-color: greenyellow;
}

.project-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-tags {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.tag {
  border: 1px solid rgb(54, 54, 54);
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 11px;
  background-color: rgb(231, 231, 231);
}

.admin-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(120, 120, 120, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.edit-btn,
.delete-btn {
  padding: 8px 16px;
  border: none;
  font-size: 17px;
  font-family: inherit;
  border-radius: 6px;
  cursor: pointer;
  color: white;
  transition: .15s;
}

.edit-btn {
  background: #3b82f6;
}

.edit-btn:hover {
  background: #1961d6;
}

.edit-btn:active {
  background: #629eff;
}

.delete-btn {
  background: #f63b3b;
}

.delete-btn:hover {
  background: #d61919;
}

.delete-btn:active {
  background: #ff6262;
}

@media(max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr;
  }

  .project-status {
    border-radius: 8px;
    font-size: 12px;
    padding: 4px;
  }
}