﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:weight@300;400;500;600;700;800;900&display=swap');

/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #162052;
}
*/
.circle {
    position: relative;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    overflow: hidden;
}

    .circle::before {
        content: '';
        position: absolute;
        inset: -10px 140px;
        background: linear-gradient(315deg,#00ccff,#f006e4);
        transition: 0.5s;
        animation: animate 4s linear infinite;
    }

    .circle:hover::before {
        inset: -20px 0px;
    }

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.circle::after {
    content: '';
    position: absolute;
    inset: 6px;
    background: #162052;
    border-radius: 50%;
    z-index: 1;
}


.mycontent {
    position: absolute;
    inset: 5px;
    border: 6px solid #fff;
    z-index: 3;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

    .mycontent img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.5s;
        pointer-events: none;
        z-index: 3;
    }

.circle:hover .mycontent img {
    opacity: 0;
}

.mycontent h2 {
    position: relative;
    font-size: 1.5em;
    text-align: center;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5em;
    text-transform: uppercase;
}

    .mycontent h2 span {
        font-weight: 300;
        font-size: 0.75em;
    }

.mycontent a {
    position: relative;
    margin-top: 10px;
    padding: 10px 20px;
    background: #fff;
    color: #070a1c;
    border-radius: 25px;
    font-weight: 500;
    font-size: 1.25em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: 0.5s;
}

    .mycontent a:hover {
        letter-spacing: 0.2em;
    }
