body {
  font-family: 'Fredoka', sans-serif;
}


body {
    height: 100vh;
    width: 100%;
    background-color: #7F7C82;
    padding: 35px;
    margin: 0;
}
.project{
    display: flex;
    flex-direction: row;
      justify-content: center; /* أفقي */
  align-items: center;     /* عمودي */
  height: 100vh;           /* لازم يكون عنده ارتفاع */
  gap: 30px;
   padding-top: 0px; /* أقلل المسافة من فوق */
   padding-bottom: 130px;
  box-sizing: border-box;
  position: relative;
}
#theme{
    position: absolute;
    top: 0%;
    left: 0%;
    border: 2px solid #111112;
    background-color: #101012;
    padding: 10px 10px;
    border-radius: 15px;
    font-size: 15px;
    color: #F3F1F5;
       font-weight: bold;
    cursor: pointer;
  transition: transform 0.3s ease;
    }

.container{
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 200px;
  background-color: #F0D9FF;
  border-radius: 10px;
  padding: 5px;
}

.container .title h1{
  
    font-size: 20px;
    margin: 0;

}
#logo{
    height: 38px;
    width: 38px;
}
.title{
    display: flex;
    gap: 5px;
    padding: 0;
    margin-bottom: 10px;
    margin-left: 5px;
    align-items: center;
}
input{
    flex: 1;
    min-width: 100px;
    width: 300px;
    height: 30px;
    border: 2px solid #BFA2DB;
    border-radius: 15px;
    background-color: #F3F1F5;
    overflow: auto;
    font-size: 15px;
    outline: none;
    padding: 5px 5px;
    box-sizing: border-box;
    margin: 3px;
}
    .Add {
  display: flex;
  align-items: center;
  gap: 8px; 
}



.Add button {
    padding: 8px 17px;
    border: none;
    border-radius: 15px;
    background-color: #7F7C82;
    color: #F3F1F5;
    font-weight: bold;
    cursor: pointer;
  transition: transform 0.3s ease;
}

#submit:active{
transform: scale(0.95);

}
 


ul li{
    text-decoration: none;
    list-style: none;
    user-select: none;
    position: relative;
    overflow-wrap: break-word;
    padding-right: 0px;
    font-size: 18px;
    font-weight:lighter;
    padding-left: 50px;
    margin-top: 15px;
    margin-bottom: 19px;
    margin-left: 0;
    margin-right: 10px;

    
}
ul{
    padding: 0px 15px;
}

ul li::before{
    content: '';
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-image: url(image/unchecked.png);
    background-position: center;
    background-size: contain;
    position: absolute;
    left: 0%;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

li.checked::before{
    content: '';
    height: 35px;
    width: 35px;
    border-radius: 50%;
    background-image: url(image/checked.png);
    background-position: center;
    background-size: contain;
    position: absolute;
    left: 0%;
    top: 50%;
    transform: translateY(-50%);
}

li.checked{
    text-decoration: line-through;
}



li span {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  height: 35px;
  width: 35px;
  border-radius: 50%;
  color: black;
  text-align: center; 
  line-height: 35px;  
  cursor: pointer;   
}

span:hover {
  background: #7F7C82;
  color: white;
}
#star{
    padding: 7px 17px;
    border: none;
    border-radius: 15px;
    background-color: #7F7C82;
    font-weight: bold;
    cursor: pointer;
  transition: transform 0.3s ease;
}

.secondcontain{
 display: flex;
  flex-direction: column;
  height: auto;
  min-height: 200px;
  background-color: #BFA2DB;
  border-radius: 10px;
  padding: 5px;

}
.secondcontain .title2 h1{
  
    font-size: 20px;
    margin: 0;

}
.title2 #image2{
    
    font-size: 25px;
}
.title2{
    display: flex;
    gap: 5px;
    padding: 0;
    margin-bottom: 10px;
    margin-left: 5px;
    align-items: center;
}

.container, .secondcontain {
  width: 100%;
  max-width: 500px;
  min-height: 400px;
  flex: 1;
}

.project {
  display: flex;
  gap: 20px;
}

@media (max-width: 600px) {
  .project {
    flex-direction: column;
  }
}

ul li.done{
        text-decoration: none;
    list-style: none;
    user-select: none;
    position: relative;
    overflow-wrap: break-word;
    padding-right: 0px;
    font-size: 18px;
    font-weight:lighter;
    padding-left: 50px;
    margin-top: 15px;
    margin-bottom: 19px;
    margin-left: 0;
    margin-right: 10px;
}

body.dark {
  background: #18122B;
  color: #eeeeee;
}

body.dark .container{
  background: #635985;
  color: #eeeeee;

}

body.dark .secondcontain {
  background: #443C68;
  color: #ffffff;
}