/* styles.css */

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(10deg);
    }
    100% {
        transform: rotate(25deg);
    }
}

.anim {
    width: 100%;
    height: auto;
    position: relative;
    display: hidden;
  }

  @media screen and (min-width: 650px){
    .anim::before {
    content: "";
    position: absolute;
    top: 27%;
    left: 33.5%;
    width: 33%;
    height: 50%;
    border: 3px solid transparent;
    border-image: linear-gradient(90deg, blue, white, red) 1;
    border-image-slice: 10;
    animation: rotateBorder 10s linear infinite;
    animation-direction: alternate;
    overflow: hidden;
  }

}

.mainBanner{
    width: 100%;
    max-width: 200px;
    display: flex;
    margin: 1px auto;
  }

