html,*,*::after,*::before{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html{
    position: relative;
}
.light{
    --back-ground : rgb(229, 229, 225);
    --black : black;
    --white : white;
    --sub-norm : rgb(80, 80, 80);
    --sub-hover :   rgb(228, 228, 228) ;
    --option-hover : rgb(106, 106, 106);
    --box-shadow : #0D47A1;

}

.dark{
  --back-ground: rgb(0, 0, 0);
  --black: rgb(255, 255, 255);
  --white: rgb(0, 0, 0);
  --sub-norm: rgb(172, 172, 172);
  --sub-hover: rgb(26, 26, 26);
  --option-hover: rgb(223, 223, 223);
  --box-shadow : #0D47A1;

}

*{
    transition: all 400ms ease-in-out 2ms ;
}

.backdrop-color{
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.078);
    backdrop-filter: blur(5px);
    position: absolute;
    display: none;
    justify-content: center;
    align-items: center;
}

.color-picker-moudal{
    width: 20rem;
    height: 15rem;
    border: 1px solid black;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.101);
    backdrop-filter: blur(3px);
    border-radius: 2rem;
    padding: 0.5rem 0.5rem;
    display: flex;
}
.cpm__title{
    margin-top: 1rem ;
    text-align: center;
}
.cpm-colors{
    margin-top: 2.5rem;
    border-radius: inherit;
    width: 100%;
    height: 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.color{
    width: 2rem;
    height: 2rem;
    border-radius: 26rem;
    cursor: pointer;
}

body{
    font-family: sans-serif;
    background-color: var(--back-ground);
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--black);

}

.container{
    width: 35rem;
    height: 25rem;
    box-shadow: 0 0 20px -1px var(--box-shadow);
    background-color: var(--white);
    border-radius: 1rem;
    border-bottom: 1px solid var(--black);
}
.title-box{
    border-bottom: 1px solid var(--black);
    width: 100%;
    height: 4rem;
    text-align: center;
    padding-top: 0.6rem;
    position: relative;
    color: var(--box-shadow);

}
.btn{
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    width: 4rem;
    height: 2rem;
    border: none;
    outline: none;
    box-shadow: 0 0 10px -3px var(--black);
    border-radius: 1rem;
    cursor: pointer;
    background-color: var(--white);
    transition: all 100ms linear 2ms;
    /* color: white; */
}
.circle__btn{
    position: absolute;
    left: 0.15rem;
    top: 0.15rem;
    bottom: 0;
    border-radius: 100%;
    width: 1.7rem;
    height: 1.7rem;
    background-color: var(--black);
    transition: all 200ms ease 2ms;
}

.color__picker{
    width: 3rem;
    height: 3rem;
    position: absolute;
    border-radius: 6rem;
    background-color: var(--box-shadow);
    border: 2px solid var(--black);
    top: 0.5rem;
    left: 0.5rem;
    cursor: pointer;
}

.options-box{
    font-size: 1.8rem;
    direction: rtl;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.option{
    padding: 0.5rem;
    margin-top: 1rem;
    width: 30rem;
    height: 5rem;
    line-height: 2rem;
    box-shadow:  0 0 10px -4px var(--black);
    border-radius: 0.8rem;
    cursor: pointer;
    transition: all 200ms ease 2ms;
    color: var(--box-shadow);
}
.option:hover{
    background-color: var(--black);
    transform: translateX(-10px);
    box-shadow: 0 0 10px -3px var(--black);
}
.option__title{
    font-weight: 500;
}   
.option__subtitle{
    font-weight: 300;
    font-size: 1rem;
    margin-right: 1rem;
    opacity: 0.7;
}
.option:hover .option__subtitle{
    color: var(--sub-hover);
}
.progress-box{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.progress-bar-container{
    border: 1px solid var(--black);
    margin-top: 1rem;
    border-radius: 2rem;
    width: 100%;
    height: 2rem;
    display: flex;
    justify-content: flex-start;
    overflow: hidden;
}
.plus{
    position: absolute;
    right: -4rem;
    font-size: 3rem;
    color: var(--box-shadow);
    border-radius: 20rem;
    background-color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3.2rem;
    height: 3.2rem;
    cursor: pointer;
}
.progress-bar{
    height: 100%;
    width: 0.35rem;
    background-color: var(--box-shadow);

}
.progress-bar:hover{

}
.miness{
    position: absolute;
    left: -4rem;
    font-size: 3rem;
    color: var(--box-shadow);
    border-radius: 20rem;
    background-color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3.2rem;
    height: 3.2rem;
    cursor: pointer;
}
