body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

#title {
  grid-column: 1/5;

  display: inline;

  height: fit-content;
  overflow: visible;
  padding: 1rem 0 3rem 0;
  margin: 3rem;

  background: none;
}

#title img {
  float: left;

  margin-right: 1.5rem;

  width: 3.5rem;
  height: 3.5rem;
  border-radius: 100%;
}

#title h1 {
  font-size: 3rem;
}

section.buttons {
  grid-column: 1;

  margin: 0 3rem;
  justify-self: start;
  width: calc(100% - 3rem);
  height: 10.7rem;

  overflow: hidden;

  border-radius: 1.25rem;
}

.group-button:first-child {
  border-bottom: 0.1rem solid var(--tx);
}

.group-button {
  width: 100%;
  height: 50%;

  padding: 0 0.3rem;
  color: var(--it);
  background-color: var(--dw);
  border: none;
  border-radius: 0;
  text-align: start;
  text-overflow: clip;
  white-space: nowrap;
}

.group-button i {
  margin: 1rem;
}

.group-button:hover,
.group-button:active {
  background-color: var(--ih);
  /* transform: scale(1.1); */
}

.group-button i {
  font-size: 1.2rem;

  margin-bottom: 1.6rem;
}

div {
  grid-column: 2/5;

  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  margin: 0 3rem;
  height: 10.7rem;

  overflow-x: hidden;

  background-color: var(--dw);
  border-radius: 1.4rem;
}

div::-webkit-scrollbar {
  display: none;
}
/* 
::-webkit-scrollbar-track {
  background-color: var(--dw);
  border-radius: 0 1.4rem 1.4rem 0;
}

::-webkit-scrollbar-thumb {
  transform: scale(0.8);
  border-radius: 1.4rem;
} */

div a {
  padding: 1rem 3rem 1rem 0;

  width: 100%;
  min-height: 1.5rem;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;

  /* color: var(--tx); */
  border-bottom: 0.1rem solid var(--tx);
  text-decoration: none;
}

div a:hover,
div a:active {
  background-color: var(--ih);
}

div a:first-child {
  padding-top: 1rem;
}

div a:last-child {
  padding-bottom: 1rem;

  border: none;
}

div a > i {
  margin-right: 0.5rem;
  padding-left: 3rem;
}

div a > img {
  margin: 0 0.5rem 0 3rem;

  height: 1rem;
  width: 1rem;

  border-radius: 50%;
}

button#logout {
  grid-row: 5;

  align-self: center;
}

/* ============ */
/* PINNED START */
/* ============ */

h2 {
  align-self: center;
  margin-bottom: 1rem;
}

#posts {
  grid-column: 1/5;

  display: none;
  flex-direction: column;
  align-items: center;
  align-self: center;
  margin: 3rem;

  /* overflow-x: hidden; */

  box-shadow: none;
}

#posts:hover {
  transform: scale(1);
}

#posts section {
  display: flex;
  flex-direction: row;

  margin: 1rem;

  width: 100%;

  background-color: var(--dw);
  border-radius: 0.7rem;
  text-decoration: none;
}

#posts .text {
  align-self: center;

  margin: 1rem 1.5rem;
  /* max-width: 80%; */
  overflow-x: hidden;
}

#posts .buttons {
  display: flex;
  flex-direction: row;

  margin: auto 1rem auto auto;
  margin-right: 0.75rem;
}

#posts button {
  padding: 1rem;

  background-color: rgba(0, 0, 0, 0);
  border: none;
  border-radius: 0.3rem;
  box-shadow: none;

  transition: background-color 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

#posts button:hover,
#posts button:active {
  cursor: default;
}

.pin_button {
  color: var(--pin);
}

.done_button {
  color: var(--it);
}

#posts#done section {
  background-color: rgb(205, 255, 212);
}

/* PINNED END */
