@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

* {
    box-sizing: border-box;
}

body {
    background: #224941 url('./img/bg.jpg') no-repeat center center/cover;
    min-height: 100vh;
    overflow: hidden;
    font-family: 'Montserrat',sans-serif;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

h1{
    font-size: 3rem ;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    width: 300px;
    height: 300px;
    position: relative;
    color: #fff;
    transform: scale(1);
}

.circle {
    background-color: rgb(14, 27, 9);
    border-radius: 50%;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.gradient-circle {
    background: conic-gradient(
        rgb(118, 223, 136) 0%,
        rgb(78, 145, 88) 40%,
        #fff 40%,
        #fff 60%,
        rgb(16, 49, 20) 60%,
        rgb(32, 61, 21) 100%
    );
    z-index: -2;
    height: 330px;
    width: 330px;
    position: absolute;
    top: -15px;
    left: -15px;
    border-radius: 50%;
}

.pointer {
    height: 30px;
    width: 30px;
    background-color: #fff;
    border-radius: 50%;
    display: block;
}

.pointer-container {
    position: absolute;
    top: -60px;
    left: 135px;
    width: 30px;
    height: 210px;
    animation: rotate 7.5s linear forwards infinite;
    transform-origin: bottom center;
}

@keyframes rotate {
    from {
        transform: rotate(0deg) ;
    } to {
        transform: rotate(360deg);
    }
}

.container.grow {
    animation: grow 3s linear forwards;
}

@keyframes grow {
    from {
        transform: scale(1);
    } to {
        transform: scale(1.2);
    }
}

.container.shrink {
    animation: shrink 3s linear forwards;
}

@keyframes shrink {
    from {
        transform: scale(1.2);
    } to {
        transform: scale(1);
    }
}