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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #F1F1F1;
}

.wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    width: 300px;
    border-radius: 50%;
    box-shadow: inset -10px -10px 15px rgba(255, 255, 255, 0.1),
        inset 10px 10px 10px rgba(0, 0, 0, 0.1);

    & span {
        position: absolute;
        height: 186px;
        width: 220px;
        animation: rotate 5s linear infinite;
    }
}

@keyframes rotate {
    100%{
        transform: rotate(360deg);
    }
}

.wrapper::before {
    content: "";
    position: absolute;
    height: 200px;
    width: 200px;
    border-radius: 50%;
    box-shadow:  -10px -10px 15px rgba(255, 255, 255, 0.1),
        10px 10px 10px rgba(0, 0, 0, 0.1);
}

.wrapper span::before {
    content: "";
    position: absolute;
    height: 30px;
    width: 30px;
    background-color: #5c89ff;
    border-radius: 50%;
}