*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,body{
    height: 100%;
    width: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    
}
@property --rotate{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes borderAnimate{
    from{
       --rotate:0deg;
    }
    to{
        --rotate:360deg;
    }
}
.box{
    max-width: 300px;
    padding-inline: 10px;
    padding-bottom: 10px;
    color: whitesmoke;
    display: flex;
    flex-direction: column;
    gap:  10px;
    transition: all  0.3s linear;
    border-radius: 15px;
    background: 
        linear-gradient(black) padding-box,
        conic-gradient(from var(--rotate), black,black,black, black,rgb(255, 21, 0),black) border-box;
    border: 5px solid rgba(255, 255, 255, 0);
   animation: borderAnimate 4s ;
   animation-iteration-count: infinite;
   box-shadow: 0 0 0px rgb(255, 21, 0);
   
   animation-timing-function: linear;
   animation-play-state: paused;
   text-shadow: 0 0 0px rgb(255, 21, 0);
    
    
}
.box:hover{
    box-shadow: 0 0 50px rgb(255, 21, 0);
    color: rgb(255, 21, 0);
   animation-play-state: running;
   border-width: 5px;
   text-shadow: 0 0 10px rgb(255, 21, 0);
   
}
.box img{
    width: 100%;
    height: 100%;
   
}