* {
    margin: 0;
    padding: 0;
}

:root {
    --background: #000430;
    --secondryBack: #171c48;
    --text: #fff;
    --purple: #828dff;
    --teal: #24feee;
}

body {
    background-color: var(--background);
    color: var(--text);
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 120px auto 0 auto ;
    max-width: 500px;
    
}

.first {
    padding: 30px;
    border: 2px solid var(--purple);
    border-radius: 20px;
    display: flex;
    justify-content:space-between;
    gap: 20px;
    width: 100%;
}
#firstSub1Sub1{
    width: 500%;
    height: 10px;
    background-color:var(--secondryBack);
    border-radius: 5px;
    margin-top: 20px;
}
#progress{
    width:50%;
    height:10px;
    background-color: var(--teal);
    border-radius: 10px;
    transition: all 0.3s ease;
}
#numbers {
    width: 100px;
    height: 100px;
    background-color: var(--purple);
    background-color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 30px;
    font-weight: bold;
}
form{
    margin-top: 60px;   
    width: 100%;
    display: flex;
    gap: 10px;
}
input{
    flex:1 ;
    padding: 16px;
    background-color: var(--secondryBack);
    border-radius: 10px;
    border: 1px solid var(--purple);
    outline: none;
    color: var(--text);
}
button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--purple);
    font-size: 30px;
    color: var(--text);
    font-weight: bold;
    outline: none;
}
.task-list{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    width: 100%;
    list-style: none;

}
.taskItem i{
    width: 24px;
    height: 24px;
    margin: 0 10px;
    cursor: pointer;
}
.task{
    display: flex;
    align-items: center;
    gap:10px;
}
.task input{
    width: 20px;
    height: 20px;
}

ul{
    list-style: none;
}
.taskItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    list-style: none;
    margin-top: 10%;
    margin-left: 0;
    font-size: 20px;
    width: 100%;
    background-color: var(--secondryBack);
    border-radius: 10px;
}
.task.completed p {
    text-decoration: line-through;
}
.icons i {
    cursor: pointer;
    margin-left: 10px;
}
#firstSub1Sub1 {
    width: 190%;
    background-color: #ddd;
    border-radius: 5px;
    margin: 10px 0;
}

#progress {
    height: 10px;
    background-color: green;
    border-radius: 5px;
    transition: width 0.3s ease;
}


#cong {
    font-size: 60px;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100%; 
    height: 100%;
} 
.nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 5rem;
    width: 100%;
    position: sticky;
    top: 0;
}
.profile{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}
.photo{
    background-color: rgba(255,255,255, 0.3);
    height: 2rem;
    padding: 0.5rem;
    border-radius: 50%;
    width: 2rem;
    font-size: 1.5rem;
    cursor: pointer;
}
.photo:hover{
    transform: scale(0.9);
    transition:transform 1s ease-in-out;
}
.name{
    height: 2rem;
    padding-top: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
}
.photo i{
    width: 100%;
}
.buttons{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    width:8rem;
    gap:2rem;
    font-size:1rem;
}
.login{
    border: 2px solid gray;
    background-color: var(--purple);
    width: 7rem;
    display: flex;
    justify-content: center;
    padding: 0.5rem;
    border-radius:0.5rem;
    cursor: pointer;
}
.login:hover{
    transform: scale(0.9);
    transition:transform 0.2s ease-in-out;
}
.register{
    border: 2px solid gray;
    width: 7rem;
    display: flex;
    justify-content: center;
    padding: 0.5rem;
    background-color: rgba(255,255,255, 0.3);
    z-index: 0;
    border-radius:0.5rem;
    cursor: pointer;
}
.register:hover{
    transform: scale(0.9);
    transition:transform 0.2s ease-in-out;
}
.register p{
    z-index: 1;
}
::-webkit-scrollbar{
    width: 10px;
    
}
::-webkit-scrollbar-thumb{
    background-color: var(--purple);
    border-radius: 50px;
}
::-webkit-scrollbar-track{
    background-color: var(--background);
    width: 50px;
}

