/* button style */

:root {
    --dark: #34495E;
    --light: #ffffff;
    --success: #0ABF30;
    --error: #E24D4C;
    --warning: #E9BD0C;
    --info: #3498DB;
  }
  
  .notifications {
    position: fixed;
    top: 30px;
    right: 20px;
  }
  .notifications :where(.toast, .column) {
    display: flex;
    align-items: center;
  }
  .notifications .toast {
    width: 300px;
    position: relative;
    overflow: hidden;
    list-style: none;
    border-radius: 4px;
    padding: 16px 17px;
    margin-bottom: 10px;
    background: var(--light);
    justify-content: space-between;
    animation: show_toast 0.3s ease forwards;
  }
  @keyframes show_toast {
    0% {
      transform: translateX(100%);
    }
    40% {
      transform: translateX(-5%);
    }
    80% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-10px);
    }
  }
  .notifications .toast.hide {
    animation: hide_toast 0.3s ease forwards;
  }
  @keyframes hide_toast {
    0% {
      transform: translateX(-10px);
    }
    40% {
      transform: translateX(0%);
    }
    80% {
      transform: translateX(-5%);
    }
    100% {
      transform: translateX(calc(100% + 20px));
    }
  }
  .toast::before {
    position: absolute;
    content: "";
    height: 3px;
    width: 100%;
    bottom: 0px;
    left: 0px;
    animation: progress 1s linear forwards;
  }
  @keyframes progress {
    100% {
      width: 0%;
    }
  }
  .toast.success::before {
    background: var(--success);
  }
  .toast.error::before, .btnt#error {
    background: var(--error);
  }
  .toast.warning::before, .btnt#warning {
    background: var(--warning);
  }
  .toast.info::before, .btnt#info {
    background: var(--info);
  }
  .toast .column i {
    font-size: 1.75rem;
  }
  .toast.success .column i {
    color: var(--success);
  }
  .toast.error .column i {
    color: var(--error);
  }
  .toast.warning .column i {
    color: var(--warning);
  }
  .toast.info .column i {
    color: var(--info);
  }
  .toast .column span {
    font-size: 1.07rem;
    margin-left: 12px;
    color: black;
  }
  .toast i:last-child {
    color: #aeb0d7;
    cursor: pointer;
  }
  .toast i:last-child:hover {
    color: var(--dark);
  }
  .buttonst .btnt {

  /* border: none; */
  font-size: 1rem;
  border-radius: 5px;
  color: white;
  background-color: #273746;
  cursor: pointer;
  border: 2px solid #273746;
  margin-bottom: 10px;

  }
  
  @media screen and (max-width: 530px) {
    .notifications {
      width: 90%;
    }
    .notifications .toast {
      width: 50%;
      font-size: 1rem;
      /*margin-left: 100px;*/
      margin-top: 50px;
            right: 70px;

    }
    .buttonst .btnt {
      margin: 0 1px;
      font-size: 1.1rem;
      padding: 8px 15px;
    }
  }
  
  
  @media screen and (max-width: 400px) {
    .notifications {
      width: 100%;
    }
    .notifications .toast {
      width: 100%;
      font-size: 1rem;
      margin-top: 50px;
      right: 70px;
    }
    .buttonst .btnt {
      margin: 0 1px;
      font-size: 1.1rem;
      padding: 8px 15px;
    }
  }