@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700&family=Knewave&family=Special+Gothic+Expanded+One&display=swap');

body{
    background-image: url("https://images.unsplash.com/photo-1636955840493-f43a02bfa064?fm=jpg&q=60&w=3000&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
html{
    padding: 0;
    margin: 0;
    font-family: "Anonymous Pro", monospace;
    font-size: 20px;
}
.card{
    width: fit-content;
    background-color: rgb(249, 249, 249);
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.349);
    height: fit-content;
    transition: all 0.7s ease-in-out;
}
.card_holder{
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    width: auto;
    
}
#to_do_list{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 52vh;
    padding: 4vh;
    row-gap: 1rem;
    padding-top: 2rem;
    align-content: flex-start;
}
.type{
    font-size: 0.5rem;
    color: rgb(83, 83, 83);
    padding: 0;
    margin: 0;
    position: relative;
}
.name{
    padding: 0;
    margin: 0;
    font-size: 1rem;
    margin-top: 0.2%;
}
.buttons{
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    align-items: center;
    align-self: center;
}
.Not_started{
    background-color: rgb(255, 34, 34);
}
.In_work{
    background-color: rgb(255, 166, 0);
}
.Done{
    background-color: rgb(0, 205, 0);
}
.progress{
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 1.2rem;
    border: 1px solid black;
    font-family: "Anonymous Pro", monospace;
}
.active{
    width: max-content !important;
}
.text{
    border: 1px solid rgb(132, 132, 132);
    padding: 0.4rem;
    border-radius: 0.5rem;
}

.open_close_button{
    height: 1.2rem;
    width: 1.2rem;
    margin-top: auto;
    margin-bottom: auto;
}
.Open_Close{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0.4rem;
    width: 1.2rem;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}
@media (max-width: 800px){
    html{
        font-size: 16px;
    }
    #to_do_list{
        width: 90%;
        padding: 0.5rem;
        flex-wrap: wrap;
        height: 55vh;
        padding-top: 2rem;
    }
    #logo{
        display: none;
    }
    #nav{
        width: 90%;
        justify-content: center;
    }
    .popup{
        width: 80% !important;
        min-height: 18vh !important;
    }
    .card_holder{
        flex-wrap: wrap;
        width: auto;
    }
    #nav_buttons{
        justify-content: center;
    }
}
@media (max-width: 1200px) and (min-width: 801px){
    html{
        font-size: 18px;
    }
}
.text_era{
    width: 98%;
}
.info{
    opacity: 0;
    max-height: 0px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}
.rotate{
    animation: rotate 0.55s forwards;
}
.rotate-back{
    animation: rotate-back 0.55s forwards;
}
@keyframes rotate{
    0%{
        transform: rotate(0);
    }
    100%{
        transform: rotate(-180deg);
    }
}
@keyframes rotate-back{
    0%{
        transform: rotate(-180deg);
    }
    100%{
        transform: rotate(0);
    }
}
@keyframes show{
    0%{
        opacity: 0;
        max-height: 0px;
    }
    70%{
        opacity: 1;
    }
    100%{
        opacity: 1;
        max-height: 50vh;
    }
}
@keyframes hide{
    0%{
        opacity: 1;
        max-height: 50vh;
    }
    80%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        max-height: 0px;
    }
}
.hide{
    animation: hide 0.6s forwards;
    transition: all 0.6s ease-in-out;
}
.show{
    animation: show 0.6s forwards;
    transition: all 0.6s ease-in-out;
}
button{
    color: black;
}
.deleat_button{
    width: 1.2rem;

}
.deleat{
    display: flex;
    justify-content: center;
    align-items: center;
}
#empty{
    position: absolute;
    text-align: center;
    width: 100%;
    left: 0;
    margin-top: 2rem;
}
#nav{
    width: 70%;
    margin-top: 3rem;
    background-color: rgba(9, 230, 197, 0.403);
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.476);
    border-radius: 1.4rem;
    border: 2px rgba(7, 230, 197) solid;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem;
    padding-left: 2rem;
    padding-right: 2rem;

}
h1{
    font-family: "Knewave", system-ui;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    text-align: center;
    font-size: 2rem;
    color: rgba(7, 230, 197);
}
#new_pop_up{
    color: rgba(7, 230, 197);
    background-color: white;
    border-radius: 1rem;
    border: 1px solid white;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 0.4rem;
}
#new_type_pop_up{
    color: white;
    background-color: transparent;
    border-radius: 1rem;
    border: 1px solid white;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 0.4rem;
}
#logo{
    width: 2.1rem;
    height: 2.1rem;
}
#nav_buttons{
    display: flex;
    gap: 0.5rem;
    row-gap: 0.5rem;
    align-items: center;
}
#nav_buttons button:hover{
    transform: translateY(-0.25rem);
}
#nav_buttons button{
    transition: transform 0.4s ease-in-out;
    cursor: pointer;
}
.display{
    display: flex !important;
    z-index: 1000;
}
.popup{
    display: none;
    width: 50%;
    min-height: 20vh;
    background-color: rgba(9, 230, 197, 0.566);
    border: 3px rgba(7, 230, 197) solid;
    z-index: 100;
    align-items: center;
    border-radius: 2rem;
    flex-direction: column;
    padding: 0.4rem;
    padding-bottom: 1.4rem;
}
#popups{
    position: fixed;
    inset: 0;
    display: none ;
    background-color: rgba(0, 0, 0, 0.76);
    width: 100%;
    height: 100vh;
    z-index: -1000;
    justify-content: center;
    align-items: center;
}
#popups.display{
    display: flex !important;
    z-index: 1000;
}
#to_do_list::-webkit-scrollbar {
  width: 10px;
  height: 100px;
}

#to_do_list::-webkit-scrollbar-thumb {
  background-color: rgba(7, 230, 197);
  height: 1rem;
  border-radius: 2rem;
}

#to_do_list::-webkit-scrollbar-track {
  background-color: transparent;
}
#to_do_list {


  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0px,
    rgba(0,0,0,1) 30px,
    rgba(0,0,0,1) calc(100% - 30px),
    rgba(0,0,0,0) 100%
  );

  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0px,
    rgba(0,0,0,1) 30px,
    rgba(0,0,0,1) calc(100% - 30px),
    rgba(0,0,0,0) 100%
  );
}
select{
    font-family: "Anonymous Pro", monospace;
    background-color: transparent;
    border: 2px solid rgba(7, 230, 197);
    border-radius: 1rem;
    padding: 0.3rem;
    color: white;
    font-weight: 800;
}
select:focus{
    background-color: brown;
}

button:hover{
    cursor: pointer;
}
img:hover{
    cursor: pointer;
}
h3{
    color: white;
    font-size: 1.7rem;
    font-family: "Knewave", system-ui;
    margin-bottom: 2rem;
    
}
.popup > div > input{
    padding: 0.2rem;
    border-radius: 0.4rem;
    font-size: 1rem;
    border: 2px solid rgba(7, 230, 197);
}
.popup > div > input:focus{
    border-color: rgb(6, 85, 255);
    outline: none;
}
.popup > div > button{
    padding: 0.2rem;
    border-radius: 0.4rem;
    font-size: 1rem;
    border: 2px solid white;
    background-color: white;
    color: rgb(0, 0, 0);
    font-family: "Anonymous Pro", monospace;
}
.popup > div{
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.popup > div > button:hover{
    padding: 0.2rem;
    border-radius: 0.4rem;
    font-size: 1rem;
    border: 2px solid white;
    background-color: white;
    color: rgb(6, 85, 255);
    font-family: "Anonymous Pro", monospace;
}
.info_text{
    font-size: 1rem;
    color: brown;
}