*{
    margin: 0;
    padding: 0;
}


body{
    background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
    display: flex;
    justify-content: center;
}

.wrapper{
    justify-self: stretch;
    
    width: 1024px;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    box-shadow: 0 0 8px black;
    border-radius: 10px;
    margin: 20px 20px 0;
    padding: 20px;
}

.wrapper h1{
    color: white;
    text-shadow: 0 0 5px black;
    margin-bottom: 10px;
}



.boxGrid{
    width: 100%;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 10px;
}

#noteInput{
    box-shadow: 2px 2px 4px black;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 4px;
    border-radius: 8px;
}


#btn{
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 0 10px;
    box-shadow: 2px 2px 4px black;
    font-size: 22px;
    font-weight: 900;
}

ol{
    list-style: none;
}

li{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    text-align: center;
    padding: 8px 10px;
    font-weight: 500;
    font-size: 18px;
    box-shadow: 2px 2px 4px black;
}

.first{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

li>.first>p:nth-child(1){
    font-size: 18px;
    font-weight: 900;
    align-self: center;
}

li>div:nth-child(2){
    font-size: 13px;
    align-self: self-end;
}



li input{
    border: none;
    width: 15px;
    height: 15px;
    border-radius: 40%;
    box-shadow: 1px 1px 3px black;
}

#btnDelete{
    background-color: rgba(139, 1, 1, 0.7);
}

#btnArchive{
    background-color: rgba(1, 15, 139, 0.7);
}

#btnRewrite{
    margin-left: 6px;
    background-color: rgba(226, 203, 0, 0.7);
}

.cler{
    position: absolute;
    top: 10px;
    right: 10px;
    height: 40px;
    width: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 2px 2px 5px white;
    cursor: pointer;
}


.deskription{
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px;
    border-top-right-radius: 10px;
    cursor: pointer;
    box-shadow: 2px -2px 5px black;
}

.deskription:hover .deskriptionUp{
    display: block;
    position: absolute;
}

.deskriptionUp{
    display: none;
    bottom: 30px;
    left: 60px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 0 5px black;
    width: 400px;
}
.deskriptionItem{
    display: flex;
    justify-content: start;
    align-items: center;
}
.deskriptionItem>div{
    width: 8px;
    height: 8px;
    border-radius: 40%;
    margin-right: 4px;
}

.yellow{
    background-color: rgba(226, 203, 0, 0.7);
}
.blue{
    background-color: rgba(1, 15, 139, 0.7);
}
.red{
    background-color: rgba(139, 1, 1, 0.7);
}