.notifications-area {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  height: auto;
  padding: 2rem;

  background-color: var(--black);
}

@media (max-width: 1092px) {
  .notifications-area {
    gap: 1.5rem;
    padding: 1.5rem;
  }
}

@media (max-width: 1060px) {
  .notifications-area {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 746px) {
  .notifications-area {
    grid-template-columns: 1fr;
  }
}

.notifications-background {
  display: flex;
  flex: 1;
  height: 100px;
  padding: 0.0625rem;

  background-color: #606060;
  border-radius: 5px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 25px),
    calc(100% - 25px) 100%,
    0 100%
  );
  transition: background-color 0.2s, transform 0.2s;
}

@media (max-width: 1130px) {
  .notifications-background {
    height: 130px;
  }
}

@media (max-width: 1048px) {
  .notifications-background {
    height: 120px;
  }
}

.notifications-background:hover {
  background-image: linear-gradient(134deg, #dd3d35, #dd3d35, #606060);
  transform: scale(1.1);
  transition: background-color 0.2s, transform 0.2s;
}

@media (max-width: 1060px) {
  .notifications-background:hover {
    transform: scale(1);
  }
}

.notifications {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  height: 100%;
  padding: 0.5rem;

  color: var(--white);

  background: linear-gradient(134deg, #1f1f1f, var(--red));
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 25px),
    calc(100% - 25px) 100%,
    0 100%
  );
}

@media (max-width: 1060px) {
  .notifications {
    padding: 1rem;
  }
}

.notifications h2 {
  font-size: 1rem;
}

.notifications-background:hover h2::after {
  content: '⇢';
  margin-left: 0.5rem;

  line-height: 0;

  animation-name: move-arrow;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}

.notifications p {
  font-size: 0.8125rem;
}

@keyframes move-arrow {
  0% {
    margin-left: 0.5rem;
  }
  50% {
    margin-left: 1rem;
  }
  100% {
    margin-left: 0.5rem;
  }
}
