.workspaces {
  display: flex;
  justify-content: start;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.workspace {
  display: flex;
  flex-direction: column;
}

.top_workspaces {
  display: flex;
  justify-content: space-between;
}

.top_workspaces > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top_workspace {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}

.projects_workspace {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.workspaces h2 {
  font-weight: 100;
  font-size: 1.6rem;
}
.workspaces h3 {
  font-weight: 100;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.projects_workspace {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  padding: 20px;
}

.projects_workspace > .project {
  background: var(--bg-secondary);
  transition: background ease 130ms;
  text-decoration: none;
  color: var(--text-color-100);
  border-radius: 5px;
  position: relative;
  padding: 20px;
  height: 100px;
}
.projects_workspace > .project:hover {
  background: var(--bg-tertiary);
}

.projects_workspace > .project .content_project {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.projects_workspace > .project .content_project .title {
  font-size: 0.9em;
}
.projects_workspace > .project .date {
  font-size: 0.6rem;
  right: 0;
  bottom: 0;
  position: absolute;
  border-radius: 5px;
  padding: 5px;
  color: var(--text-color-400);
}

.projects_workspace > .create_project {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9em;
}
.projects_workspace > .create_project:hover {
  background: var(--color-primary-2);
}

.btn_delete_workspace {
  position: absolute;
  width: max-content;
  right: 0;
  bottom: 100%;
  margin-top: -10px;
  z-index: 2;
  color: var(--text-color-100);
  background: none;
  outline: none;
  border: none;
  cursor: auto;

  padding: 7px 9px;

  background: none;
  border-radius: 50%;

  transition: background ease 130ms;

  opacity: 0;
  pointer-events: none;
}

.btn_delete_workspace:hover {
  background: rgb(255, 72, 72);
}

.projects_workspace .project:hover .btn_delete_workspace {
  opacity: 1;
  pointer-events: auto;
}
