*{
    box-sizing: border-box;
}

body{
   background: #224941 url('pexels-sorenson-.jpg') no-repeat center center/cover;
   color: rgb(80, 105, 180);
   font-family: 'Montserrat', sans-serif;
   min-height: 100vh;
   overflow: hidden;
   display: flex;
   flex-direction: column;
   align-items: center;
   margin: 0;
}

.container{
    display: flex;
    align-items: center;
    justify-content: center; 
    height: 300px;
    width: 300px;
    margin: auto;
    position: relative;
    transform: scale(1); /*this makes it expand and contract*/
}

/* This circle will be behind the solid circle */
.gradient-circle{
    background: conic-gradient(
    #55b7a4 0%,
    #4ca493 40%,
    #fff 40%,
    #fff 60%,
    #336d62 60%,
    #2a5b52 100%
    );
    /* The size of this circle has to be larger than the container */
    height: 320px;
    width: 320px;
    position: absolute;    
    top: -10px;
    left: -10px;
    z-index: -2;
    border-radius: 50%;
}

/* inner circle that will be the solid coloured circle */
.circle{
    background-color: #010f1c;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /* this circle has to overlay the other circle */
    z-index: -1;
    border-radius: 50%;
}

/* The shirnk and grow effect */
.pointer-container{
    position: absolute;
    top: -40px;
    left: 140px;
    width: 20px;
    height: 190px;
    animation: rotate 7.5s linear forwards infinite; /* to circle and to keep going*/
    transform-origin: bottom center;
}

/* This will create the white circle */
.pointer{
    background-color: #fff;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    display: block;
}

.container.grow{
    animation: grow 3s linear forwards;
}

.container.shrink{
    animation: shrink 3s linear forwards;
}
/* Animation for the rotation*/
@keyframes rotate{
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}

/* Animation for the epansion and contraction */
@keyframes grow{
    from{
        transform: scale(1);
    }
    to{
        transform: scale(2);
    }
}

@keyframes shrink{
    from{
        transform: scale(1.2);
    }
    to{
        transform: scale(1);
    }
}
