@font-face {
    font-family: shabnam fd , Verdana, Geneva, Tahoma, sans-serif;
    src: local() url(../fonts/Shabnam-Bold-FD.ttf);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: shabnam fd , Verdana, Geneva, Tahoma, sans-serif;
}
body{
    background-color: #1A38B0;
}
.title{
    display: flex;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 1rem;
    color: rgb(255, 157, 0);

}
.container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 800px;
    margin: 40px auto;
    padding: 2rem;
    border-radius: 2rem;
    border: 2px solid rgb(7, 32, 130);
    outline: none;
    box-shadow: 5px 7px 5px rgba(0,0,0,0.6);
    background-color: rgba(26, 56, 176, 0.8);
}
.input-container{
    display: flex;
    position: relative;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
    height: 4rem;
    
}
#task-input{
    display: flex;
    width: 20rem;
    border: 1px solid #ccc;
    padding:  10px 15px ;
    border-radius: 2rem;
    outline: none;
    margin: 2rem 4rem 2rem 4rem;
    height: 4rem;
    font-size: 1.2rem;
}
#add-task-btn{
    display: flex;
    position: absolute;
    margin: 2rem 4rem 2rem 4rem;
    padding: 10px 15px;
    background-color: #1A38B0;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 1rem;
    transform: translateX(200%);
    animation: 3s ease-in-out 0.5s ease;
}
#add-task-btn:hover{
    background-color: rgb(7, 32, 130);
}
#add-task-btn:active{
    background-color: rgb(7, 32, 130);
    transform: translateX(200%) scale(0.95);
    box-shadow: 2px 3px 2px rgba(0,0,0,0.6);
}   
.tasks{
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    flex-direction: column;
    width: auto;

}
.trash-icon{
    display: flex;
    top: 20px;
    right: 20px;
    align-items: center;
    
}
.bi.bi-trash{
    cursor: pointer;
    width: 2rem;
    height: 2rem;

}
#alarm{
    display: none;
    top: 10px;
    color: white;
    background-color: red;
    font-size: 1.2rem;
    border-radius: 2rem;
    width: 200px;
    height: 2rem;
    align-items: center;
    margin: 1rem auto;
    padding: 0.1rem 0.1rem 1rem 0.1rem;
    text-align: center;
    align-items: center;
    animation: 3s ease-in-out 0.5s ease;
    transition: all 0.3s ease;
}
.task {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-size: 1.2rem;
    min-width: 25rem;
}
.copyright {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
    margin-top: 15rem;
    font-size: 0.95rem;
    color: rgba(241, 245, 249, 0.65);    
    border-top: 1.5px solid rgba(255, 255, 255, 0.08);
    line-height: 1.6;
    animation: float 4s ease-in-out infinite;
}

.copyright p {
    margin: 0.35rem 0;
    font-family: verdana;
}

.copyright a {
    color: #c084fc;
    transition: color 0.2s ease;
    color: #0b0c29;
    text-decoration: underline;
}

.copyright a:hover,
.copyright a:focus {
    color: #e0abff;
    text-decoration: underline;
}
@media  only screen and (max-width: 846px){
    .container {
        width: 90%;
        padding: 1rem;
        margin: 2rem auto 0 auto;
        gap: 0;
        display: flex;
        flex-direction: column;
    }
}
@media  only screen and (max-width: 500px){
    .container {
        width: 90%;
        padding: 1rem;
        margin: 2rem auto 0 auto;
        gap: 0;
        display: flex;
        flex-direction: column;
    }
    #add-task-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-right: 5rem;
    }
    .tasks {
        margin: 1rem;
    }
    .task {
        width: 100%;
        min-width: 13rem;
        flex: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

@media  only screen and (max-width: 374px) {
    .container {
        width: 90%;
        padding: 1rem;
        margin: 2rem 2rem 0 auto;
        gap: 0;
        display: flex;
        flex-direction: column;
    }

}


/* The key is performance */
/* XrfanX */