@font-face {
    font-family: "Outfit-Regular";
    src: url(./Ressources/Outfit-Regular.ttf);
}
@font-face {
    font-family: "Outfit-Medium";
    src: url(./Ressources/Outfit-Medium.ttf);
}
@font-face {
    font-family: "Outfit-SemiBold";
    src: url(./Ressources/Outfit-SemiBold.ttf);
}
body{
    height: 100vh;
    width: 100dvw;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
main{
    height: 100%;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
#logo{
    display: flex;
}
#logo img{
    margin-bottom: 15px;
    margin-right: 15px;
}
#logo-title{
    margin-right: 15px;
}
#title{
    margin-bottom: 0;
    margin-top: 30px;
    font-family: "Outfit-Regular";
    font-size: 40px;
    font-weight: normal;
}
#sub-title{
    margin-top: 10px;
    font-family: "Outfit-Regular";
    font-size: 16px;
}

/*-----------------------------------------------*/
.task-in-progress{
    background-color: #F5D565;
}
.task-completed{
    background-color: #A0ECB1;
}
.task-wont-do{
    background-color: #F7D4D3;
}
.task-to-do{

    background-color: #E3E8EF;
}
#add-new-task{
    background-color: #F5E8D5;
    border-radius: 13px;
    width: 592px;
    height: 80px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
#add-new-task img{
    background-color: #E9A23B;
}
.add-new-task-text{
    font-family: "Outfit-SemiBold";
    font-size: 16px;
}

.timer{
    background-color: #E9A23B;
}
.checked-task{
    background-color: #32D657;
    margin-right: 2px;
}
.wont-do{
    background-color: #DD524C;
}
.tasks{
    border-radius: 13px;
    width: 592px;
    height: 80px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.tasks:active{
    border: 2px solid #3662E3;
}
.tasks img{
    height: 22px;
    width: 22px;
    
}
.no-icon{
    margin-left: 85px;
}
.task-img-name{
    display: flex;
    align-items: center;
}

.task-text p{
    margin: 5px;
}
.task-title{
    font-family: "Outfit-SemiBold";
    font-size: 20px;
}
.task-description{
    font-family: "Outfit-Regular";
    font-size: 16px;
}

.image-border{
    background-color: #F8FAFC;
    height: 45px;
    width: 45px;
    border-radius: 15px;
    margin: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image-border img{
height: 30px;
width: 30px;
}
#image-border{
    background-color: #E9A23B;
    height: 45px;
    width: 45px;
    border-radius: 15px;
    margin: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#image-border img{
    border-radius: 20px;
    height: 30px;
    width: 30px;
    }
.status-img-timer{
    background-color: #E9A23B;
    height: 45px;
    width: 45px;
    border-radius: 15px;
    margin: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.status-img-checked{
    background-color: #32D657;
    height: 45px;
    width: 45px;
    border-radius: 15px;
    margin: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.status-img-wont-do{
    background-color: #DD524C;
    height: 45px;
    width: 45px;
    border-radius: 15px;
    margin: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*--------------------------------------------------------------------------*/
#secondary-page{
        width: 100dvw;
        height: 100dvh;
        z-index: 1;
        position:fixed;
        display: none;
        flex-direction: column;
        align-items: end;
        justify-content: center;
        background-color: #00000033;
}
#secondary-page.checked{
    display: flex;
}
#new-task{
    background-color: white;
    height: 97%;
    width: 50%;
    border-radius: 10px;
    margin: 0 10px;
}
#new-task-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 20px 10px 15px;
}
#new-task-header img{
    margin-bottom: 2px;
    height: 25px;
    width: 25px;
}
#close-page{
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background-color: white;
}
#close-page:active{
    border: 1px solid #E3E8EF;
}
#new-task h2{
    font-family: "Outfit-SemiBold";
    font-weight: normal;
}
#new-task form{
    margin:20px 15px;
    height: 100%;
}
#task-name{
    width: 97%;
    height: 30px;
    border-radius: 5px;
    border: 1px solid #00000033;
    font-family: "Outfit-Regular";
    font-size: 14px;
    padding-left: 5px;
}
#task-description{
    height: 140px;
    width: 97%;
    resize: none;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #00000033;
    font-family: "Outfit-Regular";
    padding: 5px;
}

.labels{
    font-family: "Outfit-Medium";
    font-size: 12px;
    color: #97A3B6;
    margin-top: 20px;
    flex-wrap: nowrap;
}
.inputs{
    margin-bottom: 15px;
}
#computer-icon, #messenger-icon, 
#coffee-icon, #gym-icon, 
#books-icon, #clock-icon{
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
#computer-icon+img, #messenger-icon+img, 
#coffee-icon+img, #gym-icon+img, 
#books-icon+img, #clock-icon+img{
    cursor: pointer;
    width: 35px;
    height: 35px;
    margin: 25px;
    border-radius: 8px;
}
#icon-labels{
    display: flex;
    flex-direction: row;
}
.icon-border.checked{
    background-color: #F5D565;
}
.icon-labels div{
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00000033;
    border-radius: 8px;
    margin: 5px 3px;
}
#status-labels{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

#up-statuslevel{
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
}
#down-statuslevel{
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
}

.status-labels{
    display: flex;
    justify-content: start;
    align-items: center;
    margin: 10px 10px 10px 5px;
    border: 1px solid #00000033;
    border-radius: 10px;
    padding: 1px 20px 1px 1px;
    width: 45%;
    cursor: pointer;
    color: black;
    font-size: 16px;
}
.status-labels.checked{
    border: 2px solid #3662E3;
}
.status-labels .status{
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.check-status{
    width: 60%;
    display: flex;
    justify-content: end;
}
#defective-status{
    width: 65%;
}
.task-check{
    border-radius: 50%;
    height: 15px;
    justify-self: end;
    visibility: hidden;
}
.task-check.checked{
    background-color: #3662E3;
    visibility: visible;
}
#inprogress-status+img, #completed-status+img, #wont-do-status+img{
    cursor: pointer;
    width: 28px;
    height: 28px;
    background-color: black;
}
.new-tasks-images{
    width: 45px;
    height: 45px;
    border-radius: 10px;
    margin: 0 10px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#new-task-orange{
    background-color: #E9A23B;
}
#new-task-orange img{
    background-color: #E9A23B;
}
#new-task-green{
    background-color: #32D657;
}
#new-task-green img{
    background-color: #32D657;
}

#new-task-red{
    background-color: #DD524C;
}
#new-task-red img{
    background-color: #DD524C;
}

#blank-task{
    border: none;
    cursor: none;
    display: flex;
    justify-content: start;
    align-items: center;
    margin: 10px 10px 10px 5px;
    border-radius: 10px;
    padding: 1px 20px 1px 1px;
    width: 45%;
    visibility: hidden;
}
#buttons{
    margin: 10px;
    width: 98%;
    height: 30%;
    display: flex;
    justify-content: end;
}
#buttons button{
    border: none;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #F8FAFC;
    height: 40px;
    width: 100px;
    margin: 200px 5px;
    cursor: pointer;
}
#delete-button{
    background-color: #00000033;
}

#save-button{
    background-color: #3662E3;
}


@media screen and (max-width: 1023px){
    body{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    main{
        width: 100%;
        margin:0px;
    }
    .tasks{
        width:100%;
    }
    #secondary-page{
        align-items: center;
    }
    #new-task{
        width: 97%;
    }
    #buttons{
        height: 30%;
    }
}