*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
body{
    align-items: center;
    display: flex;
    flex-direction: column;
    font-family: 'Work Sans', sans-serif;
    min-height: 100vh;
    padding-top: 3%;
    transition: 0.3s linear;
    overflow: hidden;

    
}
button {
    border: none;
    outline: none; 
    transition: box-shadow 200ms ease, background-color 200ms ease-in-out;
}
.header{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
   min-height: 25vh;
    width: 100%;
    font-size: 46px;
}
.container{
    display: flex;
    align-items: center;
    align-self: flex-end;
    justify-content: space-around;
    margin-right: 1px;
    

}
.theme-selector{
    border-radius: 100%;
    margin: 0 8px;
    height: 35px;   
    width: 35px;
    border: 1px solid #d1dae3;
    transition: tranform 150ms ease-in-out, box-shadow 200ms ease-in-out;
}
.theme-selector:hover{
    box-shadow: white 0 0 8px;
    cursor: pointer;
}
.theme-selector:active {
    transform: scale(0.95);
}
@media  screen and (max-width:1000px){
    .container{
        align-self: unset;
        margin: 0;
        width: 100%;
        gap: 10px;
    }
}
@media screen and (max-width:800px) {
    .header{
        font-size: 2rem;
    
    }
    #title{
        animation: blinking 1s steps(1, end) infinite,
    typing 750ms steps(10,end);
    font-size: 4rem;
    max-width: 90%;
    }
    

}
@media screen and (max-width:650px) {
    input.text{
        width: 25rem;
    }
    #title{
        animation: blinking 1s steps(1, end) infinite,
    typing 750ms steps(10,end);
    font-size: 4rem;
    max-width: 90%;
    }

}
@media screen and (max-width: 550px) {
    form {
      flex-direction: column;
      width: 100%;
      /* gap: 10px; */
    }

  
    form input.text {
      width: 100%;
      border-radius: 10px;
    }
  
    .standard-button {
      width: 30%;
      position: relative;
      top: 1.5rem;
      left: 7.5rem;
      border-radius: 10px;
    }
    .datetime{
        margin-top: 4rem;
    }
  
    #title{
        animation: blinking 1s steps(1, end) infinite,
    typing 750ms steps(10,end);
    animation: animated-text 1s steps(1,end) 0.5s 1 normal both, darker-animated-cursor 750ms steps(40,end) infinite;
    font-size: 4rem;
    max-width: 90%;
    }
  }


#title{
    border-right: solid 3px rgba(0, 0, 0, 0.75);
    overflow: hidden;
    letter-spacing: 0.20rem;
    margin-top: 50px;
    margin-bottom: 20px;
    max-width: 480px;
    animation: blinking 1s steps(1, end) infinite,
    typing 3s steps(40,end);
    white-space: nowrap;

}
#title.darker-title {
    animation: typing 2s steps(11,end), blinking1 750ms steps(11,end) infinite;
}
@keyframes animated-text{
    from{width: 0%;}
    to{width: 100%;}
  }
  @keyframes blinking1 {
    from{border-right-color: #01394c;}
    to{border-right-color: transparent;}
  }
@keyframes blinking {
    0%{
        border-color: transparent;
    }
    50%{
        border-color: rgba(0, 0, 0, 0.75);
    }
    100%{border-color: transparent;}
}
@keyframes typing {
    0%{
        width: 0;
    }
    100%{
        width: 100%;
    }
    
}
form{
    margin: 0;
    min-height: 10vh;
    width: auto;
}
.text{
    font-size: 17px;
    outline: none;
    border: none;
    width: 500px;
    border-top-left-radius:17px;
    border-bottom-left-radius: 17px;
    padding: 10px;
    /* background-color: #001214; */
    /* color: white; */
    transition: background-color 200ms ease-in-out;
    
}
form input.text{
    background-color: #181a1a;
    color: rgb(247, 226, 223);
}
form input.light-input{
    background-color: #AEB1B4;
    color: #1a150e;
}
form input.light-input::placeholder{
    color: #1a150e;
    opacity: 0.7;
}
form input.darker-input{
    background-color: #01394c;
    color: white;
}
form input.darker-input::placeholder{
    color: white;
    opacity: 0.7;
}
form input.text:hover{
    background-color: rgb(0, 0, 0);
}
form input.light-input:hover {
    background-color: #919699;
}

form input.darker-input:hover {
    background-color: #013141;
}

.standard-button{
     min-width: 100px;
    padding: 10px;
    font-size: 17px;
    position: relative;
    right: 15px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    cursor: pointer;
}
button.standard-button{
    background-color: rgb(247, 226, 223);
    color: rgb(0, 0, 0);
}
button.standard-button:hover{
    background-color: white;
    box-shadow: #fff8 0 0 10px;
}
button.light-button {
    background-color: white;
    color: #1a150e;
}

button.light-button:hover {
    background-color: #f0f0f0;
}

button.darker-button {
    background-color: #002837;
    color: white;
}

button.darker-button:hover {
    background-color: #001f29;
}
.datetime{
    display: flex;
    justify-content: center;
    font-size: 1rem;
}
#standard-theme {
    background-image: linear-gradient(100deg, #575656, #062e3f);
    color: #ffdfdb;
    transition: 0.3s linear;
    overflow: hidden;
}

#light-theme {
    background-image: linear-gradient(100deg, #d4f1ff, #ffffff);
    color: #1a150e;
    transition: 0.3s linear;
    overflow: hidden;
}

#dark-theme {
    background-image: linear-gradient(100deg, #001214, #001f29);
    color: white;
    transition: 0.3s linear;
    overflow: hidden;
}
.todo-list{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    flex-direction: column;
}
.todo{
    margin: 1rem;
    /* background: rgb(247, 226, 223); */
    /* color: black; */
    font-size: 19px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25em 0.5em;
    border-radius: 30px;
    transition: background-color 200ms ease-in-out;
}
.standard-todo {
    background-color: rgb(26, 27, 27);
}

.light-todo {
    background-color:#AEB1B4;
    /* color: #1a150e; */
}

.darker-todo {
    background-color: #01394c;
}

.todo li{
    padding: 7px;
    /* word-wrap: break-word; */
    /* flex-wrap: wrap; */
    font-size: 20px;
    flex: 1; /* To push the trash and the check button to the right */
    border-radius: 30px;

    /* wraps the links */
    overflow-wrap: anywhere;
    list-style: none;
}

.check-btn, .delete-btn {
    font-size: 19px;
    cursor: pointer;
    width: 2em;
    height: 2em;
    border-radius: 80%;
    margin: 0 5px;
}

.todo-item {
    padding: 0rem 0.5rem;
}

.fa-trash, .fa-check { 
    pointer-events: none;
    
}


.completed {
    transition: 0.2s;
    text-decoration: line-through;
    opacity: 0.5;
}

.fall {
    transition: 1.5s;
    transform: translateY(45rem) rotateZ(45deg);
    opacity: 0;
}
.check-btn:hover,
.delete-btn:hover {
  opacity: 0.8;
}
@media screen and (max-width:550px) {
    .check-btn, .delete-btn{
        font-size: 12px;
    
    }
    
}