*{
    box-sizing: border-box;
}

body{
    margin: 0px;
    font-family: 'poppins';
    background-color: rgba(72, 163, 0, 0.07);
}

main{
    padding: 0px 16px 32px;
}

.title{
    font-size: 64px;
    text-align: center;
    color: rgba(72, 163, 0, 1);
}

span{
    color: black;
}

.box{
    max-width: 660px;
    background-color: rgba(251, 251, 251, 1);
    margin-inline: auto;
    padding: 20px 30px;
    border-radius: 15px;
}

.outSun{
    vertical-align: middle;
    animation: myrotation 3s infinite linear;
}

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

.in-sun{
    margin-left: -39px;
    vertical-align: middle;
    position: relative;
    z-index: 1;
}

.task-title{
    margin-top: 45px;
    color: rgba(133, 133, 133, 1);
    font-size: 14px;
}

.outter-bar{
    height: 25px;
    background-color: rgba(72, 163, 0, 0.1);
    border-radius: 15px;
}

.progress-value span{
    color: white;
    padding-left: 14px;
    min-width: max-content;
}

.progress-value{
    height: 100%;
    width: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    background-color: rgba(72, 163, 0, 1);
    border-radius: 15px;
    overflow: hidden;
    transition: width 1s;
}

.showError .error-label{
    display: block;
}

.error-label{
    font-size: 14px;
    color: red;
    display: none;
    margin-top: 4px;
}

.goal{
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 17px;
    height: 82px;
    display: flex;
    align-items: center;
    padding: 0px 22px;
    background-color: rgba(255, 255, 255, 1);
    margin-bottom: 46px;
    margin-top: 46px;
}

.tick-icon{
    display: none;
}

.completed .tick-icon{
    display: block;
}

.completed .custom-checkbox{
    background-color: rgba(72, 163, 0, 1);
}

.completed input{
    color: rgba(72, 163, 0, 1);
    text-decoration: line-through;
}

.custom-checkbox{
    height: 24px;
    width: 24px;
    border: 1px solid rgba(97, 72, 28, 0.3);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.goal input{
    padding-left: 22px;
    border: none;
    font-family: inherit;
    outline: none;
    font-size: 16px;
    width: 100%;
    height: 100%;
    font-weight: 500;
}

.goal input::placeholder{
    color: rgba(217, 217, 217, 1);
}

.quote{
    text-align: center;
    
}

.madewith{
    font-size: 10px;
    text-align: center;
    color: rgba(133, 133, 133, 1);
    margin-top: 54px;
}

@media (max-width : 660px){
    .title{
        font-size: 32px;
    }

    .goal{
        margin-bottom: 23px;
        height: 64px;
    }

    .task-title{
        margin-top: 25px;
    }

    .custom-checkbox{
        height: 20px;
        width: 20px;
    }
}