*{
    box-sizing:border-box;
    padding:0;
    margin:0;
}

body{
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #162052;

}
html{
    scroll-behavior: smooth;
}
.box{
    position: relative;
    width: 400px;
    height: 400px;
    background: rgba(0,0,0, 0.5);
    border-radius: 50%;
    overflow: hidden;
}
@media(max-width:991px){
    .box{
        width: 300px;
        height: 300px;
    }

}
.box::before{
    content: "";
    position: absolute;
    inset: -10px 140px;
    background: linear-gradient( 315deg , #00ccff , #d400d4 ) ;
    transition: 0.5s;
    animation: animate 4s linear infinite;
    
}
.box:hover:before{
    inset: -20px 0;
}
@keyframes animate {
    0%{
transform: rotate(0deg);
    }
    100%{
transform: rotate(360deg);
    }
    
}
.box::after{
    content: "";
    position: absolute;
    inset: 6px;
    background: #162052;
    border-radius: 50%;
    z-index: 1;
}
.content{
    position: absolute;
    inset: 30px;
    border: 6px solid #070a1c;
    border-radius: 50%;
    z-index: 3;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}
.content img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    pointer-events: none;
    z-index: 3;
}
.box:hover .content img{
    opacity: 0;
}
.content h2{
    position: relative;
    text-align: center;
    font-size: 1.5em;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;

}
.content h2 span{
    font-weight: 300;
    font-size: 0.75em;
}
.content a{
    position: relative;
    font-weight: 500;
    margin-top: 10px;
    border-radius: 25px;
    background-color: white;
    color: black;
    padding: 10px 20px;
    font-size: 1.25em;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: 0.5s;
}
.content a:hover{
    letter-spacing: 0.2em;

}
