@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Salsa&display=swap');

.sidebar{
    position: relative;
    width: 100%;
    background-color: rgba(69, 75, 102, 0.87);
    min-height:100vh ;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.close{
    display: none;
}

*{
    box-sizing: border-box;
    font-family: 'Salsa', cursive;
}

.sidebar #title{
    font-size: 1.6rem;
    color: aliceblue;
    margin-top: 27px;
    margin-bottom: 70px;
}

.content{
    width:100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
 
.main{
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 70%;
    margin-top: 10vh;
    gap: 50px;
    background-color: rgba(156, 163, 219, 0.527) ;
    width:50vw ;
    border: solid 2px rgb(35, 37, 37);
    border-radius: 30px;
}

.main button{
    width: 100px;
    height: 30px;
    border-radius: 15px;
}

#projectTitle{
    border-bottom: black solid 2px;
}



#projectTitle{
    font-size: 1.6rem;
    font-weight: 900;
}

#desc{
    font-size: 1.2rem;
}

.toDoBox{
    display: grid;
    grid-template-columns: 5fr 0.3fr;
    min-width: 300px;
    width: 100%;
    height: auto;
    background-color: rgb(156, 163, 219);
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0.3rem 0.3rem 0 0 ;
}

#do{
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    border: 2px rgb(255, 250, 250) solid;
    appearance: none;
    outline: none;
    cursor: pointer;
    background-color: white;
}

#do:checked{
    background-color: rgb(3, 3, 3);
}

.formBox{
    position: relative;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 10%;
    z-index: 2;

}.formBG{
    background-color:  rgba(172, 171, 171, 0.815);
    position: fixed;
    height:100%;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 2;
}

.list, .status{
    grid-column: 1/2;
    display: flex;
    align-items: center;
}

.list{
    justify-content: space-between;
    border-bottom: solid 1px black;
}

.delete{
    grid-row: 1/3;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 2/3;
}

.status{
    gap: 0.5rem;
    padding-left: 1.6rem;
}

form{
    display: flex;
    align-items: center;
}

#menu svg{
    width: 2rem;
    height: 5vh;
}

#menu{
    display: flex;
    align-items: center;
    margin-right: 1rem;
    padding: 10px;
}
#projectAdd{
    position: absolute;
    bottom: 40px;
    border: 2px solid white;
    width: 90px;
    height: 30px;
    border-radius:15px ;
    background-color: rgba(69, 75, 102, 0) ;
    cursor: pointer;
}

#projectAdd:hover{
    box-shadow: inset 3px 3px 2px rgb(31, 30, 30);
}

#menu:active{
    box-shadow: inset 5px 4px 4px rgb(0, 0, 0);
}

.ProjectBox svg{
    width: 20px;
}

.ProjectBox{
    display: flex;
    align-items: center;
    gap: 20px;
    color: rgb(0, 0, 0);
    box-shadow: 3px 2px 3px rgb(56, 56, 56);
    height: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 3px;
    background-color: rgb(69, 75, 102);
    width: 120px;
}

#act{
    height: 10vh;
}

#ket{
    height: 20vh;
}

.form{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    padding: 10px;
}

.ProjectBox:active{
    box-shadow: inset 3px 2px rgb(56, 56, 56);
}

.ProjectBox:hover{
    cursor: pointer;
}

body .hidden{
    display: none;
}

.head{
    width: 100%;
    height: 3vh;
    background-color: rgb(50, 42, 38);
    padding: 30px;
    display: flex;
    align-items: center;
    color: azure;
    font-size: 1.3rem;
}

body{
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 7fr;
}


@media screen and (max-width: 768px) {
    body .full{
        display: none;
    }

    .sidebar{
        position: fixed;
        left: 0;
        width: 150px;
        height: 100vh;
        z-index: 1;
    }

    

    .content{
        margin: 0;
        width:100%;
        grid-column: 1/3;
    }

    .main{
        margin: 0;
        width: 100vw;
        height: 89vh;
    }

    .toDoBox{
        width: 70vw;
    }

    .close{
        display: block;
        width: 100vw;
        height: 100vh;
        position: absolute;
        left: 0;
        top: 0;
        background-color: rgba(240, 248, 255, 0);
        z-index: 0;
    }
} 
