.mrn-2 {
  background-color: white;
  border: 2px solid #8960e8;
  box-shadow: 0px 0px 10px -5px rgba(0, 0, 0, 0.4);
  display: block;
  height: 50px;
  right: 30px;
  top: -300px;
  width: 50px;
  z-index: 2;
}

.mrn-2::before {
  background-image: url(./logo.png);
  background-size: cover;
  content: " ";
  height: 30px;
  margin: 10px;
  position: absolute;
  width: 30px;
  z-index: 1;
}

.mrn-2.displayed {
  animation: notif2 cubic-bezier(0.17, 0.67, 0.35, 1.16) 1000ms forwards;
}

.mrn-2 .notification__body {
  width: 0;
  height: 0;
  overflow: hidden;
  animation: showBody 100ms ease-out 500ms forwards;
}

@keyframes showBody {
  100% {
    overflow: visible;
    width: 100%;
    height: 100%;
  }
}

.mrn-2 .notification__title {
  align-items: center;
  animation: showTitle 200ms ease-out 600ms forwards;
  display: flex;
  height: 50px;
  padding-left: 55px;
  opacity: 0;
  overflow: hidden;
  width: 250px;
}

@keyframes showTitle {
  80% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.mrn-2 .notification__message {
  animation: showMessage 200ms ease-out 800ms forwards;
  opacity: 0;
  overflow: hidden;
  padding: 5px 20px;
  width: 250px;
}

@keyframes showMessage {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes notif2 {
  0% {
    border-radius: 50%;
    transform: translateY(330px) scale(0);
    height: 50px;
    width: 50px;
  }
  30% {
    border-radius: 0;
    transform: translateY(330px) scale(1);
    height: 50px;
    width: 50px;
  }
  70% {
    transform: translateY(330px);
    height: 50px;
    width: 250px;
  }
  80% {
    transform: translateY(330px);
    height: 50px;
    width: 250px;
  }
  100% {
    transform: translateY(330px);
    height: 150px;
    width: 250px;
  }
}

.mrn-2 .notification__btns {
  bottom: 5px;
  display: flex;
  justify-content: space-between;
  padding: 0px 5px;
  position: absolute;
  width: 100%;
}

.mrn-2 .notification__btns .go-page {
  animation: displayBtnsDelayed 200ms cubic-bezier(0.17, 0.67, 0.35, 1.16) 800ms
    forwards;
  box-shadow: none;
  margin: 0;
  opacity: 0;
  position: relative;
  transform: scale(0);
  transition: 200ms;
  width: 49%;
}

.mrn-2 .notification__btns .go-page:hover {
  background-color: #8960e8;
  color: #ffffff;
}

@keyframes displayBtnsDelayed {
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.mrn-2.displayed.hidding {
  animation: notif2Dismiss ease-out 400ms forwards;
}

@keyframes notif2Dismiss {
  0% {
    transform: translateY(330px);
    height: 150px;
    width: 250px;
  }
  100% {
    transform: translateY(0);
    height: 150px;
    width: 250px;
  }
}
