@keyframes TransitioningBackground {
    0% {
      background-position: 1% 0%;
    }
    50% {
      background-position: 99% 100%;
    }
    100% {
      background-position: 1% 0%;
    }
  }
  
  .btn {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-align: center;
    min-width: 100px;
    min-height: 30px;
    max-height: 50px;
    border-radius: 5px;
    /* for shine & gradient effects to work */
    position: relative;
    overflow: hidden;
    /* for background color shift */
    /* to ease the button growth on hover */
    transition: 0.6s;
  }
    /* psuedo-element shine animation left side */
    .btn::before {
      content: '';
      display: block;
      position: absolute;
      background: rgba(255, 255, 255, 0.5);
      width: 60px;
      height: 100%;
      top: 0;
      filter: blur(30px);
      transform: translateX(-1000px) skewX(-15deg);
    }
  
    /*  psuedo-element shine animation right side */
    .btn::after {
      content: '';
      display: block;
      position: absolute;
      background: rgba(255, 255, 255, 0.2);
      width: 30px;
      height: 100%;
      top: 0;
      filter: blur(5px);
      transform: translateX(-100px) skewX(-15deg);
    }
  
    /* grow button and change background gradient on hover */
    .btn:hover {
      background-image: #2d8fe5;
      transform: scale(1.05);
      cursor: pointer;
  }
  
  
      /* psuedo-elements for right- and left-side shine animations */
      .btn:hover::before,
      .btn:hover::after {
        transform: translateX(300px) skewX(-15deg);
        transition: 0.7s;
}


@font-face {
    font-family: poppins;
    src: url(poppins.ttf);
} 
* {
    font-family: poppins;
}
.alert-secondary, .alert-primary, .alert-danger, .alert-warning {
    margin-left: 1vw;
    margin-right: 1vw;
    overflow-wrap: break-word;
}
#indalert {
    align-self: center;
    max-width: 310px;
}
#reply {
    max-width: 87vw;
}
#tingy {
    width: 85vw;
}
#tabpobj {
    width: 7vw;
}
.darkm, .darkm:active, .darkm:visited, .darkm:hover {
    color:white;
}
.darkm2 {
    color: white;
    background-color: #333;
}
.darkm2:focus {
    color: white;
    background-color: #333;
}
.darkm2:active {
    color: white;
    background-color: #333;
}

.darkm2::placeholder {
    color: white;
}
#msg1 {
    border: 2px white solid;
    border-radius: 6px;
}

.alert a:has(h4) {
    text-decoration: none;
    color: #333;
}

#desc {
    resize: none;
    height: 150px;
    width: 55vw;
    border-radius: 6px;
    padding: 5px;
}
#space {
    width: 5vw;
}
@media only screen and (max-width:475px){
    .navbar {
      width: 120vw;
    }
    #msg1 {
        width: 120vw;
    }
    hr {
        width: 120vw;
    }
    .alert {
        width: 120vw;
    }
    .alert hr {
        width: 85vw;
    }
}

.rthing {
    border-radius: 6px;
    border: 2px #333 solid;
}

a:has(.btn) {
    text-decoration: none;
}

.btn:has(box-icon) {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    text-decoration: none;
}

box-icon {
    align-self: left;
    background-color:rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    margin-right: 10px;
}
.darkhr {
    color: white;
}
a {
    text-decoration: none;
}